Documentation ¶
Overview ¶
Copyright 2023 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 2023 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 2023 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 2023 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 ApplyCaPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyCertificate(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyCertificateAuthority(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyCertificateTemplate(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func CaPoolHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func CaPoolID(u *unstructured.Resource) (string, error)
- func CaPoolToUnstructured(r *dclService.CaPool) *unstructured.Resource
- func CertificateAuthorityHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func CertificateAuthorityID(u *unstructured.Resource) (string, error)
- func CertificateAuthorityToUnstructured(r *dclService.CertificateAuthority) *unstructured.Resource
- func CertificateHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func CertificateID(u *unstructured.Resource) (string, error)
- func CertificateTemplateHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func CertificateTemplateID(u *unstructured.Resource) (string, error)
- func CertificateTemplateToUnstructured(r *dclService.CertificateTemplate) *unstructured.Resource
- func CertificateToUnstructured(r *dclService.Certificate) *unstructured.Resource
- func DeleteCaPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteCertificate(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteCertificateAuthority(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteCertificateTemplate(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetCaPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetCertificate(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetCertificateAuthority(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetCertificateTemplate(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListCaPool(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListCertificate(ctx context.Context, config *dcl.Config, project string, location string, ...) ([]*unstructured.Resource, error)
- func ListCertificateAuthority(ctx context.Context, config *dcl.Config, project string, location string, ...) ([]*unstructured.Resource, error)
- func ListCertificateTemplate(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func UnstructuredToCaPool(u *unstructured.Resource) (*dclService.CaPool, error)
- func UnstructuredToCertificate(u *unstructured.Resource) (*dclService.Certificate, error)
- func UnstructuredToCertificateAuthority(u *unstructured.Resource) (*dclService.CertificateAuthority, error)
- func UnstructuredToCertificateTemplate(u *unstructured.Resource) (*dclService.CertificateTemplate, error)
- type CaPool
- func (r *CaPool) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CaPool) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *CaPool) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *CaPool) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *CaPool) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *CaPool) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CaPool) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *CaPool) ID(resource *unstructured.Resource) (string, error)
- func (r *CaPool) STV() unstructured.ServiceTypeVersion
- func (r *CaPool) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CaPool) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CaPool) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Certificate
- func (r *Certificate) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Certificate) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Certificate) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Certificate) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Certificate) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Certificate) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Certificate) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Certificate) ID(resource *unstructured.Resource) (string, error)
- func (r *Certificate) STV() unstructured.ServiceTypeVersion
- func (r *Certificate) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Certificate) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Certificate) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type CertificateAuthority
- func (r *CertificateAuthority) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CertificateAuthority) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *CertificateAuthority) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *CertificateAuthority) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *CertificateAuthority) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *CertificateAuthority) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CertificateAuthority) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *CertificateAuthority) ID(resource *unstructured.Resource) (string, error)
- func (r *CertificateAuthority) STV() unstructured.ServiceTypeVersion
- func (r *CertificateAuthority) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CertificateAuthority) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CertificateAuthority) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type CertificateTemplate
- func (r *CertificateTemplate) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CertificateTemplate) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *CertificateTemplate) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *CertificateTemplate) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *CertificateTemplate) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *CertificateTemplate) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CertificateTemplate) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *CertificateTemplate) ID(resource *unstructured.Resource) (string, error)
- func (r *CertificateTemplate) STV() unstructured.ServiceTypeVersion
- func (r *CertificateTemplate) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CertificateTemplate) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *CertificateTemplate) 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 ApplyCaPool ¶
func ApplyCaPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyCertificate ¶
func ApplyCertificate(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyCertificateAuthority ¶
func ApplyCertificateAuthority(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyCertificateTemplate ¶
func ApplyCertificateTemplate(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func CaPoolHasDiff ¶
func CaPoolHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func CaPoolToUnstructured ¶
func CaPoolToUnstructured(r *dclService.CaPool) *unstructured.Resource
func CertificateAuthorityHasDiff ¶
func CertificateAuthorityHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func CertificateAuthorityID ¶
func CertificateAuthorityID(u *unstructured.Resource) (string, error)
func CertificateAuthorityToUnstructured ¶
func CertificateAuthorityToUnstructured(r *dclService.CertificateAuthority) *unstructured.Resource
func CertificateHasDiff ¶
func CertificateHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func CertificateID ¶
func CertificateID(u *unstructured.Resource) (string, error)
func CertificateTemplateHasDiff ¶
func CertificateTemplateHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func CertificateTemplateID ¶
func CertificateTemplateID(u *unstructured.Resource) (string, error)
func CertificateTemplateToUnstructured ¶
func CertificateTemplateToUnstructured(r *dclService.CertificateTemplate) *unstructured.Resource
func CertificateToUnstructured ¶
func CertificateToUnstructured(r *dclService.Certificate) *unstructured.Resource
func DeleteCaPool ¶
func DeleteCertificate ¶
func GetCaPool ¶
func GetCaPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetCertificate ¶
func GetCertificate(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetCertificateAuthority ¶
func GetCertificateAuthority(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetCertificateTemplate ¶
func GetCertificateTemplate(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListCaPool ¶
func ListCertificate ¶
func ListCertificateTemplate ¶
func UnstructuredToCaPool ¶
func UnstructuredToCaPool(u *unstructured.Resource) (*dclService.CaPool, error)
func UnstructuredToCertificate ¶
func UnstructuredToCertificate(u *unstructured.Resource) (*dclService.Certificate, error)
func UnstructuredToCertificateAuthority ¶
func UnstructuredToCertificateAuthority(u *unstructured.Resource) (*dclService.CertificateAuthority, error)
func UnstructuredToCertificateTemplate ¶
func UnstructuredToCertificateTemplate(u *unstructured.Resource) (*dclService.CertificateTemplate, error)
Types ¶
type CaPool ¶
type CaPool struct{}
func (*CaPool) Apply ¶
func (r *CaPool) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*CaPool) DeletePolicyMember ¶ added in v1.1.0
func (r *CaPool) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*CaPool) Get ¶
func (r *CaPool) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*CaPool) GetPolicy ¶
func (r *CaPool) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*CaPool) GetPolicyMember ¶
func (*CaPool) STV ¶
func (r *CaPool) STV() unstructured.ServiceTypeVersion
func (*CaPool) SetPolicy ¶
func (r *CaPool) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*CaPool) SetPolicyMember ¶
func (r *CaPool) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*CaPool) SetPolicyWithEtag ¶ added in v1.1.0
func (r *CaPool) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Certificate ¶
type Certificate struct{}
func (*Certificate) Apply ¶
func (r *Certificate) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Certificate) Delete ¶
func (r *Certificate) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*Certificate) DeletePolicyMember ¶ added in v1.1.0
func (r *Certificate) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Certificate) Get ¶
func (r *Certificate) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Certificate) GetPolicy ¶
func (r *Certificate) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Certificate) GetPolicyMember ¶
func (r *Certificate) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*Certificate) HasDiff ¶
func (r *Certificate) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*Certificate) ID ¶
func (r *Certificate) ID(resource *unstructured.Resource) (string, error)
func (*Certificate) STV ¶
func (r *Certificate) STV() unstructured.ServiceTypeVersion
func (*Certificate) SetPolicy ¶
func (r *Certificate) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Certificate) SetPolicyMember ¶
func (r *Certificate) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Certificate) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Certificate) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type CertificateAuthority ¶
type CertificateAuthority struct{}
func (*CertificateAuthority) Apply ¶
func (r *CertificateAuthority) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*CertificateAuthority) Delete ¶
func (r *CertificateAuthority) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*CertificateAuthority) DeletePolicyMember ¶ added in v1.1.0
func (r *CertificateAuthority) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*CertificateAuthority) Get ¶
func (r *CertificateAuthority) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*CertificateAuthority) GetPolicy ¶
func (r *CertificateAuthority) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*CertificateAuthority) GetPolicyMember ¶
func (r *CertificateAuthority) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*CertificateAuthority) HasDiff ¶
func (r *CertificateAuthority) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*CertificateAuthority) ID ¶
func (r *CertificateAuthority) ID(resource *unstructured.Resource) (string, error)
func (*CertificateAuthority) STV ¶
func (r *CertificateAuthority) STV() unstructured.ServiceTypeVersion
func (*CertificateAuthority) SetPolicy ¶
func (r *CertificateAuthority) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*CertificateAuthority) SetPolicyMember ¶
func (r *CertificateAuthority) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*CertificateAuthority) SetPolicyWithEtag ¶ added in v1.1.0
func (r *CertificateAuthority) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type CertificateTemplate ¶
type CertificateTemplate struct{}
func (*CertificateTemplate) Apply ¶
func (r *CertificateTemplate) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*CertificateTemplate) Delete ¶
func (r *CertificateTemplate) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*CertificateTemplate) DeletePolicyMember ¶ added in v1.1.0
func (r *CertificateTemplate) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*CertificateTemplate) Get ¶
func (r *CertificateTemplate) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*CertificateTemplate) GetPolicy ¶
func (r *CertificateTemplate) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*CertificateTemplate) GetPolicyMember ¶
func (r *CertificateTemplate) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*CertificateTemplate) HasDiff ¶
func (r *CertificateTemplate) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*CertificateTemplate) ID ¶
func (r *CertificateTemplate) ID(resource *unstructured.Resource) (string, error)
func (*CertificateTemplate) STV ¶
func (r *CertificateTemplate) STV() unstructured.ServiceTypeVersion
func (*CertificateTemplate) SetPolicy ¶
func (r *CertificateTemplate) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*CertificateTemplate) SetPolicyMember ¶
func (r *CertificateTemplate) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*CertificateTemplate) SetPolicyWithEtag ¶ added in v1.1.0
func (r *CertificateTemplate) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)