Class ImageDigestSource
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.v1.ImageDigestSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageDigestSourceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageDigestSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageDigestSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ImageDigestSource defines a list of sources/repositories that can be used to pull content.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageDigestSource()No args constructor for use in serializationImageDigestSource(List<String> mirrors, String source, String sourcePolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageDigestSourceBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getMirrors()Mirrors is one or more repositories that may also contain the same images.StringgetSource()Source is the repository that users refer to, e.g. in image pull specifications.StringgetSourcePolicy()SourcePolicy defines the fallback policy when there is a failure pulling an image from the mirrors.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMirrors(List<String> mirrors)Mirrors is one or more repositories that may also contain the same images.voidsetSource(String source)Source is the repository that users refer to, e.g. in image pull specifications.voidsetSourcePolicy(String sourcePolicy)SourcePolicy defines the fallback policy when there is a failure pulling an image from the mirrors.ImageDigestSourceBuildertoBuilder()
-
-
-
Method Detail
-
getMirrors
public List<String> getMirrors()
Mirrors is one or more repositories that may also contain the same images.
-
setMirrors
public void setMirrors(List<String> mirrors)
Mirrors is one or more repositories that may also contain the same images.
-
getSource
public String getSource()
Source is the repository that users refer to, e.g. in image pull specifications.
-
setSource
public void setSource(String source)
Source is the repository that users refer to, e.g. in image pull specifications.
-
getSourcePolicy
public String getSourcePolicy()
SourcePolicy defines the fallback policy when there is a failure pulling an image from the mirrors.
-
setSourcePolicy
public void setSourcePolicy(String sourcePolicy)
SourcePolicy defines the fallback policy when there is a failure pulling an image from the mirrors.
-
edit
public ImageDigestSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageDigestSourceBuilder>
-
toBuilder
public ImageDigestSourceBuilder toBuilder()
-
-