Documentation ¶
Index ¶
- func GetDefaultDeprecatedRuntimesList() []types.Runtime
- func IsLambdaRuntime(runtime types.Runtime) bool
- func ListLambdaRuntimes() []types.Runtime
- func ListSupportedRuntimes() []types.Runtime
- func NewLambdaRuntimeFamilyVersionProvider() func(runtime types.Runtime) []types.Runtime
- type Config
- type Configs
- type EKSApi
- type EksMock
- func (m *EksMock) DescribeAddon(ctx context.Context, params *eks.DescribeAddonInput, ...) (*eks.DescribeAddonOutput, error)
- func (m *EksMock) DescribeAddonVersions(ctx context.Context, params *eks.DescribeAddonVersionsInput, ...) (*eks.DescribeAddonVersionsOutput, error)
- func (m *EksMock) DescribeCluster(ctx context.Context, params *eks.DescribeClusterInput, ...) (*eks.DescribeClusterOutput, error)
- func (m *EksMock) ListAddons(ctx context.Context, params *eks.ListAddonsInput, optFns ...func(*eks.Options)) (*eks.ListAddonsOutput, error)
- func (m *EksMock) ListClusters(ctx context.Context, params *eks.ListClustersInput, ...) (*eks.ListClustersOutput, error)
- type ElasticacheApi
- type ElasticacheMock
- func (m *ElasticacheMock) DescribeCacheClusters(ctx context.Context, params *elasticache.DescribeCacheClustersInput, ...) (*elasticache.DescribeCacheClustersOutput, error)
- func (m *ElasticacheMock) DescribeCacheEngineVersions(ctx context.Context, params *elasticache.DescribeCacheEngineVersionsInput, ...) (*elasticache.DescribeCacheEngineVersionsOutput, error)
- type LambdaApi
- type LambdaMock
- type MSKApi
- type MockMSKApi
- func (m *MockMSKApi) GetCompatibleKafkaVersions(ctx context.Context, params *kafka.GetCompatibleKafkaVersionsInput, ...) (*kafka.GetCompatibleKafkaVersionsOutput, error)
- func (m *MockMSKApi) ListClustersV2(ctx context.Context, params *kafka.ListClustersV2Input, ...) (*kafka.ListClustersV2Output, error)
- type MockRDSApi
- func (m *MockRDSApi) DescribeDBEngineVersions(ctx context.Context, params *rds.DescribeDBEngineVersionsInput, ...) (*rds.DescribeDBEngineVersionsOutput, error)
- func (m *MockRDSApi) DescribeDBInstances(ctx context.Context, params *rds.DescribeDBInstancesInput, ...) (*rds.DescribeDBInstancesOutput, error)
- type MockS3GetApi
- type RDSApi
- type S3Api
- type S3Mock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLambdaRuntime ¶
func ListLambdaRuntimes ¶
There is no API to retrieve a list of available runtimes.
As a workaround, we source them from the lambda/types packages To fetch latest versions available
func ListSupportedRuntimes ¶
Types ¶
type EKSApi ¶
type EKSApi interface { DescribeAddon(ctx context.Context, params *eks.DescribeAddonInput, optFns ...func(*eks.Options)) (*eks.DescribeAddonOutput, error) DescribeAddonVersions(ctx context.Context, params *eks.DescribeAddonVersionsInput, optFns ...func(*eks.Options)) (*eks.DescribeAddonVersionsOutput, error) DescribeCluster(ctx context.Context, params *eks.DescribeClusterInput, optFns ...func(*eks.Options)) (*eks.DescribeClusterOutput, error) ListClusters(ctx context.Context, params *eks.ListClustersInput, optFns ...func(*eks.Options)) (*eks.ListClustersOutput, error) ListAddons(ctx context.Context, params *eks.ListAddonsInput, optFns ...func(*eks.Options)) (*eks.ListAddonsOutput, error) }
type EksMock ¶
func (*EksMock) DescribeAddon ¶
func (m *EksMock) DescribeAddon(ctx context.Context, params *eks.DescribeAddonInput, optFns ...func(*eks.Options)) (*eks.DescribeAddonOutput, error)
func (*EksMock) DescribeAddonVersions ¶
func (m *EksMock) DescribeAddonVersions(ctx context.Context, params *eks.DescribeAddonVersionsInput, optFns ...func(*eks.Options)) (*eks.DescribeAddonVersionsOutput, error)
func (*EksMock) DescribeCluster ¶
func (m *EksMock) DescribeCluster(ctx context.Context, params *eks.DescribeClusterInput, optFns ...func(*eks.Options)) (*eks.DescribeClusterOutput, error)
func (*EksMock) ListAddons ¶
func (m *EksMock) ListAddons(ctx context.Context, params *eks.ListAddonsInput, optFns ...func(*eks.Options)) (*eks.ListAddonsOutput, error)
func (*EksMock) ListClusters ¶
func (m *EksMock) ListClusters(ctx context.Context, params *eks.ListClustersInput, optFns ...func(*eks.Options)) (*eks.ListClustersOutput, error)
type ElasticacheApi ¶
type ElasticacheApi interface { DescribeCacheClusters(ctx context.Context, params *elasticache.DescribeCacheClustersInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheClustersOutput, error) DescribeCacheEngineVersions(ctx context.Context, params *elasticache.DescribeCacheEngineVersionsInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheEngineVersionsOutput, error) }
type ElasticacheMock ¶
type ElasticacheMock struct{}
func (*ElasticacheMock) DescribeCacheClusters ¶
func (m *ElasticacheMock) DescribeCacheClusters(ctx context.Context, params *elasticache.DescribeCacheClustersInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheClustersOutput, error)
func (*ElasticacheMock) DescribeCacheEngineVersions ¶
func (m *ElasticacheMock) DescribeCacheEngineVersions(ctx context.Context, params *elasticache.DescribeCacheEngineVersionsInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheEngineVersionsOutput, error)
type LambdaApi ¶
type LambdaApi interface {
ListFunctions(ctx context.Context, params *lambda.ListFunctionsInput, optFns ...func(*lambda.Options)) (*lambda.ListFunctionsOutput, error)
}
type LambdaMock ¶
func (*LambdaMock) ListFunctions ¶
func (m *LambdaMock) ListFunctions(ctx context.Context, params *lambda.ListFunctionsInput, optFns ...func(*lambda.Options)) (*lambda.ListFunctionsOutput, error)
type MSKApi ¶
type MSKApi interface { GetCompatibleKafkaVersions(ctx context.Context, params *kafka.GetCompatibleKafkaVersionsInput, optFns ...func(*kafka.Options)) (*kafka.GetCompatibleKafkaVersionsOutput, error) ListClustersV2(ctx context.Context, params *kafka.ListClustersV2Input, optFns ...func(*kafka.Options)) (*kafka.ListClustersV2Output, error) }
type MockMSKApi ¶
func (*MockMSKApi) GetCompatibleKafkaVersions ¶
func (m *MockMSKApi) GetCompatibleKafkaVersions(ctx context.Context, params *kafka.GetCompatibleKafkaVersionsInput, optFns ...func(*kafka.Options)) (*kafka.GetCompatibleKafkaVersionsOutput, error)
func (*MockMSKApi) ListClustersV2 ¶
func (m *MockMSKApi) ListClustersV2(ctx context.Context, params *kafka.ListClustersV2Input, optFns ...func(*kafka.Options)) (*kafka.ListClustersV2Output, error)
type MockRDSApi ¶
func (*MockRDSApi) DescribeDBEngineVersions ¶
func (m *MockRDSApi) DescribeDBEngineVersions(ctx context.Context, params *rds.DescribeDBEngineVersionsInput, optFns ...func(*rds.Options)) (*rds.DescribeDBEngineVersionsOutput, error)
func (*MockRDSApi) DescribeDBInstances ¶
func (m *MockRDSApi) DescribeDBInstances(ctx context.Context, params *rds.DescribeDBInstancesInput, optFns ...func(*rds.Options)) (*rds.DescribeDBInstancesOutput, error)
type MockS3GetApi ¶
type MockS3GetApi func(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
func (MockS3GetApi) GetObject ¶
func (m MockS3GetApi) GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
type RDSApi ¶
type RDSApi interface { DescribeDBEngineVersions(ctx context.Context, params *rds.DescribeDBEngineVersionsInput, optFns ...func(*rds.Options)) (*rds.DescribeDBEngineVersionsOutput, error) DescribeDBInstances(ctx context.Context, params *rds.DescribeDBInstancesInput, optFns ...func(*rds.Options)) (*rds.DescribeDBInstancesOutput, error) }
Click to show internal directories.
Click to hide internal directories.