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, namespaces, name string) (string, error)
- func (c *Kubectl) GetSecretIdentity(ctx context.Context, namespaces, name string) (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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKubeconfig ¶ added in v0.1.0
func BuildKubeconfig(conf BuildKubeconfigConfig) (string, error)
Types ¶
type BuildKubeconfigConfig ¶ added in v0.1.0
type Kubectl ¶
func NewKubectl ¶
func NewKubectl() *Kubectl
func (*Kubectl) ApplyWithReader ¶
func (*Kubectl) GetApiserverAddress ¶ added in v0.1.0
func (*Kubectl) GetKubeconfig ¶
func (*Kubectl) GetSecretAuthorized ¶ added in v0.0.7
func (*Kubectl) GetSecretIdentity ¶ added in v0.0.7
func (*Kubectl) GetTunnelAddress ¶
func (*Kubectl) GetUnusedPort ¶
Click to show internal directories.
Click to hide internal directories.