Documentation ¶
Overview ¶
Copyright 2023 Layer5, Inc.
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
- func ErrCheckHealth(err error) error
- func ErrCreateBroker(err error) error
- func ErrCreateMeshsync(err error) error
- func ErrDeleteBroker(err error) error
- func ErrDeleteMeshsync(err error) error
- func ErrGetBroker(err error) error
- func ErrGetEndpoint(err error) error
- func ErrGetMeshsync(err error) error
- func ErrMarshal(err error) error
- func ErrReconcileBroker(err error) error
- func ErrReconcileCR(err error) error
- func ErrReconcileMeshsync(err error) error
- func ErrUpdateResource(err error) error
- type BrokerReconciler
- type MeshSyncReconciler
Constants ¶
const ( ErrGetMeshsyncCode = "1001" ErrCreateMeshsyncCode = "1002" ErrReconcileMeshsyncCode = "1003" ErrGetBrokerCode = "1004" ErrCreateBrokerCode = "1005" ErrReconcileBrokerCode = "1006" ErrReconcileCRCode = "1007" ErrDeleteMeshsyncCode = "1008" ErrDeleteBrokerCode = "1009" ErrCheckHealthCode = "1010" ErrGetEndpointCode = "1011" ErrUpdateResourceCode = "1012" ErrMarshalCode = "11049" )
Error codes @Aisuko Is there any way to make this more flexible?
Variables ¶
This section is empty.
Functions ¶
func ErrCheckHealth ¶ added in v0.2.1
func ErrCreateBroker ¶ added in v0.2.1
func ErrCreateMeshsync ¶
func ErrDeleteBroker ¶ added in v0.2.1
func ErrDeleteMeshsync ¶ added in v0.2.1
func ErrGetBroker ¶ added in v0.2.1
func ErrGetEndpoint ¶ added in v0.2.1
func ErrMarshal ¶ added in v0.6.14
func ErrReconcileBroker ¶ added in v0.2.1
func ErrReconcileCR ¶ added in v0.2.1
func ErrReconcileMeshsync ¶ added in v0.2.1
func ErrUpdateResource ¶ added in v0.2.4
Types ¶
type BrokerReconciler ¶
type BrokerReconciler struct { client.Client KubeConfig *rest.Config Clientset *kubernetes.Clientset Log logr.Logger Scheme *runtime.Scheme }
BrokerReconciler reconciles a Broker object
func (*BrokerReconciler) Cleanup ¶ added in v0.2.19
func (r *BrokerReconciler) Cleanup() error
func (*BrokerReconciler) SetupWithManager ¶
func (r *BrokerReconciler) SetupWithManager(mgr ctrl.Manager) error
type MeshSyncReconciler ¶
type MeshSyncReconciler struct { client.Client KubeConfig *rest.Config Clientset *kubernetes.Clientset Log logr.Logger Scheme *runtime.Scheme }
MeshSyncReconciler reconciles a MeshSync object
func (*MeshSyncReconciler) Cleanup ¶ added in v0.2.19
func (r *MeshSyncReconciler) Cleanup() error
func (*MeshSyncReconciler) Reconcile ¶
+kubebuilder:rbac:groups=meshery.layer5.io,resources=meshsyncs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=meshery.layer5.io,resources=meshsyncs/status,verbs=get;update;patch
func (*MeshSyncReconciler) SetupWithManager ¶
func (r *MeshSyncReconciler) SetupWithManager(mgr ctrl.Manager) error