kubeconfig

package
v0.0.0-...-c53fdc3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 12 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 AdminClient

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

AdminClient is the asset for the admin kubeconfig.

func (*AdminClient) Dependencies

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

Dependencies returns the dependency of the kubeconfig.

func (*AdminClient) Files

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

Files returns the files generated by the asset.

func (*AdminClient) Generate

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

Generate generates the kubeconfig.

func (*AdminClient) Load

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

Load returns the kubeconfig from disk.

func (*AdminClient) Name

func (k *AdminClient) Name() string

Name returns the human-friendly name of the asset.

type AdminInternalClient

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

AdminInternalClient is the asset for the admin kubeconfig.

func (*AdminInternalClient) Dependencies

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

Dependencies returns the dependency of the kubeconfig.

func (*AdminInternalClient) Files

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

Files returns the files generated by the asset.

func (*AdminInternalClient) Generate

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

Generate generates the kubeconfig.

func (*AdminInternalClient) Load

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

Load returns the kubeconfig from disk.

func (*AdminInternalClient) Name

func (k *AdminInternalClient) Name() string

Name returns the human-friendly name of the asset.

type AgentAdminClient

type AgentAdminClient struct {
	AdminClient
}

AgentAdminClient is the asset for the agent admin kubeconfig.

func (*AgentAdminClient) Dependencies

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

Dependencies returns the dependency of the kubeconfig.

func (*AgentAdminClient) Files

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

Files returns the files generated by the asset.

func (*AgentAdminClient) Generate

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

Generate generates the kubeconfig.

type Kubelet

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

Kubelet is the asset for the kubelet kubeconfig.

func (*Kubelet) Dependencies

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

Dependencies returns the dependency of the kubeconfig.

func (*Kubelet) Files

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

Files returns the files generated by the asset.

func (*Kubelet) Generate

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

Generate generates the kubeconfig.

func (*Kubelet) Load

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

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

func (*Kubelet) Name

func (k *Kubelet) Name() string

Name returns the human-friendly name of the asset.

type LoopbackClient

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

LoopbackClient is the asset for the admin kubeconfig.

func (*LoopbackClient) Dependencies

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

Dependencies returns the dependency of the kubeconfig.

func (*LoopbackClient) Files

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

Files returns the files generated by the asset.

func (*LoopbackClient) Generate

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

Generate generates the kubeconfig.

func (*LoopbackClient) Load

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

Load returns the kubeconfig from disk.

func (*LoopbackClient) Name

func (k *LoopbackClient) 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