Documentation ¶
Index ¶
- Constants
- type AuthTokenProvider
- type Cluster
- func (c *Cluster) Config(profile string) string
- func (c *Cluster) ConfigExists(profile string) bool
- func (c *Cluster) DeleteConfig(profile string) error
- func (c *Cluster) Env(profile string) string
- func (c *Cluster) IsNone() bool
- func (c *Cluster) Name() string
- func (c *Cluster) Namespaces(ctx context.Context, profile string) []string
- func (c *Cluster) Pods(ctx context.Context, profile, namespace string) []string
- func (c *Cluster) Profiles(ctx context.Context) []string
- func (c *Cluster) String() string
- type Clusters
- type Config
- type Kubectl
- type Option
Constants ¶
View Source
const None string = "_"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthTokenProvider ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func NewCluster ¶
func (*Cluster) ConfigExists ¶
func (*Cluster) DeleteConfig ¶
func (*Cluster) Namespaces ¶
type Option ¶
func CommandWithAuthTokenProvider ¶
func CommandWithAuthTokenProvider(provider AuthTokenProvider) Option
func CommandWithConfigKey ¶
Click to show internal directories.
Click to hide internal directories.