Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterAccount ¶ added in v1.0.0
type ClusterAccount interface { GenerateKubeConfig() (*kubecfg.KubeConfigPatch, []error) PrettyName() string }
type EKSAccount ¶
type EKSAccount struct { Profile string `yaml:"profile"` Regions []string `yaml:"regions"` Name string `yaml:"name"` Format string `yaml:"format"` ExtraUsers []EKSUser `yaml:"extraUsers,omitempty"` }
func (EKSAccount) GenerateKubeConfig ¶ added in v1.0.0
func (a EKSAccount) GenerateKubeConfig() (*kubecfg.KubeConfigPatch, []error)
func (EKSAccount) PrettyName ¶ added in v1.0.0
func (a EKSAccount) PrettyName() string
func (EKSAccount) ScanForClusters ¶ added in v1.0.0
func (a EKSAccount) ScanForClusters(client EKSClusterAPI) ([]EKSClusterConfig, []error)
type EKSClusterAPI ¶ added in v1.0.0
type EKSClusterAPI interface { ListClusters( ctx context.Context, params *eks.ListClustersInput, optFns ...func(*eks.Options), ) (*eks.ListClustersOutput, error) DescribeCluster( ctx context.Context, params *eks.DescribeClusterInput, optFns ...func(*eks.Options), ) (*eks.DescribeClusterOutput, error) }
type EKSClusterConfig ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.