Documentation ¶
Index ¶
Constants ¶
View Source
const ( KubeconfigAPIVersion = "v1" KubeconfigKind = "Config" )
Variables ¶
This section is empty.
Functions ¶
func GetCommands ¶
GetCommands returns cluster commands.
This function: - Gets the generated commands - Register handwritten marshalers - Apply handwritten overrides (of Command.Run)
func GetGeneratedCommands ¶
Types ¶
type ExecCredential ¶ added in v2.33.0
type ExecCredential struct { // APIVersion defines the versioned schema of this representation of an object. // Servers should convert recognized schemas to the latest internal value, and // may reject unrecognized values. APIVersion string `json:"apiVersion,omitempty"` // Kind is a string value representing the REST resource this object represents. // Servers may infer this from the endpoint the client submits requests to. Kind string `json:"kind,omitempty"` // Status is filled in by the plugin and holds the credentials that the transport // should use to contact the API. Status *ExecCredentialStatus `json:"status,omitempty"` }
ExecCredential is used by exec-based plugins to communicate credentials to HTTP transports.
type ExecCredentialStatus ¶ added in v2.33.0
type ExecCredentialStatus struct { // Token is a bearer token used by the client for request authentication. Token string `json:"token,omitempty"` }
ExecCredentialStatus holds credentials for the transport to use.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.