Uses of Class
org.jdrupes.vmoperator.common.K8sClient
Packages that use K8sClient
Package
Description
Classes and methods shared among the VM operator modules.
The following diagram shows the components of the manager application.
- 
Uses of K8sClient in org.jdrupes.vmoperator.commonFields in org.jdrupes.vmoperator.common declared as K8sClientModifier and TypeFieldDescriptionprotected final K8sClientK8sClusterGenericStub.clientprotected final K8sClientK8sGenericStub.clientprotected final K8sClientK8sObserver.clientFields in org.jdrupes.vmoperator.common with type parameters of type K8sClientModifier and TypeFieldDescriptionprotected BiConsumer<K8sClient, io.kubernetes.client.util.Watch.Response<O>> K8sObserver.handlerMethods in org.jdrupes.vmoperator.common that return K8sClientModifier and TypeMethodDescriptionK8sObserver.client()Returns the client.K8sClient.with(io.kubernetes.client.util.generic.options.PatchOptions patchOptions) Changes the default patch options.Methods in org.jdrupes.vmoperator.common with parameters of type K8sClientModifier and TypeMethodDescriptionstatic io.kubernetes.client.Discovery.APIResourceK8sGenericStub.apiResource(K8sClient client, io.kubernetes.client.apimachinery.GroupVersionKind gvk) Api resource.static <O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject, R extends K8sClusterGenericStub<O, L>> 
 RK8sClusterGenericStub.create(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, O model, K8sClusterGenericStub.GenericSupplier<O, L, R> provider) Get an object stub for a newly created object.static <O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject, R extends K8sGenericStub<O, L>> 
 RK8sGenericStub.create(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, O model, K8sGenericStub.GenericSupplier<O, L, R> provider) Get a namespaced object stub for a newly created object.static K8sV1SecretStubCreates an object stub from a model.static K8sDynamicStubK8sDynamicStub.createFromYaml(K8sClient client, io.kubernetes.client.Discovery.APIResource context, Reader yaml) Creates a stub from yaml.static VmDefinitionStubVmDefinitionStub.createFromYaml(K8sClient client, io.kubernetes.client.Discovery.APIResource context, Reader yaml) Creates a stub from yaml.K8sClusterGenericStub.GenericSupplier.get(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String name) Gets a new stub.static <O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject, R extends K8sClusterGenericStub<O, L>> 
 RK8sClusterGenericStub.get(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.apimachinery.GroupVersionKind gvk, String name, K8sClusterGenericStub.GenericSupplier<O, L, R> provider) Get an object stub.static <O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject, R extends K8sClusterGenericStub<O, L>> 
 RK8sClusterGenericStub.get(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String name, K8sClusterGenericStub.GenericSupplier<O, L, R> provider) Get an object stub.static K8sDynamicStubK8sDynamicStub.get(K8sClient client, io.kubernetes.client.apimachinery.GroupVersionKind gvk, String namespace, String name) Get a dynamic object stub.static K8sDynamicStubK8sDynamicStub.get(K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, String name) Get a dynamic object stub.Gets a new stub.static K8sV1ConfigMapStubGets the stub for the given namespace and name.static K8sV1DeploymentStubGets the stub for the given namespace and name.static K8sV1NodeStubGets the stub for the given name.static K8sV1PodStubGets the stub for the given namespace and name.static K8sV1PvcStubGets the stub for the given namespace and name.static K8sV1SecretStubGets the stub for the given namespace and name.static K8sV1ServiceStubGets the stub for the given namespace and name.static K8sV1StatefulSetStubGets the stub for the given namespace and name.static VmDefinitionStubVmDefinitionStub.get(K8sClient client, io.kubernetes.client.apimachinery.GroupVersionKind gvk, String namespace, String name) Get a dynamic object stub.static VmDefinitionStubVmDefinitionStub.get(K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, String name) Get a dynamic object stub.static <O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject, R extends K8sClusterGenericStub<O, L>> 
 Collection<R> K8sClusterGenericStub.list(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, io.kubernetes.client.util.generic.options.ListOptions options, K8sClusterGenericStub.GenericSupplier<O, L, R> provider) Get the stubs for the objects that match the criteria from the given options.static Collection<K8sDynamicStub> K8sDynamicStub.list(K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace) Get the stubs for the objects in the given namespace.static Collection<K8sDynamicStub> K8sDynamicStub.list(K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, io.kubernetes.client.util.generic.options.ListOptions options) Get the stubs for the objects in the given namespace that match the criteria from the given options.static <O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject, R extends K8sGenericStub<O, L>> 
 Collection<R> K8sGenericStub.list(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, io.kubernetes.client.util.generic.options.ListOptions options, K8sGenericStub.GenericSupplier<O, L, R> provider) Get the stubs for the objects in the given namespace that match the criteria from the given options.static Collection<K8sV1NodeStub> Get the stubs for the objects that match the criteria from the given options.static Collection<K8sV1PodStub> K8sV1PodStub.list(K8sClient client, String namespace, io.kubernetes.client.util.generic.options.ListOptions options) Get the stubs for the objects in the given namespace that match the criteria from the given options.static Collection<K8sV1PvcStub> K8sV1PvcStub.list(K8sClient client, String namespace, io.kubernetes.client.util.generic.options.ListOptions options) Get the stubs for the objects in the given namespace that match the criteria from the given options.static Collection<K8sV1SecretStub> K8sV1SecretStub.list(K8sClient client, String namespace, io.kubernetes.client.util.generic.options.ListOptions options) Get the stubs for the objects in the given namespace that match the criteria from the given options.static Collection<K8sV1ServiceStub> K8sV1ServiceStub.list(K8sClient client, String namespace, io.kubernetes.client.util.generic.options.ListOptions options) Get the stubs for the objects in the given namespace that match the criteria from the given options.static Collection<VmDefinitionStub> VmDefinitionStub.list(K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace) Get the stubs for the objects in the given namespace.static Collection<VmDefinitionStub> VmDefinitionStub.list(K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, io.kubernetes.client.util.generic.options.ListOptions options) Get the stubs for the objects in the given namespace that match the criteria from the given options.Method parameters in org.jdrupes.vmoperator.common with type arguments of type K8sClientModifier and TypeMethodDescriptionK8sObserver.handler(BiConsumer<K8sClient, io.kubernetes.client.util.Watch.Response<O>> handler) Sets the handler.Constructors in org.jdrupes.vmoperator.common with parameters of type K8sClientModifierConstructorDescriptionprotectedK8sClusterGenericStub(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String name) Instantiates a new stub for the object specified.K8sDynamicStub(K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, String name) Instantiates a new dynamic stub.K8sDynamicStubBase(Class<O> objectClass, Class<L> objectListClass, DynamicTypeAdapterFactory<O, L> taf, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, String name) Instantiates a new dynamic stub.protectedK8sGenericStub(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, String name) Instantiates a new stub for the object specified.K8sObserver(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, io.kubernetes.client.util.generic.options.ListOptions options) Create and start a new observer for objects in the given context (using preferred version) and namespace with the given options.protectedK8sV1ConfigMapStub(K8sClient client, String namespace, String name) Instantiates a new stub.protectedK8sV1DeploymentStub(K8sClient client, String namespace, String name) Instantiates a new stub.protectedK8sV1NodeStub(K8sClient client, String name) Instantiates a new stub.protectedK8sV1PodStub(K8sClient client, String namespace, String name) Instantiates a new stub.protectedK8sV1PvcStub(K8sClient client, String namespace, String name) Instantiates a new stub.protectedK8sV1SecretStub(K8sClient client, String namespace, String name) Instantiates a new stub.protectedK8sV1ServiceStub(K8sClient client, String namespace, String name) Instantiates a new stub.protectedK8sV1StatefulSetStub(K8sClient client, String namespace, String name) Instantiates a new stub.VmDefinitionStub(K8sClient client, io.kubernetes.client.Discovery.APIResource context, String namespace, String name) Instantiates a new stub for VM defintions.
- 
Uses of K8sClient in org.jdrupes.vmoperator.managerMethods in org.jdrupes.vmoperator.manager that return K8sClientMethods in org.jdrupes.vmoperator.manager with parameters of type K8sClientModifier and TypeMethodDescriptionSets the client to be used.protected abstract voidAbstractMonitor.handleChange(K8sClient client, io.kubernetes.client.util.Watch.Response<O> change) Handle an observed change.protected voidDisplaySecretMonitor.handleChange(K8sClient client, io.kubernetes.client.util.Watch.Response<io.kubernetes.client.openapi.models.V1Secret> change) protected voidPodMonitor.handleChange(K8sClient client, io.kubernetes.client.util.Watch.Response<io.kubernetes.client.openapi.models.V1Pod> change) protected voidPoolMonitor.handleChange(K8sClient client, io.kubernetes.client.util.Watch.Response<K8sDynamicModel> response) protected voidVmMonitor.handleChange(K8sClient client, io.kubernetes.client.util.Watch.Response<VmDefinition> response) 
- 
Uses of K8sClient in org.jdrupes.vmoperator.manager.eventsMethods in org.jdrupes.vmoperator.manager.events that return K8sClientConstructors in org.jdrupes.vmoperator.manager.events with parameters of type K8sClientModifierConstructorDescriptionVmChannel(Channel mainChannel, EventPipeline pipeline, K8sClient client) Instantiates a new watch channel.
- 
Uses of K8sClient in org.jdrupes.vmoperator.runner.qemuFields in org.jdrupes.vmoperator.runner.qemu declared as K8sClient