client

package
v1.0.81 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientConfig

func GetClientConfig(kc string) (*rest.Config, error)

func IsRunningInKubernetes

func IsRunningInKubernetes() bool

Types

type ClusterDetails added in v1.0.77

type ClusterDetails struct {
	CurrentContext string
	ClusterName    string
	ServerEndpoint string
}

func GetCurrentClusterDetails added in v1.0.77

func GetCurrentClusterDetails(kc string) ClusterDetails

type KubernetesClientFromCacheWithAPIFallback added in v1.0.72

type KubernetesClientFromCacheWithAPIFallback struct {
	Cache     client.Client
	APIServer client.Reader
}

func NewKubernetesClientFromCacheWithAPIFallback added in v1.0.72

func NewKubernetesClientFromCacheWithAPIFallback(cache client.Client, apiServer client.Reader) *KubernetesClientFromCacheWithAPIFallback

func (*KubernetesClientFromCacheWithAPIFallback) Create added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) Delete added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) DeleteAllOf added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) Get added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) GroupVersionKindFor added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) IsObjectNamespaced added in v1.0.72

func (k *KubernetesClientFromCacheWithAPIFallback) IsObjectNamespaced(obj runtime.Object) (bool, error)

func (*KubernetesClientFromCacheWithAPIFallback) List added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) Patch added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) RESTMapper added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) Scheme added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) Status added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) SubResource added in v1.0.72

func (*KubernetesClientFromCacheWithAPIFallback) Update added in v1.0.72

Jump to

Keyboard shortcuts

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