Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthClient ¶
func NewAuthClient(config *ClusterConfig) (*clientset.Clientset, error)
NewAuthClient creates a new EKS authenticated clientset.
Types ¶
type ClientConfig ¶
type ClientConfig struct {
Client *clientcmdapi.Config
ClusterName string
ContextName string
// contains filtered or unexported fields
}
func (*ClientConfig) NewClientSet ¶
func (c *ClientConfig) NewClientSet() (*clientset.Clientset, error)
func (*ClientConfig) NewClientSetWithEmbeddedToken ¶
func (c *ClientConfig) NewClientSetWithEmbeddedToken() (*clientset.Clientset, error)
func (*ClientConfig) WithEmbeddedToken ¶
func (c *ClientConfig) WithEmbeddedToken() (*ClientConfig, error)
type ClusterConfig ¶
type ClusterConfig struct {
ClusterName string
MasterEndpoint string
CertificateAuthorityData string
Session *session.Session
}
func (*ClusterConfig) NewClientConfig ¶
func (c *ClusterConfig) NewClientConfig() (*ClientConfig, error)
Click to show internal directories.
Click to hide internal directories.