Documentation ¶
Index ¶
- func BuildKubeconfig(conf BuildKubeconfigConfig) (string, error)
- type BuildKubeconfigConfig
- type Kubectl
- func (c *Kubectl) ApplyWithReader(ctx context.Context, r io.Reader) error
- func (c *Kubectl) GetApiserverAddress(ctx context.Context) (string, error)
- func (c *Kubectl) GetKubeconfig(ctx context.Context, address string) (string, error)
- func (c *Kubectl) GetSecretAuthorized(ctx context.Context) (string, error)
- func (c *Kubectl) GetSecretIdentity(ctx context.Context) (string, error)
- func (c *Kubectl) GetTunnelAddress(ctx context.Context) (string, error)
- func (c *Kubectl) GetUnusedPort(ctx context.Context) (string, error)
- func (c *Kubectl) Wrap(ctx context.Context, args ...string) error
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKubeconfig ¶
func BuildKubeconfig(conf BuildKubeconfigConfig) (string, error)
Types ¶
type BuildKubeconfigConfig ¶
type Kubectl ¶
func NewKubectl ¶
func NewKubectl() *Kubectl
func (*Kubectl) ApplyWithReader ¶
func (*Kubectl) GetApiserverAddress ¶
func (*Kubectl) GetKubeconfig ¶
func (*Kubectl) GetSecretAuthorized ¶
func (*Kubectl) GetSecretIdentity ¶
func (*Kubectl) GetTunnelAddress ¶
func (*Kubectl) GetUnusedPort ¶
type Version ¶ added in v0.4.1
type Version struct { ClientVersion *apimachineryversion.Info `json:"clientVersion,omitempty" yaml:"clientVersion,omitempty"` KustomizeVersion string `json:"kustomizeVersion,omitempty" yaml:"kustomizeVersion,omitempty"` ServerVersion *apimachineryversion.Info `json:"serverVersion,omitempty" yaml:"serverVersion,omitempty"` }
Version is a struct for version information
Click to show internal directories.
Click to hide internal directories.