Documentation ¶
Index ¶
- Constants
- Variables
- func GetClient(svcAcctKey map[string]string) *http.Client
- func Poll[T any](client *http.Client, req *http.Request, timeout time.Duration, ...) error
- type Credentials
- type Error
- type HasError
- type Hcx
- type List
- type ListPrivateClouds
- type ManagementCluster
- type NetworkConfig
- type Nsx
- type Operation
- type PrivateCloud
- type RunResults
- type State
- type Vcenter
Constants ¶
View Source
const ( ACTIVE = "ACTIVE" CREATING = "CREATING" UPDATING = "UPDATING" FAILED = "FAILED" DELETED = "DELETED" PURGING = "PURGING" )
Variables ¶
View Source
var Wait = fmt.Errorf("waiting")
Functions ¶
Types ¶
type Credentials ¶ added in v0.20.0
type ListPrivateClouds ¶ added in v0.24.0
type ListPrivateClouds struct { PrivateClouds []PrivateCloud `json:"privateClouds,omitempty"` NextPageToken string `json:"nextPageToken,omitempty"` Unreachable []string `json:"unreachable,omitempty"` }
type ManagementCluster ¶
type NetworkConfig ¶
type Operation ¶
type PrivateCloud ¶
type PrivateCloud struct { Name string `json:"name,omitempty"` CreateTime *time.Time `json:"createTime,omitempty"` UpdateTime *time.Time `json:"updateTime,omitempty"` DeleteTime *time.Time `json:"deleteTime,omitempty"` ExpireTime *time.Time `json:"expireTime,omitempty"` State State `json:"state,omitempty"` NetworkConfig NetworkConfig `json:"networkConfig"` ManagementCluster ManagementCluster `json:"managementCluster"` Description string `json:"description,omitempty"` Hcx *Hcx `json:"hcx,omitempty"` Nsx *Nsx `json:"nsx,omitempty"` Vcenter *Vcenter `json:"vcenter,omitempty"` UID string `json:"uid,omitempty"` }
type RunResults ¶ added in v0.20.0
type RunResults struct { PrivateCloud PrivateCloud `yaml:"privateCloud"` NsxCredentials Credentials `yaml:"nsxCredentials"` VcenterCredentials Credentials `yaml:"vcenterCredentials"` }
Click to show internal directories.
Click to hide internal directories.