config

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeConfig

type KubeConfig struct {
	Client          kubeclient.Client
	DecUnstructured runtime.Serializer
	RestMapper      *restmapper.DeferredDiscoveryRESTMapper
}

func NewKubeConfig

func NewKubeConfig(options *Options) (c *KubeConfig, err error)

type Options

type Options struct {
	InCluster        bool
	KubeConfigFile   string
	KubeConfigString string
}

Jump to

Keyboard shortcuts

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