license

package
v0.0.0-...-f282198 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasFeature

func HasFeature(license types.LicenseManagerLicenseInfo, key string) bool

Types

type AssignmentManager

type AssignmentManager struct {
	object.Common
}

func (AssignmentManager) QueryAssigned

func (AssignmentManager) Remove

func (m AssignmentManager) Remove(ctx context.Context, id string) error

func (AssignmentManager) Update

type InfoList

InfoList provides helper methods for []types.LicenseManagerLicenseInfo

func (InfoList) WithFeature

func (l InfoList) WithFeature(key string) InfoList

type Manager

type Manager struct {
	object.Common
}

func NewManager

func NewManager(c *vim25.Client) *Manager

func (Manager) Add

func (Manager) AssignmentManager

func (m Manager) AssignmentManager(ctx context.Context) (*AssignmentManager, error)

func (Manager) Decode

func (Manager) List

func (m Manager) List(ctx context.Context) (InfoList, error)

func (Manager) Remove

func (m Manager) Remove(ctx context.Context, key string) error

func (Manager) Update

func (m Manager) Update(ctx context.Context, key string, labels map[string]string) (types.LicenseManagerLicenseInfo, error)

Jump to

Keyboard shortcuts

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