license

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasFeature added in v0.3.0

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

Types

type AssignmentManager added in v0.3.0

type AssignmentManager struct {
	object.Common
}

func (AssignmentManager) QueryAssigned added in v0.3.0

func (AssignmentManager) Remove added in v0.3.0

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

func (AssignmentManager) Update added in v0.3.0

type InfoList added in v0.3.0

InfoList provides helper methods for []types.LicenseManagerLicenseInfo

func (InfoList) WithFeature added in v0.3.0

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 added in v0.3.0

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

func (Manager) Decode added in v0.3.0

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