Documentation ¶
Index ¶
- type Client
- type Config
- type DefaultClient
- func (c DefaultClient) DeleteScalingPolicy(params *applicationautoscaling.DeleteScalingPolicyInput) error
- func (c DefaultClient) DeregisterScalableTarget(resourceID string) error
- func (c DefaultClient) DescribeScalableTarget(cluster, service string) (*applicationautoscaling.ScalableTarget, error)
- func (c DefaultClient) DescribeScalingActivities(params *applicationautoscaling.DescribeScalingActivitiesInput) ([]*applicationautoscaling.ScalingActivity, error)
- func (c DefaultClient) DescribeScalingPolicies(params *applicationautoscaling.DescribeScalingPoliciesInput) ([]*applicationautoscaling.ScalingPolicy, error)
- func (c DefaultClient) PutScalingPolicy(params *applicationautoscaling.PutScalingPolicyInput) (string, error)
- func (c DefaultClient) RegisterScalableTarget(cluster string, service string, min, max uint, role string) error
- type MockClient
- func (_m *MockClient) DeleteScalingPolicy(params *applicationautoscaling.DeleteScalingPolicyInput) error
- func (_m *MockClient) DeregisterScalableTarget(resourceID string) error
- func (_m *MockClient) DescribeScalableTarget(cluster string, service string) (*applicationautoscaling.ScalableTarget, error)
- func (_m *MockClient) DescribeScalingActivities(params *applicationautoscaling.DescribeScalingActivitiesInput) ([]*applicationautoscaling.ScalingActivity, error)
- func (_m *MockClient) DescribeScalingPolicies(params *applicationautoscaling.DescribeScalingPoliciesInput) ([]*applicationautoscaling.ScalingPolicy, error)
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) PutScalingPolicy(params *applicationautoscaling.PutScalingPolicyInput) (string, error)
- func (_m *MockClient) RegisterScalableTarget(cluster string, service string, min uint, max uint, role string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { DeleteScalingPolicy(params *applicationautoscaling.DeleteScalingPolicyInput) error DeregisterScalableTarget(resourceID string) error DescribeScalableTarget(cluster, service string) (*applicationautoscaling.ScalableTarget, error) DescribeScalingActivities(params *applicationautoscaling.DescribeScalingActivitiesInput) ([]*applicationautoscaling.ScalingActivity, error) DescribeScalingPolicies(params *applicationautoscaling.DescribeScalingPoliciesInput) ([]*applicationautoscaling.ScalingPolicy, error) PutScalingPolicy(params *applicationautoscaling.PutScalingPolicyInput) (string, error) RegisterScalableTarget(cluster string, service string, min, max uint, role string) error }
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
func (DefaultClient) DeleteScalingPolicy ¶
func (c DefaultClient) DeleteScalingPolicy(params *applicationautoscaling.DeleteScalingPolicyInput) error
func (DefaultClient) DeregisterScalableTarget ¶
func (c DefaultClient) DeregisterScalableTarget(resourceID string) error
func (DefaultClient) DescribeScalableTarget ¶
func (c DefaultClient) DescribeScalableTarget(cluster, service string) (*applicationautoscaling.ScalableTarget, error)
func (DefaultClient) DescribeScalingActivities ¶
func (c DefaultClient) DescribeScalingActivities(params *applicationautoscaling.DescribeScalingActivitiesInput) ([]*applicationautoscaling.ScalingActivity, error)
func (DefaultClient) DescribeScalingPolicies ¶
func (c DefaultClient) DescribeScalingPolicies(params *applicationautoscaling.DescribeScalingPoliciesInput) ([]*applicationautoscaling.ScalingPolicy, error)
func (DefaultClient) PutScalingPolicy ¶
func (c DefaultClient) PutScalingPolicy(params *applicationautoscaling.PutScalingPolicyInput) (string, error)
func (DefaultClient) RegisterScalableTarget ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) DeleteScalingPolicy ¶
func (_m *MockClient) DeleteScalingPolicy(params *applicationautoscaling.DeleteScalingPolicyInput) error
func (*MockClient) DeregisterScalableTarget ¶
func (_m *MockClient) DeregisterScalableTarget(resourceID string) error
func (*MockClient) DescribeScalableTarget ¶
func (_m *MockClient) DescribeScalableTarget(cluster string, service string) (*applicationautoscaling.ScalableTarget, error)
func (*MockClient) DescribeScalingActivities ¶
func (_m *MockClient) DescribeScalingActivities(params *applicationautoscaling.DescribeScalingActivitiesInput) ([]*applicationautoscaling.ScalingActivity, error)
func (*MockClient) DescribeScalingPolicies ¶
func (_m *MockClient) DescribeScalingPolicies(params *applicationautoscaling.DescribeScalingPoliciesInput) ([]*applicationautoscaling.ScalingPolicy, error)
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
func (*MockClient) PutScalingPolicy ¶
func (_m *MockClient) PutScalingPolicy(params *applicationautoscaling.PutScalingPolicyInput) (string, error)
func (*MockClient) RegisterScalableTarget ¶
Click to show internal directories.
Click to hide internal directories.