Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidProviders = eks.ConnectorConfigProvider_Values
Functions ¶
func GetManifestFilenames ¶
GetManifestFilenames gets the filenames for EKS Connector manifests
func WriteResources ¶
func WriteResources(fs afero.Fs, manifestList *ManifestList) error
WriteResources writes the EKS Connector resources to the current directory.
Types ¶
type EKSConnector ¶
type EKSConnector struct { Provider provider ManifestTemplate ManifestTemplate }
func (*EKSConnector) DeregisterCluster ¶
func (c *EKSConnector) DeregisterCluster(clusterName string) error
DeregisterCluster deregisters the cluster and removes associated IAM resources.
func (*EKSConnector) RegisterCluster ¶
func (c *EKSConnector) RegisterCluster(cluster ExternalCluster) (*ManifestList, error)
RegisterCluster registers the specified external cluster with EKS and returns a list of Kubernetes resources for EKS Connector.
type ExternalCluster ¶
type ManifestFile ¶
type ManifestList ¶
type ManifestList struct { ConnectorResources ManifestFile ClusterRoleResources ManifestFile ConsoleAccessResources ManifestFile Expiry time.Time IAMIdentityARN string }
type ManifestTemplate ¶
type ManifestTemplate struct { Connector ManifestFile ClusterRole ManifestFile ConsoleAccess ManifestFile }
ManifestTemplate holds the manifest templates for EKS Connector.
func GetManifestTemplate ¶
func GetManifestTemplate() (ManifestTemplate, error)
GetManifestTemplate returns the resources for EKS Connector.
Click to show internal directories.
Click to hide internal directories.