Class ProbeTargetIngress
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.ProbeTargetIngress
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ProbeTargetIngressBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ProbeTargetIngress extends Object implements io.fabric8.kubernetes.api.builder.Editable<ProbeTargetIngressBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProbeTargetIngress()No args constructor for use in serializationProbeTargetIngress(NamespaceSelector namespaceSelector, List<RelabelConfig> relabelingConfigs, io.fabric8.kubernetes.api.model.LabelSelector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProbeTargetIngressBuilderedit()Map<String,Object>getAdditionalProperties()NamespaceSelectorgetNamespaceSelector()ProbeTargetIngress defines the set of Ingress objects considered for probing.List<RelabelConfig>getRelabelingConfigs()RelabelConfigs to apply to the label set of the target before it gets scraped.io.fabric8.kubernetes.api.model.LabelSelectorgetSelector()ProbeTargetIngress defines the set of Ingress objects considered for probing.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetNamespaceSelector(NamespaceSelector namespaceSelector)ProbeTargetIngress defines the set of Ingress objects considered for probing.voidsetRelabelingConfigs(List<RelabelConfig> relabelingConfigs)RelabelConfigs to apply to the label set of the target before it gets scraped.voidsetSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)ProbeTargetIngress defines the set of Ingress objects considered for probing.ProbeTargetIngressBuildertoBuilder()
-
-
-
Constructor Detail
-
ProbeTargetIngress
public ProbeTargetIngress()
No args constructor for use in serialization
-
ProbeTargetIngress
public ProbeTargetIngress(NamespaceSelector namespaceSelector, List<RelabelConfig> relabelingConfigs, io.fabric8.kubernetes.api.model.LabelSelector selector)
-
-
Method Detail
-
getNamespaceSelector
public NamespaceSelector getNamespaceSelector()
ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
-
setNamespaceSelector
public void setNamespaceSelector(NamespaceSelector namespaceSelector)
ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
-
getRelabelingConfigs
public List<RelabelConfig> getRelabelingConfigs()
RelabelConfigs to apply to the label set of the target before it gets scraped. The original ingress address is available via the `__tmp_prometheus_ingress_address` label. It can be used to customize the probed URL. The original scrape job's name is available via the `__tmp_prometheus_job_name` label. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
-
setRelabelingConfigs
public void setRelabelingConfigs(List<RelabelConfig> relabelingConfigs)
RelabelConfigs to apply to the label set of the target before it gets scraped. The original ingress address is available via the `__tmp_prometheus_ingress_address` label. It can be used to customize the probed URL. The original scrape job's name is available via the `__tmp_prometheus_job_name` label. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
-
getSelector
public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
-
setSelector
public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
-
edit
public ProbeTargetIngressBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ProbeTargetIngressBuilder>
-
toBuilder
public ProbeTargetIngressBuilder toBuilder()
-
-