Class Custom
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1alpha2.Custom
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CustomBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Custom extends Object implements io.fabric8.kubernetes.api.builder.Editable<CustomBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
custom provides the custom configuration of gatherers- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Custom()No args constructor for use in serializationCustom(List<GathererConfig> configs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomBuilderedit()Map<String,Object>getAdditionalProperties()List<GathererConfig>getConfigs()configs is a required list of gatherers configurations that can be used to enable or disable specific gatherers.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfigs(List<GathererConfig> configs)configs is a required list of gatherers configurations that can be used to enable or disable specific gatherers.CustomBuildertoBuilder()
-
-
-
Constructor Detail
-
Custom
public Custom()
No args constructor for use in serialization
-
Custom
public Custom(List<GathererConfig> configs)
-
-
Method Detail
-
getConfigs
public List<GathererConfig> getConfigs()
configs is a required list of gatherers configurations that can be used to enable or disable specific gatherers. It may not exceed 100 items and each gatherer can be present only once. It is possible to disable an entire set of gatherers while allowing a specific function within that set. The particular gatherers IDs 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'"
-
setConfigs
public void setConfigs(List<GathererConfig> configs)
configs is a required list of gatherers configurations that can be used to enable or disable specific gatherers. It may not exceed 100 items and each gatherer can be present only once. It is possible to disable an entire set of gatherers while allowing a specific function within that set. The particular gatherers IDs 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'"
-
edit
public CustomBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CustomBuilder>
-
toBuilder
public CustomBuilder toBuilder()
-
-