pub struct BuildOutput {
pub image_labels: Option<Vec<ImageLabel>>,
pub push_secret: Option<LocalObjectReference>,
pub to: Option<ObjectReference>,
}
Expand description
BuildOutput is input to a build strategy and describes the container image that the strategy should produce.
Fields§
§image_labels: Option<Vec<ImageLabel>>
imageLabels define a list of labels that are applied to the resulting image. If there are multiple labels with the same name then the last one in the list is used.
push_secret: Option<LocalObjectReference>
PushSecret is the name of a Secret that would be used for setting up the authentication for executing the Docker push to authentication enabled Docker Registry (or Docker Hub).
to: Option<ObjectReference>
to defines an optional location to push the output of this build to. Kind must be one of ‘ImageStreamTag’ or ‘DockerImage’. This value will be used to look up a container image repository to push to. In the case of an ImageStreamTag, the ImageStreamTag will be looked for in the namespace of the build unless Namespace is specified.
Trait Implementations§
Source§impl Clone for BuildOutput
impl Clone for BuildOutput
Source§fn clone(&self) -> BuildOutput
fn clone(&self) -> BuildOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more