globaltagging

package
v0.10.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package globaltagging implements globaltagging code. Manage tags for cloud resources using Global Tagging APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalTagging

GlobalTagging interface defines a method that a IBMCLOUD service object should implement in order to use the manage tags with the Global Tagging APIs.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service holds the IBM Cloud Global Tagging Service specific information.

func NewService

func NewService(options ServiceOptions) (*Service, error)

NewService returns a new service for the IBM Cloud Global Tagging api client.

func (*Service) AttachTag

AttachTag will add tag(s) to resource(s).

func (*Service) CreateTag

CreateTag creates a new Tag.

func (*Service) GetTagByName

func (s *Service) GetTagByName(tagName string) (*globaltaggingv1.Tag, error)

GetTagByName returns the Tag with the provided name, if found.

type ServiceOptions

type ServiceOptions struct {
	*globaltaggingv1.GlobalTaggingV1Options
}

ServiceOptions holds the IBM Cloud Global Tagging Service Options specific information.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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