Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type DestinationDeletionReconciler
- type DestinationEventHandler
- type DestinationEventHandlerFuncs
- func (f *DestinationEventHandlerFuncs) CreateDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error
- func (f *DestinationEventHandlerFuncs) DeleteDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error
- func (f *DestinationEventHandlerFuncs) GenericDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error
- func (f *DestinationEventHandlerFuncs) UpdateDestination(objOld, objNew *discovery_mesh_gloo_solo_io_v1.Destination) error
- type DestinationEventWatcher
- type DestinationFinalizer
- type DestinationReconcileLoop
- type DestinationReconciler
- type DestinationReconcilerFuncs
- type MeshDeletionReconciler
- type MeshEventHandler
- type MeshEventHandlerFuncs
- func (f *MeshEventHandlerFuncs) CreateMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error
- func (f *MeshEventHandlerFuncs) DeleteMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error
- func (f *MeshEventHandlerFuncs) GenericMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error
- func (f *MeshEventHandlerFuncs) UpdateMesh(objOld, objNew *discovery_mesh_gloo_solo_io_v1.Mesh) error
- type MeshEventWatcher
- type MeshFinalizer
- type MeshReconcileLoop
- type MeshReconciler
- type MeshReconcilerFuncs
- type MulticlusterDestinationDeletionReconciler
- type MulticlusterDestinationReconcileLoop
- type MulticlusterDestinationReconciler
- type MulticlusterDestinationReconcilerFuncs
- type MulticlusterMeshDeletionReconciler
- type MulticlusterMeshReconcileLoop
- type MulticlusterMeshReconciler
- type MulticlusterMeshReconcilerFuncs
- type MulticlusterWorkloadDeletionReconciler
- type MulticlusterWorkloadReconcileLoop
- type MulticlusterWorkloadReconciler
- type MulticlusterWorkloadReconcilerFuncs
- type WorkloadDeletionReconciler
- type WorkloadEventHandler
- type WorkloadEventHandlerFuncs
- func (f *WorkloadEventHandlerFuncs) CreateWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error
- func (f *WorkloadEventHandlerFuncs) DeleteWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error
- func (f *WorkloadEventHandlerFuncs) GenericWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error
- func (f *WorkloadEventHandlerFuncs) UpdateWorkload(objOld, objNew *discovery_mesh_gloo_solo_io_v1.Workload) error
- type WorkloadEventWatcher
- type WorkloadFinalizer
- type WorkloadReconcileLoop
- type WorkloadReconciler
- type WorkloadReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestinationDeletionReconciler ¶
type DestinationDeletionReconciler interface {
ReconcileDestinationDeletion(req reconcile.Request) error
}
Reconcile deletion events for the Destination Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type DestinationEventHandler ¶
type DestinationEventHandler interface { CreateDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error UpdateDestination(old, new *discovery_mesh_gloo_solo_io_v1.Destination) error DeleteDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error GenericDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error }
Handle events for the Destination Resource DEPRECATED: Prefer reconciler pattern.
type DestinationEventHandlerFuncs ¶
type DestinationEventHandlerFuncs struct { OnCreate func(obj *discovery_mesh_gloo_solo_io_v1.Destination) error OnUpdate func(old, new *discovery_mesh_gloo_solo_io_v1.Destination) error OnDelete func(obj *discovery_mesh_gloo_solo_io_v1.Destination) error OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1.Destination) error }
func (*DestinationEventHandlerFuncs) CreateDestination ¶
func (f *DestinationEventHandlerFuncs) CreateDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error
func (*DestinationEventHandlerFuncs) DeleteDestination ¶
func (f *DestinationEventHandlerFuncs) DeleteDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error
func (*DestinationEventHandlerFuncs) GenericDestination ¶
func (f *DestinationEventHandlerFuncs) GenericDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error
func (*DestinationEventHandlerFuncs) UpdateDestination ¶
func (f *DestinationEventHandlerFuncs) UpdateDestination(objOld, objNew *discovery_mesh_gloo_solo_io_v1.Destination) error
type DestinationEventWatcher ¶
type DestinationEventWatcher interface {
AddEventHandler(ctx context.Context, h DestinationEventHandler, predicates ...predicate.Predicate) error
}
func NewDestinationEventWatcher ¶
func NewDestinationEventWatcher(name string, mgr manager.Manager) DestinationEventWatcher
type DestinationFinalizer ¶
type DestinationFinalizer interface { DestinationReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task DestinationFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) error }
Reconcile and finalize the Destination Resource implemented by the user
type DestinationReconcileLoop ¶
type DestinationReconcileLoop interface {
RunDestinationReconciler(ctx context.Context, rec DestinationReconciler, predicates ...predicate.Predicate) error
}
type DestinationReconciler ¶
type DestinationReconciler interface {
ReconcileDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) (reconcile.Result, error)
}
Reconcile Upsert events for the Destination Resource. implemented by the user
type DestinationReconcilerFuncs ¶
type DestinationReconcilerFuncs struct { OnReconcileDestination func(obj *discovery_mesh_gloo_solo_io_v1.Destination) (reconcile.Result, error) OnReconcileDestinationDeletion func(req reconcile.Request) error }
func (*DestinationReconcilerFuncs) ReconcileDestination ¶
func (f *DestinationReconcilerFuncs) ReconcileDestination(obj *discovery_mesh_gloo_solo_io_v1.Destination) (reconcile.Result, error)
func (*DestinationReconcilerFuncs) ReconcileDestinationDeletion ¶
func (f *DestinationReconcilerFuncs) ReconcileDestinationDeletion(req reconcile.Request) error
type MeshDeletionReconciler ¶
Reconcile deletion events for the Mesh Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MeshEventHandler ¶
type MeshEventHandler interface { CreateMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error UpdateMesh(old, new *discovery_mesh_gloo_solo_io_v1.Mesh) error DeleteMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error GenericMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error }
Handle events for the Mesh Resource DEPRECATED: Prefer reconciler pattern.
type MeshEventHandlerFuncs ¶
type MeshEventHandlerFuncs struct { OnCreate func(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error OnUpdate func(old, new *discovery_mesh_gloo_solo_io_v1.Mesh) error OnDelete func(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error }
func (*MeshEventHandlerFuncs) CreateMesh ¶
func (f *MeshEventHandlerFuncs) CreateMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error
func (*MeshEventHandlerFuncs) DeleteMesh ¶
func (f *MeshEventHandlerFuncs) DeleteMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error
func (*MeshEventHandlerFuncs) GenericMesh ¶
func (f *MeshEventHandlerFuncs) GenericMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error
func (*MeshEventHandlerFuncs) UpdateMesh ¶
func (f *MeshEventHandlerFuncs) UpdateMesh(objOld, objNew *discovery_mesh_gloo_solo_io_v1.Mesh) error
type MeshEventWatcher ¶
type MeshEventWatcher interface {
AddEventHandler(ctx context.Context, h MeshEventHandler, predicates ...predicate.Predicate) error
}
func NewMeshEventWatcher ¶
func NewMeshEventWatcher(name string, mgr manager.Manager) MeshEventWatcher
type MeshFinalizer ¶
type MeshFinalizer interface { MeshReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task MeshFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) error }
Reconcile and finalize the Mesh Resource implemented by the user
type MeshReconcileLoop ¶
type MeshReconcileLoop interface {
RunMeshReconciler(ctx context.Context, rec MeshReconciler, predicates ...predicate.Predicate) error
}
func NewMeshReconcileLoop ¶
type MeshReconciler ¶
type MeshReconciler interface {
ReconcileMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) (reconcile.Result, error)
}
Reconcile Upsert events for the Mesh Resource. implemented by the user
type MeshReconcilerFuncs ¶
type MeshReconcilerFuncs struct { OnReconcileMesh func(obj *discovery_mesh_gloo_solo_io_v1.Mesh) (reconcile.Result, error) OnReconcileMeshDeletion func(req reconcile.Request) error }
func (*MeshReconcilerFuncs) ReconcileMesh ¶
func (f *MeshReconcilerFuncs) ReconcileMesh(obj *discovery_mesh_gloo_solo_io_v1.Mesh) (reconcile.Result, error)
func (*MeshReconcilerFuncs) ReconcileMeshDeletion ¶
func (f *MeshReconcilerFuncs) ReconcileMeshDeletion(req reconcile.Request) error
type MulticlusterDestinationDeletionReconciler ¶
type MulticlusterDestinationDeletionReconciler interface {
ReconcileDestinationDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Destination Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterDestinationReconcileLoop ¶
type MulticlusterDestinationReconcileLoop interface { // AddMulticlusterDestinationReconciler adds a MulticlusterDestinationReconciler to the MulticlusterDestinationReconcileLoop. AddMulticlusterDestinationReconciler(ctx context.Context, rec MulticlusterDestinationReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterDestinationReconcileLoop ¶
func NewMulticlusterDestinationReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterDestinationReconcileLoop
type MulticlusterDestinationReconciler ¶
type MulticlusterDestinationReconciler interface {
ReconcileDestination(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Destination) (reconcile.Result, error)
}
Reconcile Upsert events for the Destination Resource across clusters. implemented by the user
type MulticlusterDestinationReconcilerFuncs ¶
type MulticlusterDestinationReconcilerFuncs struct { OnReconcileDestination func(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Destination) (reconcile.Result, error) OnReconcileDestinationDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterDestinationReconcilerFuncs) ReconcileDestination ¶
func (f *MulticlusterDestinationReconcilerFuncs) ReconcileDestination(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Destination) (reconcile.Result, error)
func (*MulticlusterDestinationReconcilerFuncs) ReconcileDestinationDeletion ¶
func (f *MulticlusterDestinationReconcilerFuncs) ReconcileDestinationDeletion(clusterName string, req reconcile.Request) error
type MulticlusterMeshDeletionReconciler ¶
type MulticlusterMeshDeletionReconciler interface {
ReconcileMeshDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Mesh Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterMeshReconcileLoop ¶
type MulticlusterMeshReconcileLoop interface { // AddMulticlusterMeshReconciler adds a MulticlusterMeshReconciler to the MulticlusterMeshReconcileLoop. AddMulticlusterMeshReconciler(ctx context.Context, rec MulticlusterMeshReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterMeshReconcileLoop ¶
func NewMulticlusterMeshReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterMeshReconcileLoop
type MulticlusterMeshReconciler ¶
type MulticlusterMeshReconciler interface {
ReconcileMesh(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Mesh) (reconcile.Result, error)
}
Reconcile Upsert events for the Mesh Resource across clusters. implemented by the user
type MulticlusterMeshReconcilerFuncs ¶
type MulticlusterMeshReconcilerFuncs struct { OnReconcileMesh func(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Mesh) (reconcile.Result, error) OnReconcileMeshDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterMeshReconcilerFuncs) ReconcileMesh ¶
func (f *MulticlusterMeshReconcilerFuncs) ReconcileMesh(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Mesh) (reconcile.Result, error)
func (*MulticlusterMeshReconcilerFuncs) ReconcileMeshDeletion ¶
func (f *MulticlusterMeshReconcilerFuncs) ReconcileMeshDeletion(clusterName string, req reconcile.Request) error
type MulticlusterWorkloadDeletionReconciler ¶
type MulticlusterWorkloadDeletionReconciler interface {
ReconcileWorkloadDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Workload Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterWorkloadReconcileLoop ¶
type MulticlusterWorkloadReconcileLoop interface { // AddMulticlusterWorkloadReconciler adds a MulticlusterWorkloadReconciler to the MulticlusterWorkloadReconcileLoop. AddMulticlusterWorkloadReconciler(ctx context.Context, rec MulticlusterWorkloadReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterWorkloadReconcileLoop ¶
func NewMulticlusterWorkloadReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterWorkloadReconcileLoop
type MulticlusterWorkloadReconciler ¶
type MulticlusterWorkloadReconciler interface {
ReconcileWorkload(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Workload) (reconcile.Result, error)
}
Reconcile Upsert events for the Workload Resource across clusters. implemented by the user
type MulticlusterWorkloadReconcilerFuncs ¶
type MulticlusterWorkloadReconcilerFuncs struct { OnReconcileWorkload func(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Workload) (reconcile.Result, error) OnReconcileWorkloadDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterWorkloadReconcilerFuncs) ReconcileWorkload ¶
func (f *MulticlusterWorkloadReconcilerFuncs) ReconcileWorkload(clusterName string, obj *discovery_mesh_gloo_solo_io_v1.Workload) (reconcile.Result, error)
func (*MulticlusterWorkloadReconcilerFuncs) ReconcileWorkloadDeletion ¶
func (f *MulticlusterWorkloadReconcilerFuncs) ReconcileWorkloadDeletion(clusterName string, req reconcile.Request) error
type WorkloadDeletionReconciler ¶
type WorkloadDeletionReconciler interface {
ReconcileWorkloadDeletion(req reconcile.Request) error
}
Reconcile deletion events for the Workload Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type WorkloadEventHandler ¶
type WorkloadEventHandler interface { CreateWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error UpdateWorkload(old, new *discovery_mesh_gloo_solo_io_v1.Workload) error DeleteWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error GenericWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error }
Handle events for the Workload Resource DEPRECATED: Prefer reconciler pattern.
type WorkloadEventHandlerFuncs ¶
type WorkloadEventHandlerFuncs struct { OnCreate func(obj *discovery_mesh_gloo_solo_io_v1.Workload) error OnUpdate func(old, new *discovery_mesh_gloo_solo_io_v1.Workload) error OnDelete func(obj *discovery_mesh_gloo_solo_io_v1.Workload) error OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1.Workload) error }
func (*WorkloadEventHandlerFuncs) CreateWorkload ¶
func (f *WorkloadEventHandlerFuncs) CreateWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error
func (*WorkloadEventHandlerFuncs) DeleteWorkload ¶
func (f *WorkloadEventHandlerFuncs) DeleteWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error
func (*WorkloadEventHandlerFuncs) GenericWorkload ¶
func (f *WorkloadEventHandlerFuncs) GenericWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error
func (*WorkloadEventHandlerFuncs) UpdateWorkload ¶
func (f *WorkloadEventHandlerFuncs) UpdateWorkload(objOld, objNew *discovery_mesh_gloo_solo_io_v1.Workload) error
type WorkloadEventWatcher ¶
type WorkloadEventWatcher interface {
AddEventHandler(ctx context.Context, h WorkloadEventHandler, predicates ...predicate.Predicate) error
}
func NewWorkloadEventWatcher ¶
func NewWorkloadEventWatcher(name string, mgr manager.Manager) WorkloadEventWatcher
type WorkloadFinalizer ¶
type WorkloadFinalizer interface { WorkloadReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task WorkloadFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) error }
Reconcile and finalize the Workload Resource implemented by the user
type WorkloadReconcileLoop ¶
type WorkloadReconcileLoop interface {
RunWorkloadReconciler(ctx context.Context, rec WorkloadReconciler, predicates ...predicate.Predicate) error
}
type WorkloadReconciler ¶
type WorkloadReconciler interface {
ReconcileWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) (reconcile.Result, error)
}
Reconcile Upsert events for the Workload Resource. implemented by the user
type WorkloadReconcilerFuncs ¶
type WorkloadReconcilerFuncs struct { OnReconcileWorkload func(obj *discovery_mesh_gloo_solo_io_v1.Workload) (reconcile.Result, error) OnReconcileWorkloadDeletion func(req reconcile.Request) error }
func (*WorkloadReconcilerFuncs) ReconcileWorkload ¶
func (f *WorkloadReconcilerFuncs) ReconcileWorkload(obj *discovery_mesh_gloo_solo_io_v1.Workload) (reconcile.Result, error)
func (*WorkloadReconcilerFuncs) ReconcileWorkloadDeletion ¶
func (f *WorkloadReconcilerFuncs) ReconcileWorkloadDeletion(req reconcile.Request) error