1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug)]
#[builder(finish_fn = build_struct)]
pub struct Registry {
    /// The password to authenticate to the registry. Does not cause image rebuild when changed.
    #[builder(into, default = Box::new(None))]
    #[serde(rename = "password")]
    pub r#password: Box<Option<String>>,
    /// The URL of the Docker registry server
    #[builder(into, default = Box::new(None))]
    #[serde(rename = "server")]
    pub r#server: Box<Option<String>>,
    /// The username to authenticate to the registry. Does not cause image rebuild when changed.
    #[builder(into, default = Box::new(None))]
    #[serde(rename = "username")]
    pub r#username: Box<Option<String>>,
}