networkservices

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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.

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 added in v1.4.0

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

func ApplyGrpcRoute added in v1.4.0

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

func ApplyHttpRoute added in v1.4.0

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

func ApplyMesh added in v1.4.0

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

func ApplyTcpRoute added in v1.4.0

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

func ApplyTlsRoute added in v1.4.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 added in v1.4.0

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

func DeleteGrpcRoute added in v1.4.0

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

func DeleteHttpRoute added in v1.4.0

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

func DeleteMesh added in v1.4.0

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

func DeleteTcpRoute added in v1.4.0

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

func DeleteTlsRoute added in v1.4.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 added in v1.4.0

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

func GatewayID added in v1.4.0

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

func GatewayToUnstructured added in v1.4.0

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 added in v1.4.0

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

func GetGrpcRoute added in v1.4.0

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

func GetHttpRoute added in v1.4.0

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

func GetMesh added in v1.4.0

func GetTcpRoute added in v1.4.0

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

func GetTlsRoute added in v1.4.0

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

func GrpcRouteHasDiff added in v1.4.0

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

func GrpcRouteID added in v1.4.0

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

func GrpcRouteToUnstructured added in v1.4.0

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

func HttpRouteHasDiff added in v1.4.0

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

func HttpRouteID added in v1.4.0

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

func HttpRouteToUnstructured added in v1.4.0

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 added in v1.4.0

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

func ListGrpcRoute added in v1.4.0

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

func ListHttpRoute added in v1.4.0

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

func ListMesh added in v1.4.0

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

func ListTcpRoute added in v1.4.0

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

func ListTlsRoute added in v1.4.0

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

func MeshHasDiff added in v1.4.0

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

func MeshID added in v1.4.0

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

func MeshToUnstructured added in v1.4.0

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

func TcpRouteHasDiff added in v1.4.0

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

func TcpRouteID added in v1.4.0

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

func TcpRouteToUnstructured added in v1.4.0

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

func TlsRouteHasDiff added in v1.4.0

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

func TlsRouteID added in v1.4.0

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

func TlsRouteToUnstructured added in v1.4.0

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

func UnstructuredToEndpointPolicy

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

func UnstructuredToGateway added in v1.4.0

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

func UnstructuredToGrpcRoute added in v1.4.0

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

func UnstructuredToHttpRoute added in v1.4.0

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

func UnstructuredToMesh added in v1.4.0

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

func UnstructuredToTcpRoute added in v1.4.0

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

func UnstructuredToTlsRoute added in v1.4.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 added in v1.4.0

type Gateway struct{}

func (*Gateway) Apply added in v1.4.0

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

func (*Gateway) Delete added in v1.4.0

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

func (*Gateway) DeletePolicyMember added in v1.4.0

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

func (*Gateway) Get added in v1.4.0

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

func (*Gateway) GetPolicy added in v1.4.0

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

func (*Gateway) GetPolicyMember added in v1.4.0

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

func (*Gateway) HasDiff added in v1.4.0

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

func (*Gateway) ID added in v1.4.0

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

func (*Gateway) STV added in v1.4.0

func (*Gateway) SetPolicy added in v1.4.0

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

func (*Gateway) SetPolicyMember added in v1.4.0

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.4.0

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

type GrpcRoute added in v1.4.0

type GrpcRoute struct{}

func (*GrpcRoute) Apply added in v1.4.0

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

func (*GrpcRoute) Delete added in v1.4.0

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

func (*GrpcRoute) DeletePolicyMember added in v1.4.0

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

func (*GrpcRoute) Get added in v1.4.0

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

func (*GrpcRoute) GetPolicy added in v1.4.0

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

func (*GrpcRoute) GetPolicyMember added in v1.4.0

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

func (*GrpcRoute) HasDiff added in v1.4.0

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

func (*GrpcRoute) ID added in v1.4.0

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

func (*GrpcRoute) STV added in v1.4.0

func (*GrpcRoute) SetPolicy added in v1.4.0

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

func (*GrpcRoute) SetPolicyMember added in v1.4.0

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.4.0

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

type HttpRoute added in v1.4.0

type HttpRoute struct{}

func (*HttpRoute) Apply added in v1.4.0

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

func (*HttpRoute) Delete added in v1.4.0

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

func (*HttpRoute) DeletePolicyMember added in v1.4.0

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

func (*HttpRoute) Get added in v1.4.0

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

func (*HttpRoute) GetPolicy added in v1.4.0

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

func (*HttpRoute) GetPolicyMember added in v1.4.0

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

func (*HttpRoute) HasDiff added in v1.4.0

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

func (*HttpRoute) ID added in v1.4.0

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

func (*HttpRoute) STV added in v1.4.0

func (*HttpRoute) SetPolicy added in v1.4.0

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

func (*HttpRoute) SetPolicyMember added in v1.4.0

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.4.0

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

type Mesh added in v1.4.0

type Mesh struct{}

func (*Mesh) Apply added in v1.4.0

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

func (*Mesh) Delete added in v1.4.0

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

func (*Mesh) DeletePolicyMember added in v1.4.0

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

func (*Mesh) Get added in v1.4.0

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

func (*Mesh) GetPolicy added in v1.4.0

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

func (*Mesh) GetPolicyMember added in v1.4.0

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

func (*Mesh) HasDiff added in v1.4.0

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

func (*Mesh) ID added in v1.4.0

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

func (*Mesh) STV added in v1.4.0

func (*Mesh) SetPolicy added in v1.4.0

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

func (*Mesh) SetPolicyMember added in v1.4.0

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.4.0

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

type TcpRoute added in v1.4.0

type TcpRoute struct{}

func (*TcpRoute) Apply added in v1.4.0

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

func (*TcpRoute) Delete added in v1.4.0

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

func (*TcpRoute) DeletePolicyMember added in v1.4.0

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

func (*TcpRoute) Get added in v1.4.0

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

func (*TcpRoute) GetPolicy added in v1.4.0

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

func (*TcpRoute) GetPolicyMember added in v1.4.0

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

func (*TcpRoute) HasDiff added in v1.4.0

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

func (*TcpRoute) ID added in v1.4.0

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

func (*TcpRoute) STV added in v1.4.0

func (*TcpRoute) SetPolicy added in v1.4.0

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

func (*TcpRoute) SetPolicyMember added in v1.4.0

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.4.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.4.0

type TlsRoute struct{}

func (*TlsRoute) Apply added in v1.4.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.4.0

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

func (*TlsRoute) DeletePolicyMember added in v1.4.0

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

func (*TlsRoute) Get added in v1.4.0

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

func (*TlsRoute) GetPolicy added in v1.4.0

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

func (*TlsRoute) GetPolicyMember added in v1.4.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.4.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.4.0

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

func (*TlsRoute) STV added in v1.4.0

func (*TlsRoute) SetPolicy added in v1.4.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.4.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.4.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