controllers

package
v0.0.0-...-cf3231e Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChytReconciler

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

ChytReconciler reconciles a Chyt object

func (*ChytReconciler) Reconcile

func (r *ChytReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the Chyt object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

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

func (*ChytReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*ChytReconciler) Sync

func (r *ChytReconciler) Sync(ctx context.Context, resource *ytv1.Chyt, ytsaurus *ytv1.Ytsaurus) (ctrl.Result, error)

type ComponentManager

type ComponentManager struct {
	// contains filtered or unexported fields
}

func NewComponentManager

func NewComponentManager(
	ctx context.Context,
	ytsaurus *apiProxy.Ytsaurus,
) (*ComponentManager, error)

func (*ComponentManager) Sync

func (cm *ComponentManager) Sync(ctx context.Context) (ctrl.Result, error)

type ComponentManagerStatus

type ComponentManagerStatus struct {
	// contains filtered or unexported fields
}

type RemoteDataNodesReconciler

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

RemoteDataNodesReconciler reconciles a RemoteDataNodes object

func (*RemoteDataNodesReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RemoteDataNodes object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

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

func (*RemoteDataNodesReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*RemoteDataNodesReconciler) Sync

func (r *RemoteDataNodesReconciler) Sync(
	ctx context.Context,
	resource *ytv1.RemoteDataNodes,
	remoteYtsaurus *ytv1.RemoteYtsaurus,
) (ctrl.Result, error)

type RemoteExecNodesReconciler

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

RemoteExecNodesReconciler reconciles a RemoteExecNodes object

func (*RemoteExecNodesReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RemoteExecNodes object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

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

func (*RemoteExecNodesReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*RemoteExecNodesReconciler) Sync

func (r *RemoteExecNodesReconciler) Sync(
	ctx context.Context,
	resource *ytv1.RemoteExecNodes,
	remoteYtsaurus *ytv1.RemoteYtsaurus,
) (ctrl.Result, error)

type RemoteTabletNodesReconciler

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

RemoteTabletNodesReconciler reconciles a RemoteTabletNodes object

func (*RemoteTabletNodesReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RemoteTabletNodes object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

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

func (*RemoteTabletNodesReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*RemoteTabletNodesReconciler) Sync

func (r *RemoteTabletNodesReconciler) Sync(
	ctx context.Context,
	resource *ytv1.RemoteTabletNodes,
	remoteYtsaurus *ytv1.RemoteYtsaurus,
) (ctrl.Result, error)

type SpytReconciler

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

SpytReconciler reconciles a Spyt object

func (*SpytReconciler) Reconcile

func (r *SpytReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the Spyt object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

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

func (*SpytReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*SpytReconciler) Sync

func (r *SpytReconciler) Sync(ctx context.Context, resource *ytv1.Spyt, ytsaurus *ytv1.Ytsaurus) (ctrl.Result, error)

type YtsaurusReconciler

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

YtsaurusReconciler reconciles a Ytsaurus object

func (*YtsaurusReconciler) Reconcile

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

+kubebuilder:rbac:groups=cluster.ytsaurus.tech,resources=ytsaurus,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=cluster.ytsaurus.tech,resources=ytsaurus/status,verbs=get;update;patch +kubebuilder:rbac:groups=cluster.ytsaurus.tech,resources=ytsaurus/finalizers,verbs=update +kubebuilder:rbac:groups=apps,resources=statefulset,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=statefulset/status,verbs=get +kubebuilder:rbac:groups=core,resources=pod,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=pod/status,verbs=get +kubebuilder:rbac:groups="",resources=configmaps,verbs=get;list;watch

func (*YtsaurusReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*YtsaurusReconciler) Sync

func (r *YtsaurusReconciler) Sync(ctx context.Context, resource *ytv1.Ytsaurus) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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