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 ¶ added in v0.13.0
type AdminClient struct {
// contains filtered or unexported fields
}
AdminClient is the asset for the admin kubeconfig.
func (*AdminClient) Dependencies ¶ added in v0.13.0
func (k *AdminClient) Dependencies() []asset.Asset
Dependencies returns the dependency of the kubeconfig.
func (*AdminClient) Generate ¶ added in v0.13.0
func (k *AdminClient) Generate(parents asset.Parents) error
Generate generates the kubeconfig.
func (*AdminClient) Load ¶ added in v0.13.0
func (k *AdminClient) Load(f asset.FileFetcher) (found bool, err error)
Load returns the kubeconfig from disk.
func (*AdminClient) Name ¶ added in v0.13.0
func (k *AdminClient) 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. [DEPRECATED]
func (*Kubelet) Dependencies ¶ added in v0.2.0
Dependencies returns the dependency of the kubeconfig.
type KubeletClient ¶ added in v0.13.0
type KubeletClient struct {
// contains filtered or unexported fields
}
KubeletClient is the asset for the kubelet kubeconfig.
func (*KubeletClient) Dependencies ¶ added in v0.13.0
func (k *KubeletClient) Dependencies() []asset.Asset
Dependencies returns the dependency of the kubeconfig.
func (*KubeletClient) Generate ¶ added in v0.13.0
func (k *KubeletClient) Generate(parents asset.Parents) error
Generate generates the kubeconfig.
func (*KubeletClient) Load ¶ added in v0.13.0
func (k *KubeletClient) Load(asset.FileFetcher) (bool, error)
Load is a no-op because kubelet kubeconfig is not written to disk.
func (*KubeletClient) Name ¶ added in v0.13.0
func (k *KubeletClient) Name() string
Name returns the human-friendly name of the asset.