k8s

package
v0.0.0-...-73ca75f Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInClusterClient

func NewInClusterClient() (*kubernetes.Clientset, error)

func ReadServiceAccountToken

func ReadServiceAccountToken(saName string, namespace string) (string, error)

Types

type K8sClient

type K8sClient struct {
}

func NewK8sClient

func NewK8sClient() K8sClient

func (K8sClient) GetClientSet

func (c K8sClient) GetClientSet() (*kubernetes.Clientset, error)

Jump to

Keyboard shortcuts

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