Documentation ¶
Index ¶
- type Backend
- func (b *Backend) CreateKeyPair(input *ec2.CreateKeyPairInput) (*ec2.CreateKeyPairOutput, error)
- func (b *Backend) CreateStack(input *cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error)
- func (b *Backend) DeleteKeyPair(input *ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error)
- func (b *Backend) DeleteServerCertificate(input *iam.DeleteServerCertificateInput) (*iam.DeleteServerCertificateOutput, error)
- func (b *Backend) DeleteStack(input *cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error)
- func (b *Backend) DescribeAvailabilityZones(input *ec2.DescribeAvailabilityZonesInput) (*ec2.DescribeAvailabilityZonesOutput, error)
- func (b *Backend) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
- func (b *Backend) DescribeKeyPairs(input *ec2.DescribeKeyPairsInput) (*ec2.DescribeKeyPairsOutput, error)
- func (b *Backend) DescribeLoadBalancers(input *elb.DescribeLoadBalancersInput) (*elb.DescribeLoadBalancersOutput, error)
- func (b *Backend) DescribeStackResource(input *cloudformation.DescribeStackResourceInput) (*cloudformation.DescribeStackResourceOutput, error)
- func (b *Backend) DescribeStacks(input *cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error)
- func (b *Backend) GetServerCertificate(input *iam.GetServerCertificateInput) (*iam.GetServerCertificateOutput, error)
- func (b *Backend) UpdateStack(input *cloudformation.UpdateStackInput) (*cloudformation.UpdateStackOutput, error)
- func (b *Backend) UploadServerCertificate(input *iam.UploadServerCertificateInput) (*iam.UploadServerCertificateOutput, error)
- type Certificate
- type Certificates
- type Instance
- type Instances
- type KeyPair
- type KeyPairs
- func (k *KeyPairs) All() []KeyPair
- func (k *KeyPairs) CreateKeyPairReturnError() *awsfaker.ErrorResponse
- func (k *KeyPairs) Delete(name string)
- func (k *KeyPairs) DeleteKeyPairReturnError() *awsfaker.ErrorResponse
- func (k *KeyPairs) Get(name string) (KeyPair, bool)
- func (k *KeyPairs) Set(keyPair KeyPair)
- func (k *KeyPairs) SetCreateKeyPairReturnError(err *awsfaker.ErrorResponse)
- func (k *KeyPairs) SetDeleteKeyPairReturnError(err *awsfaker.ErrorResponse)
- type LoadBalancer
- type LoadBalancers
- type Stack
- type Stacks
- func (s *Stacks) CreateStackReturnError() *awsfaker.ErrorResponse
- func (s *Stacks) Delete(name string)
- func (s *Stacks) DeleteStackReturnError() *awsfaker.ErrorResponse
- func (s *Stacks) Get(name string) (Stack, bool)
- func (s *Stacks) Set(stack Stack)
- func (s *Stacks) SetCreateStackReturnError(err *awsfaker.ErrorResponse)
- func (s *Stacks) SetDeleteStackReturnError(err *awsfaker.ErrorResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { KeyPairs *KeyPairs Stacks *Stacks LoadBalancers *LoadBalancers Instances *Instances Certificates *Certificates CreateKeyPairCallCount int64 CreateStackCallCount int64 // contains filtered or unexported fields }
func (*Backend) CreateKeyPair ¶
func (b *Backend) CreateKeyPair(input *ec2.CreateKeyPairInput) (*ec2.CreateKeyPairOutput, error)
func (*Backend) CreateStack ¶
func (b *Backend) CreateStack(input *cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error)
func (*Backend) DeleteKeyPair ¶
func (b *Backend) DeleteKeyPair(input *ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error)
func (*Backend) DeleteServerCertificate ¶
func (b *Backend) DeleteServerCertificate(input *iam.DeleteServerCertificateInput) (*iam.DeleteServerCertificateOutput, error)
func (*Backend) DeleteStack ¶
func (b *Backend) DeleteStack(input *cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error)
func (*Backend) DescribeAvailabilityZones ¶
func (b *Backend) DescribeAvailabilityZones(input *ec2.DescribeAvailabilityZonesInput) (*ec2.DescribeAvailabilityZonesOutput, error)
func (*Backend) DescribeInstances ¶
func (b *Backend) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
func (*Backend) DescribeKeyPairs ¶
func (b *Backend) DescribeKeyPairs(input *ec2.DescribeKeyPairsInput) (*ec2.DescribeKeyPairsOutput, error)
func (*Backend) DescribeLoadBalancers ¶
func (b *Backend) DescribeLoadBalancers(input *elb.DescribeLoadBalancersInput) (*elb.DescribeLoadBalancersOutput, error)
func (*Backend) DescribeStackResource ¶
func (b *Backend) DescribeStackResource(input *cloudformation.DescribeStackResourceInput) (*cloudformation.DescribeStackResourceOutput, error)
func (*Backend) DescribeStacks ¶
func (b *Backend) DescribeStacks(input *cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error)
func (*Backend) GetServerCertificate ¶
func (b *Backend) GetServerCertificate(input *iam.GetServerCertificateInput) (*iam.GetServerCertificateOutput, error)
func (*Backend) UpdateStack ¶
func (b *Backend) UpdateStack(input *cloudformation.UpdateStackInput) (*cloudformation.UpdateStackOutput, error)
func (*Backend) UploadServerCertificate ¶
func (b *Backend) UploadServerCertificate(input *iam.UploadServerCertificateInput) (*iam.UploadServerCertificateOutput, error)
type Certificate ¶
type Certificates ¶
type Certificates struct {
// contains filtered or unexported fields
}
func NewCertificates ¶
func NewCertificates() *Certificates
func (*Certificates) All ¶
func (c *Certificates) All() []Certificate
func (*Certificates) Delete ¶
func (c *Certificates) Delete(name string)
func (*Certificates) Get ¶
func (c *Certificates) Get(name string) (Certificate, bool)
func (*Certificates) Set ¶
func (c *Certificates) Set(certificate Certificate)
type Instances ¶
type Instances struct {
// contains filtered or unexported fields
}
func NewInstances ¶
func NewInstances() *Instances
type KeyPairs ¶
type KeyPairs struct {
// contains filtered or unexported fields
}
func NewKeyPairs ¶
func NewKeyPairs() *KeyPairs
func (*KeyPairs) CreateKeyPairReturnError ¶
func (k *KeyPairs) CreateKeyPairReturnError() *awsfaker.ErrorResponse
func (*KeyPairs) DeleteKeyPairReturnError ¶
func (k *KeyPairs) DeleteKeyPairReturnError() *awsfaker.ErrorResponse
func (*KeyPairs) SetCreateKeyPairReturnError ¶
func (k *KeyPairs) SetCreateKeyPairReturnError(err *awsfaker.ErrorResponse)
func (*KeyPairs) SetDeleteKeyPairReturnError ¶
func (k *KeyPairs) SetDeleteKeyPairReturnError(err *awsfaker.ErrorResponse)
type LoadBalancer ¶
type LoadBalancers ¶
type LoadBalancers struct {
// contains filtered or unexported fields
}
func NewLoadBalancers ¶
func NewLoadBalancers() *LoadBalancers
func (*LoadBalancers) Delete ¶
func (s *LoadBalancers) Delete(name string)
func (*LoadBalancers) Get ¶
func (s *LoadBalancers) Get(name string) (LoadBalancer, bool)
func (*LoadBalancers) Set ¶
func (s *LoadBalancers) Set(loadBalancer LoadBalancer)
type Stacks ¶
type Stacks struct {
// contains filtered or unexported fields
}
func (*Stacks) CreateStackReturnError ¶
func (s *Stacks) CreateStackReturnError() *awsfaker.ErrorResponse
func (*Stacks) DeleteStackReturnError ¶
func (s *Stacks) DeleteStackReturnError() *awsfaker.ErrorResponse
func (*Stacks) SetCreateStackReturnError ¶
func (s *Stacks) SetCreateStackReturnError(err *awsfaker.ErrorResponse)
func (*Stacks) SetDeleteStackReturnError ¶
func (s *Stacks) SetDeleteStackReturnError(err *awsfaker.ErrorResponse)
Click to show internal directories.
Click to hide internal directories.