Skip to main content

Module kubectl

Module kubectl 

Source
Expand description

kubectl operations.

Ported from internal/backends/kubectl/{interface,client}.go.

Structs§

Client
Ported from Client in client.go.
ClientVersion
Ported from ClientVersion in interface.go.
ServerVersion
Ported from ServerVersion in interface.go.
VersionResponse
Ported from VersionResponse in interface.go. Every field is #[serde(default)], matching Go’s encoding/json, which leaves unset fields as their zero value rather than erroring – kubectl’s actual version -o json output includes every field, but the ported tests only stub the subset each case cares about.

Enums§

KubectlError
Ported from ErrNamespaceRequired.

Traits§

Backend
Ported from the Backend interface in interface.go.