Class OperatorGroupSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operatorhub.v1alpha2.OperatorGroupSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OperatorGroupSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OperatorGroupSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<OperatorGroupSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
OperatorGroupSpec is the spec for an OperatorGroup resource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OperatorGroupSpec()No args constructor for use in serializationOperatorGroupSpec(io.fabric8.kubernetes.api.model.LabelSelector selector, String serviceAccountName, Boolean staticProvidedAPIs, List<String> targetNamespaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatorGroupSpecBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.LabelSelectorgetSelector()OperatorGroupSpec is the spec for an OperatorGroup resource.StringgetServiceAccountName()ServiceAccountName is the admin specified service account which will be used to deploy operator(s) in this operator group.BooleangetStaticProvidedAPIs()Static tells OLM not to update the OperatorGroup's providedAPIs annotationList<String>getTargetNamespaces()TargetNamespaces is an explicit set of namespaces to target.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)OperatorGroupSpec is the spec for an OperatorGroup resource.voidsetServiceAccountName(String serviceAccountName)ServiceAccountName is the admin specified service account which will be used to deploy operator(s) in this operator group.voidsetStaticProvidedAPIs(Boolean staticProvidedAPIs)Static tells OLM not to update the OperatorGroup's providedAPIs annotationvoidsetTargetNamespaces(List<String> targetNamespaces)TargetNamespaces is an explicit set of namespaces to target.OperatorGroupSpecBuildertoBuilder()
-
-
-
Method Detail
-
getSelector
public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
OperatorGroupSpec is the spec for an OperatorGroup resource.
-
setSelector
public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
OperatorGroupSpec is the spec for an OperatorGroup resource.
-
getServiceAccountName
public String getServiceAccountName()
ServiceAccountName is the admin specified service account which will be used to deploy operator(s) in this operator group.
-
setServiceAccountName
public void setServiceAccountName(String serviceAccountName)
ServiceAccountName is the admin specified service account which will be used to deploy operator(s) in this operator group.
-
getStaticProvidedAPIs
public Boolean getStaticProvidedAPIs()
Static tells OLM not to update the OperatorGroup's providedAPIs annotation
-
setStaticProvidedAPIs
public void setStaticProvidedAPIs(Boolean staticProvidedAPIs)
Static tells OLM not to update the OperatorGroup's providedAPIs annotation
-
getTargetNamespaces
public List<String> getTargetNamespaces()
TargetNamespaces is an explicit set of namespaces to target. If it is set, Selector is ignored.
-
setTargetNamespaces
public void setTargetNamespaces(List<String> targetNamespaces)
TargetNamespaces is an explicit set of namespaces to target. If it is set, Selector is ignored.
-
edit
public OperatorGroupSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OperatorGroupSpecBuilder>
-
toBuilder
public OperatorGroupSpecBuilder toBuilder()
-
-