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.
Index ¶
- 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 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 DeletePolicyMemberServiceAccount(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 DeleteWorkloadIdentityPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteWorkloadIdentityPoolProvider(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetPolicyMemberServiceAccount(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 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 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 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 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 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 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 UnstructuredToRole(u *unstructured.Resource) (*dclService.Role, error)
- func UnstructuredToServiceAccount(u *unstructured.Resource) (*dclService.ServiceAccount, error)
- func UnstructuredToWorkloadIdentityPool(u *unstructured.Resource) (*dclService.WorkloadIdentityPool, error)
- func UnstructuredToWorkloadIdentityPoolProvider(u *unstructured.Resource) (*dclService.WorkloadIdentityPoolProvider, error)
- 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 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 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 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 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 DeletePolicyMemberServiceAccount ¶ added in v1.1.0
func DeletePolicyMemberServiceAccount(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeleteRole ¶
func DeleteServiceAccount ¶
func GetPolicyMemberServiceAccount ¶
func GetPolicyMemberServiceAccount(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 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 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 ListServiceAccount ¶
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 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 UnstructuredToRole ¶
func UnstructuredToRole(u *unstructured.Resource) (*dclService.Role, error)
func UnstructuredToServiceAccount ¶
func UnstructuredToServiceAccount(u *unstructured.Resource) (*dclService.ServiceAccount, error)
func UnstructuredToWorkloadIdentityPool ¶
func UnstructuredToWorkloadIdentityPool(u *unstructured.Resource) (*dclService.WorkloadIdentityPool, error)
func UnstructuredToWorkloadIdentityPoolProvider ¶
func UnstructuredToWorkloadIdentityPoolProvider(u *unstructured.Resource) (*dclService.WorkloadIdentityPoolProvider, error)
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 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 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)