Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type MeshDeletionReconciler
- type MeshEventHandler
- type MeshEventHandlerFuncs
- func (f *MeshEventHandlerFuncs) CreateMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
- func (f *MeshEventHandlerFuncs) DeleteMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
- func (f *MeshEventHandlerFuncs) GenericMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
- func (f *MeshEventHandlerFuncs) UpdateMesh(objOld, objNew *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
- type MeshEventWatcher
- type MeshFinalizer
- type MeshReconcileLoop
- type MeshReconciler
- type MeshReconcilerFuncs
- type MulticlusterMeshDeletionReconciler
- type MulticlusterMeshReconcileLoop
- type MulticlusterMeshReconciler
- type MulticlusterMeshReconcilerFuncs
- type MulticlusterTrafficTargetDeletionReconciler
- type MulticlusterTrafficTargetReconcileLoop
- type MulticlusterTrafficTargetReconciler
- type MulticlusterTrafficTargetReconcilerFuncs
- func (f *MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTarget(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
- func (f *MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion(clusterName string, req reconcile.Request) error
- type MulticlusterWorkloadDeletionReconciler
- type MulticlusterWorkloadReconcileLoop
- type MulticlusterWorkloadReconciler
- type MulticlusterWorkloadReconcilerFuncs
- type TrafficTargetDeletionReconciler
- type TrafficTargetEventHandler
- type TrafficTargetEventHandlerFuncs
- func (f *TrafficTargetEventHandlerFuncs) CreateTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
- func (f *TrafficTargetEventHandlerFuncs) DeleteTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
- func (f *TrafficTargetEventHandlerFuncs) GenericTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
- func (f *TrafficTargetEventHandlerFuncs) UpdateTrafficTarget(objOld, objNew *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
- type TrafficTargetEventWatcher
- type TrafficTargetFinalizer
- type TrafficTargetReconcileLoop
- type TrafficTargetReconciler
- type TrafficTargetReconcilerFuncs
- type WorkloadDeletionReconciler
- type WorkloadEventHandler
- type WorkloadEventHandlerFuncs
- func (f *WorkloadEventHandlerFuncs) CreateWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
- func (f *WorkloadEventHandlerFuncs) DeleteWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
- func (f *WorkloadEventHandlerFuncs) GenericWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
- func (f *WorkloadEventHandlerFuncs) UpdateWorkload(objOld, objNew *discovery_mesh_gloo_solo_io_v1alpha2.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 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_v1alpha2.Mesh) error UpdateMesh(old, new *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error DeleteMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error GenericMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.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_v1alpha2.Mesh) error OnUpdate func(old, new *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error OnDelete func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error }
func (*MeshEventHandlerFuncs) CreateMesh ¶
func (f *MeshEventHandlerFuncs) CreateMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
func (*MeshEventHandlerFuncs) DeleteMesh ¶
func (f *MeshEventHandlerFuncs) DeleteMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
func (*MeshEventHandlerFuncs) GenericMesh ¶
func (f *MeshEventHandlerFuncs) GenericMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
func (*MeshEventHandlerFuncs) UpdateMesh ¶
func (f *MeshEventHandlerFuncs) UpdateMesh(objOld, objNew *discovery_mesh_gloo_solo_io_v1alpha2.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_v1alpha2.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_v1alpha2.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_v1alpha2.Mesh) (reconcile.Result, error) OnReconcileMeshDeletion func(req reconcile.Request) error }
func (*MeshReconcilerFuncs) ReconcileMesh ¶
func (f *MeshReconcilerFuncs) ReconcileMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) (reconcile.Result, error)
func (*MeshReconcilerFuncs) ReconcileMeshDeletion ¶
func (f *MeshReconcilerFuncs) ReconcileMeshDeletion(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_v1alpha2.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_v1alpha2.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_v1alpha2.Mesh) (reconcile.Result, error)
func (*MulticlusterMeshReconcilerFuncs) ReconcileMeshDeletion ¶
func (f *MulticlusterMeshReconcilerFuncs) ReconcileMeshDeletion(clusterName string, req reconcile.Request) error
type MulticlusterTrafficTargetDeletionReconciler ¶
type MulticlusterTrafficTargetDeletionReconciler interface {
ReconcileTrafficTargetDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the TrafficTarget 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 MulticlusterTrafficTargetReconcileLoop ¶
type MulticlusterTrafficTargetReconcileLoop interface { // AddMulticlusterTrafficTargetReconciler adds a MulticlusterTrafficTargetReconciler to the MulticlusterTrafficTargetReconcileLoop. AddMulticlusterTrafficTargetReconciler(ctx context.Context, rec MulticlusterTrafficTargetReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterTrafficTargetReconcileLoop ¶
func NewMulticlusterTrafficTargetReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterTrafficTargetReconcileLoop
type MulticlusterTrafficTargetReconciler ¶
type MulticlusterTrafficTargetReconciler interface {
ReconcileTrafficTarget(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
}
Reconcile Upsert events for the TrafficTarget Resource across clusters. implemented by the user
type MulticlusterTrafficTargetReconcilerFuncs ¶
type MulticlusterTrafficTargetReconcilerFuncs struct { OnReconcileTrafficTarget func(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error) OnReconcileTrafficTargetDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTarget ¶
func (f *MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTarget(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
func (*MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion ¶
func (f *MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion(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_v1alpha2.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_v1alpha2.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_v1alpha2.Workload) (reconcile.Result, error)
func (*MulticlusterWorkloadReconcilerFuncs) ReconcileWorkloadDeletion ¶
func (f *MulticlusterWorkloadReconcilerFuncs) ReconcileWorkloadDeletion(clusterName string, req reconcile.Request) error
type TrafficTargetDeletionReconciler ¶
type TrafficTargetDeletionReconciler interface {
ReconcileTrafficTargetDeletion(req reconcile.Request) error
}
Reconcile deletion events for the TrafficTarget Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type TrafficTargetEventHandler ¶
type TrafficTargetEventHandler interface { CreateTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error UpdateTrafficTarget(old, new *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error DeleteTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error GenericTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error }
Handle events for the TrafficTarget Resource DEPRECATED: Prefer reconciler pattern.
type TrafficTargetEventHandlerFuncs ¶
type TrafficTargetEventHandlerFuncs struct { OnCreate func(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error OnUpdate func(old, new *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error OnDelete func(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error }
func (*TrafficTargetEventHandlerFuncs) CreateTrafficTarget ¶
func (f *TrafficTargetEventHandlerFuncs) CreateTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
func (*TrafficTargetEventHandlerFuncs) DeleteTrafficTarget ¶
func (f *TrafficTargetEventHandlerFuncs) DeleteTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
func (*TrafficTargetEventHandlerFuncs) GenericTrafficTarget ¶
func (f *TrafficTargetEventHandlerFuncs) GenericTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
func (*TrafficTargetEventHandlerFuncs) UpdateTrafficTarget ¶
func (f *TrafficTargetEventHandlerFuncs) UpdateTrafficTarget(objOld, objNew *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
type TrafficTargetEventWatcher ¶
type TrafficTargetEventWatcher interface {
AddEventHandler(ctx context.Context, h TrafficTargetEventHandler, predicates ...predicate.Predicate) error
}
func NewTrafficTargetEventWatcher ¶
func NewTrafficTargetEventWatcher(name string, mgr manager.Manager) TrafficTargetEventWatcher
type TrafficTargetFinalizer ¶
type TrafficTargetFinalizer interface { TrafficTargetReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task TrafficTargetFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error }
Reconcile and finalize the TrafficTarget Resource implemented by the user
type TrafficTargetReconcileLoop ¶
type TrafficTargetReconcileLoop interface {
RunTrafficTargetReconciler(ctx context.Context, rec TrafficTargetReconciler, predicates ...predicate.Predicate) error
}
type TrafficTargetReconciler ¶
type TrafficTargetReconciler interface {
ReconcileTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
}
Reconcile Upsert events for the TrafficTarget Resource. implemented by the user
type TrafficTargetReconcilerFuncs ¶
type TrafficTargetReconcilerFuncs struct { OnReconcileTrafficTarget func(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error) OnReconcileTrafficTargetDeletion func(req reconcile.Request) error }
func (*TrafficTargetReconcilerFuncs) ReconcileTrafficTarget ¶
func (f *TrafficTargetReconcilerFuncs) ReconcileTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
func (*TrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion ¶
func (f *TrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion(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_v1alpha2.Workload) error UpdateWorkload(old, new *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error DeleteWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error GenericWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.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_v1alpha2.Workload) error OnUpdate func(old, new *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error OnDelete func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error }
func (*WorkloadEventHandlerFuncs) CreateWorkload ¶
func (f *WorkloadEventHandlerFuncs) CreateWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
func (*WorkloadEventHandlerFuncs) DeleteWorkload ¶
func (f *WorkloadEventHandlerFuncs) DeleteWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
func (*WorkloadEventHandlerFuncs) GenericWorkload ¶
func (f *WorkloadEventHandlerFuncs) GenericWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
func (*WorkloadEventHandlerFuncs) UpdateWorkload ¶
func (f *WorkloadEventHandlerFuncs) UpdateWorkload(objOld, objNew *discovery_mesh_gloo_solo_io_v1alpha2.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_v1alpha2.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_v1alpha2.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_v1alpha2.Workload) (reconcile.Result, error) OnReconcileWorkloadDeletion func(req reconcile.Request) error }
func (*WorkloadReconcilerFuncs) ReconcileWorkload ¶
func (f *WorkloadReconcilerFuncs) ReconcileWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) (reconcile.Result, error)
func (*WorkloadReconcilerFuncs) ReconcileWorkloadDeletion ¶
func (f *WorkloadReconcilerFuncs) ReconcileWorkloadDeletion(req reconcile.Request) error