client

package
v0.0.0-...-426d1e8 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const FakeKubeconfigPath = "fake.config"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientLoader

type ClientLoader interface {
	LoadAdmiralClientFromPath(path string) (admiral.Interface, error)
	LoadAdmiralClientFromConfig(config *rest.Config) (admiral.Interface, error)

	LoadIstioClientFromPath(path string) (istio.Interface, error)
	LoadIstioClientFromConfig(config *rest.Config) (istio.Interface, error)

	LoadArgoClientFromPath(path string) (argo.Interface, error)
	LoadArgoClientFromConfig(config *rest.Config) (argo.Interface, error)

	LoadKubeClientFromPath(path string) (kubernetes.Interface, error)
	LoadKubeClientFromConfig(config *rest.Config) (kubernetes.Interface, error)
}

func GetKubeClientLoader

func GetKubeClientLoader() ClientLoader

Jump to

Keyboard shortcuts

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