taggable

package
v1.10.0 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: 7 Imported by: 0

Documentation

Overview

Package taggable handles tagging objects in VSphere.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object interface {
	HasTag(ctx context.Context, tagName string) (bool, error)

	AttachTag(ctx context.Context, tagName string) error
}

Object is an object which is taggable.

type Objects

type Objects []Object

Objects is a list of Object.

func GetObjects

func GetObjects(ctx context.Context, taggableCtx taggableContext, failureDomain *infrav1.VSphereFailureDomain, fdType infrav1.FailureDomainType) (Objects, error)

GetObjects returns the objects for a given failure domain.

Jump to

Keyboard shortcuts

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