vsan

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 6 Imported by: 12

Documentation

Index

Constants

View Source
const (
	Namespace = "vsan"
	Path      = "/vsanHealth"
)

Namespace and Path constants

Variables

View Source
var (
	VsanVcClusterConfigSystemInstance = vimtypes.ManagedObjectReference{
		Type:  "VsanVcClusterConfigSystem",
		Value: "vsan-cluster-config-system",
	}
)

Creates the vsan cluster config system instance. This is to be queried from vsan health.

Functions

This section is empty.

Types

type Client

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

Client used for accessing vsan health APIs.

func NewClient

func NewClient(ctx context.Context, c *vim25.Client) (*Client, error)

NewClient creates a new VsanHealth client

func (*Client) VsanClusterGetConfig

func (c *Client) VsanClusterGetConfig(ctx context.Context, cluster vimtypes.ManagedObjectReference) (*vsantypes.VsanConfigInfoEx, error)

VsanClusterGetConfig calls the Vsan health's VsanClusterGetConfig API.

Directories

Path Synopsis
vsanfs

Jump to

Keyboard shortcuts

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