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.
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 ¶
- func ApplyCluster(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyVmwareEngineNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ClusterHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ClusterID(u *unstructured.Resource) (string, error)
- func ClusterToUnstructured(r *dclService.Cluster) *unstructured.Resource
- func DeleteCluster(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeletePolicyMemberPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeletePrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteVmwareEngineNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetCluster(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyMemberPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetVmwareEngineNetwork(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListCluster(ctx context.Context, config *dcl.Config, project string, location string, ...) ([]*unstructured.Resource, error)
- func ListPrivateCloud(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListVmwareEngineNetwork(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func PrivateCloudHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func PrivateCloudID(u *unstructured.Resource) (string, error)
- func PrivateCloudToUnstructured(r *dclService.PrivateCloud) *unstructured.Resource
- func SetPolicyMemberPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func UnstructuredToCluster(u *unstructured.Resource) (*dclService.Cluster, error)
- func UnstructuredToPrivateCloud(u *unstructured.Resource) (*dclService.PrivateCloud, error)
- func UnstructuredToVmwareEngineNetwork(u *unstructured.Resource) (*dclService.VmwareEngineNetwork, error)
- func VmwareEngineNetworkHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func VmwareEngineNetworkID(u *unstructured.Resource) (string, error)
- func VmwareEngineNetworkToUnstructured(r *dclService.VmwareEngineNetwork) *unstructured.Resource
- type Cluster
- func (r *Cluster) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Cluster) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Cluster) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Cluster) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Cluster) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Cluster) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Cluster) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Cluster) ID(resource *unstructured.Resource) (string, error)
- func (r *Cluster) STV() unstructured.ServiceTypeVersion
- func (r *Cluster) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Cluster) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Cluster) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type PrivateCloud
- func (r *PrivateCloud) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *PrivateCloud) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *PrivateCloud) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *PrivateCloud) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *PrivateCloud) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *PrivateCloud) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *PrivateCloud) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *PrivateCloud) ID(resource *unstructured.Resource) (string, error)
- func (r *PrivateCloud) STV() unstructured.ServiceTypeVersion
- func (r *PrivateCloud) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *PrivateCloud) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *PrivateCloud) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type VmwareEngineNetwork
- func (r *VmwareEngineNetwork) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *VmwareEngineNetwork) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *VmwareEngineNetwork) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *VmwareEngineNetwork) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *VmwareEngineNetwork) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *VmwareEngineNetwork) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *VmwareEngineNetwork) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *VmwareEngineNetwork) ID(resource *unstructured.Resource) (string, error)
- func (r *VmwareEngineNetwork) STV() unstructured.ServiceTypeVersion
- func (r *VmwareEngineNetwork) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *VmwareEngineNetwork) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *VmwareEngineNetwork) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
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 ClusterToUnstructured ¶
func ClusterToUnstructured(r *dclService.Cluster) *unstructured.Resource
func DeleteCluster ¶
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 DeleteVmwareEngineNetwork ¶ added in v1.27.1
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 ListPrivateCloud ¶
func ListVmwareEngineNetwork ¶ added in v1.27.1
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 SetPolicyPrivateCloud ¶
func SetPolicyPrivateCloud(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *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) 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 (*Cluster) STV ¶
func (r *Cluster) STV() unstructured.ServiceTypeVersion
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 (r *PrivateCloud) STV() unstructured.ServiceTypeVersion
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 (r *VmwareEngineNetwork) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
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 (r *VmwareEngineNetwork) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
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 (r *VmwareEngineNetwork) ID(resource *unstructured.Resource) (string, error)
func (*VmwareEngineNetwork) STV ¶ added in v1.27.1
func (r *VmwareEngineNetwork) STV() unstructured.ServiceTypeVersion
func (*VmwareEngineNetwork) SetPolicy ¶ added in v1.27.1
func (r *VmwareEngineNetwork) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
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)