Class ImageStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.ImageStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageStatus()No args constructor for use in serializationImageStatus(List<String> externalRegistryHostnames, String imageStreamImportMode, String internalRegistryHostname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getExternalRegistryHostnames()externalRegistryHostnames provides the hostnames for the default external image registry.StringgetImageStreamImportMode()imageStreamImportMode controls the import mode behaviour of imagestreams.StringgetInternalRegistryHostname()internalRegistryHostname sets the hostname for the default internal image registry.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetExternalRegistryHostnames(List<String> externalRegistryHostnames)externalRegistryHostnames provides the hostnames for the default external image registry.voidsetImageStreamImportMode(String imageStreamImportMode)imageStreamImportMode controls the import mode behaviour of imagestreams.voidsetInternalRegistryHostname(String internalRegistryHostname)internalRegistryHostname sets the hostname for the default internal image registry.ImageStatusBuildertoBuilder()
-
-
-
Method Detail
-
getExternalRegistryHostnames
public List<String> getExternalRegistryHostnames()
externalRegistryHostnames provides the hostnames for the default external image registry. The external hostname should be set only when the image registry is exposed externally. The first value is used in 'publicDockerImageRepository' field in ImageStreams. The value must be in "hostname[:port]" format.
-
setExternalRegistryHostnames
public void setExternalRegistryHostnames(List<String> externalRegistryHostnames)
externalRegistryHostnames provides the hostnames for the default external image registry. The external hostname should be set only when the image registry is exposed externally. The first value is used in 'publicDockerImageRepository' field in ImageStreams. The value must be in "hostname[:port]" format.
-
getImageStreamImportMode
public String getImageStreamImportMode()
imageStreamImportMode controls the import mode behaviour of imagestreams. It can be `Legacy` or `PreserveOriginal`. `Legacy` indicates that the legacy behaviour should be used. For manifest lists, the legacy behaviour will discard the manifest list and import a single sub-manifest. In this case, the platform is chosen in the following order of priority: 1. tag annotations; 2. control plane arch/os; 3. linux/amd64; 4. the first manifest in the list. `PreserveOriginal` indicates that the original manifest will be preserved. For manifest lists, the manifest list and all its sub-manifests will be imported. This value will be reconciled based on either the spec value or if no spec value is specified, the image registry operator would look at the ClusterVersion status to determine the payload type and set the import mode accordingly, i.e single arch payload implies the import mode is Legacy and multi payload implies PreserveOriginal.Possible enum values:
- `"Legacy"` indicates that the legacy behaviour should be used. For manifest lists, the legacy behaviour will discard the manifest list and import a single sub-manifest. In this case, the platform is chosen in the following order of priority: 1. tag annotations; 2. control plane arch/os; 3. linux/amd64; 4. the first manifest in the list. This mode is the default.
- `"PreserveOriginal"` indicates that the original manifest will be preserved. For manifest lists, the manifest list and all its sub-manifests will be imported.
-
setImageStreamImportMode
public void setImageStreamImportMode(String imageStreamImportMode)
imageStreamImportMode controls the import mode behaviour of imagestreams. It can be `Legacy` or `PreserveOriginal`. `Legacy` indicates that the legacy behaviour should be used. For manifest lists, the legacy behaviour will discard the manifest list and import a single sub-manifest. In this case, the platform is chosen in the following order of priority: 1. tag annotations; 2. control plane arch/os; 3. linux/amd64; 4. the first manifest in the list. `PreserveOriginal` indicates that the original manifest will be preserved. For manifest lists, the manifest list and all its sub-manifests will be imported. This value will be reconciled based on either the spec value or if no spec value is specified, the image registry operator would look at the ClusterVersion status to determine the payload type and set the import mode accordingly, i.e single arch payload implies the import mode is Legacy and multi payload implies PreserveOriginal.Possible enum values:
- `"Legacy"` indicates that the legacy behaviour should be used. For manifest lists, the legacy behaviour will discard the manifest list and import a single sub-manifest. In this case, the platform is chosen in the following order of priority: 1. tag annotations; 2. control plane arch/os; 3. linux/amd64; 4. the first manifest in the list. This mode is the default.
- `"PreserveOriginal"` indicates that the original manifest will be preserved. For manifest lists, the manifest list and all its sub-manifests will be imported.
-
getInternalRegistryHostname
public String getInternalRegistryHostname()
internalRegistryHostname sets the hostname for the default internal image registry. The value must be in "hostname[:port]" format. This value is set by the image registry operator which controls the internal registry hostname.
-
setInternalRegistryHostname
public void setInternalRegistryHostname(String internalRegistryHostname)
internalRegistryHostname sets the hostname for the default internal image registry. The value must be in "hostname[:port]" format. This value is set by the image registry operator which controls the internal registry hostname.
-
edit
public ImageStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageStatusBuilder>
-
toBuilder
public ImageStatusBuilder toBuilder()
-
-