tag

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddTag

func NewAddTag(serviceName, scope, serverId, networkInterfaceId, volumeId, imageId string, e2 *ec2.Client) (t additional, err error)

Types

type New

type New struct {
	Scope              string `json:"-"`
	Id                 string `json:"id"`
	Name               string `json:"name"`
	KeyId              string `json:"key_id"`
	SecurityGroupId    string `json:"security_group_id"`
	ServerId           string `json:"server_id"`
	VolumeId           string `json:"volume_id"`
	NetworkInterfaceId string `json:"network_interface_id"`
	ImageId            string `json:"image_id"`
	TargetGroupARN     string `json:"target_group_arn"`
	RuleARN            string `json:"rule_arn"`
	ListenerARN        string `json:"listener_arn"`
	LoadbalancerARN    string `json:"loadbalancer_arn"`
	// contains filtered or unexported fields
}

func NewNewTag

func NewNewTag(serviceName, scope, keyId, securityGroupId, serverId, volumeId, networkInterfaceId, imageId,
	targetGroupARN, ruleARN, listnerARN, loadbalancerARN string,
	e2 *ec2.Client, el *elbv2.Client) (t New, err error)

func (*New) Create

func (t *New) Create() (id string, err error)

func (*New) Delete

func (t *New) Delete() (err error)

type Tag

type Tag interface {
	Create() (string, error)
	Delete() error
}

Jump to

Keyboard shortcuts

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