vmware

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2023 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 2023 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 2023 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCluster

func ApplyCluster(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyPrivateCloud

func ApplyPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyVmwareEngineNetwork added in v1.27.1

func ApplyVmwareEngineNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ClusterHasDiff

func ClusterHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func ClusterID

func ClusterID(u *unstructured.Resource) (string, error)

func ClusterToUnstructured

func ClusterToUnstructured(r *dclService.Cluster) *unstructured.Resource

func DeleteCluster

func DeleteCluster(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeletePolicyMemberPrivateCloud added in v1.1.0

func DeletePolicyMemberPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error

func DeletePrivateCloud

func DeletePrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteVmwareEngineNetwork added in v1.27.1

func DeleteVmwareEngineNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func GetCluster

func GetCluster(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetPolicyMemberPrivateCloud

func GetPolicyMemberPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func GetPolicyPrivateCloud

func GetPolicyPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetPrivateCloud

func GetPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetVmwareEngineNetwork added in v1.27.1

func GetVmwareEngineNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func ListCluster

func ListCluster(ctx context.Context, config *dcl.Config, project string, location string, privateCloud string) ([]*unstructured.Resource, error)

func ListPrivateCloud

func ListPrivateCloud(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListVmwareEngineNetwork added in v1.27.1

func ListVmwareEngineNetwork(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func PrivateCloudHasDiff

func PrivateCloudHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func PrivateCloudID

func PrivateCloudID(u *unstructured.Resource) (string, error)

func PrivateCloudToUnstructured

func PrivateCloudToUnstructured(r *dclService.PrivateCloud) *unstructured.Resource

func SetPolicyMemberPrivateCloud

func SetPolicyMemberPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)

func SetPolicyWithEtagPrivateCloud added in v1.1.0

func SetPolicyWithEtagPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)

func UnstructuredToCluster

func UnstructuredToCluster(u *unstructured.Resource) (*dclService.Cluster, error)

func UnstructuredToPrivateCloud

func UnstructuredToPrivateCloud(u *unstructured.Resource) (*dclService.PrivateCloud, error)

func UnstructuredToVmwareEngineNetwork added in v1.27.1

func UnstructuredToVmwareEngineNetwork(u *unstructured.Resource) (*dclService.VmwareEngineNetwork, error)

func VmwareEngineNetworkHasDiff added in v1.27.1

func VmwareEngineNetworkHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func VmwareEngineNetworkID added in v1.27.1

func VmwareEngineNetworkID(u *unstructured.Resource) (string, error)

func VmwareEngineNetworkToUnstructured added in v1.27.1

func VmwareEngineNetworkToUnstructured(r *dclService.VmwareEngineNetwork) *unstructured.Resource

Types

type Cluster

type Cluster struct{}

func (*Cluster) Apply

func (r *Cluster) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Cluster) Delete

func (r *Cluster) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Cluster) DeletePolicyMember added in v1.1.0

func (r *Cluster) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Cluster) Get

func (r *Cluster) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Cluster) GetPolicy

func (r *Cluster) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Cluster) GetPolicyMember

func (r *Cluster) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Cluster) HasDiff

func (r *Cluster) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Cluster) ID

func (r *Cluster) ID(resource *unstructured.Resource) (string, error)

func (*Cluster) STV

func (*Cluster) SetPolicy

func (r *Cluster) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Cluster) SetPolicyMember

func (r *Cluster) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Cluster) SetPolicyWithEtag added in v1.1.0

func (r *Cluster) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type PrivateCloud

type PrivateCloud struct{}

func (*PrivateCloud) Apply

func (r *PrivateCloud) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*PrivateCloud) Delete

func (r *PrivateCloud) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*PrivateCloud) DeletePolicyMember added in v1.1.0

func (r *PrivateCloud) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*PrivateCloud) Get

func (r *PrivateCloud) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*PrivateCloud) GetPolicy

func (r *PrivateCloud) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*PrivateCloud) GetPolicyMember

func (r *PrivateCloud) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*PrivateCloud) HasDiff

func (r *PrivateCloud) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*PrivateCloud) ID

func (r *PrivateCloud) ID(resource *unstructured.Resource) (string, error)

func (*PrivateCloud) STV

func (*PrivateCloud) SetPolicy

func (r *PrivateCloud) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*PrivateCloud) SetPolicyMember

func (r *PrivateCloud) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*PrivateCloud) SetPolicyWithEtag added in v1.1.0

func (r *PrivateCloud) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type VmwareEngineNetwork added in v1.27.1

type VmwareEngineNetwork struct{}

func (*VmwareEngineNetwork) Apply added in v1.27.1

func (*VmwareEngineNetwork) Delete added in v1.27.1

func (r *VmwareEngineNetwork) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*VmwareEngineNetwork) DeletePolicyMember added in v1.27.1

func (r *VmwareEngineNetwork) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*VmwareEngineNetwork) Get added in v1.27.1

func (*VmwareEngineNetwork) GetPolicy added in v1.27.1

func (r *VmwareEngineNetwork) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*VmwareEngineNetwork) GetPolicyMember added in v1.27.1

func (r *VmwareEngineNetwork) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*VmwareEngineNetwork) HasDiff added in v1.27.1

func (r *VmwareEngineNetwork) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*VmwareEngineNetwork) ID added in v1.27.1

func (*VmwareEngineNetwork) STV added in v1.27.1

func (*VmwareEngineNetwork) SetPolicy added in v1.27.1

func (*VmwareEngineNetwork) SetPolicyMember added in v1.27.1

func (r *VmwareEngineNetwork) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*VmwareEngineNetwork) SetPolicyWithEtag added in v1.27.1

func (r *VmwareEngineNetwork) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

Jump to

Keyboard shortcuts

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