eks

package
v0.0.0-...-b3ee267 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2018 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfig

type ClientConfig struct {
	Client      *clientcmdapi.Config
	Cluster     *api.ClusterConfig
	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)

func (*ClientConfig) WithExecAuthenticator

func (c *ClientConfig) WithExecAuthenticator() *ClientConfig

WithExecAuthenticator creates a copy of ClientConfig with authenticator exec plugin it ensures that AWS_PROFILE environment variable gets added to config also

type ClusterProvider

type ClusterProvider struct {
	// core fields used for config and AWS APIs
	Spec     *api.ClusterConfig
	Provider api.ClusterProvider
	// informative fields, i.e. used as outputs
	Status *ProviderStatus
}

func New

func New(clusterConfig *api.ClusterConfig) *ClusterProvider

func (*ClusterProvider) AddDefaultStorageClass

func (c *ClusterProvider) AddDefaultStorageClass(clientSet *clientset.Clientset) error

func (*ClusterProvider) CheckAuth

func (c *ClusterProvider) CheckAuth() error

func (*ClusterProvider) CreateDefaultNodeGroupAuthConfigMap

func (c *ClusterProvider) CreateDefaultNodeGroupAuthConfigMap(clientSet *clientset.Clientset) error

func (*ClusterProvider) DeprecatedDeleteControlPlane

func (c *ClusterProvider) DeprecatedDeleteControlPlane() error

func (*ClusterProvider) DescribeControlPlane

func (c *ClusterProvider) DescribeControlPlane() (*awseks.Cluster, error)

func (*ClusterProvider) EnsureAMI

func (c *ClusterProvider) EnsureAMI() error

EnsureAMI ensures that the node AMI is set and is available

func (*ClusterProvider) GetCredentials

func (c *ClusterProvider) GetCredentials(cluster awseks.Cluster) error

func (*ClusterProvider) GetCredentialsEnv

func (c *ClusterProvider) GetCredentialsEnv() ([]string, error)

func (*ClusterProvider) ListAllTaggedResources

func (c *ClusterProvider) ListAllTaggedResources() error

func (*ClusterProvider) ListClusters

func (c *ClusterProvider) ListClusters(chunkSize int, output string) error

ListClusters display details of all the EKS cluster in your account

func (*ClusterProvider) LoadSSHPublicKey

func (c *ClusterProvider) LoadSSHPublicKey() error

func (*ClusterProvider) MaybeDeletePublicSSHKey

func (c *ClusterProvider) MaybeDeletePublicSSHKey()

func (*ClusterProvider) NewClientConfig

func (c *ClusterProvider) NewClientConfig() (*ClientConfig, error)

based on "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig" these are small, so we can copy these, and no need to deal with k/k as dependency

func (*ClusterProvider) NewStackManager

func (c *ClusterProvider) NewStackManager() *manager.StackCollection

func (*ClusterProvider) SetAvailabilityZones

func (c *ClusterProvider) SetAvailabilityZones(given []string) error

func (*ClusterProvider) WaitForControlPlane

func (c *ClusterProvider) WaitForControlPlane(clientSet *kubernetes.Clientset) error

func (*ClusterProvider) WaitForNodes

func (c *ClusterProvider) WaitForNodes(clientSet *clientset.Clientset) error

type ProviderServices

type ProviderServices struct {
	// contains filtered or unexported fields
}

func (ProviderServices) CloudFormation

func (ProviderServices) EC2

func (ProviderServices) EKS

func (ProviderServices) STS

type ProviderStatus

type ProviderStatus struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL