Documentation
¶
Index ¶
- func MakeMockSecurityGroup(name string, projectName string, configName string, serviceName string) *ec2.SecurityGroup
- type CFClient
- func (m *CFClient) CreateChangeSet(in *cloudformation.CreateChangeSetInput) (*cloudformation.CreateChangeSetOutput, error)
- func (m *CFClient) DeleteStack(in *cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error)
- func (m *CFClient) DescribeChangeSet(in *cloudformation.DescribeChangeSetInput) (*cloudformation.DescribeChangeSetOutput, error)
- func (m *CFClient) DescribeStackEvents(in *cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error)
- func (m *CFClient) DescribeStacks(in *cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error)
- func (m *CFClient) ExecuteChangeSet(in *cloudformation.ExecuteChangeSetInput) (*cloudformation.ExecuteChangeSetOutput, error)
- type CWLClient
- type DDBClient
- type DescribeSecurityGroupsResponse
- type DescribeSubnetsResponse
- type EC2Client
- func (m *EC2Client) AddSecurityGroup(name string, projectName string, configName string, serviceName string, ...)
- func (m *EC2Client) AddSubnet(nameTag string, id string, tag bool)
- func (m *EC2Client) DescribeSecurityGroups(in *ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error)
- func (m *EC2Client) DescribeSubnets(in *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)
- type GetRoleResponse
- type IAMClient
- type KINClient
- type KMSClient
- type LambdaClient
- type MockClients
- func (a *MockClients) CF(*string, *string, *string) aws.CFAPI
- func (a *MockClients) CWL(*string, *string, *string) aws.CWLAPI
- func (a *MockClients) DDB(*string, *string, *string) aws.DDBAPI
- func (a *MockClients) DynamoDBClient(*string, *string, *string) aws.DynamoDBAPI
- func (a *MockClients) EC2(*string, *string, *string) aws.EC2API
- func (a *MockClients) IAM(*string, *string, *string) aws.IAMAPI
- func (a *MockClients) KIN(*string, *string, *string) aws.KINAPI
- func (a *MockClients) KMS(*string, *string, *string) aws.KMSAPI
- func (a *MockClients) Lambda(*string, *string, *string) aws.LambdaAPI
- func (a *MockClients) S3(*string, *string, *string) aws.S3API
- func (a *MockClients) SFN(*string, *string, *string) aws.SFNAPI
- func (a *MockClients) SNS(*string, *string, *string) aws.SNSAPI
- func (a *MockClients) SQS(*string, *string, *string) aws.SQSAPI
- type SNSClient
- type SQSClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeMockSecurityGroup ¶
func MakeMockSecurityGroup(name string, projectName string, configName string, serviceName string) *ec2.SecurityGroup
MakeMockSecurityGroup returns
Types ¶
type CFClient ¶
type CFClient struct {
aws.CFAPI
StackResp *cloudformation.DescribeStacksOutput
ChangeSet *cloudformation.DescribeChangeSetOutput
DeleteStackCalled bool
}
CFClient returns
func (*CFClient) CreateChangeSet ¶
func (m *CFClient) CreateChangeSet(in *cloudformation.CreateChangeSetInput) (*cloudformation.CreateChangeSetOutput, error)
DescribeStacks returns
func (*CFClient) DeleteStack ¶
func (m *CFClient) DeleteStack(in *cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error)
DeleteStack returns
func (*CFClient) DescribeChangeSet ¶
func (m *CFClient) DescribeChangeSet(in *cloudformation.DescribeChangeSetInput) (*cloudformation.DescribeChangeSetOutput, error)
DescribeChangeSet returns
func (*CFClient) DescribeStackEvents ¶
func (m *CFClient) DescribeStackEvents(in *cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error)
func (*CFClient) DescribeStacks ¶
func (m *CFClient) DescribeStacks(in *cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error)
DescribeStacks returns
func (*CFClient) ExecuteChangeSet ¶
func (m *CFClient) ExecuteChangeSet(in *cloudformation.ExecuteChangeSetInput) (*cloudformation.ExecuteChangeSetOutput, error)
ExecuteChangeSet returns
type CWLClient ¶
func (*CWLClient) ListTagsLogGroup ¶
func (m *CWLClient) ListTagsLogGroup(in *cloudwatchlogs.ListTagsLogGroupInput) (*cloudwatchlogs.ListTagsLogGroupOutput, error)
ListTagsLogGroup returns
type DDBClient ¶
func (*DDBClient) ListTagsOfResource ¶
func (m *DDBClient) ListTagsOfResource(in *dynamodb.ListTagsOfResourceInput) (*dynamodb.ListTagsOfResourceOutput, error)
ListTagsOfResource returns
type DescribeSecurityGroupsResponse ¶
type DescribeSecurityGroupsResponse struct {
Resp *ec2.DescribeSecurityGroupsOutput
Error error
}
DescribeSecurityGroupsResponse returns
type DescribeSubnetsResponse ¶
type DescribeSubnetsResponse struct {
Resp *ec2.DescribeSubnetsOutput
Error error
}
DescribeSubnetsResponse returns
type EC2Client ¶
type EC2Client struct {
aws.EC2API
DescribeSecurityGroupsResp map[string]*DescribeSecurityGroupsResponse
DescribeSubnetsResp map[string]*DescribeSubnetsResponse
}
EC2Client returns
func (*EC2Client) AddSecurityGroup ¶
func (m *EC2Client) AddSecurityGroup(name string, projectName string, configName string, serviceName string, err error)
AddSecurityGroup returns
func (*EC2Client) DescribeSecurityGroups ¶
func (m *EC2Client) DescribeSecurityGroups(in *ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error)
DescribeSecurityGroups returns
func (*EC2Client) DescribeSubnets ¶
func (m *EC2Client) DescribeSubnets(in *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)
DescribeSubnets returns
type GetRoleResponse ¶
type GetRoleResponse struct {
Resp *iam.GetRoleOutput
Error error
}
GetRoleResponse returns
type IAMClient ¶
type IAMClient struct {
aws.IAMAPI
GetRoleResp map[string]*GetRoleResponse
}
IAMClient returns
func (*IAMClient) AddGetRole ¶
AddGetRole returns
func (*IAMClient) GetRole ¶
func (m *IAMClient) GetRole(in *iam.GetRoleInput) (*iam.GetRoleOutput, error)
GetRole returns
type KINClient ¶
func (*KINClient) ListTagsForStream ¶
func (m *KINClient) ListTagsForStream(in *kinesis.ListTagsForStreamInput) (*kinesis.ListTagsForStreamOutput, error)
type KMSClient ¶
func (*KMSClient) DescribeKey ¶
func (m *KMSClient) DescribeKey(in *kms.DescribeKeyInput) (*kms.DescribeKeyOutput, error)
func (*KMSClient) ListResourceTags ¶
func (m *KMSClient) ListResourceTags(in *kms.ListResourceTagsInput) (*kms.ListResourceTagsOutput, error)
type LambdaClient ¶
func (*LambdaClient) GetFunction ¶
func (m *LambdaClient) GetFunction(in *lambda.GetFunctionInput) (*lambda.GetFunctionOutput, error)
type MockClients ¶
type MockClients struct {
S3Client *mocks.MockS3Client
CFClient *CFClient
CWLClient *CWLClient
EC2Client *EC2Client
IAMClient *IAMClient
SFNClient *mocks.MockSFNClient
SNSClient *SNSClient
KINClient *KINClient
DDBClient *DDBClient
SQSClient *SQSClient
KMSClient *KMSClient
LambdaClient *LambdaClient
DynamoDB *mocks.MockDynamoDBClient
}
MockClients struct
func (*MockClients) DynamoDBClient ¶
func (a *MockClients) DynamoDBClient(*string, *string, *string) aws.DynamoDBAPI
type SNSClient ¶
SNSClient returns
func (*SNSClient) ListTagsForResource ¶
func (m *SNSClient) ListTagsForResource(in *sns.ListTagsForResourceInput) (*sns.ListTagsForResourceOutput, error)
ListTagsForResource returns
type SQSClient ¶
func (*SQSClient) ListQueueTags ¶
func (m *SQSClient) ListQueueTags(in *sqs.ListQueueTagsInput) (*sqs.ListQueueTagsOutput, error)
Click to show internal directories.
Click to hide internal directories.