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.
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 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 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 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 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 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 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 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 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 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 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 ListServiceAccount ¶
func ListWorkforcePool ¶ added in v1.14.0
func ListWorkforcePoolProvider ¶ added in v1.14.0
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 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 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)