operator

package
v0.0.0-...-52772bf Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func SetupFeatureWebhook

func SetupFeatureWebhook(mgr ctrl.Manager, updatesAllowed bool)

Types

type DataConnectorReconciler

type DataConnectorReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	CoreAddr string
}

DataConnectorReconciler reconciles a DataConnector object

func (*DataConnectorReconciler) Reconcile

func (r *DataConnectorReconciler) 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 (*DataConnectorReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Controller Manager.

type FeatureReconciler

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

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 FeatureSetReconciler

type FeatureSetReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

FeatureSetReconciler reconciles a Feature object

func (*FeatureSetReconciler) Reconcile

func (r *FeatureSetReconciler) 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 (*FeatureSetReconciler) SetupWithManager

func (r *FeatureSetReconciler) 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