public class ImageSpec extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
| Constructor and Description |
|---|
ImageSpec()
No args constructor for use in serialization
|
ImageSpec(ConfigMapNameReference additionalTrustedCA,
List<RegistryLocation> allowedRegistriesForImport,
List<String> externalRegistryHostnames,
RegistrySources registrySources) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
ConfigMapNameReference |
getAdditionalTrustedCA() |
List<RegistryLocation> |
getAllowedRegistriesForImport() |
List<String> |
getExternalRegistryHostnames() |
RegistrySources |
getRegistrySources() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAdditionalTrustedCA(ConfigMapNameReference additionalTrustedCA) |
void |
setAllowedRegistriesForImport(List<RegistryLocation> allowedRegistriesForImport) |
void |
setExternalRegistryHostnames(List<String> externalRegistryHostnames) |
void |
setRegistrySources(RegistrySources registrySources) |
public ImageSpec()
public ImageSpec(ConfigMapNameReference additionalTrustedCA, List<RegistryLocation> allowedRegistriesForImport, List<String> externalRegistryHostnames, RegistrySources registrySources)
registrySources - allowedRegistriesForImport - additionalTrustedCA - externalRegistryHostnames - public ConfigMapNameReference getAdditionalTrustedCA()
public void setAdditionalTrustedCA(ConfigMapNameReference additionalTrustedCA)
public List<RegistryLocation> getAllowedRegistriesForImport()
public void setAllowedRegistriesForImport(List<RegistryLocation> allowedRegistriesForImport)
public void setExternalRegistryHostnames(List<String> externalRegistryHostnames)
public RegistrySources getRegistrySources()
public void setRegistrySources(RegistrySources registrySources)
Copyright © 2015–2022 Red Hat. All rights reserved.