tags

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResourceTag

func CreateResourceTag(client *golangsdk.ServiceClient, opts TagsActionOpts) error

func DeleteResourceTag

func DeleteResourceTag(client *golangsdk.ServiceClient, opts TagsActionOpts) error

Types

type TagsActionOpts

type TagsActionOpts struct {
	Id      string             `json:"-"`
	Action  string             `json:"action"`
	Tags    []tags.ResourceTag `json:"tags"`
	SysTags []tags.ResourceTag `json:"sys_tags"`
}

type TagsResp

type TagsResp struct {
	Tags    []tags.ResourceTag `json:"tags"`
	SysTags []tags.ResourceTag `json:"sys_tags"`
}

func GetResourceTags

func GetResourceTags(client *golangsdk.ServiceClient, funcURN string) (*TagsResp, error)

Jump to

Keyboard shortcuts

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