vmware

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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.

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.

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 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 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 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 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)

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)

Jump to

Keyboard shortcuts

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