tags

package
v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(params *ApplyParams) error

Apply tags a resource with tags including the cluster tag.

func BuildParamsToTagSpecification added in v0.5.4

func BuildParamsToTagSpecification(ec2ResourceType string, params infrav1.BuildParams) *ec2.TagSpecification

BuildParamsToTagSpecification builds a TagSpecification for the specified resource type

func Ensure

func Ensure(current infrav1.Tags, params *ApplyParams) error

Ensure applies the tags if the current tags differ from the params.

Types

type ApplyParams

type ApplyParams struct {
	infrav1.BuildParams
	EC2Client ec2iface.EC2API
}

ApplyParams are function parameters used to apply tags on an aws resource.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL