Class ImageRegistrySpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.imageregistry.v1.ImageRegistrySpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageRegistrySpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageRegistrySpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageRegistrySpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ImageRegistrySpec defines the specs for the running registry.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageRegistrySpec()No args constructor for use in serializationImageRegistrySpec(io.fabric8.kubernetes.api.model.Affinity affinity, Boolean defaultRoute, Boolean disableRedirect, String httpSecret, String logLevel, Long logging, String managementState, Map<String,String> nodeSelector, Object observedConfig, String operatorLogLevel, ImageRegistryConfigProxy proxy, Boolean readOnly, Integer replicas, ImageRegistryConfigRequests requests, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String rolloutStrategy, List<ImageRegistryConfigRoute> routes, ImageRegistryConfigStorage storage, List<io.fabric8.kubernetes.api.model.Toleration> tolerations, List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints, Object unsupportedConfigOverrides)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageRegistrySpecBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.AffinitygetAffinity()ImageRegistrySpec defines the specs for the running registry.BooleangetDefaultRoute()defaultRoute indicates whether an external facing route for the registry should be created using the default generated hostname.BooleangetDisableRedirect()disableRedirect controls whether to route all data through the Registry, rather than redirecting to the backend.StringgetHttpSecret()httpSecret is the value needed by the registry to secure uploads, generated by default.LonggetLogging()logging is deprecated, use logLevel instead.StringgetLogLevel()logLevel is an intent based logging for an overall component.StringgetManagementState()managementState indicates whether and how the operator should manage the componentMap<String,String>getNodeSelector()nodeSelector defines the node selection constraints for the registry pod.ObjectgetObservedConfig()ImageRegistrySpec defines the specs for the running registry.StringgetOperatorLogLevel()operatorLogLevel is an intent based logging for the operator itself.ImageRegistryConfigProxygetProxy()ImageRegistrySpec defines the specs for the running registry.BooleangetReadOnly()readOnly indicates whether the registry instance should reject attempts to push new images or delete existing ones.IntegergetReplicas()replicas determines the number of registry instances to run.ImageRegistryConfigRequestsgetRequests()ImageRegistrySpec defines the specs for the running registry.io.fabric8.kubernetes.api.model.ResourceRequirementsgetResources()ImageRegistrySpec defines the specs for the running registry.StringgetRolloutStrategy()rolloutStrategy defines rollout strategy for the image registry deployment.List<ImageRegistryConfigRoute>getRoutes()routes defines additional external facing routes which should be created for the registry.ImageRegistryConfigStoragegetStorage()ImageRegistrySpec defines the specs for the running registry.List<io.fabric8.kubernetes.api.model.Toleration>getTolerations()tolerations defines the tolerations for the registry pod.List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint>getTopologySpreadConstraints()topologySpreadConstraints specify how to spread matching pods among the given topology.ObjectgetUnsupportedConfigOverrides()ImageRegistrySpec defines the specs for the running registry.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAffinity(io.fabric8.kubernetes.api.model.Affinity affinity)ImageRegistrySpec defines the specs for the running registry.voidsetDefaultRoute(Boolean defaultRoute)defaultRoute indicates whether an external facing route for the registry should be created using the default generated hostname.voidsetDisableRedirect(Boolean disableRedirect)disableRedirect controls whether to route all data through the Registry, rather than redirecting to the backend.voidsetHttpSecret(String httpSecret)httpSecret is the value needed by the registry to secure uploads, generated by default.voidsetLogging(Long logging)logging is deprecated, use logLevel instead.voidsetLogLevel(String logLevel)logLevel is an intent based logging for an overall component.voidsetManagementState(String managementState)managementState indicates whether and how the operator should manage the componentvoidsetNodeSelector(Map<String,String> nodeSelector)nodeSelector defines the node selection constraints for the registry pod.voidsetObservedConfig(Object observedConfig)ImageRegistrySpec defines the specs for the running registry.voidsetOperatorLogLevel(String operatorLogLevel)operatorLogLevel is an intent based logging for the operator itself.voidsetProxy(ImageRegistryConfigProxy proxy)ImageRegistrySpec defines the specs for the running registry.voidsetReadOnly(Boolean readOnly)readOnly indicates whether the registry instance should reject attempts to push new images or delete existing ones.voidsetReplicas(Integer replicas)replicas determines the number of registry instances to run.voidsetRequests(ImageRegistryConfigRequests requests)ImageRegistrySpec defines the specs for the running registry.voidsetResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)ImageRegistrySpec defines the specs for the running registry.voidsetRolloutStrategy(String rolloutStrategy)rolloutStrategy defines rollout strategy for the image registry deployment.voidsetRoutes(List<ImageRegistryConfigRoute> routes)routes defines additional external facing routes which should be created for the registry.voidsetStorage(ImageRegistryConfigStorage storage)ImageRegistrySpec defines the specs for the running registry.voidsetTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)tolerations defines the tolerations for the registry pod.voidsetTopologySpreadConstraints(List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints)topologySpreadConstraints specify how to spread matching pods among the given topology.voidsetUnsupportedConfigOverrides(Object unsupportedConfigOverrides)ImageRegistrySpec defines the specs for the running registry.ImageRegistrySpecBuildertoBuilder()
-
-
-
Constructor Detail
-
ImageRegistrySpec
public ImageRegistrySpec()
No args constructor for use in serialization
-
ImageRegistrySpec
public ImageRegistrySpec(io.fabric8.kubernetes.api.model.Affinity affinity, Boolean defaultRoute, Boolean disableRedirect, String httpSecret, String logLevel, Long logging, String managementState, Map<String,String> nodeSelector, Object observedConfig, String operatorLogLevel, ImageRegistryConfigProxy proxy, Boolean readOnly, Integer replicas, ImageRegistryConfigRequests requests, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String rolloutStrategy, List<ImageRegistryConfigRoute> routes, ImageRegistryConfigStorage storage, List<io.fabric8.kubernetes.api.model.Toleration> tolerations, List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints, Object unsupportedConfigOverrides)
-
-
Method Detail
-
getAffinity
public io.fabric8.kubernetes.api.model.Affinity getAffinity()
ImageRegistrySpec defines the specs for the running registry.
-
setAffinity
public void setAffinity(io.fabric8.kubernetes.api.model.Affinity affinity)
ImageRegistrySpec defines the specs for the running registry.
-
getDefaultRoute
public Boolean getDefaultRoute()
defaultRoute indicates whether an external facing route for the registry should be created using the default generated hostname.
-
setDefaultRoute
public void setDefaultRoute(Boolean defaultRoute)
defaultRoute indicates whether an external facing route for the registry should be created using the default generated hostname.
-
getDisableRedirect
public Boolean getDisableRedirect()
disableRedirect controls whether to route all data through the Registry, rather than redirecting to the backend.
-
setDisableRedirect
public void setDisableRedirect(Boolean disableRedirect)
disableRedirect controls whether to route all data through the Registry, rather than redirecting to the backend.
-
getHttpSecret
public String getHttpSecret()
httpSecret is the value needed by the registry to secure uploads, generated by default.
-
setHttpSecret
public void setHttpSecret(String httpSecret)
httpSecret is the value needed by the registry to secure uploads, generated by default.
-
getLogLevel
public String getLogLevel()
logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
-
setLogLevel
public void setLogLevel(String logLevel)
logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
-
getLogging
public Long getLogging()
logging is deprecated, use logLevel instead.
-
setLogging
public void setLogging(Long logging)
logging is deprecated, use logLevel instead.
-
getManagementState
public String getManagementState()
managementState indicates whether and how the operator should manage the component
-
setManagementState
public void setManagementState(String managementState)
managementState indicates whether and how the operator should manage the component
-
getNodeSelector
public Map<String,String> getNodeSelector()
nodeSelector defines the node selection constraints for the registry pod.
-
setNodeSelector
public void setNodeSelector(Map<String,String> nodeSelector)
nodeSelector defines the node selection constraints for the registry pod.
-
getObservedConfig
public Object getObservedConfig()
ImageRegistrySpec defines the specs for the running registry.
-
setObservedConfig
public void setObservedConfig(Object observedConfig)
ImageRegistrySpec defines the specs for the running registry.
-
getOperatorLogLevel
public String getOperatorLogLevel()
operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
-
setOperatorLogLevel
public void setOperatorLogLevel(String operatorLogLevel)
operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
-
getProxy
public ImageRegistryConfigProxy getProxy()
ImageRegistrySpec defines the specs for the running registry.
-
setProxy
public void setProxy(ImageRegistryConfigProxy proxy)
ImageRegistrySpec defines the specs for the running registry.
-
getReadOnly
public Boolean getReadOnly()
readOnly indicates whether the registry instance should reject attempts to push new images or delete existing ones.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly indicates whether the registry instance should reject attempts to push new images or delete existing ones.
-
getReplicas
public Integer getReplicas()
replicas determines the number of registry instances to run.
-
setReplicas
public void setReplicas(Integer replicas)
replicas determines the number of registry instances to run.
-
getRequests
public ImageRegistryConfigRequests getRequests()
ImageRegistrySpec defines the specs for the running registry.
-
setRequests
public void setRequests(ImageRegistryConfigRequests requests)
ImageRegistrySpec defines the specs for the running registry.
-
getResources
public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
ImageRegistrySpec defines the specs for the running registry.
-
setResources
public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
ImageRegistrySpec defines the specs for the running registry.
-
getRolloutStrategy
public String getRolloutStrategy()
rolloutStrategy defines rollout strategy for the image registry deployment.
-
setRolloutStrategy
public void setRolloutStrategy(String rolloutStrategy)
rolloutStrategy defines rollout strategy for the image registry deployment.
-
getRoutes
public List<ImageRegistryConfigRoute> getRoutes()
routes defines additional external facing routes which should be created for the registry.
-
setRoutes
public void setRoutes(List<ImageRegistryConfigRoute> routes)
routes defines additional external facing routes which should be created for the registry.
-
getStorage
public ImageRegistryConfigStorage getStorage()
ImageRegistrySpec defines the specs for the running registry.
-
setStorage
public void setStorage(ImageRegistryConfigStorage storage)
ImageRegistrySpec defines the specs for the running registry.
-
getTolerations
public List<io.fabric8.kubernetes.api.model.Toleration> getTolerations()
tolerations defines the tolerations for the registry pod.
-
setTolerations
public void setTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)
tolerations defines the tolerations for the registry pod.
-
getTopologySpreadConstraints
public List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> getTopologySpreadConstraints()
topologySpreadConstraints specify how to spread matching pods among the given topology.
-
setTopologySpreadConstraints
public void setTopologySpreadConstraints(List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints)
topologySpreadConstraints specify how to spread matching pods among the given topology.
-
getUnsupportedConfigOverrides
public Object getUnsupportedConfigOverrides()
ImageRegistrySpec defines the specs for the running registry.
-
setUnsupportedConfigOverrides
public void setUnsupportedConfigOverrides(Object unsupportedConfigOverrides)
ImageRegistrySpec defines the specs for the running registry.
-
edit
public ImageRegistrySpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageRegistrySpecBuilder>
-
toBuilder
public ImageRegistrySpecBuilder toBuilder()
-
-