Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Pins = map[string]artifacts.Reference{ "linux/amd64": { URL: fmt.Sprintf("https://dl.k8s.io/release/v%s/bin/linux/amd64/kubectl", version), Digest: schema.Digest{ Algorithm: "sha256", Hex: "703a06354bab9f45c80102abff89f1a62cbc2c6d80678fd3973a014acc7c500a", }, }, "linux/arm64": { URL: fmt.Sprintf("https://dl.k8s.io/release/v%s/bin/linux/arm64/kubectl", version), Digest: schema.Digest{ Algorithm: "sha256", Hex: "4be771c8e6a082ba61f0367077f480237f9858ef5efe14b1dbbfc05cd42fc360", }, }, "darwin/arm64": { URL: fmt.Sprintf("https://dl.k8s.io/release/v%s/bin/darwin/arm64/kubectl", version), Digest: schema.Digest{ Algorithm: "sha256", Hex: "d03e1f6b88443e46c11f5940a1fa935c91a0d67f5cc4ffeec35083b7e054034d", }, }, "darwin/amd64": { URL: fmt.Sprintf("https://dl.k8s.io/release/v%s/bin/darwin/amd64/kubectl", version), Digest: schema.Digest{ Algorithm: "sha256", Hex: "dedb7784744f581dc7157b0a6589c7e15d4d14a1bcd25dc5876548805034dffe", }, }, }
Functions ¶
Types ¶
type Kubeconfig ¶ added in v0.0.164
type Kubeconfig struct { Kubeconfig string Context string Namespace string // contains filtered or unexported fields }
func WriteRawKubeconfig ¶ added in v0.0.164
func WriteRawKubeconfig(ctx context.Context, rawConfig clientcmdapi.Config, keepConfig bool) (*Kubeconfig, error)
func (*Kubeconfig) BaseArgs ¶ added in v0.0.164
func (kc *Kubeconfig) BaseArgs() []string
func (*Kubeconfig) Cleanup ¶ added in v0.0.164
func (kc *Kubeconfig) Cleanup() error
Click to show internal directories.
Click to hide internal directories.