kubeclient

package
v0.0.0-...-1ae172a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	kubernetes.Interface
	Dynamic() dynamic.Interface
	Discovery() discovery.DiscoveryInterface
	RestConfig() *rest.Config
	VersionGreaterThan(string) bool
	ServerVersion() *version.Info
}

func NewClientByInCluster

func NewClientByInCluster() (Client, error)

func NewClientByKubeConfig

func NewClientByKubeConfig(kubeConfig string) (Client, error)

func NewClientByKubeConfigFile

func NewClientByKubeConfigFile(kubeConfigFile string) (Client, error)

func NewClientWithRestConfig

func NewClientWithRestConfig(restConfig *rest.Config) (Client, error)

Jump to

Keyboard shortcuts

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