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 ¶
- func ApplyEndpointPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyGateway(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyGrpcRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyHttpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyMesh(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyTcpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyTlsRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteEndpointPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteGateway(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteGrpcRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteHttpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteMesh(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteTcpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteTlsRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func EndpointPolicyHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func EndpointPolicyID(u *unstructured.Resource) (string, error)
- func EndpointPolicyToUnstructured(r *dclService.EndpointPolicy) *unstructured.Resource
- func GatewayHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func GatewayID(u *unstructured.Resource) (string, error)
- func GatewayToUnstructured(r *dclService.Gateway) *unstructured.Resource
- func GetEndpointPolicy(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetGateway(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetGrpcRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetHttpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetMesh(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetTcpRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetTlsRoute(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GrpcRouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func GrpcRouteID(u *unstructured.Resource) (string, error)
- func GrpcRouteToUnstructured(r *dclService.GrpcRoute) *unstructured.Resource
- func HttpRouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func HttpRouteID(u *unstructured.Resource) (string, error)
- func HttpRouteToUnstructured(r *dclService.HttpRoute) *unstructured.Resource
- func ListEndpointPolicy(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListGateway(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListGrpcRoute(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListHttpRoute(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListMesh(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListTcpRoute(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func ListTlsRoute(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func MeshHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func MeshID(u *unstructured.Resource) (string, error)
- func MeshToUnstructured(r *dclService.Mesh) *unstructured.Resource
- func TcpRouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func TcpRouteID(u *unstructured.Resource) (string, error)
- func TcpRouteToUnstructured(r *dclService.TcpRoute) *unstructured.Resource
- func TlsRouteHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func TlsRouteID(u *unstructured.Resource) (string, error)
- func TlsRouteToUnstructured(r *dclService.TlsRoute) *unstructured.Resource
- func UnstructuredToEndpointPolicy(u *unstructured.Resource) (*dclService.EndpointPolicy, error)
- func UnstructuredToGateway(u *unstructured.Resource) (*dclService.Gateway, error)
- func UnstructuredToGrpcRoute(u *unstructured.Resource) (*dclService.GrpcRoute, error)
- func UnstructuredToHttpRoute(u *unstructured.Resource) (*dclService.HttpRoute, error)
- func UnstructuredToMesh(u *unstructured.Resource) (*dclService.Mesh, error)
- func UnstructuredToTcpRoute(u *unstructured.Resource) (*dclService.TcpRoute, error)
- func UnstructuredToTlsRoute(u *unstructured.Resource) (*dclService.TlsRoute, error)
- type EndpointPolicy
- func (r *EndpointPolicy) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *EndpointPolicy) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *EndpointPolicy) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *EndpointPolicy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *EndpointPolicy) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *EndpointPolicy) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *EndpointPolicy) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *EndpointPolicy) ID(resource *unstructured.Resource) (string, error)
- func (r *EndpointPolicy) STV() unstructured.ServiceTypeVersion
- func (r *EndpointPolicy) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *EndpointPolicy) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *EndpointPolicy) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Gateway
- func (r *Gateway) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Gateway) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Gateway) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Gateway) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Gateway) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Gateway) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Gateway) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Gateway) ID(resource *unstructured.Resource) (string, error)
- func (r *Gateway) STV() unstructured.ServiceTypeVersion
- func (r *Gateway) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Gateway) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Gateway) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type GrpcRoute
- func (r *GrpcRoute) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *GrpcRoute) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *GrpcRoute) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *GrpcRoute) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *GrpcRoute) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *GrpcRoute) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *GrpcRoute) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *GrpcRoute) ID(resource *unstructured.Resource) (string, error)
- func (r *GrpcRoute) STV() unstructured.ServiceTypeVersion
- func (r *GrpcRoute) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *GrpcRoute) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *GrpcRoute) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type HttpRoute
- func (r *HttpRoute) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *HttpRoute) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *HttpRoute) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *HttpRoute) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *HttpRoute) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *HttpRoute) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *HttpRoute) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *HttpRoute) ID(resource *unstructured.Resource) (string, error)
- func (r *HttpRoute) STV() unstructured.ServiceTypeVersion
- func (r *HttpRoute) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *HttpRoute) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *HttpRoute) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Mesh
- func (r *Mesh) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Mesh) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Mesh) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Mesh) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Mesh) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Mesh) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Mesh) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Mesh) ID(resource *unstructured.Resource) (string, error)
- func (r *Mesh) STV() unstructured.ServiceTypeVersion
- func (r *Mesh) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Mesh) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Mesh) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type TcpRoute
- func (r *TcpRoute) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TcpRoute) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *TcpRoute) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *TcpRoute) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *TcpRoute) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *TcpRoute) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TcpRoute) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *TcpRoute) ID(resource *unstructured.Resource) (string, error)
- func (r *TcpRoute) STV() unstructured.ServiceTypeVersion
- func (r *TcpRoute) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TcpRoute) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TcpRoute) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type TlsRoute
- func (r *TlsRoute) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TlsRoute) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *TlsRoute) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *TlsRoute) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *TlsRoute) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *TlsRoute) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TlsRoute) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *TlsRoute) ID(resource *unstructured.Resource) (string, error)
- func (r *TlsRoute) STV() unstructured.ServiceTypeVersion
- func (r *TlsRoute) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TlsRoute) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *TlsRoute) 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 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 DeleteGateway ¶ added in v1.4.0
func DeleteGrpcRoute ¶ added in v1.4.0
func DeleteHttpRoute ¶ added in v1.4.0
func DeleteMesh ¶ added in v1.4.0
func DeleteTcpRoute ¶ added in v1.4.0
func DeleteTlsRoute ¶ added in v1.4.0
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 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 GetMesh(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
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 ListGateway ¶ added in v1.4.0
func ListGrpcRoute ¶ added in v1.4.0
func ListHttpRoute ¶ added in v1.4.0
func ListTcpRoute ¶ added in v1.4.0
func ListTlsRoute ¶ added in v1.4.0
func MeshHasDiff ¶ added in v1.4.0
func MeshHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, 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 (r *EndpointPolicy) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
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 (r *EndpointPolicy) STV() unstructured.ServiceTypeVersion
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) 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 (*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 (r *Gateway) STV() unstructured.ServiceTypeVersion
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) 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 (*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 (r *GrpcRoute) STV() unstructured.ServiceTypeVersion
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) 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 (*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 (r *HttpRoute) STV() unstructured.ServiceTypeVersion
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) 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 (*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 (r *Mesh) STV() unstructured.ServiceTypeVersion
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) 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 (*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 (r *TcpRoute) STV() unstructured.ServiceTypeVersion
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) 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 (*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 (r *TlsRoute) STV() unstructured.ServiceTypeVersion
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)