Documentation ¶
Overview ¶
Copyright 2023 KhulnaSoft, 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 ¶
func ErrCreateBroker ¶
func ErrCreateMeshsync ¶
func ErrDeleteBroker ¶
func ErrDeleteMeshsync ¶
func ErrGetBroker ¶
func ErrGetEndpoint ¶
func ErrMarshal ¶
func ErrReconcileBroker ¶
func ErrReconcileCR ¶
func ErrReconcileMeshsync ¶
func ErrUpdateResource ¶
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 ¶
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 ¶
func (r *MeshSyncReconciler) Cleanup() error
func (*MeshSyncReconciler) Reconcile ¶
+kubebuilder:rbac:groups=meshplay.khulnasoft.com,resources=meshsyncs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=meshplay.khulnasoft.com,resources=meshsyncs/status,verbs=get;update;patch
func (*MeshSyncReconciler) SetupWithManager ¶
func (r *MeshSyncReconciler) SetupWithManager(mgr ctrl.Manager) error