Class PrometheusRuleHandler
- java.lang.Object
-
- io.fabric8.openshift.client.handlers.PrometheusRuleHandler
-
- All Implemented Interfaces:
ResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
public class PrometheusRuleHandler extends Object implements ResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.ResourceHandler
ResourceHandler.Key
-
-
Constructor Summary
Constructors Constructor Description PrometheusRuleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.fabric8.openshift.api.model.monitoring.v1.PrometheusRulecreate(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, boolean dryRun)Booleandelete(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy, long gracePeriodSeconds, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, boolean dryRun)io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilderedit(io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item)StringgetApiVersion()StringgetKind()io.fabric8.openshift.api.model.monitoring.v1.PrometheusRulereload(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item)io.fabric8.openshift.api.model.monitoring.v1.PrometheusRulereplace(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, boolean dryRun)io.fabric8.openshift.api.model.monitoring.v1.PrometheusRulewaitUntilCondition(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, Predicate<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule> condition, long amount, TimeUnit timeUnit)io.fabric8.openshift.api.model.monitoring.v1.PrometheusRulewaitUntilReady(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, long amount, TimeUnit timeUnit)Watchwatch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, io.fabric8.kubernetes.api.model.ListOptions options, Watcher<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule> watcher)Watchwatch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, Watcher<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule> watcher)Watchwatch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, String resourceVersion, Watcher<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule> watcher)
-
-
-
Method Detail
-
getKind
public String getKind()
- Specified by:
getKindin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
create
public io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule create(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, boolean dryRun)- Specified by:
createin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
replace
public io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule replace(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, boolean dryRun)- Specified by:
replacein interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
reload
public io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule reload(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item)- Specified by:
reloadin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
edit
public io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder edit(io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item)
- Specified by:
editin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
delete
public Boolean delete(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy, long gracePeriodSeconds, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, boolean dryRun)
- Specified by:
deletein interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
watch
public Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, Watcher<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule> watcher)
- Specified by:
watchin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
watch
public Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, String resourceVersion, Watcher<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule> watcher)
- Specified by:
watchin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
watch
public Watch watch(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, io.fabric8.kubernetes.api.model.ListOptions options, Watcher<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule> watcher)
- Specified by:
watchin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>
-
waitUntilReady
public io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule waitUntilReady(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, long amount, TimeUnit timeUnit) throws InterruptedException- Specified by:
waitUntilReadyin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>- Throws:
InterruptedException
-
waitUntilCondition
public io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule waitUntilCondition(okhttp3.OkHttpClient client, Config config, String namespace, io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule item, Predicate<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule> condition, long amount, TimeUnit timeUnit) throws InterruptedException- Specified by:
waitUntilConditionin interfaceResourceHandler<io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule,io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleBuilder>- Throws:
InterruptedException
-
-