operator

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const FeatureWebhookMutateName = "raptor-mutating-webhook-configuration"
View Source
const FeatureWebhookMutatePath = "/mutate-k8s-raptor-ml-v1alpha1-feature"
View Source
const FeatureWebhookValidateName = "raptor-validating-webhook-configuration"
View Source
const FeatureWebhookValidatePath = "/validate-k8s-raptor-ml-v1alpha1-feature"

Variables

This section is empty.

Functions

func SetupFeatureWebhook

func SetupFeatureWebhook(mgr ctrl.Manager, updatesAllowed bool, rm api.RuntimeManager)

Types

type DataSourceReconciler

type DataSourceReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	CoreAddr       string
	RuntimeManager api.RuntimeManager
	EventRecorder  record.EventRecorder
}

DataSourceReconciler reconciles a DataSource object

func (*DataSourceReconciler) Reconcile

func (r *DataSourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile

func (*DataSourceReconciler) SetupWithManager

func (r *DataSourceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Controller Manager.

type FeatureReconciler

type FeatureReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	RuntimeManager api.RuntimeManager
}

FeatureReconciler reconciles a Feature object

func (*FeatureReconciler) Reconcile

func (r *FeatureReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile

func (*FeatureReconciler) SetupWithManager

func (r *FeatureReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Controller Manager.

type ModelReconciler

type ModelReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	EventRecorder record.EventRecorder
}

ModelReconciler reconciles a Feature object

func (*ModelReconciler) Reconcile

func (r *ModelReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile

func (*ModelReconciler) SetupWithManager

func (r *ModelReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Controller Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL