Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToEC2 ¶
ConvertToEC2 will convert tags to EC2 tags
Types ¶
type Controller ¶
type Controller interface { // ReconcileELB ensures the tag for ELB resources denoted by arn have specified tags. ReconcileELB(ctx context.Context, arn string, desiredTags map[string]string) error // ReconcileEC2WithCurTags ensures the tag for EC2 resources denoted by resourceID have specified tags by reconcile from curTags. ReconcileEC2WithCurTags(ctx context.Context, resourceID string, desiredTags map[string]string, curTags map[string]string) error }
Controller manages tags on a resource
func NewController ¶
func NewController(cloud aws.CloudAPI) Controller
NewController constructs a new tags controller
type MockController ¶
MockController is an autogenerated mock type for the Controller type
func (*MockController) ReconcileEC2WithCurTags ¶
func (_m *MockController) ReconcileEC2WithCurTags(ctx context.Context, resourceID string, desiredTags map[string]string, curTags map[string]string) error
ReconcileEC2WithCurTags provides a mock function with given fields: ctx, resourceID, desiredTags, curTags
func (*MockController) ReconcileELB ¶
func (_m *MockController) ReconcileELB(ctx context.Context, arn string, desiredTags map[string]string) error
ReconcileELB provides a mock function with given fields: ctx, arn, desiredTags
Click to show internal directories.
Click to hide internal directories.