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.
Index ¶
- func ApplyAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func AuthorizationPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func AuthorizationPolicyID(u *unstructured.Resource) (string, error)
- func AuthorizationPolicyToUnstructured(r *dclService.AuthorizationPolicy) *unstructured.Resource
- func ClientTlsPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ClientTlsPolicyID(u *unstructured.Resource) (string, error)
- func ClientTlsPolicyToUnstructured(r *dclService.ClientTlsPolicy) *unstructured.Resource
- func DeleteAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeletePolicyMemberAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeletePolicyMemberClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeletePolicyMemberServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) error
- func DeleteServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetPolicyMemberAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyMemberClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyMemberServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func GetPolicyServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListAuthorizationPolicy(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListClientTlsPolicy(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListServerTlsPolicy(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ServerTlsPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ServerTlsPolicyID(u *unstructured.Resource) (string, error)
- func ServerTlsPolicyToUnstructured(r *dclService.ServerTlsPolicy) *unstructured.Resource
- func SetPolicyAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyMemberServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func SetPolicyWithEtagServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func UnstructuredToAuthorizationPolicy(u *unstructured.Resource) (*dclService.AuthorizationPolicy, error)
- func UnstructuredToClientTlsPolicy(u *unstructured.Resource) (*dclService.ClientTlsPolicy, error)
- func UnstructuredToServerTlsPolicy(u *unstructured.Resource) (*dclService.ServerTlsPolicy, error)
- type AuthorizationPolicy
- func (r *AuthorizationPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *AuthorizationPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *AuthorizationPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *AuthorizationPolicy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *AuthorizationPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *AuthorizationPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *AuthorizationPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *AuthorizationPolicy) ID(resource *unstructured.Resource) (string, error)
- func (r *AuthorizationPolicy) STV() unstructured.ServiceTypeVersion
- func (r *AuthorizationPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *AuthorizationPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *AuthorizationPolicy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type ClientTlsPolicy
- func (r *ClientTlsPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ClientTlsPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *ClientTlsPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *ClientTlsPolicy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ClientTlsPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ClientTlsPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ClientTlsPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *ClientTlsPolicy) ID(resource *unstructured.Resource) (string, error)
- func (r *ClientTlsPolicy) STV() unstructured.ServiceTypeVersion
- func (r *ClientTlsPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ClientTlsPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ClientTlsPolicy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type ServerTlsPolicy
- func (r *ServerTlsPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServerTlsPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *ServerTlsPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *ServerTlsPolicy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ServerTlsPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ServerTlsPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServerTlsPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *ServerTlsPolicy) ID(resource *unstructured.Resource) (string, error)
- func (r *ServerTlsPolicy) STV() unstructured.ServiceTypeVersion
- func (r *ServerTlsPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServerTlsPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServerTlsPolicy) 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 ApplyAuthorizationPolicy ¶
func ApplyAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyClientTlsPolicy ¶
func ApplyClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyServerTlsPolicy ¶
func ApplyServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func AuthorizationPolicyHasDiff ¶
func AuthorizationPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func AuthorizationPolicyID ¶
func AuthorizationPolicyID(u *unstructured.Resource) (string, error)
func AuthorizationPolicyToUnstructured ¶
func AuthorizationPolicyToUnstructured(r *dclService.AuthorizationPolicy) *unstructured.Resource
func ClientTlsPolicyHasDiff ¶
func ClientTlsPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ClientTlsPolicyID ¶
func ClientTlsPolicyID(u *unstructured.Resource) (string, error)
func ClientTlsPolicyToUnstructured ¶
func ClientTlsPolicyToUnstructured(r *dclService.ClientTlsPolicy) *unstructured.Resource
func DeleteClientTlsPolicy ¶
func DeletePolicyMemberAuthorizationPolicy ¶ added in v1.1.0
func DeletePolicyMemberAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeletePolicyMemberClientTlsPolicy ¶ added in v1.1.0
func DeletePolicyMemberClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeletePolicyMemberServerTlsPolicy ¶ added in v1.1.0
func DeletePolicyMemberServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error
func DeleteServerTlsPolicy ¶
func GetAuthorizationPolicy ¶
func GetAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetClientTlsPolicy ¶
func GetClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyAuthorizationPolicy ¶
func GetPolicyAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyClientTlsPolicy ¶
func GetPolicyClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetPolicyMemberAuthorizationPolicy ¶
func GetPolicyMemberAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyMemberClientTlsPolicy ¶
func GetPolicyMemberClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyMemberServerTlsPolicy ¶
func GetPolicyMemberServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func GetPolicyServerTlsPolicy ¶
func GetPolicyServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetServerTlsPolicy ¶
func GetServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListAuthorizationPolicy ¶
func ListClientTlsPolicy ¶
func ListServerTlsPolicy ¶
func ServerTlsPolicyHasDiff ¶
func ServerTlsPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ServerTlsPolicyID ¶
func ServerTlsPolicyID(u *unstructured.Resource) (string, error)
func ServerTlsPolicyToUnstructured ¶
func ServerTlsPolicyToUnstructured(r *dclService.ServerTlsPolicy) *unstructured.Resource
func SetPolicyAuthorizationPolicy ¶
func SetPolicyAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyClientTlsPolicy ¶
func SetPolicyClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberAuthorizationPolicy ¶
func SetPolicyMemberAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberClientTlsPolicy ¶
func SetPolicyMemberClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyMemberServerTlsPolicy ¶
func SetPolicyMemberServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyServerTlsPolicy ¶
func SetPolicyServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagAuthorizationPolicy ¶ added in v1.1.0
func SetPolicyWithEtagAuthorizationPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagClientTlsPolicy ¶ added in v1.1.0
func SetPolicyWithEtagClientTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func SetPolicyWithEtagServerTlsPolicy ¶ added in v1.1.0
func SetPolicyWithEtagServerTlsPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)
func UnstructuredToAuthorizationPolicy ¶
func UnstructuredToAuthorizationPolicy(u *unstructured.Resource) (*dclService.AuthorizationPolicy, error)
func UnstructuredToClientTlsPolicy ¶
func UnstructuredToClientTlsPolicy(u *unstructured.Resource) (*dclService.ClientTlsPolicy, error)
func UnstructuredToServerTlsPolicy ¶
func UnstructuredToServerTlsPolicy(u *unstructured.Resource) (*dclService.ServerTlsPolicy, error)
Types ¶
type AuthorizationPolicy ¶
type AuthorizationPolicy struct{}
func (*AuthorizationPolicy) Apply ¶
func (r *AuthorizationPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*AuthorizationPolicy) Delete ¶
func (r *AuthorizationPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*AuthorizationPolicy) DeletePolicyMember ¶ added in v1.1.0
func (r *AuthorizationPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*AuthorizationPolicy) Get ¶
func (r *AuthorizationPolicy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*AuthorizationPolicy) GetPolicy ¶
func (r *AuthorizationPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*AuthorizationPolicy) GetPolicyMember ¶
func (r *AuthorizationPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*AuthorizationPolicy) HasDiff ¶
func (r *AuthorizationPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*AuthorizationPolicy) ID ¶
func (r *AuthorizationPolicy) ID(resource *unstructured.Resource) (string, error)
func (*AuthorizationPolicy) STV ¶
func (r *AuthorizationPolicy) STV() unstructured.ServiceTypeVersion
func (*AuthorizationPolicy) SetPolicy ¶
func (r *AuthorizationPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*AuthorizationPolicy) SetPolicyMember ¶
func (r *AuthorizationPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*AuthorizationPolicy) SetPolicyWithEtag ¶ added in v1.1.0
func (r *AuthorizationPolicy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type ClientTlsPolicy ¶
type ClientTlsPolicy struct{}
func (*ClientTlsPolicy) Apply ¶
func (r *ClientTlsPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*ClientTlsPolicy) Delete ¶
func (r *ClientTlsPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*ClientTlsPolicy) DeletePolicyMember ¶ added in v1.1.0
func (r *ClientTlsPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*ClientTlsPolicy) Get ¶
func (r *ClientTlsPolicy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ClientTlsPolicy) GetPolicy ¶
func (r *ClientTlsPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ClientTlsPolicy) GetPolicyMember ¶
func (r *ClientTlsPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*ClientTlsPolicy) HasDiff ¶
func (r *ClientTlsPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*ClientTlsPolicy) ID ¶
func (r *ClientTlsPolicy) ID(resource *unstructured.Resource) (string, error)
func (*ClientTlsPolicy) STV ¶
func (r *ClientTlsPolicy) STV() unstructured.ServiceTypeVersion
func (*ClientTlsPolicy) SetPolicy ¶
func (r *ClientTlsPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*ClientTlsPolicy) SetPolicyMember ¶
func (r *ClientTlsPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*ClientTlsPolicy) SetPolicyWithEtag ¶ added in v1.1.0
func (r *ClientTlsPolicy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type ServerTlsPolicy ¶
type ServerTlsPolicy struct{}
func (*ServerTlsPolicy) Apply ¶
func (r *ServerTlsPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*ServerTlsPolicy) Delete ¶
func (r *ServerTlsPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*ServerTlsPolicy) DeletePolicyMember ¶ added in v1.1.0
func (r *ServerTlsPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*ServerTlsPolicy) Get ¶
func (r *ServerTlsPolicy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ServerTlsPolicy) GetPolicy ¶
func (r *ServerTlsPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ServerTlsPolicy) GetPolicyMember ¶
func (r *ServerTlsPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*ServerTlsPolicy) HasDiff ¶
func (r *ServerTlsPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*ServerTlsPolicy) ID ¶
func (r *ServerTlsPolicy) ID(resource *unstructured.Resource) (string, error)
func (*ServerTlsPolicy) STV ¶
func (r *ServerTlsPolicy) STV() unstructured.ServiceTypeVersion
func (*ServerTlsPolicy) SetPolicy ¶
func (r *ServerTlsPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*ServerTlsPolicy) SetPolicyMember ¶
func (r *ServerTlsPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*ServerTlsPolicy) SetPolicyWithEtag ¶ added in v1.1.0
func (r *ServerTlsPolicy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)