storage

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datastore

type Datastore struct {
	Urn              string   `json:"urn"`
	Uri              string   `json:"uri"`
	StorageType      string   `json:"storageType"`
	Name             string   `json:"name"`
	Status           string   `json:"status"`
	ClusterSize      int      `json:"clusterSize"`
	CapacityGB       int      `json:"capacityGB"`
	UsedSizeGB       int      `json:"usedSizeGB"`
	FreeSizeGB       int      `json:"freeSizeGB"`
	ActualCapacityGB int      `json:"actualCapacityGB"`
	ActualFreeSizeGB int      `json:"actualFreeSizeGB"`
	DsLockType       int      `json:"dsLockType"`
	RefreshTime      string   `json:"refreshTime"`
	Hosts            []string `json:"hosts"`
}

type Interface

type Interface interface {
	ListDataStore() ([]Datastore, error)
}

func NewManager

func NewManager(client client.FusionComputeClient, siteUri string) Interface

type ListDataStoreResponse

type ListDataStoreResponse struct {
	Datastores []Datastore `json:"datastores"`
}

Jump to

Keyboard shortcuts

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