Documentation
¶
Overview ¶
aws package contains AWS-specific types
Index ¶
- func FindAMI(stream rhcostream.Stream, arch, region string) (string, error)
- type ArchToAZ
- type CISchedulingWebhook
- type ClientGetters
- type CloudCredential
- type CloudFormationClient
- type CloudFormationClientGetter
- type CloudFormationTemplate
- type EC2Client
- type EC2ClientGetter
- type EC2ClientGetterFunc
- type FakeEC2Client
- func (fc *FakeEC2Client) DescribeSecurityGroups(context.Context, *ec2.DescribeSecurityGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)
- func (fc *FakeEC2Client) DescribeSubnets(context.Context, *ec2.DescribeSubnetsInput, ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
- type MachineSet
- type MachineSetProfile
- type Provision
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CISchedulingWebhook ¶
type ClientGetters ¶
type ClientGetters struct {
// contains filtered or unexported fields
}
func CloudFormationClientGetterFunc ¶
func CloudFormationClientGetterFunc(f func(context.Context) (CloudFormationClient, error)) *ClientGetters
func (*ClientGetters) CloudFormationClient ¶
func (cg *ClientGetters) CloudFormationClient(ctx context.Context) (CloudFormationClient, error)
type CloudCredential ¶
type CloudCredential struct{}
type CloudFormationClient ¶
type CloudFormationClient interface { CreateStack(ctx context.Context, params *cloudformation.CreateStackInput, optFns ...func(*cloudformation.Options)) (*cloudformation.CreateStackOutput, error) DescribeStacks(context.Context, *cloudformation.DescribeStacksInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStacksOutput, error) }
CloudFormationClient is a convenience interface that has been created to make unit test easier to write
type CloudFormationClientGetter ¶
type CloudFormationClientGetter interface {
CloudFormationClient(context.Context) (CloudFormationClient, error)
}
type CloudFormationTemplate ¶
type CloudFormationTemplate struct { StackName string `json:"stackName,omitempty"` TemplateBody string `json:"templateBody,omitempty"` Parameters []struct { Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` } `json:"parameters,omitempty"` Capabilities []string `json:"capabilities,omitempty"` }
type EC2Client ¶
type EC2Client interface { DescribeSubnets(context.Context, *ec2.DescribeSubnetsInput, ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error) DescribeSecurityGroups(context.Context, *ec2.DescribeSecurityGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error) }
type EC2ClientGetter ¶
type EC2ClientGetterFunc ¶
type FakeEC2Client ¶
type FakeEC2Client struct { Subnets *ec2.DescribeSubnetsOutput SecurityGroups *ec2.DescribeSecurityGroupsOutput }
func (*FakeEC2Client) DescribeSecurityGroups ¶
func (fc *FakeEC2Client) DescribeSecurityGroups(context.Context, *ec2.DescribeSecurityGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)
func (*FakeEC2Client) DescribeSubnets ¶
func (fc *FakeEC2Client) DescribeSubnets(context.Context, *ec2.DescribeSubnetsInput, ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
type MachineSet ¶
type MachineSet struct {
Profiles map[string]MachineSetProfile `json:"profiles,omitempty"`
}
type MachineSetProfile ¶
type Provision ¶
type Provision struct {
CloudFormationTemplates []CloudFormationTemplate `json:"cloudFormationTemplates,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.