Documentation
¶
Overview ¶
Package internal provides function for working with EKS cluseters
Package internal provides function for working with EKS cluseters
Index ¶
- type Cluster
- func (cls *Cluster) GetConfigAuthInfo() *clientcmdapi.AuthInfo
- func (cls *Cluster) GetConfigCluster() *clientcmdapi.Cluster
- func (cls *Cluster) GetEndpoint() string
- func (cls *Cluster) GetName() string
- func (cls *Cluster) GetRegion() string
- func (cls *Cluster) GetStatus() string
- func (cls *Cluster) GetUniqueID() string
- func (cls *Cluster) PrettyName(templateValue string) (string, error)
- type K8sProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { Provider K8sProvider Name string Region string ID string Endpoint string CertificateAuthorityData string Status string GenerateClusterConfig func(cls *Cluster) *clientcmdapi.Cluster GenerateAuthInfo func(cls *Cluster) *clientcmdapi.AuthInfo }
Cluster is the representation of a K8S Cluster For now it is tailored to AWS, more specifically eks clusters
func GetMockClusters ¶
func GetPredictableMockClusters ¶ added in v0.1.0
func NewCluster ¶
func NewCluster() *Cluster
func (*Cluster) GetConfigAuthInfo ¶
func (cls *Cluster) GetConfigAuthInfo() *clientcmdapi.AuthInfo
func (*Cluster) GetConfigCluster ¶
func (cls *Cluster) GetConfigCluster() *clientcmdapi.Cluster
func (*Cluster) GetEndpoint ¶
func (*Cluster) GetUniqueID ¶
Click to show internal directories.
Click to hide internal directories.