Documentation ¶
Overview ¶
Generated by go-decorator, DO NOT EDIT
Index ¶
- type Activity
- type AutoScaling
- func (this *AutoScaling) AttachLoadBalancer(autoScalingGroupName, loadBalancerName string) (err error)
- func (this *AutoScaling) CreateAutoScalingGroup(name, launchConfigName, subnets string, minSize, maxSize int) error
- func (this *AutoScaling) CreateLaunchConfiguration(name *string, amiID *string, iamInstanceProfile *string, instanceType *string, ...) error
- func (this *AutoScaling) DeleteAutoScalingGroup(name *string) error
- func (this *AutoScaling) DeleteLaunchConfiguration(name *string) error
- func (this *AutoScaling) DescribeAutoScalingGroup(name string) (*Group, error)
- func (this *AutoScaling) DescribeAutoScalingGroups(names []*string) ([]*Group, error)
- func (this *AutoScaling) DescribeLaunchConfiguration(name string) (*LaunchConfiguration, error)
- func (this *AutoScaling) DescribeLaunchConfigurations(names []*string) ([]*LaunchConfiguration, error)
- func (this *AutoScaling) SetDesiredCapacity(name string, size int) error
- func (this *AutoScaling) TerminateInstanceInAutoScalingGroup(instanceID string, decrement bool) (*Activity, error)
- func (this *AutoScaling) UpdateAutoScalingGroupMaxSize(name string, size int) error
- func (this *AutoScaling) UpdateAutoScalingGroupMinSize(name string, size int) error
- type AutoScalingInternal
- type Group
- type LaunchConfiguration
- type Provider
- type ProviderDecorator
- func (this *ProviderDecorator) AttachLoadBalancer(p0 string, p1 string) (err error)
- func (this *ProviderDecorator) CreateAutoScalingGroup(p0 string, p1 string, p2 string, p3 int, p4 int) (err error)
- func (this *ProviderDecorator) CreateLaunchConfiguration(p0 *string, p1 *string, p2 *string, p3 *string, p4 *string, p5 *string, ...) (err error)
- func (this *ProviderDecorator) DeleteAutoScalingGroup(p0 *string) (err error)
- func (this *ProviderDecorator) DeleteLaunchConfiguration(p0 *string) (err error)
- func (this *ProviderDecorator) DescribeAutoScalingGroup(p0 string) (v0 *Group, err error)
- func (this *ProviderDecorator) DescribeAutoScalingGroups(p0 []*string) (v0 []*Group, err error)
- func (this *ProviderDecorator) DescribeLaunchConfiguration(p0 string) (v0 *LaunchConfiguration, err error)
- func (this *ProviderDecorator) DescribeLaunchConfigurations(p0 []*string) (v0 []*LaunchConfiguration, err error)
- func (this *ProviderDecorator) SetDesiredCapacity(p0 string, p1 int) (err error)
- func (this *ProviderDecorator) TerminateInstanceInAutoScalingGroup(p0 string, p1 bool) (v0 *Activity, err error)
- func (this *ProviderDecorator) UpdateAutoScalingGroupMaxSize(p0 string, p1 int) (err error)
- func (this *ProviderDecorator) UpdateAutoScalingGroupMinSize(p0 string, p1 int) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
*autoscaling.Activity
}
type AutoScaling ¶
type AutoScaling struct { Connect func() (AutoScalingInternal, error) // contains filtered or unexported fields }
func (*AutoScaling) AttachLoadBalancer ¶
func (this *AutoScaling) AttachLoadBalancer(autoScalingGroupName, loadBalancerName string) (err error)
func (*AutoScaling) CreateAutoScalingGroup ¶
func (this *AutoScaling) CreateAutoScalingGroup(name, launchConfigName, subnets string, minSize, maxSize int) error
func (*AutoScaling) CreateLaunchConfiguration ¶
func (*AutoScaling) DeleteAutoScalingGroup ¶
func (this *AutoScaling) DeleteAutoScalingGroup(name *string) error
func (*AutoScaling) DeleteLaunchConfiguration ¶
func (this *AutoScaling) DeleteLaunchConfiguration(name *string) error
func (*AutoScaling) DescribeAutoScalingGroup ¶
func (this *AutoScaling) DescribeAutoScalingGroup(name string) (*Group, error)
func (*AutoScaling) DescribeAutoScalingGroups ¶
func (this *AutoScaling) DescribeAutoScalingGroups(names []*string) ([]*Group, error)
func (*AutoScaling) DescribeLaunchConfiguration ¶
func (this *AutoScaling) DescribeLaunchConfiguration(name string) (*LaunchConfiguration, error)
func (*AutoScaling) DescribeLaunchConfigurations ¶
func (this *AutoScaling) DescribeLaunchConfigurations(names []*string) ([]*LaunchConfiguration, error)
func (*AutoScaling) SetDesiredCapacity ¶
func (this *AutoScaling) SetDesiredCapacity(name string, size int) error
func (*AutoScaling) TerminateInstanceInAutoScalingGroup ¶
func (this *AutoScaling) TerminateInstanceInAutoScalingGroup(instanceID string, decrement bool) (*Activity, error)
func (*AutoScaling) UpdateAutoScalingGroupMaxSize ¶
func (this *AutoScaling) UpdateAutoScalingGroupMaxSize(name string, size int) error
func (*AutoScaling) UpdateAutoScalingGroupMinSize ¶
func (this *AutoScaling) UpdateAutoScalingGroupMinSize(name string, size int) error
type AutoScalingInternal ¶
type AutoScalingInternal interface { AttachLoadBalancers(input *autoscaling.AttachLoadBalancersInput) (output *autoscaling.AttachLoadBalancersOutput, err error) CreateLaunchConfiguration(input *autoscaling.CreateLaunchConfigurationInput) (*autoscaling.CreateLaunchConfigurationOutput, error) CreateAutoScalingGroup(input *autoscaling.CreateAutoScalingGroupInput) (*autoscaling.CreateAutoScalingGroupOutput, error) DescribeAutoScalingGroups(input *autoscaling.DescribeAutoScalingGroupsInput) (*autoscaling.DescribeAutoScalingGroupsOutput, error) DescribeLaunchConfigurations(input *autoscaling.DescribeLaunchConfigurationsInput) (*autoscaling.DescribeLaunchConfigurationsOutput, error) SetDesiredCapacity(input *autoscaling.SetDesiredCapacityInput) (*autoscaling.SetDesiredCapacityOutput, error) UpdateAutoScalingGroup(input *autoscaling.UpdateAutoScalingGroupInput) (*autoscaling.UpdateAutoScalingGroupOutput, error) DeleteAutoScalingGroup(input *autoscaling.DeleteAutoScalingGroupInput) (*autoscaling.DeleteAutoScalingGroupOutput, error) DeleteLaunchConfiguration(input *autoscaling.DeleteLaunchConfigurationInput) (*autoscaling.DeleteLaunchConfigurationOutput, error) TerminateInstanceInAutoScalingGroup(input *autoscaling.TerminateInstanceInAutoScalingGroupInput) (*autoscaling.TerminateInstanceInAutoScalingGroupOutput, error) }
func Connect ¶
func Connect(credProvider provider.CredProvider, region string) (AutoScalingInternal, error)
type LaunchConfiguration ¶
type LaunchConfiguration struct {
*autoscaling.LaunchConfiguration
}
func NewLaunchConfiguration ¶
func NewLaunchConfiguration(size, ami string) *LaunchConfiguration
type Provider ¶
type Provider interface { AttachLoadBalancer(autoScalingGroupName, loadBalancerName string) error CreateLaunchConfiguration(name, amiID, iamInstanceProfile, instanceType, keyName, userData *string, securityGroups []*string, volSize map[string]int) error CreateAutoScalingGroup(name, launchConfigName, subnets string, minCount, maxCount int) error SetDesiredCapacity(name string, size int) error UpdateAutoScalingGroupMaxSize(name string, size int) error UpdateAutoScalingGroupMinSize(name string, size int) error DescribeAutoScalingGroups(names []*string) ([]*Group, error) DescribeAutoScalingGroup(name string) (*Group, error) DescribeLaunchConfigurations(names []*string) ([]*LaunchConfiguration, error) DescribeLaunchConfiguration(name string) (*LaunchConfiguration, error) DeleteAutoScalingGroup(name *string) error DeleteLaunchConfiguration(name *string) error TerminateInstanceInAutoScalingGroup(instanceID string, decrement bool) (*Activity, error) }
func NewAutoScaling ¶
func NewAutoScaling(credProvider provider.CredProvider, region string) (Provider, error)
type ProviderDecorator ¶
type ProviderDecorator struct { Inner Provider Decorator func(name string, call func() error) error }
func (*ProviderDecorator) AttachLoadBalancer ¶
func (this *ProviderDecorator) AttachLoadBalancer(p0 string, p1 string) (err error)
func (*ProviderDecorator) CreateAutoScalingGroup ¶
func (*ProviderDecorator) CreateLaunchConfiguration ¶
func (*ProviderDecorator) DeleteAutoScalingGroup ¶
func (this *ProviderDecorator) DeleteAutoScalingGroup(p0 *string) (err error)
func (*ProviderDecorator) DeleteLaunchConfiguration ¶
func (this *ProviderDecorator) DeleteLaunchConfiguration(p0 *string) (err error)
func (*ProviderDecorator) DescribeAutoScalingGroup ¶
func (this *ProviderDecorator) DescribeAutoScalingGroup(p0 string) (v0 *Group, err error)
func (*ProviderDecorator) DescribeAutoScalingGroups ¶
func (this *ProviderDecorator) DescribeAutoScalingGroups(p0 []*string) (v0 []*Group, err error)
func (*ProviderDecorator) DescribeLaunchConfiguration ¶
func (this *ProviderDecorator) DescribeLaunchConfiguration(p0 string) (v0 *LaunchConfiguration, err error)
func (*ProviderDecorator) DescribeLaunchConfigurations ¶
func (this *ProviderDecorator) DescribeLaunchConfigurations(p0 []*string) (v0 []*LaunchConfiguration, err error)
func (*ProviderDecorator) SetDesiredCapacity ¶
func (this *ProviderDecorator) SetDesiredCapacity(p0 string, p1 int) (err error)
func (*ProviderDecorator) TerminateInstanceInAutoScalingGroup ¶
func (this *ProviderDecorator) TerminateInstanceInAutoScalingGroup(p0 string, p1 bool) (v0 *Activity, err error)
func (*ProviderDecorator) UpdateAutoScalingGroupMaxSize ¶
func (this *ProviderDecorator) UpdateAutoScalingGroupMaxSize(p0 string, p1 int) (err error)
func (*ProviderDecorator) UpdateAutoScalingGroupMinSize ¶
func (this *ProviderDecorator) UpdateAutoScalingGroupMinSize(p0 string, p1 int) (err error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_autoscaling is a generated GoMock package.
|
Package mock_autoscaling is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.