Documentation ¶
Overview ¶
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package alpha defines operations in the declarative SDK.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package vmware contains methods and types for handling vmware GCP resources.
Index ¶
- Constants
- Variables
- func DCLClusterSchema() *dcl.Schema
- func DCLPrivateCloudSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyCluster(ctx context.Context, rawDesired *Cluster, opts ...dcl.ApplyOption) (*Cluster, error)
- func (c *Client) ApplyPrivateCloud(ctx context.Context, rawDesired *PrivateCloud, opts ...dcl.ApplyOption) (*PrivateCloud, error)
- func (c *Client) DeleteAllCluster(ctx context.Context, project, location, privateCloud string, ...) error
- func (c *Client) DeleteAllPrivateCloud(ctx context.Context, project, location string, filter func(*PrivateCloud) bool) error
- func (c *Client) DeleteCluster(ctx context.Context, r *Cluster) error
- func (c *Client) DeletePrivateCloud(ctx context.Context, r *PrivateCloud) error
- func (c *Client) GetCluster(ctx context.Context, r *Cluster) (*Cluster, error)
- func (c *Client) GetPrivateCloud(ctx context.Context, r *PrivateCloud) (*PrivateCloud, error)
- func (c *Client) ListCluster(ctx context.Context, project, location, privateCloud string) (*ClusterList, error)
- func (c *Client) ListClusterWithMaxResults(ctx context.Context, project, location, privateCloud string, pageSize int32) (*ClusterList, error)
- func (c *Client) ListPrivateCloud(ctx context.Context, project, location string) (*PrivateCloudList, error)
- func (c *Client) ListPrivateCloudWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*PrivateCloudList, error)
- type Cluster
- type ClusterList
- type ClusterStateEnum
- type PrivateCloud
- func (r *PrivateCloud) Describe() dcl.ServiceTypeVersion
- func (r *PrivateCloud) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *PrivateCloud) IAMPolicyVersion() int
- func (r *PrivateCloud) ID() (string, error)
- func (r *PrivateCloud) SetPolicyURL(userBasePath string) string
- func (r *PrivateCloud) SetPolicyVerb() string
- func (r *PrivateCloud) String() string
- type PrivateCloudConditions
- type PrivateCloudHcx
- type PrivateCloudList
- type PrivateCloudManagementCluster
- type PrivateCloudNetworkConfig
- type PrivateCloudNsx
- type PrivateCloudStateEnum
- type PrivateCloudVcenter
Constants ¶
const ClusterMaxPage = -1
const PrivateCloudMaxPage = -1
Variables ¶
var YAML_cluster = []byte("info:\n title: Vmware/Cluster\n description: The Vmware Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: Cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: privatecloud\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: privatecloud\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/privateClouds/{{private_cloud}}/clusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n type: object\n required:\n - name\n - nodeTypeId\n - nodeCount\n - project\n - location\n - privateCloud\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n management:\n type: boolean\n x-dcl-go-name: Management\n readOnly: true\n description: Output only. True if the cluster is a management cluster; false\n otherwise. There can only be one management cluster in a private cloud\n and it has to be the first one.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of this cluster. Resource names are schemeless\n URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster`'\n x-kubernetes-immutable: true\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n description: Required. Number of nodes in this cluster.\n nodeTypeId:\n type: string\n x-dcl-go-name: NodeTypeId\n description: 'Required. The canonical identifier of node types (`NodeType`)\n in this cluster. For example: standard-72.'\n privateCloud:\n type: string\n x-dcl-go-name: PrivateCloud\n description: The privateCloud for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vmware/PrivateCloud\n field: name\n parent: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. State of the resource. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, UPDATING, FAILED, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vmware/alpha/cluster.yaml
var YAML_private_cloud = []byte("info:\n title: Vmware/PrivateCloud\n description: The Vmware PrivateCloud resource\n x-dcl-struct-name: PrivateCloud\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n apply:\n description: The function used to apply information about a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n delete:\n description: The function used to delete a PrivateCloud\n parameters:\n - name: PrivateCloud\n required: true\n description: A full instance of a PrivateCloud\n deleteAll:\n description: The function used to delete all PrivateCloud\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PrivateCloud\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PrivateCloud:\n title: PrivateCloud\n x-dcl-id: projects/{{project}}/locations/{{location}}/privateClouds/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: true\n type: object\n required:\n - name\n - networkConfig\n - managementCluster\n - project\n - location\n properties:\n conditions:\n type: array\n x-dcl-go-name: Conditions\n readOnly: true\n description: Output only. The conditions that caused the current private\n cloud state. For example, private cloud provisioning failure description.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PrivateCloudConditions\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n readOnly: true\n description: Output only. Machine-readable representation of the condition.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: Output only. Human-readable description of the condition.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Creation time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n deleteTime:\n type: string\n format: date-time\n x-dcl-go-name: DeleteTime\n readOnly: true\n description: Output only. Time the resource was marked as deleted, in RFC3339\n text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: User-provided description for this private cloud.\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. Planned deletion time of this resource in RFC3339\n text format.\n x-kubernetes-immutable: true\n hcx:\n type: object\n x-dcl-go-name: Hcx\n x-dcl-go-type: PrivateCloudHcx\n readOnly: true\n description: Output only. HCX appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n managementCluster:\n type: object\n x-dcl-go-name: ManagementCluster\n x-dcl-go-type: PrivateCloudManagementCluster\n description: Input only. The management cluster for this private cloud.\n This parameter is required during creation of private cloud to provide\n details for the default cluster.\n x-dcl-mutable-unreadable: true\n required:\n - clusterId\n - nodeTypeId\n - nodeCount\n properties:\n clusterId:\n type: string\n x-dcl-go-name: ClusterId\n description: Required. The user-provided identifier of the new `Cluster`.\n x-kubernetes-immutable: true\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n description: Required. Number of nodes in this cluster.\n nodeTypeId:\n type: string\n x-dcl-go-name: NodeTypeId\n description: 'Required. The canonical identifier of node types (`NodeType`)\n in this cluster. For example: standard-72.'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of this private cloud. Resource names are\n schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`'\n x-kubernetes-immutable: true\n networkConfig:\n type: object\n x-dcl-go-name: NetworkConfig\n x-dcl-go-type: PrivateCloudNetworkConfig\n description: Required. Network configuration.\n x-kubernetes-immutable: true\n required:\n - network\n - managementCidr\n properties:\n managementCidr:\n type: string\n x-dcl-go-name: ManagementCidr\n description: Required. Management CIDR used by VMWare management appliances.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Required. The relative resource name of the consumer VPC\n network this private cloud is attached to. Specify the name in the\n following form: `projects/{project}/global/networks/{network_id}`\n where `{project}` can either be a project number or a project ID.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n serviceNetwork:\n type: string\n x-dcl-go-name: ServiceNetwork\n readOnly: true\n description: 'Output only. The relative resource name of the service\n VPC network this private cloud is attached to. The name is specified\n in the following form: `projects/{service_project_number}/global/networks/{network_id}`.'\n x-kubernetes-immutable: true\n nsx:\n type: object\n x-dcl-go-name: Nsx\n x-dcl-go-type: PrivateCloudNsx\n readOnly: true\n description: Output only. NSX appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: PrivateCloudStateEnum\n readOnly: true\n description: 'Output only. State of the resource. Possible values: ACTIVE,\n CREATING, UPDATING, FAILED, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Last update time of this resource in RFC3339 text\n format.\n x-kubernetes-immutable: true\n vcenter:\n type: object\n x-dcl-go-name: Vcenter\n x-dcl-go-type: PrivateCloudVcenter\n readOnly: true\n description: Output only. Vcenter appliance.\n x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vmware/alpha/private_cloud.yaml
Functions ¶
func DCLClusterSchema ¶ added in v1.10.3
func DCLPrivateCloudSchema ¶ added in v1.10.3
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyCluster ¶
func (*Client) ApplyPrivateCloud ¶
func (c *Client) ApplyPrivateCloud(ctx context.Context, rawDesired *PrivateCloud, opts ...dcl.ApplyOption) (*PrivateCloud, error)
func (*Client) DeleteAllCluster ¶
func (c *Client) DeleteAllCluster(ctx context.Context, project, location, privateCloud string, filter func(*Cluster) bool) error
DeleteAllCluster deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllPrivateCloud ¶
func (c *Client) DeleteAllPrivateCloud(ctx context.Context, project, location string, filter func(*PrivateCloud) bool) error
DeleteAllPrivateCloud deletes all resources that the filter functions returns true on.
func (*Client) DeleteCluster ¶
func (*Client) DeletePrivateCloud ¶
func (c *Client) DeletePrivateCloud(ctx context.Context, r *PrivateCloud) error
func (*Client) GetCluster ¶
func (*Client) GetPrivateCloud ¶
func (c *Client) GetPrivateCloud(ctx context.Context, r *PrivateCloud) (*PrivateCloud, error)
func (*Client) ListCluster ¶
func (*Client) ListClusterWithMaxResults ¶
func (*Client) ListPrivateCloud ¶
func (*Client) ListPrivateCloudWithMaxResults ¶
type Cluster ¶
type Cluster struct { Name *string `json:"name"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` State *ClusterStateEnum `json:"state"` Management *bool `json:"management"` NodeTypeId *string `json:"nodeTypeId"` NodeCount *int64 `json:"nodeCount"` Project *string `json:"project"` Location *string `json:"location"` PrivateCloud *string `json:"privateCloud"` }
func (*Cluster) Describe ¶
func (r *Cluster) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type ClusterList ¶
type ClusterList struct { Items []*Cluster // contains filtered or unexported fields }
func (*ClusterList) HasNext ¶
func (l *ClusterList) HasNext() bool
type ClusterStateEnum ¶
type ClusterStateEnum string
The enum ClusterStateEnum.
func ClusterStateEnumRef ¶
func ClusterStateEnumRef(s string) *ClusterStateEnum
ClusterStateEnumRef returns a *ClusterStateEnum with the value of string s If the empty string is provided, nil is returned.
func (ClusterStateEnum) Validate ¶
func (v ClusterStateEnum) Validate() error
type PrivateCloud ¶
type PrivateCloud struct { Name *string `json:"name"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` DeleteTime *string `json:"deleteTime"` ExpireTime *string `json:"expireTime"` State *PrivateCloudStateEnum `json:"state"` NetworkConfig *PrivateCloudNetworkConfig `json:"networkConfig"` ManagementCluster *PrivateCloudManagementCluster `json:"managementCluster"` Description *string `json:"description"` Conditions []PrivateCloudConditions `json:"conditions"` Hcx *PrivateCloudHcx `json:"hcx"` Nsx *PrivateCloudNsx `json:"nsx"` Vcenter *PrivateCloudVcenter `json:"vcenter"` Project *string `json:"project"` Location *string `json:"location"` }
func (*PrivateCloud) Describe ¶
func (r *PrivateCloud) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*PrivateCloud) IAMPolicyVersion ¶
func (r *PrivateCloud) IAMPolicyVersion() int
func (*PrivateCloud) ID ¶
func (r *PrivateCloud) ID() (string, error)
func (*PrivateCloud) SetPolicyURL ¶
func (r *PrivateCloud) SetPolicyURL(userBasePath string) string
func (*PrivateCloud) SetPolicyVerb ¶
func (r *PrivateCloud) SetPolicyVerb() string
func (*PrivateCloud) String ¶
func (r *PrivateCloud) String() string
type PrivateCloudConditions ¶
type PrivateCloudConditions struct { Code *string `json:"code"` Message *string `json:"message"` // contains filtered or unexported fields }
var EmptyPrivateCloudConditions *PrivateCloudConditions = &PrivateCloudConditions{empty: true}
This object is used to assert a desired state where this PrivateCloudConditions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*PrivateCloudConditions) Empty ¶
func (r *PrivateCloudConditions) Empty() bool
func (*PrivateCloudConditions) HashCode ¶
func (r *PrivateCloudConditions) HashCode() string
func (*PrivateCloudConditions) String ¶
func (r *PrivateCloudConditions) String() string
func (*PrivateCloudConditions) UnmarshalJSON ¶
func (r *PrivateCloudConditions) UnmarshalJSON(data []byte) error
type PrivateCloudHcx ¶
type PrivateCloudHcx struct { Fdqn *string `json:"fdqn"` InternalIP *string `json:"internalIP"` ExternalIP *string `json:"externalIP"` Version *string `json:"version"` // contains filtered or unexported fields }
var EmptyPrivateCloudHcx *PrivateCloudHcx = &PrivateCloudHcx{empty: true}
This object is used to assert a desired state where this PrivateCloudHcx is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*PrivateCloudHcx) Empty ¶
func (r *PrivateCloudHcx) Empty() bool
func (*PrivateCloudHcx) HashCode ¶
func (r *PrivateCloudHcx) HashCode() string
func (*PrivateCloudHcx) String ¶
func (r *PrivateCloudHcx) String() string
func (*PrivateCloudHcx) UnmarshalJSON ¶
func (r *PrivateCloudHcx) UnmarshalJSON(data []byte) error
type PrivateCloudList ¶
type PrivateCloudList struct { Items []*PrivateCloud // contains filtered or unexported fields }
func (*PrivateCloudList) HasNext ¶
func (l *PrivateCloudList) HasNext() bool
type PrivateCloudManagementCluster ¶
type PrivateCloudManagementCluster struct { ClusterId *string `json:"clusterId"` NodeTypeId *string `json:"nodeTypeId"` NodeCount *int64 `json:"nodeCount"` // contains filtered or unexported fields }
var EmptyPrivateCloudManagementCluster *PrivateCloudManagementCluster = &PrivateCloudManagementCluster{empty: true}
This object is used to assert a desired state where this PrivateCloudManagementCluster is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*PrivateCloudManagementCluster) Empty ¶
func (r *PrivateCloudManagementCluster) Empty() bool
func (*PrivateCloudManagementCluster) HashCode ¶
func (r *PrivateCloudManagementCluster) HashCode() string
func (*PrivateCloudManagementCluster) String ¶
func (r *PrivateCloudManagementCluster) String() string
func (*PrivateCloudManagementCluster) UnmarshalJSON ¶
func (r *PrivateCloudManagementCluster) UnmarshalJSON(data []byte) error
type PrivateCloudNetworkConfig ¶
type PrivateCloudNetworkConfig struct { Network *string `json:"network"` ServiceNetwork *string `json:"serviceNetwork"` ManagementCidr *string `json:"managementCidr"` // contains filtered or unexported fields }
var EmptyPrivateCloudNetworkConfig *PrivateCloudNetworkConfig = &PrivateCloudNetworkConfig{empty: true}
This object is used to assert a desired state where this PrivateCloudNetworkConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*PrivateCloudNetworkConfig) Empty ¶
func (r *PrivateCloudNetworkConfig) Empty() bool
func (*PrivateCloudNetworkConfig) HashCode ¶
func (r *PrivateCloudNetworkConfig) HashCode() string
func (*PrivateCloudNetworkConfig) String ¶
func (r *PrivateCloudNetworkConfig) String() string
func (*PrivateCloudNetworkConfig) UnmarshalJSON ¶
func (r *PrivateCloudNetworkConfig) UnmarshalJSON(data []byte) error
type PrivateCloudNsx ¶
type PrivateCloudNsx struct { Fdqn *string `json:"fdqn"` InternalIP *string `json:"internalIP"` ExternalIP *string `json:"externalIP"` Version *string `json:"version"` // contains filtered or unexported fields }
var EmptyPrivateCloudNsx *PrivateCloudNsx = &PrivateCloudNsx{empty: true}
This object is used to assert a desired state where this PrivateCloudNsx is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*PrivateCloudNsx) Empty ¶
func (r *PrivateCloudNsx) Empty() bool
func (*PrivateCloudNsx) HashCode ¶
func (r *PrivateCloudNsx) HashCode() string
func (*PrivateCloudNsx) String ¶
func (r *PrivateCloudNsx) String() string
func (*PrivateCloudNsx) UnmarshalJSON ¶
func (r *PrivateCloudNsx) UnmarshalJSON(data []byte) error
type PrivateCloudStateEnum ¶
type PrivateCloudStateEnum string
The enum PrivateCloudStateEnum.
func PrivateCloudStateEnumRef ¶
func PrivateCloudStateEnumRef(s string) *PrivateCloudStateEnum
PrivateCloudStateEnumRef returns a *PrivateCloudStateEnum with the value of string s If the empty string is provided, nil is returned.
func (PrivateCloudStateEnum) Validate ¶
func (v PrivateCloudStateEnum) Validate() error
type PrivateCloudVcenter ¶
type PrivateCloudVcenter struct { Fdqn *string `json:"fdqn"` InternalIP *string `json:"internalIP"` ExternalIP *string `json:"externalIP"` Version *string `json:"version"` // contains filtered or unexported fields }
var EmptyPrivateCloudVcenter *PrivateCloudVcenter = &PrivateCloudVcenter{empty: true}
This object is used to assert a desired state where this PrivateCloudVcenter is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*PrivateCloudVcenter) Empty ¶
func (r *PrivateCloudVcenter) Empty() bool
func (*PrivateCloudVcenter) HashCode ¶
func (r *PrivateCloudVcenter) HashCode() string
func (*PrivateCloudVcenter) String ¶
func (r *PrivateCloudVcenter) String() string
func (*PrivateCloudVcenter) UnmarshalJSON ¶
func (r *PrivateCloudVcenter) UnmarshalJSON(data []byte) error