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.
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 ApplyAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyEnvgroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyOrganization(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func AttachmentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func AttachmentID(u *unstructured.Resource) (string, error)
- func AttachmentToUnstructured(r *dclService.Attachment) *unstructured.Resource
- func DeleteAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteEnvgroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteOrganization(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeletePolicyMemberEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func EnvgroupHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func EnvgroupID(u *unstructured.Resource) (string, error)
- func EnvgroupToUnstructured(r *dclService.Envgroup) *unstructured.Resource
- func EnvironmentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func EnvironmentID(u *unstructured.Resource) (string, error)
- func EnvironmentToUnstructured(r *dclService.Environment) *unstructured.Resource
- func GetAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetEnvgroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetOrganization(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyMemberEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func InstanceHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func InstanceID(u *unstructured.Resource) (string, error)
- func InstanceToUnstructured(r *dclService.Instance) *unstructured.Resource
- func ListAttachment(ctx context.Context, config *dcl.Config, envgroup string) ([]*unstructured.Resource, error)
- func ListEnvgroup(ctx context.Context, config *dcl.Config, apigeeorganization string) ([]*unstructured.Resource, error)
- func ListEnvironment(ctx context.Context, config *dcl.Config, apigeeorganization string) ([]*unstructured.Resource, error)
- func ListInstance(ctx context.Context, config *dcl.Config, apigeeorganization string) ([]*unstructured.Resource, error)
- func ListOrganization(ctx context.Context, config *dcl.Config) ([]*unstructured.Resource, error)
- func OrganizationHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func OrganizationID(u *unstructured.Resource) (string, error)
- func OrganizationToUnstructured(r *dclService.Organization) *unstructured.Resource
- func SetPolicyEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func UnstructuredToAttachment(u *unstructured.Resource) (*dclService.Attachment, error)
- func UnstructuredToEnvgroup(u *unstructured.Resource) (*dclService.Envgroup, error)
- func UnstructuredToEnvironment(u *unstructured.Resource) (*dclService.Environment, error)
- func UnstructuredToInstance(u *unstructured.Resource) (*dclService.Instance, error)
- func UnstructuredToOrganization(u *unstructured.Resource) (*dclService.Organization, error)
- type Attachment
- func (r *Attachment) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Attachment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Attachment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Attachment) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Attachment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Attachment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Attachment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Attachment) ID(resource *unstructured.Resource) (string, error)
- func (r *Attachment) STV() unstructured.ServiceTypeVersion
- func (r *Attachment) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Attachment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Attachment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Envgroup
- func (r *Envgroup) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Envgroup) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Envgroup) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Envgroup) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Envgroup) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Envgroup) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Envgroup) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Envgroup) ID(resource *unstructured.Resource) (string, error)
- func (r *Envgroup) STV() unstructured.ServiceTypeVersion
- func (r *Envgroup) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Envgroup) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Envgroup) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Environment
- func (r *Environment) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Environment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Environment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Environment) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Environment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Environment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Environment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Environment) ID(resource *unstructured.Resource) (string, error)
- func (r *Environment) STV() unstructured.ServiceTypeVersion
- func (r *Environment) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Environment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Environment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Instance
- func (r *Instance) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Instance) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Instance) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Instance) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Instance) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Instance) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Instance) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Instance) ID(resource *unstructured.Resource) (string, error)
- func (r *Instance) STV() unstructured.ServiceTypeVersion
- func (r *Instance) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Instance) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Instance) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Organization
- func (r *Organization) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Organization) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Organization) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Organization) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Organization) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Organization) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Organization) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Organization) ID(resource *unstructured.Resource) (string, error)
- func (r *Organization) STV() unstructured.ServiceTypeVersion
- func (r *Organization) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Organization) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Organization) 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 ApplyAttachment ¶
func ApplyAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyEnvgroup ¶
func ApplyEnvgroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyEnvironment ¶
func ApplyEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyInstance ¶
func ApplyInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyOrganization ¶
func ApplyOrganization(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func AttachmentHasDiff ¶
func AttachmentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func AttachmentID ¶
func AttachmentID(u *unstructured.Resource) (string, error)
func AttachmentToUnstructured ¶
func AttachmentToUnstructured(r *dclService.Attachment) *unstructured.Resource
func DeleteAttachment ¶
func DeleteEnvgroup ¶
func DeleteEnvironment ¶
func DeleteInstance ¶
func DeleteOrganization ¶
func DeletePolicyMemberEnvironment ¶ added in v1.1.0
func DeletePolicyMemberEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func EnvgroupHasDiff ¶
func EnvgroupHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func EnvgroupID ¶
func EnvgroupID(u *unstructured.Resource) (string, error)
func EnvgroupToUnstructured ¶
func EnvgroupToUnstructured(r *dclService.Envgroup) *unstructured.Resource
func EnvironmentHasDiff ¶
func EnvironmentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func EnvironmentID ¶
func EnvironmentID(u *unstructured.Resource) (string, error)
func EnvironmentToUnstructured ¶
func EnvironmentToUnstructured(r *dclService.Environment) *unstructured.Resource
func GetAttachment ¶
func GetAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetEnvgroup ¶
func GetEnvgroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetEnvironment ¶
func GetEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetInstance ¶
func GetInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetOrganization ¶
func GetOrganization(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyEnvironment ¶
func GetPolicyEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyMemberEnvironment ¶
func GetPolicyMemberEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func InstanceHasDiff ¶
func InstanceHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func InstanceID ¶
func InstanceID(u *unstructured.Resource) (string, error)
func InstanceToUnstructured ¶
func InstanceToUnstructured(r *dclService.Instance) *unstructured.Resource
func ListAttachment ¶
func ListEnvgroup ¶
func ListEnvironment ¶
func ListInstance ¶
func ListOrganization ¶
func OrganizationHasDiff ¶
func OrganizationHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func OrganizationID ¶
func OrganizationID(u *unstructured.Resource) (string, error)
func OrganizationToUnstructured ¶
func OrganizationToUnstructured(r *dclService.Organization) *unstructured.Resource
func SetPolicyEnvironment ¶
func SetPolicyEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberEnvironment ¶
func SetPolicyMemberEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagEnvironment ¶ added in v1.1.0
func SetPolicyWithEtagEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func UnstructuredToAttachment ¶
func UnstructuredToAttachment(u *unstructured.Resource) (*dclService.Attachment, error)
func UnstructuredToEnvgroup ¶
func UnstructuredToEnvgroup(u *unstructured.Resource) (*dclService.Envgroup, error)
func UnstructuredToEnvironment ¶
func UnstructuredToEnvironment(u *unstructured.Resource) (*dclService.Environment, error)
func UnstructuredToInstance ¶
func UnstructuredToInstance(u *unstructured.Resource) (*dclService.Instance, error)
func UnstructuredToOrganization ¶
func UnstructuredToOrganization(u *unstructured.Resource) (*dclService.Organization, error)
Types ¶
type Attachment ¶
type Attachment struct{}
func (*Attachment) Apply ¶
func (r *Attachment) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Attachment) Delete ¶
func (r *Attachment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*Attachment) DeletePolicyMember ¶ added in v1.1.0
func (r *Attachment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Attachment) Get ¶
func (r *Attachment) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Attachment) GetPolicy ¶
func (r *Attachment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Attachment) GetPolicyMember ¶
func (r *Attachment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*Attachment) HasDiff ¶
func (r *Attachment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*Attachment) ID ¶
func (r *Attachment) ID(resource *unstructured.Resource) (string, error)
func (*Attachment) STV ¶
func (r *Attachment) STV() unstructured.ServiceTypeVersion
func (*Attachment) SetPolicy ¶
func (r *Attachment) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Attachment) SetPolicyMember ¶
func (r *Attachment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Attachment) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Attachment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Envgroup ¶
type Envgroup struct{}
func (*Envgroup) Apply ¶
func (r *Envgroup) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Envgroup) DeletePolicyMember ¶ added in v1.1.0
func (r *Envgroup) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Envgroup) Get ¶
func (r *Envgroup) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Envgroup) GetPolicy ¶
func (r *Envgroup) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Envgroup) GetPolicyMember ¶
func (*Envgroup) STV ¶
func (r *Envgroup) STV() unstructured.ServiceTypeVersion
func (*Envgroup) SetPolicy ¶
func (r *Envgroup) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Envgroup) SetPolicyMember ¶
func (r *Envgroup) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Envgroup) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Envgroup) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Environment ¶
type Environment struct{}
func (*Environment) Apply ¶
func (r *Environment) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Environment) Delete ¶
func (r *Environment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*Environment) DeletePolicyMember ¶ added in v1.1.0
func (r *Environment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Environment) Get ¶
func (r *Environment) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Environment) GetPolicy ¶
func (r *Environment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Environment) GetPolicyMember ¶
func (r *Environment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*Environment) HasDiff ¶
func (r *Environment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*Environment) ID ¶
func (r *Environment) ID(resource *unstructured.Resource) (string, error)
func (*Environment) STV ¶
func (r *Environment) STV() unstructured.ServiceTypeVersion
func (*Environment) SetPolicy ¶
func (r *Environment) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Environment) SetPolicyMember ¶
func (r *Environment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Environment) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Environment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Instance ¶
type Instance struct{}
func (*Instance) Apply ¶
func (r *Instance) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Instance) DeletePolicyMember ¶ added in v1.1.0
func (r *Instance) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Instance) Get ¶
func (r *Instance) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Instance) GetPolicy ¶
func (r *Instance) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Instance) GetPolicyMember ¶
func (*Instance) STV ¶
func (r *Instance) STV() unstructured.ServiceTypeVersion
func (*Instance) SetPolicy ¶
func (r *Instance) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Instance) SetPolicyMember ¶
func (r *Instance) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Instance) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Instance) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Organization ¶
type Organization struct{}
func (*Organization) Apply ¶
func (r *Organization) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Organization) Delete ¶
func (r *Organization) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*Organization) DeletePolicyMember ¶ added in v1.1.0
func (r *Organization) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Organization) Get ¶
func (r *Organization) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Organization) GetPolicy ¶
func (r *Organization) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Organization) GetPolicyMember ¶
func (r *Organization) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*Organization) HasDiff ¶
func (r *Organization) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*Organization) ID ¶
func (r *Organization) ID(resource *unstructured.Resource) (string, error)
func (*Organization) STV ¶
func (r *Organization) STV() unstructured.ServiceTypeVersion
func (*Organization) SetPolicy ¶
func (r *Organization) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Organization) SetPolicyMember ¶
func (r *Organization) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Organization) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Organization) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)