dvportgroup

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

Create exposes the CreateDVPortgroup_Task method of the DistributedVirtualSwitch MO. This local implementation may go away if this is exposed in the higher-level object upstream.

func FromKey

func FromKey(client *govmomi.Client, dvsUUID, pgKey string) (*object.DistributedVirtualPortgroup, error)

FromKey gets a portgroup object from its key.

func FromMOID

func FromMOID(client *govmomi.Client, id string) (*object.DistributedVirtualPortgroup, error)

FromMOID locates a portgroup by its managed object reference ID.

func FromPath

FromPath gets a portgroup object from its path.

func NewMissingPortGroupReferenceError added in v1.4.1

func NewMissingPortGroupReferenceError(message string) error

NewMissingPortGroupReferenceError returns a MissingPortGroupReferenceError with the supplied message.

func Properties

Properties is a convenience method that wraps fetching the portgroup MO from its higher-level object.

Types

type MissingPortGroupReferenceError added in v1.4.1

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

MissingPortGroupReferenceError is an error that gets returned when a port group lookup succeeds but does not return a MO to a DistributedVirtualPortgroup.

func (*MissingPortGroupReferenceError) Error added in v1.4.1

Jump to

Keyboard shortcuts

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