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 iam contains handwritten IAMPolicy-to-unstructured functions.
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.
Index ¶
- func ApplyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyRole(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyWorkforcePoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyWorkloadIdentityPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyWorkloadIdentityPoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) error
- func DeletePolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) error
- func DeletePolicyMemberServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeletePolicyMemberWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeleteRole(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteWorkforcePoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteWorkloadIdentityPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteWorkloadIdentityPoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyMemberServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyMemberWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetRole(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetWorkforcePoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetWorkloadIdentityPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetWorkloadIdentityPoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func IDMember(_ *unstructured.Resource) (string, error)
- func IDPolicy(_ *unstructured.Resource) (string, error)
- func ListRole(ctx context.Context, config *dcl.Config, parent string) ([]*unstructured.Resource, error)
- func ListServiceAccount(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListWorkforcePool(ctx context.Context, config *dcl.Config, location string, parent string) ([]*unstructured.Resource, error)
- func ListWorkforcePoolProvider(ctx context.Context, config *dcl.Config, location string, workforcePool string) ([]*unstructured.Resource, error)
- func ListWorkloadIdentityPool(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListWorkloadIdentityPoolProvider(ctx context.Context, config *dcl.Config, project string, location string, ...) ([]*unstructured.Resource, error)
- func MemberDeletePolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) error
- func MemberGetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) (*unstructured.Resource, error)
- func MemberGetPolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _, _ string) (*unstructured.Resource, error)
- func MemberHasDiff(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (bool, error)
- func MemberSetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (*unstructured.Resource, error)
- func MemberSetPolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (*unstructured.Resource, error)
- func MemberSetPolicyWithEtag(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (*unstructured.Resource, error)
- func MemberToUnstructured(r *iamDCL.Member) *unstructured.Resource
- func PolicyDeletePolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) error
- func PolicyGetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) (*unstructured.Resource, error)
- func PolicyGetPolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _, _ string) (*unstructured.Resource, error)
- func PolicyHasDiff(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (bool, error)
- func PolicySetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (*unstructured.Resource, error)
- func PolicySetPolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (*unstructured.Resource, error)
- func PolicySetPolicyWithEtag(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, ...) (*unstructured.Resource, error)
- func PolicyToUnstructured(r *iamDCL.Policy) *unstructured.Resource
- func RoleHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func RoleID(u *unstructured.Resource) (string, error)
- func RoleToUnstructured(r *dclService.Role) *unstructured.Resource
- func ServiceAccountHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ServiceAccountID(u *unstructured.Resource) (string, error)
- func ServiceAccountToUnstructured(r *dclService.ServiceAccount) *unstructured.Resource
- func SetPolicyMemberServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func UnstructuredToMember(u *unstructured.Resource) (*iamDCL.Member, error)
- func UnstructuredToPolicy(u *unstructured.Resource) (*iamDCL.Policy, error)
- func UnstructuredToRole(u *unstructured.Resource) (*dclService.Role, error)
- func UnstructuredToServiceAccount(u *unstructured.Resource) (*dclService.ServiceAccount, error)
- func UnstructuredToWorkforcePool(u *unstructured.Resource) (*dclService.WorkforcePool, error)
- func UnstructuredToWorkforcePoolProvider(u *unstructured.Resource) (*dclService.WorkforcePoolProvider, error)
- func UnstructuredToWorkloadIdentityPool(u *unstructured.Resource) (*dclService.WorkloadIdentityPool, error)
- func UnstructuredToWorkloadIdentityPoolProvider(u *unstructured.Resource) (*dclService.WorkloadIdentityPoolProvider, error)
- func WorkforcePoolHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func WorkforcePoolID(u *unstructured.Resource) (string, error)
- func WorkforcePoolProviderHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func WorkforcePoolProviderID(u *unstructured.Resource) (string, error)
- func WorkforcePoolProviderToUnstructured(r *dclService.WorkforcePoolProvider) *unstructured.Resource
- func WorkforcePoolToUnstructured(r *dclService.WorkforcePool) *unstructured.Resource
- func WorkloadIdentityPoolHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func WorkloadIdentityPoolID(u *unstructured.Resource) (string, error)
- func WorkloadIdentityPoolProviderHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func WorkloadIdentityPoolProviderID(u *unstructured.Resource) (string, error)
- func WorkloadIdentityPoolProviderToUnstructured(r *dclService.WorkloadIdentityPoolProvider) *unstructured.Resource
- func WorkloadIdentityPoolToUnstructured(r *dclService.WorkloadIdentityPool) *unstructured.Resource
- type Member
- func (r *Member) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Member) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Member) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Member) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Member) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Member) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Member) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Member) ID(resource *unstructured.Resource) (string, error)
- func (r *Member) STV() unstructured.ServiceTypeVersion
- func (r *Member) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Member) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Member) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Policy
- func (r *Policy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Policy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Policy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Policy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Policy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Policy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Policy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Policy) ID(resource *unstructured.Resource) (string, error)
- func (r *Policy) STV() unstructured.ServiceTypeVersion
- func (r *Policy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Policy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Policy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Role
- func (r *Role) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Role) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Role) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Role) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Role) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Role) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Role) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Role) ID(resource *unstructured.Resource) (string, error)
- func (r *Role) STV() unstructured.ServiceTypeVersion
- func (r *Role) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Role) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Role) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type ServiceAccount
- func (r *ServiceAccount) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServiceAccount) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *ServiceAccount) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *ServiceAccount) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ServiceAccount) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ServiceAccount) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServiceAccount) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *ServiceAccount) ID(resource *unstructured.Resource) (string, error)
- func (r *ServiceAccount) STV() unstructured.ServiceTypeVersion
- func (r *ServiceAccount) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServiceAccount) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServiceAccount) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type WorkforcePool
- func (r *WorkforcePool) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkforcePool) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *WorkforcePool) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *WorkforcePool) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkforcePool) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkforcePool) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkforcePool) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *WorkforcePool) ID(resource *unstructured.Resource) (string, error)
- func (r *WorkforcePool) STV() unstructured.ServiceTypeVersion
- func (r *WorkforcePool) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkforcePool) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkforcePool) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type WorkforcePoolProvider
- func (r *WorkforcePoolProvider) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkforcePoolProvider) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *WorkforcePoolProvider) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *WorkforcePoolProvider) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkforcePoolProvider) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkforcePoolProvider) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkforcePoolProvider) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *WorkforcePoolProvider) ID(resource *unstructured.Resource) (string, error)
- func (r *WorkforcePoolProvider) STV() unstructured.ServiceTypeVersion
- func (r *WorkforcePoolProvider) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkforcePoolProvider) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkforcePoolProvider) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type WorkloadIdentityPool
- func (r *WorkloadIdentityPool) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPool) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *WorkloadIdentityPool) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *WorkloadIdentityPool) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPool) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPool) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPool) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *WorkloadIdentityPool) ID(resource *unstructured.Resource) (string, error)
- func (r *WorkloadIdentityPool) STV() unstructured.ServiceTypeVersion
- func (r *WorkloadIdentityPool) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPool) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPool) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type WorkloadIdentityPoolProvider
- func (r *WorkloadIdentityPoolProvider) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPoolProvider) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *WorkloadIdentityPoolProvider) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *WorkloadIdentityPoolProvider) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPoolProvider) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPoolProvider) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPoolProvider) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *WorkloadIdentityPoolProvider) ID(resource *unstructured.Resource) (string, error)
- func (r *WorkloadIdentityPoolProvider) STV() unstructured.ServiceTypeVersion
- func (r *WorkloadIdentityPoolProvider) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPoolProvider) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkloadIdentityPoolProvider) 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 ApplyMember ¶
func ApplyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ ...dcl.ApplyOption) (*unstructured.Resource, error)
ApplyMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func ApplyPolicy ¶
func ApplyPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ ...dcl.ApplyOption) (*unstructured.Resource, error)
ApplyPolicy is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func ApplyRole ¶
func ApplyRole(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyServiceAccount ¶
func ApplyServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyWorkforcePool ¶ added in v1.14.0
func ApplyWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyWorkforcePoolProvider ¶ added in v1.14.0
func ApplyWorkforcePoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyWorkloadIdentityPool ¶
func ApplyWorkloadIdentityPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyWorkloadIdentityPoolProvider ¶
func ApplyWorkloadIdentityPoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteMember ¶
DeleteMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func DeletePolicy ¶
DeletePolicy is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func DeletePolicyMemberServiceAccount ¶ added in v1.1.0
func DeletePolicyMemberServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeletePolicyMemberWorkforcePool ¶ added in v1.14.0
func DeletePolicyMemberWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeleteRole ¶
func DeleteServiceAccount ¶
func DeleteWorkforcePool ¶ added in v1.14.0
func DeleteWorkforcePoolProvider ¶ added in v1.14.0
func GetMember ¶
func GetMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) (*unstructured.Resource, error)
GetMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func GetPolicy ¶
func GetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) (*unstructured.Resource, error)
GetPolicy is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func GetPolicyMemberServiceAccount ¶
func GetPolicyMemberServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyMemberWorkforcePool ¶ added in v1.14.0
func GetPolicyMemberWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyServiceAccount ¶
func GetPolicyServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyWorkforcePool ¶ added in v1.14.0
func GetPolicyWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetRole ¶
func GetRole(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetServiceAccount ¶
func GetServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetWorkforcePool ¶ added in v1.14.0
func GetWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetWorkforcePoolProvider ¶ added in v1.14.0
func GetWorkforcePoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetWorkloadIdentityPool ¶
func GetWorkloadIdentityPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetWorkloadIdentityPoolProvider ¶
func GetWorkloadIdentityPoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func IDMember ¶
func IDMember(_ *unstructured.Resource) (string, error)
IDMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func IDPolicy ¶
func IDPolicy(_ *unstructured.Resource) (string, error)
IDPolicy is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func ListServiceAccount ¶
func ListWorkforcePool ¶ added in v1.14.0
func ListWorkforcePoolProvider ¶ added in v1.14.0
func MemberDeletePolicyMember ¶ added in v1.1.0
func MemberDeletePolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ *unstructured.Resource) error
MemberDeletePolicyMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func MemberGetPolicy ¶
func MemberGetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) (*unstructured.Resource, error)
MemberGetPolicy is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func MemberGetPolicyMember ¶
func MemberGetPolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _, _ string) (*unstructured.Resource, error)
MemberGetPolicyMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func MemberHasDiff ¶
func MemberHasDiff(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ ...dcl.ApplyOption) (bool, error)
MemberHasDiff is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func MemberSetPolicy ¶
func MemberSetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ *unstructured.Resource) (*unstructured.Resource, error)
MemberSetPolicy is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func MemberSetPolicyMember ¶
func MemberSetPolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ *unstructured.Resource) (*unstructured.Resource, error)
MemberSetPolicyMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func MemberSetPolicyWithEtag ¶ added in v1.1.0
func MemberSetPolicyWithEtag(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ *unstructured.Resource) (*unstructured.Resource, error)
MemberSetPolicyWithEtag is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func MemberToUnstructured ¶
func MemberToUnstructured(r *iamDCL.Member) *unstructured.Resource
MemberToUnstructured converts a DCL IAM PolicyMember to an unstructured.Resource.
func PolicyDeletePolicyMember ¶ added in v1.1.0
func PolicyDeletePolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ *unstructured.Resource) error
PolicyDeletePolicyMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func PolicyGetPolicy ¶
func PolicyGetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource) (*unstructured.Resource, error)
PolicyGetPolicy is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func PolicyGetPolicyMember ¶
func PolicyGetPolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _, _ string) (*unstructured.Resource, error)
PolicyGetPolicyMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func PolicyHasDiff ¶
func PolicyHasDiff(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ ...dcl.ApplyOption) (bool, error)
PolicyHasDiff is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func PolicySetPolicy ¶
func PolicySetPolicy(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ *unstructured.Resource) (*unstructured.Resource, error)
PolicySetPolicy is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func PolicySetPolicyMember ¶
func PolicySetPolicyMember(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ *unstructured.Resource) (*unstructured.Resource, error)
PolicySetPolicyMember is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func PolicySetPolicyWithEtag ¶ added in v1.1.0
func PolicySetPolicyWithEtag(_ context.Context, _ *dcl.Config, _ *unstructured.Resource, _ *unstructured.Resource) (*unstructured.Resource, error)
PolicySetPolicyWithEtag is an empty function that will return an error because these types are meant to be handled by the resources that the policies apply to rather than by explicit policy resources.
func PolicyToUnstructured ¶
func PolicyToUnstructured(r *iamDCL.Policy) *unstructured.Resource
PolicyToUnstructured converts a DCL IAM Policy to an unstructured.Resource.
func RoleHasDiff ¶
func RoleHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func RoleToUnstructured ¶
func RoleToUnstructured(r *dclService.Role) *unstructured.Resource
func ServiceAccountHasDiff ¶
func ServiceAccountHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ServiceAccountID ¶
func ServiceAccountID(u *unstructured.Resource) (string, error)
func ServiceAccountToUnstructured ¶
func ServiceAccountToUnstructured(r *dclService.ServiceAccount) *unstructured.Resource
func SetPolicyMemberServiceAccount ¶
func SetPolicyMemberServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberWorkforcePool ¶ added in v1.14.0
func SetPolicyMemberWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyServiceAccount ¶
func SetPolicyServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagServiceAccount ¶ added in v1.1.0
func SetPolicyWithEtagServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagWorkforcePool ¶ added in v1.14.0
func SetPolicyWithEtagWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWorkforcePool ¶ added in v1.14.0
func SetPolicyWorkforcePool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func UnstructuredToMember ¶
func UnstructuredToMember(u *unstructured.Resource) (*iamDCL.Member, error)
UnstructuredToMember converts an unstructured.Resource to a DCL IAM PolicyMember.
func UnstructuredToPolicy ¶
func UnstructuredToPolicy(u *unstructured.Resource) (*iamDCL.Policy, error)
UnstructuredToPolicy converts an unstructured.Resource to a DCL IAM Policy.
func UnstructuredToRole ¶
func UnstructuredToRole(u *unstructured.Resource) (*dclService.Role, error)
func UnstructuredToServiceAccount ¶
func UnstructuredToServiceAccount(u *unstructured.Resource) (*dclService.ServiceAccount, error)
func UnstructuredToWorkforcePool ¶ added in v1.14.0
func UnstructuredToWorkforcePool(u *unstructured.Resource) (*dclService.WorkforcePool, error)
func UnstructuredToWorkforcePoolProvider ¶ added in v1.14.0
func UnstructuredToWorkforcePoolProvider(u *unstructured.Resource) (*dclService.WorkforcePoolProvider, error)
func UnstructuredToWorkloadIdentityPool ¶
func UnstructuredToWorkloadIdentityPool(u *unstructured.Resource) (*dclService.WorkloadIdentityPool, error)
func UnstructuredToWorkloadIdentityPoolProvider ¶
func UnstructuredToWorkloadIdentityPoolProvider(u *unstructured.Resource) (*dclService.WorkloadIdentityPoolProvider, error)
func WorkforcePoolHasDiff ¶ added in v1.14.0
func WorkforcePoolHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func WorkforcePoolID ¶ added in v1.14.0
func WorkforcePoolID(u *unstructured.Resource) (string, error)
func WorkforcePoolProviderHasDiff ¶ added in v1.14.0
func WorkforcePoolProviderHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func WorkforcePoolProviderID ¶ added in v1.14.0
func WorkforcePoolProviderID(u *unstructured.Resource) (string, error)
func WorkforcePoolProviderToUnstructured ¶ added in v1.14.0
func WorkforcePoolProviderToUnstructured(r *dclService.WorkforcePoolProvider) *unstructured.Resource
func WorkforcePoolToUnstructured ¶ added in v1.14.0
func WorkforcePoolToUnstructured(r *dclService.WorkforcePool) *unstructured.Resource
func WorkloadIdentityPoolHasDiff ¶
func WorkloadIdentityPoolHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func WorkloadIdentityPoolID ¶
func WorkloadIdentityPoolID(u *unstructured.Resource) (string, error)
func WorkloadIdentityPoolProviderHasDiff ¶
func WorkloadIdentityPoolProviderHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func WorkloadIdentityPoolProviderID ¶
func WorkloadIdentityPoolProviderID(u *unstructured.Resource) (string, error)
func WorkloadIdentityPoolProviderToUnstructured ¶
func WorkloadIdentityPoolProviderToUnstructured(r *dclService.WorkloadIdentityPoolProvider) *unstructured.Resource
func WorkloadIdentityPoolToUnstructured ¶
func WorkloadIdentityPoolToUnstructured(r *dclService.WorkloadIdentityPool) *unstructured.Resource
Types ¶
type Member ¶
type Member struct{}
Member describes a single IAMPolicyMember.
func (*Member) Apply ¶
func (r *Member) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
Apply calls the empty ApplyMember function.
func (*Member) Delete ¶
func (r *Member) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
Delete calls the empty DeleteMember function.
func (*Member) DeletePolicyMember ¶ added in v1.1.0
func (r *Member) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
DeletePolicyMember calls the empty MemberDeletePolicyMember function.
func (*Member) Get ¶
func (r *Member) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
Get calls the empty GetMember function.
func (*Member) GetPolicy ¶
func (r *Member) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
GetPolicy calls the empty MemberGetPolicy function.
func (*Member) GetPolicyMember ¶
func (r *Member) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
GetPolicyMember calls the empty MemberGetPolicyMember function.
func (*Member) HasDiff ¶
func (r *Member) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
HasDiff calls the empty MemberHasDiff function.
func (*Member) ID ¶
func (r *Member) ID(resource *unstructured.Resource) (string, error)
ID calls the empty IDMember function.
func (*Member) STV ¶
func (r *Member) STV() unstructured.ServiceTypeVersion
STV returns the ServiceTypeVersion of the IAM PolicyMember resource.
func (*Member) SetPolicy ¶
func (r *Member) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
SetPolicy calls the empty MemberSetPolicy function.
func (*Member) SetPolicyMember ¶
func (r *Member) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
SetPolicyMember calls the empty MemberSetPolicyMember function.
func (*Member) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Member) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
SetPolicyWithEtag calls the empty MemberSetPolicyWithEtag function.
type Policy ¶
type Policy struct{}
Policy describes a single IAMPolicy.
func (*Policy) Apply ¶
func (r *Policy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
Apply calls the empty ApplyPolicy function.
func (*Policy) Delete ¶
func (r *Policy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
Delete calls the empty DeletePolicy function.
func (*Policy) DeletePolicyMember ¶ added in v1.1.0
func (r *Policy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
DeletePolicyMember calls the empty PolicyDeletePolicyMember function.
func (*Policy) Get ¶
func (r *Policy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
Get calls the empty GetPolicy function.
func (*Policy) GetPolicy ¶
func (r *Policy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
GetPolicy calls the empty PolicyGetPolicy function.
func (*Policy) GetPolicyMember ¶
func (r *Policy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
GetPolicyMember calls the empty PolicyGetPolicyMember function.
func (*Policy) HasDiff ¶
func (r *Policy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
HasDiff calls the empty PolicyHasDiff function.
func (*Policy) ID ¶
func (r *Policy) ID(resource *unstructured.Resource) (string, error)
ID calls the empty IDPolicy function.
func (*Policy) STV ¶
func (r *Policy) STV() unstructured.ServiceTypeVersion
STV returns the ServiceTypeVersion of the IAM Policy resource.
func (*Policy) SetPolicy ¶
func (r *Policy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
SetPolicy calls the empty PolicySetPolicy function.
func (*Policy) SetPolicyMember ¶
func (r *Policy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
SetPolicyMember calls the empty PolicySetPolicyMember function.
func (*Policy) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Policy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
SetPolicyWithEtag calls the empty PolicySetPolicyWithEtag function.
type Role ¶
type Role struct{}
func (*Role) Apply ¶
func (r *Role) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Role) DeletePolicyMember ¶ added in v1.1.0
func (r *Role) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Role) Get ¶
func (r *Role) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Role) GetPolicy ¶
func (r *Role) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Role) GetPolicyMember ¶
func (*Role) STV ¶
func (r *Role) STV() unstructured.ServiceTypeVersion
func (*Role) SetPolicy ¶
func (r *Role) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Role) SetPolicyMember ¶
func (r *Role) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Role) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Role) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type ServiceAccount ¶
type ServiceAccount struct{}
func (*ServiceAccount) Apply ¶
func (r *ServiceAccount) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*ServiceAccount) Delete ¶
func (r *ServiceAccount) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*ServiceAccount) DeletePolicyMember ¶ added in v1.1.0
func (r *ServiceAccount) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*ServiceAccount) Get ¶
func (r *ServiceAccount) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ServiceAccount) GetPolicy ¶
func (r *ServiceAccount) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ServiceAccount) GetPolicyMember ¶
func (r *ServiceAccount) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*ServiceAccount) HasDiff ¶
func (r *ServiceAccount) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*ServiceAccount) ID ¶
func (r *ServiceAccount) ID(resource *unstructured.Resource) (string, error)
func (*ServiceAccount) STV ¶
func (r *ServiceAccount) STV() unstructured.ServiceTypeVersion
func (*ServiceAccount) SetPolicy ¶
func (r *ServiceAccount) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*ServiceAccount) SetPolicyMember ¶
func (r *ServiceAccount) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*ServiceAccount) SetPolicyWithEtag ¶ added in v1.1.0
func (r *ServiceAccount) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type WorkforcePool ¶ added in v1.14.0
type WorkforcePool struct{}
func (*WorkforcePool) Apply ¶ added in v1.14.0
func (r *WorkforcePool) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*WorkforcePool) Delete ¶ added in v1.14.0
func (r *WorkforcePool) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*WorkforcePool) DeletePolicyMember ¶ added in v1.14.0
func (r *WorkforcePool) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*WorkforcePool) Get ¶ added in v1.14.0
func (r *WorkforcePool) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkforcePool) GetPolicy ¶ added in v1.14.0
func (r *WorkforcePool) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkforcePool) GetPolicyMember ¶ added in v1.14.0
func (r *WorkforcePool) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*WorkforcePool) HasDiff ¶ added in v1.14.0
func (r *WorkforcePool) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*WorkforcePool) ID ¶ added in v1.14.0
func (r *WorkforcePool) ID(resource *unstructured.Resource) (string, error)
func (*WorkforcePool) STV ¶ added in v1.14.0
func (r *WorkforcePool) STV() unstructured.ServiceTypeVersion
func (*WorkforcePool) SetPolicy ¶ added in v1.14.0
func (r *WorkforcePool) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkforcePool) SetPolicyMember ¶ added in v1.14.0
func (r *WorkforcePool) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkforcePool) SetPolicyWithEtag ¶ added in v1.14.0
func (r *WorkforcePool) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type WorkforcePoolProvider ¶ added in v1.14.0
type WorkforcePoolProvider struct{}
func (*WorkforcePoolProvider) Apply ¶ added in v1.14.0
func (r *WorkforcePoolProvider) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*WorkforcePoolProvider) Delete ¶ added in v1.14.0
func (r *WorkforcePoolProvider) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*WorkforcePoolProvider) DeletePolicyMember ¶ added in v1.14.0
func (r *WorkforcePoolProvider) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*WorkforcePoolProvider) Get ¶ added in v1.14.0
func (r *WorkforcePoolProvider) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkforcePoolProvider) GetPolicy ¶ added in v1.14.0
func (r *WorkforcePoolProvider) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkforcePoolProvider) GetPolicyMember ¶ added in v1.14.0
func (r *WorkforcePoolProvider) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*WorkforcePoolProvider) HasDiff ¶ added in v1.14.0
func (r *WorkforcePoolProvider) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*WorkforcePoolProvider) ID ¶ added in v1.14.0
func (r *WorkforcePoolProvider) ID(resource *unstructured.Resource) (string, error)
func (*WorkforcePoolProvider) STV ¶ added in v1.14.0
func (r *WorkforcePoolProvider) STV() unstructured.ServiceTypeVersion
func (*WorkforcePoolProvider) SetPolicy ¶ added in v1.14.0
func (r *WorkforcePoolProvider) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkforcePoolProvider) SetPolicyMember ¶ added in v1.14.0
func (r *WorkforcePoolProvider) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkforcePoolProvider) SetPolicyWithEtag ¶ added in v1.14.0
func (r *WorkforcePoolProvider) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type WorkloadIdentityPool ¶
type WorkloadIdentityPool struct{}
func (*WorkloadIdentityPool) Apply ¶
func (r *WorkloadIdentityPool) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*WorkloadIdentityPool) Delete ¶
func (r *WorkloadIdentityPool) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*WorkloadIdentityPool) DeletePolicyMember ¶ added in v1.1.0
func (r *WorkloadIdentityPool) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*WorkloadIdentityPool) Get ¶
func (r *WorkloadIdentityPool) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkloadIdentityPool) GetPolicy ¶
func (r *WorkloadIdentityPool) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkloadIdentityPool) GetPolicyMember ¶
func (r *WorkloadIdentityPool) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*WorkloadIdentityPool) HasDiff ¶
func (r *WorkloadIdentityPool) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*WorkloadIdentityPool) ID ¶
func (r *WorkloadIdentityPool) ID(resource *unstructured.Resource) (string, error)
func (*WorkloadIdentityPool) STV ¶
func (r *WorkloadIdentityPool) STV() unstructured.ServiceTypeVersion
func (*WorkloadIdentityPool) SetPolicy ¶
func (r *WorkloadIdentityPool) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkloadIdentityPool) SetPolicyMember ¶
func (r *WorkloadIdentityPool) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkloadIdentityPool) SetPolicyWithEtag ¶ added in v1.1.0
func (r *WorkloadIdentityPool) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type WorkloadIdentityPoolProvider ¶
type WorkloadIdentityPoolProvider struct{}
func (*WorkloadIdentityPoolProvider) Apply ¶
func (r *WorkloadIdentityPoolProvider) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*WorkloadIdentityPoolProvider) Delete ¶
func (r *WorkloadIdentityPoolProvider) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*WorkloadIdentityPoolProvider) DeletePolicyMember ¶ added in v1.1.0
func (r *WorkloadIdentityPoolProvider) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*WorkloadIdentityPoolProvider) Get ¶
func (r *WorkloadIdentityPoolProvider) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkloadIdentityPoolProvider) GetPolicy ¶
func (r *WorkloadIdentityPoolProvider) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkloadIdentityPoolProvider) GetPolicyMember ¶
func (r *WorkloadIdentityPoolProvider) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*WorkloadIdentityPoolProvider) HasDiff ¶
func (r *WorkloadIdentityPoolProvider) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*WorkloadIdentityPoolProvider) ID ¶
func (r *WorkloadIdentityPoolProvider) ID(resource *unstructured.Resource) (string, error)
func (*WorkloadIdentityPoolProvider) STV ¶
func (r *WorkloadIdentityPoolProvider) STV() unstructured.ServiceTypeVersion
func (*WorkloadIdentityPoolProvider) SetPolicy ¶
func (r *WorkloadIdentityPoolProvider) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkloadIdentityPoolProvider) SetPolicyMember ¶
func (r *WorkloadIdentityPoolProvider) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkloadIdentityPoolProvider) SetPolicyWithEtag ¶ added in v1.1.0
func (r *WorkloadIdentityPoolProvider) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)