Documentation
¶
Overview ¶
Package controllers define k8s operator controllers
Index ¶
- Constants
- func AddControllerBuilderOwn(b *builder.Builder, gv string) *builder.Builder
- func ConvertHPAV2ToV2beta2(hpa *autov2.HorizontalPodAutoscaler) *autoscalingv2beta2.HorizontalPodAutoscaler
- type FunctionMeshReconciler
- func (r *FunctionMeshReconciler) CreateOrUpdateFunction(ctx context.Context, function *v1alpha1.Function, ...) error
- func (r *FunctionMeshReconciler) CreateOrUpdateSink(ctx context.Context, sink *v1alpha1.Sink, sinkSpec v1alpha1.SinkSpec) error
- func (r *FunctionMeshReconciler) CreateOrUpdateSource(ctx context.Context, source *v1alpha1.Source, sourceSpec v1alpha1.SourceSpec) error
- func (r *FunctionMeshReconciler) ObserveFunctionMesh(ctx context.Context, req ctrl.Request, mesh *v1alpha1.FunctionMesh) error
- func (r *FunctionMeshReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *FunctionMeshReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *FunctionMeshReconciler) UpdateFunctionMesh(ctx context.Context, req ctrl.Request, mesh *v1alpha1.FunctionMesh, ...) error
- type FunctionReconciler
- func (r *FunctionReconciler) ApplyFunctionCleanUpJob(ctx context.Context, function *v1alpha1.Function) error
- func (r *FunctionReconciler) ApplyFunctionHPA(ctx context.Context, function *v1alpha1.Function, newGeneration bool) error
- func (r *FunctionReconciler) ApplyFunctionHPAV2Beta2(ctx context.Context, function *v1alpha1.Function, newGeneration bool) error
- func (r *FunctionReconciler) ApplyFunctionService(ctx context.Context, function *v1alpha1.Function, newGeneration bool) error
- func (r *FunctionReconciler) ApplyFunctionStatefulSet(ctx context.Context, function *v1alpha1.Function, newGeneration bool) error
- func (r *FunctionReconciler) ApplyFunctionVPA(ctx context.Context, function *v1alpha1.Function) error
- func (r *FunctionReconciler) ObserveFunctionHPA(ctx context.Context, function *v1alpha1.Function) error
- func (r *FunctionReconciler) ObserveFunctionHPAV2Beta2(ctx context.Context, function *v1alpha1.Function) error
- func (r *FunctionReconciler) ObserveFunctionService(ctx context.Context, function *v1alpha1.Function) error
- func (r *FunctionReconciler) ObserveFunctionStatefulSet(ctx context.Context, function *v1alpha1.Function) error
- func (r *FunctionReconciler) ObserveFunctionVPA(ctx context.Context, function *v1alpha1.Function) error
- func (r *FunctionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *FunctionReconciler) SetupWithManager(mgr ctrl.Manager) error
- type SinkReconciler
- func (r *SinkReconciler) ApplySinkCleanUpJob(ctx context.Context, sink *v1alpha1.Sink) error
- func (r *SinkReconciler) ApplySinkHPA(ctx context.Context, sink *v1alpha1.Sink, newGeneration bool) error
- func (r *SinkReconciler) ApplySinkHPAV2Beta2(ctx context.Context, sink *v1alpha1.Sink, newGeneration bool) error
- func (r *SinkReconciler) ApplySinkService(ctx context.Context, sink *v1alpha1.Sink, newGeneration bool) error
- func (r *SinkReconciler) ApplySinkStatefulSet(ctx context.Context, sink *v1alpha1.Sink, newGeneration bool) error
- func (r *SinkReconciler) ApplySinkVPA(ctx context.Context, sink *v1alpha1.Sink) error
- func (r *SinkReconciler) ObserveSinkHPA(ctx context.Context, sink *v1alpha1.Sink) error
- func (r *SinkReconciler) ObserveSinkHPAV2Beta2(ctx context.Context, sink *v1alpha1.Sink) error
- func (r *SinkReconciler) ObserveSinkService(ctx context.Context, sink *v1alpha1.Sink) error
- func (r *SinkReconciler) ObserveSinkStatefulSet(ctx context.Context, sink *v1alpha1.Sink) error
- func (r *SinkReconciler) ObserveSinkVPA(ctx context.Context, sink *v1alpha1.Sink) error
- func (r *SinkReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *SinkReconciler) SetupWithManager(mgr ctrl.Manager) error
- type SourceReconciler
- func (r *SourceReconciler) ApplySourceCleanUpJob(ctx context.Context, source *v1alpha1.Source) error
- func (r *SourceReconciler) ApplySourceHPA(ctx context.Context, source *v1alpha1.Source, newGeneration bool) error
- func (r *SourceReconciler) ApplySourceHPAV2Beta2(ctx context.Context, source *v1alpha1.Source, newGeneration bool) error
- func (r *SourceReconciler) ApplySourceService(ctx context.Context, source *v1alpha1.Source, newGeneration bool) error
- func (r *SourceReconciler) ApplySourceStatefulSet(ctx context.Context, source *v1alpha1.Source, newGeneration bool) error
- func (r *SourceReconciler) ApplySourceVPA(ctx context.Context, source *v1alpha1.Source) error
- func (r *SourceReconciler) ObserveSourceHPA(ctx context.Context, source *v1alpha1.Source) error
- func (r *SourceReconciler) ObserveSourceHPAV2Beta2(ctx context.Context, source *v1alpha1.Source) error
- func (r *SourceReconciler) ObserveSourceService(ctx context.Context, source *v1alpha1.Source) error
- func (r *SourceReconciler) ObserveSourceStatefulSet(ctx context.Context, source *v1alpha1.Source) error
- func (r *SourceReconciler) ObserveSourceVPA(ctx context.Context, source *v1alpha1.Source) error
- func (r *SourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *SourceReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const (
CleanUpFinalizerName = "cleanup.subscription.finalizer"
)
Variables ¶
This section is empty.
Functions ¶
func AddControllerBuilderOwn ¶ added in v0.15.0
func ConvertHPAV2ToV2beta2 ¶ added in v0.15.0
func ConvertHPAV2ToV2beta2(hpa *autov2.HorizontalPodAutoscaler) *autoscalingv2beta2.HorizontalPodAutoscaler
Types ¶
type FunctionMeshReconciler ¶
FunctionMeshReconciler reconciles a FunctionMesh object
func (*FunctionMeshReconciler) CreateOrUpdateFunction ¶ added in v0.4.0
func (r *FunctionMeshReconciler) CreateOrUpdateFunction(ctx context.Context, function *v1alpha1.Function, functionSpec v1alpha1.FunctionSpec) error
func (*FunctionMeshReconciler) CreateOrUpdateSink ¶ added in v0.4.0
func (*FunctionMeshReconciler) CreateOrUpdateSource ¶ added in v0.4.0
func (r *FunctionMeshReconciler) CreateOrUpdateSource(ctx context.Context, source *v1alpha1.Source, sourceSpec v1alpha1.SourceSpec) error
func (*FunctionMeshReconciler) ObserveFunctionMesh ¶
func (r *FunctionMeshReconciler) ObserveFunctionMesh(ctx context.Context, req ctrl.Request, mesh *v1alpha1.FunctionMesh) error
func (*FunctionMeshReconciler) SetupWithManager ¶
func (r *FunctionMeshReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*FunctionMeshReconciler) UpdateFunctionMesh ¶
func (r *FunctionMeshReconciler) UpdateFunctionMesh(ctx context.Context, req ctrl.Request, mesh *v1alpha1.FunctionMesh, newGeneration bool) error
type FunctionReconciler ¶
type FunctionReconciler struct { client.Client Config *rest.Config RestClient rest.Interface Log logr.Logger Scheme *runtime.Scheme GroupVersionFlags *utils.GroupVersionFlags }
FunctionReconciler reconciles a Function object
func (*FunctionReconciler) ApplyFunctionCleanUpJob ¶ added in v0.14.0
func (*FunctionReconciler) ApplyFunctionHPA ¶
func (*FunctionReconciler) ApplyFunctionHPAV2Beta2 ¶ added in v0.15.0
func (*FunctionReconciler) ApplyFunctionService ¶
func (*FunctionReconciler) ApplyFunctionStatefulSet ¶
func (*FunctionReconciler) ApplyFunctionVPA ¶ added in v0.8.0
func (*FunctionReconciler) ObserveFunctionHPA ¶
func (*FunctionReconciler) ObserveFunctionHPAV2Beta2 ¶ added in v0.15.0
func (*FunctionReconciler) ObserveFunctionService ¶
func (*FunctionReconciler) ObserveFunctionStatefulSet ¶
func (*FunctionReconciler) ObserveFunctionVPA ¶ added in v0.8.0
func (*FunctionReconciler) SetupWithManager ¶
func (r *FunctionReconciler) SetupWithManager(mgr ctrl.Manager) error
type SinkReconciler ¶
type SinkReconciler struct { client.Client Config *rest.Config RestClient rest.Interface Log logr.Logger Scheme *runtime.Scheme GroupVersionFlags *utils.GroupVersionFlags }
SinkReconciler reconciles a Topic object
func (*SinkReconciler) ApplySinkCleanUpJob ¶ added in v0.14.0
func (*SinkReconciler) ApplySinkHPA ¶
func (*SinkReconciler) ApplySinkHPAV2Beta2 ¶ added in v0.15.0
func (*SinkReconciler) ApplySinkService ¶
func (*SinkReconciler) ApplySinkStatefulSet ¶
func (*SinkReconciler) ApplySinkVPA ¶ added in v0.8.0
func (*SinkReconciler) ObserveSinkHPA ¶
func (*SinkReconciler) ObserveSinkHPAV2Beta2 ¶ added in v0.15.0
func (*SinkReconciler) ObserveSinkService ¶
func (*SinkReconciler) ObserveSinkStatefulSet ¶
func (*SinkReconciler) ObserveSinkVPA ¶ added in v0.8.0
func (*SinkReconciler) SetupWithManager ¶
func (r *SinkReconciler) SetupWithManager(mgr ctrl.Manager) error
type SourceReconciler ¶
type SourceReconciler struct { client.Client Config *rest.Config RestClient rest.Interface Log logr.Logger Scheme *runtime.Scheme GroupVersionFlags *utils.GroupVersionFlags }
SourceReconciler reconciles a Source object
func (*SourceReconciler) ApplySourceCleanUpJob ¶ added in v0.14.0
func (*SourceReconciler) ApplySourceHPA ¶
func (*SourceReconciler) ApplySourceHPAV2Beta2 ¶ added in v0.15.0
func (*SourceReconciler) ApplySourceService ¶
func (*SourceReconciler) ApplySourceStatefulSet ¶
func (*SourceReconciler) ApplySourceVPA ¶ added in v0.8.0
func (*SourceReconciler) ObserveSourceHPA ¶
func (*SourceReconciler) ObserveSourceHPAV2Beta2 ¶ added in v0.15.0
func (*SourceReconciler) ObserveSourceService ¶
func (*SourceReconciler) ObserveSourceStatefulSet ¶
func (*SourceReconciler) ObserveSourceVPA ¶ added in v0.8.0
func (*SourceReconciler) SetupWithManager ¶
func (r *SourceReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.