Class GathererConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1alpha2.GathererConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GathererConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GathererConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<GathererConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
gathererConfig allows to configure specific gatherers- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GathererConfig()No args constructor for use in serializationGathererConfig(String name, String state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GathererConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()name is the required name of a specific gatherer It may not exceed 256 characters.StringgetState()state is a required field that allows you to configure specific gatherer.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)name is the required name of a specific gatherer It may not exceed 256 characters.voidsetState(String state)state is a required field that allows you to configure specific gatherer.GathererConfigBuildertoBuilder()
-
-
-
Method Detail
-
getName
public String getName()
name is the required name of a specific gatherer It may not exceed 256 characters. The format for a gatherer name is: {gatherer}/{function} where the function is optional. Gatherer consists of a lowercase letters only that may include underscores (_). Function consists of a lowercase letters only that may include underscores (_) and is separated from the gatherer by a forward slash (/). The particular gatherers can be found at https://github.com/openshift/insights-operator/blob/master/docs/gathered-data.md. Run the following command to get the names of last active gatherers: "oc get insightsoperators.operator.openshift.io cluster -o json | jq '.status.gatherStatus.gatherers[].name'"
-
setName
public void setName(String name)
name is the required name of a specific gatherer It may not exceed 256 characters. The format for a gatherer name is: {gatherer}/{function} where the function is optional. Gatherer consists of a lowercase letters only that may include underscores (_). Function consists of a lowercase letters only that may include underscores (_) and is separated from the gatherer by a forward slash (/). The particular gatherers can be found at https://github.com/openshift/insights-operator/blob/master/docs/gathered-data.md. Run the following command to get the names of last active gatherers: "oc get insightsoperators.operator.openshift.io cluster -o json | jq '.status.gatherStatus.gatherers[].name'"
-
getState
public String getState()
state is a required field that allows you to configure specific gatherer. Valid values are "Enabled" and "Disabled". When set to Enabled the gatherer will run. When set to Disabled the gatherer will not run.
-
setState
public void setState(String state)
state is a required field that allows you to configure specific gatherer. Valid values are "Enabled" and "Disabled". When set to Enabled the gatherer will run. When set to Disabled the gatherer will not run.
-
edit
public GathererConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GathererConfigBuilder>
-
toBuilder
public GathererConfigBuilder toBuilder()
-
-