networkservices

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

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.

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyEndpointPolicy

func ApplyEndpointPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyGateway

func ApplyGateway(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyGrpcRoute

func ApplyGrpcRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyHttpFilter

func ApplyHttpFilter(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyHttpRoute

func ApplyHttpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyMesh

func ApplyMesh(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyServiceBinding added in v1.7.0

func ApplyServiceBinding(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyTcpRoute

func ApplyTcpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyTlsRoute added in v1.3.0

func ApplyTlsRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func DeleteEndpointPolicy

func DeleteEndpointPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteGateway

func DeleteGateway(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteGrpcRoute

func DeleteGrpcRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteHttpFilter

func DeleteHttpFilter(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteHttpRoute

func DeleteHttpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteMesh

func DeleteMesh(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteServiceBinding added in v1.7.0

func DeleteServiceBinding(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteTcpRoute

func DeleteTcpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteTlsRoute added in v1.3.0

func DeleteTlsRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func EndpointPolicyHasDiff

func EndpointPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func EndpointPolicyID

func EndpointPolicyID(u *unstructured.Resource) (string, error)

func EndpointPolicyToUnstructured

func EndpointPolicyToUnstructured(r *dclService.EndpointPolicy) *unstructured.Resource

func GatewayHasDiff

func GatewayHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func GatewayID

func GatewayID(u *unstructured.Resource) (string, error)

func GatewayToUnstructured

func GatewayToUnstructured(r *dclService.Gateway) *unstructured.Resource

func GetEndpointPolicy

func GetEndpointPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetGateway

func GetGateway(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetGrpcRoute

func GetGrpcRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetHttpFilter

func GetHttpFilter(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetHttpRoute

func GetHttpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetMesh

func GetServiceBinding added in v1.7.0

func GetServiceBinding(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetTcpRoute

func GetTcpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetTlsRoute added in v1.3.0

func GetTlsRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GrpcRouteHasDiff

func GrpcRouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func GrpcRouteID

func GrpcRouteID(u *unstructured.Resource) (string, error)

func GrpcRouteToUnstructured

func GrpcRouteToUnstructured(r *dclService.GrpcRoute) *unstructured.Resource

func HttpFilterHasDiff

func HttpFilterHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func HttpFilterID

func HttpFilterID(u *unstructured.Resource) (string, error)

func HttpFilterToUnstructured

func HttpFilterToUnstructured(r *dclService.HttpFilter) *unstructured.Resource

func HttpRouteHasDiff

func HttpRouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func HttpRouteID

func HttpRouteID(u *unstructured.Resource) (string, error)

func HttpRouteToUnstructured

func HttpRouteToUnstructured(r *dclService.HttpRoute) *unstructured.Resource

func ListEndpointPolicy

func ListEndpointPolicy(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListGateway

func ListGateway(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListGrpcRoute

func ListGrpcRoute(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListHttpFilter

func ListHttpFilter(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListHttpRoute

func ListHttpRoute(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListMesh

func ListMesh(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListServiceBinding added in v1.7.0

func ListServiceBinding(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListTcpRoute

func ListTcpRoute(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func ListTlsRoute added in v1.3.0

func ListTlsRoute(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)

func MeshHasDiff

func MeshHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func MeshID

func MeshID(u *unstructured.Resource) (string, error)

func MeshToUnstructured

func MeshToUnstructured(r *dclService.Mesh) *unstructured.Resource

func ServiceBindingHasDiff added in v1.7.0

func ServiceBindingHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func ServiceBindingID added in v1.7.0

func ServiceBindingID(u *unstructured.Resource) (string, error)

func ServiceBindingToUnstructured added in v1.7.0

func ServiceBindingToUnstructured(r *dclService.ServiceBinding) *unstructured.Resource

func TcpRouteHasDiff

func TcpRouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func TcpRouteID

func TcpRouteID(u *unstructured.Resource) (string, error)

func TcpRouteToUnstructured

func TcpRouteToUnstructured(r *dclService.TcpRoute) *unstructured.Resource

func TlsRouteHasDiff added in v1.3.0

func TlsRouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func TlsRouteID added in v1.3.0

func TlsRouteID(u *unstructured.Resource) (string, error)

func TlsRouteToUnstructured added in v1.3.0

func TlsRouteToUnstructured(r *dclService.TlsRoute) *unstructured.Resource

func UnstructuredToEndpointPolicy

func UnstructuredToEndpointPolicy(u *unstructured.Resource) (*dclService.EndpointPolicy, error)

func UnstructuredToGateway

func UnstructuredToGateway(u *unstructured.Resource) (*dclService.Gateway, error)

func UnstructuredToGrpcRoute

func UnstructuredToGrpcRoute(u *unstructured.Resource) (*dclService.GrpcRoute, error)

func UnstructuredToHttpFilter

func UnstructuredToHttpFilter(u *unstructured.Resource) (*dclService.HttpFilter, error)

func UnstructuredToHttpRoute

func UnstructuredToHttpRoute(u *unstructured.Resource) (*dclService.HttpRoute, error)

func UnstructuredToMesh

func UnstructuredToMesh(u *unstructured.Resource) (*dclService.Mesh, error)

func UnstructuredToServiceBinding added in v1.7.0

func UnstructuredToServiceBinding(u *unstructured.Resource) (*dclService.ServiceBinding, error)

func UnstructuredToTcpRoute

func UnstructuredToTcpRoute(u *unstructured.Resource) (*dclService.TcpRoute, error)

func UnstructuredToTlsRoute added in v1.3.0

func UnstructuredToTlsRoute(u *unstructured.Resource) (*dclService.TlsRoute, error)

Types

type EndpointPolicy

type EndpointPolicy struct{}

func (*EndpointPolicy) Apply

func (r *EndpointPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*EndpointPolicy) Delete

func (r *EndpointPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*EndpointPolicy) DeletePolicyMember added in v1.1.0

func (r *EndpointPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*EndpointPolicy) Get

func (*EndpointPolicy) GetPolicy

func (r *EndpointPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*EndpointPolicy) GetPolicyMember

func (r *EndpointPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*EndpointPolicy) HasDiff

func (r *EndpointPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*EndpointPolicy) ID

func (r *EndpointPolicy) ID(resource *unstructured.Resource) (string, error)

func (*EndpointPolicy) STV

func (*EndpointPolicy) SetPolicy

func (r *EndpointPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*EndpointPolicy) SetPolicyMember

func (r *EndpointPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*EndpointPolicy) SetPolicyWithEtag added in v1.1.0

func (r *EndpointPolicy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type Gateway

type Gateway struct{}

func (*Gateway) Apply

func (r *Gateway) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Gateway) Delete

func (r *Gateway) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Gateway) DeletePolicyMember added in v1.1.0

func (r *Gateway) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Gateway) Get

func (r *Gateway) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Gateway) GetPolicy

func (r *Gateway) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Gateway) GetPolicyMember

func (r *Gateway) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Gateway) HasDiff

func (r *Gateway) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Gateway) ID

func (r *Gateway) ID(resource *unstructured.Resource) (string, error)

func (*Gateway) STV

func (*Gateway) SetPolicy

func (r *Gateway) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Gateway) SetPolicyMember

func (r *Gateway) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Gateway) SetPolicyWithEtag added in v1.1.0

func (r *Gateway) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type GrpcRoute

type GrpcRoute struct{}

func (*GrpcRoute) Apply

func (r *GrpcRoute) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*GrpcRoute) Delete

func (r *GrpcRoute) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*GrpcRoute) DeletePolicyMember added in v1.1.0

func (r *GrpcRoute) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*GrpcRoute) Get

func (r *GrpcRoute) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*GrpcRoute) GetPolicy

func (r *GrpcRoute) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*GrpcRoute) GetPolicyMember

func (r *GrpcRoute) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*GrpcRoute) HasDiff

func (r *GrpcRoute) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*GrpcRoute) ID

func (r *GrpcRoute) ID(resource *unstructured.Resource) (string, error)

func (*GrpcRoute) STV

func (*GrpcRoute) SetPolicy

func (r *GrpcRoute) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*GrpcRoute) SetPolicyMember

func (r *GrpcRoute) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*GrpcRoute) SetPolicyWithEtag added in v1.1.0

func (r *GrpcRoute) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type HttpFilter

type HttpFilter struct{}

func (*HttpFilter) Apply

func (r *HttpFilter) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*HttpFilter) Delete

func (r *HttpFilter) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*HttpFilter) DeletePolicyMember added in v1.1.0

func (r *HttpFilter) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*HttpFilter) Get

func (r *HttpFilter) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*HttpFilter) GetPolicy

func (r *HttpFilter) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*HttpFilter) GetPolicyMember

func (r *HttpFilter) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*HttpFilter) HasDiff

func (r *HttpFilter) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*HttpFilter) ID

func (r *HttpFilter) ID(resource *unstructured.Resource) (string, error)

func (*HttpFilter) STV

func (*HttpFilter) SetPolicy

func (r *HttpFilter) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*HttpFilter) SetPolicyMember

func (r *HttpFilter) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*HttpFilter) SetPolicyWithEtag added in v1.1.0

func (r *HttpFilter) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type HttpRoute

type HttpRoute struct{}

func (*HttpRoute) Apply

func (r *HttpRoute) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*HttpRoute) Delete

func (r *HttpRoute) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*HttpRoute) DeletePolicyMember added in v1.1.0

func (r *HttpRoute) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*HttpRoute) Get

func (r *HttpRoute) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*HttpRoute) GetPolicy

func (r *HttpRoute) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*HttpRoute) GetPolicyMember

func (r *HttpRoute) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*HttpRoute) HasDiff

func (r *HttpRoute) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*HttpRoute) ID

func (r *HttpRoute) ID(resource *unstructured.Resource) (string, error)

func (*HttpRoute) STV

func (*HttpRoute) SetPolicy

func (r *HttpRoute) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*HttpRoute) SetPolicyMember

func (r *HttpRoute) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*HttpRoute) SetPolicyWithEtag added in v1.1.0

func (r *HttpRoute) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type Mesh

type Mesh struct{}

func (*Mesh) Apply

func (r *Mesh) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Mesh) Delete

func (r *Mesh) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Mesh) DeletePolicyMember added in v1.1.0

func (r *Mesh) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Mesh) Get

func (r *Mesh) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Mesh) GetPolicy

func (r *Mesh) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Mesh) GetPolicyMember

func (r *Mesh) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Mesh) HasDiff

func (r *Mesh) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Mesh) ID

func (r *Mesh) ID(resource *unstructured.Resource) (string, error)

func (*Mesh) STV

func (*Mesh) SetPolicy

func (r *Mesh) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Mesh) SetPolicyMember

func (r *Mesh) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Mesh) SetPolicyWithEtag added in v1.1.0

func (r *Mesh) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type ServiceBinding added in v1.7.0

type ServiceBinding struct{}

func (*ServiceBinding) Apply added in v1.7.0

func (r *ServiceBinding) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*ServiceBinding) Delete added in v1.7.0

func (r *ServiceBinding) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*ServiceBinding) DeletePolicyMember added in v1.7.0

func (r *ServiceBinding) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*ServiceBinding) Get added in v1.7.0

func (*ServiceBinding) GetPolicy added in v1.7.0

func (r *ServiceBinding) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*ServiceBinding) GetPolicyMember added in v1.7.0

func (r *ServiceBinding) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*ServiceBinding) HasDiff added in v1.7.0

func (r *ServiceBinding) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*ServiceBinding) ID added in v1.7.0

func (r *ServiceBinding) ID(resource *unstructured.Resource) (string, error)

func (*ServiceBinding) STV added in v1.7.0

func (*ServiceBinding) SetPolicy added in v1.7.0

func (r *ServiceBinding) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*ServiceBinding) SetPolicyMember added in v1.7.0

func (r *ServiceBinding) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*ServiceBinding) SetPolicyWithEtag added in v1.7.0

func (r *ServiceBinding) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type TcpRoute

type TcpRoute struct{}

func (*TcpRoute) Apply

func (r *TcpRoute) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*TcpRoute) Delete

func (r *TcpRoute) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*TcpRoute) DeletePolicyMember added in v1.1.0

func (r *TcpRoute) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*TcpRoute) Get

func (r *TcpRoute) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*TcpRoute) GetPolicy

func (r *TcpRoute) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*TcpRoute) GetPolicyMember

func (r *TcpRoute) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*TcpRoute) HasDiff

func (r *TcpRoute) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*TcpRoute) ID

func (r *TcpRoute) ID(resource *unstructured.Resource) (string, error)

func (*TcpRoute) STV

func (*TcpRoute) SetPolicy

func (r *TcpRoute) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*TcpRoute) SetPolicyMember

func (r *TcpRoute) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*TcpRoute) SetPolicyWithEtag added in v1.1.0

func (r *TcpRoute) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type TlsRoute added in v1.3.0

type TlsRoute struct{}

func (*TlsRoute) Apply added in v1.3.0

func (r *TlsRoute) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*TlsRoute) Delete added in v1.3.0

func (r *TlsRoute) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*TlsRoute) DeletePolicyMember added in v1.3.0

func (r *TlsRoute) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*TlsRoute) Get added in v1.3.0

func (r *TlsRoute) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*TlsRoute) GetPolicy added in v1.3.0

func (r *TlsRoute) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*TlsRoute) GetPolicyMember added in v1.3.0

func (r *TlsRoute) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*TlsRoute) HasDiff added in v1.3.0

func (r *TlsRoute) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*TlsRoute) ID added in v1.3.0

func (r *TlsRoute) ID(resource *unstructured.Resource) (string, error)

func (*TlsRoute) STV added in v1.3.0

func (*TlsRoute) SetPolicy added in v1.3.0

func (r *TlsRoute) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*TlsRoute) SetPolicyMember added in v1.3.0

func (r *TlsRoute) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*TlsRoute) SetPolicyWithEtag added in v1.3.0

func (r *TlsRoute) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL