kibanaapi

package
v0.0.0-...-31fc70c Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKibanaHandler

func GetKibanaHandler(ctx context.Context, o client.Object, kbRef shared.KibanaRef, client client.Client, log *logrus.Entry) (kbHandler kbhandler.KibanaHandler, err error)

func NewLogstashPipelineReconciler

func NewLogstashPipelineReconciler(client client.Client, logger *logrus.Entry, recorder record.EventRecorder) controller.Controller

func NewRoleReconciler

func NewRoleReconciler(client client.Client, logger *logrus.Entry, recorder record.EventRecorder) controller.Controller

func NewUserSpaceReconciler

func NewUserSpaceReconciler(client client.Client, logger *logrus.Entry, recorder record.EventRecorder) controller.Controller

Types

type LogstashPipelineReconciler

type LogstashPipelineReconciler struct {
	controller.Controller
	controller.RemoteReconciler[*kibanaapicrd.LogstashPipeline, *kbapi.LogstashPipeline, kbhandler.KibanaHandler]
	// contains filtered or unexported fields
}

LogstashPipelineReconciler reconciles a Logstash pipeline object

func (*LogstashPipelineReconciler) 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 Logstash Pipeline 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.11.0/pkg/reconcile

func (*LogstashPipelineReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type RoleReconciler

type RoleReconciler struct {
	controller.Controller
	controller.RemoteReconciler[*kibanaapicrd.Role, *kbapi.KibanaRole, kbhandler.KibanaHandler]
	// contains filtered or unexported fields
}

RoleReconciler reconciles a Role object

func (*RoleReconciler) Reconcile

func (r *RoleReconciler) 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 License 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.11.0/pkg/reconcile

func (*RoleReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type UserSpaceReconciler

type UserSpaceReconciler struct {
	controller.Controller
	controller.RemoteReconciler[*kibanaapicrd.UserSpace, *kbapi.KibanaSpace, kbhandler.KibanaHandler]
	// contains filtered or unexported fields
}

UserSpaceReconciler reconciles a user space object

func (*UserSpaceReconciler) Reconcile

func (r *UserSpaceReconciler) 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 UserSpace 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.11.0/pkg/reconcile

func (*UserSpaceReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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