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.
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 ApplyHttpFilter(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 DeleteHttpFilter(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 GetHttpFilter(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 HttpFilterHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func HttpFilterID(u *unstructured.Resource) (string, error)
- func HttpFilterToUnstructured(r *dclService.HttpFilter) *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 ListHttpFilter(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 UnstructuredToHttpFilter(u *unstructured.Resource) (*dclService.HttpFilter, 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 HttpFilter
- func (r *HttpFilter) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *HttpFilter) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *HttpFilter) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *HttpFilter) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *HttpFilter) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *HttpFilter) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *HttpFilter) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *HttpFilter) ID(resource *unstructured.Resource) (string, error)
- func (r *HttpFilter) STV() unstructured.ServiceTypeVersion
- func (r *HttpFilter) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *HttpFilter) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *HttpFilter) 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 ¶
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 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 DeleteGateway ¶
func DeleteGrpcRoute ¶
func DeleteHttpFilter ¶
func DeleteHttpRoute ¶
func DeleteMesh ¶
func DeleteTcpRoute ¶
func DeleteTlsRoute ¶ added in v1.3.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 ¶
func GatewayHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, 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 GetMesh(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 ListGateway ¶
func ListGrpcRoute ¶
func ListHttpFilter ¶
func ListHttpRoute ¶
func ListTcpRoute ¶
func ListTlsRoute ¶ added in v1.3.0
func MeshHasDiff ¶
func MeshHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func MeshToUnstructured ¶
func MeshToUnstructured(r *dclService.Mesh) *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 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 (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 ¶
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) 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 (*Gateway) STV ¶
func (r *Gateway) STV() unstructured.ServiceTypeVersion
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) 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 (*GrpcRoute) STV ¶
func (r *GrpcRoute) STV() unstructured.ServiceTypeVersion
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 (r *HttpFilter) STV() unstructured.ServiceTypeVersion
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) 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 (*HttpRoute) STV ¶
func (r *HttpRoute) STV() unstructured.ServiceTypeVersion
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) 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 (*Mesh) STV ¶
func (r *Mesh) STV() unstructured.ServiceTypeVersion
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 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) 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 (*TcpRoute) STV ¶
func (r *TcpRoute) STV() unstructured.ServiceTypeVersion
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) 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 (*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 (r *TlsRoute) STV() unstructured.ServiceTypeVersion
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)