interfaces

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSClient

type AWSClient interface {
	GetAccountId() string
	GetProfile() string
	GetConfig() *aws.Config
	GetEKSClusters() ([]string, error)
	DescribeEKSCluster(cluster string) (*eks.DescribeClusterOutput, error)
	ListEKSAddons(cluster string) (*eks.ListAddonsOutput, error)
	DescribeEKSClusterAddon(cluster, addon string) (*eks.DescribeAddonOutput, error)
	ListLambdaFunctions() (*lambda.ListFunctionsOutput, error)
	DescribeRDSClusters() (*rds.DescribeDBClustersOutput, error)
	GetEKSConfig(ctx context.Context, clusterInfo *eks.DescribeClusterOutput) (*rest.Config, error)
	GetEKSNamespaces(ctx context.Context, config *rest.Config) ([]string, error)
	ListEC2Instances() ([]ec2types.Instance, error)
	DescribeAMIs(imageIds []string) ([]ec2types.Image, error)
	ListVolumes() ([]ec2types.Volume, error)
	ListACMCertificates() ([]acmtypes.CertificateSummary, error)
}

Jump to

Keyboard shortcuts

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