k8s

package
v0.4.0-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(kubeconfigPath string) (*rest.Config, error)

func IsConnected

func IsConnected(ctx context.Context, r rest.Interface) error

func LoadConfig

func LoadConfig(kubeconfigPath string) (*rest.Config, error)

func ToClientCmdApiConfig added in v0.4.0

func ToClientCmdApiConfig(restConfig *rest.Config) clientcmdapi.Config

ToClientCmdApiConfig using a rest.Config to generate a clientcmdapi.Config.

func Wait

func Wait(ctx context.Context, cfg *rest.Config) error

Types

type Embedded

type Embedded struct{}

func (Embedded) GetConfig

func (Embedded) GetConfig(ctx context.Context) (string, *rest.Config, error)

func (Embedded) Run

func (Embedded) Run(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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