client

package
v0.0.0-...-e83835c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientSets

func CreateClientSets(cli client.Client) (map[string]*kubernetes.Clientset, error)

Used to create, delete, and update Resource on the Kubernetes cluster to which it is Replicationed. Suck up the contexts from the kubeconfig file that aggregates the config of the target cluster, and create a clientset for each context. kubeconfig must be created in advance as a secret resource.

func CreateLocalClient

func CreateLocalClient(log logr.Logger, scheme runtime.Scheme) (client.Client, error)

Used to create and update local Custom Resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL