kubeconfig

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package kubeconfig defines and generates the kubeconfig assets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin added in v0.2.0

type Admin struct {
	// contains filtered or unexported fields
}

Admin is the asset for the admin kubeconfig.

func (*Admin) Dependencies added in v0.2.0

func (k *Admin) Dependencies() []asset.Asset

Dependencies returns the dependency of the kubeconfig.

func (*Admin) Files added in v0.2.0

func (k *Admin) Files() []*asset.File

Files returns the files generated by the asset.

func (*Admin) Generate added in v0.2.0

func (k *Admin) Generate(parents asset.Parents) error

Generate generates the kubeconfig.

func (*Admin) Load added in v0.3.0

func (k *Admin) Load(f asset.FileFetcher) (found bool, err error)

Load returns the kubeconfig from disk.

func (*Admin) Name added in v0.2.0

func (k *Admin) Name() string

Name returns the human-friendly name of the asset.

type Kubelet added in v0.2.0

type Kubelet struct {
	// contains filtered or unexported fields
}

Kubelet is the asset for the kubelet kubeconfig.

func (*Kubelet) Dependencies added in v0.2.0

func (k *Kubelet) Dependencies() []asset.Asset

Dependencies returns the dependency of the kubeconfig.

func (*Kubelet) Files added in v0.2.0

func (k *Kubelet) Files() []*asset.File

Files returns the files generated by the asset.

func (*Kubelet) Generate added in v0.2.0

func (k *Kubelet) Generate(parents asset.Parents) error

Generate generates the kubeconfig.

func (*Kubelet) Load added in v0.3.0

func (k *Kubelet) Load(asset.FileFetcher) (bool, error)

Load is a no-op because kubelet kubeconfig is not written to disk.

func (*Kubelet) Name added in v0.2.0

func (k *Kubelet) Name() string

Name returns the human-friendly name of the asset.

Jump to

Keyboard shortcuts

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