v1beta1

package
v0.0.0-...-0b1d0d4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterClusterGeneratingHandler

func RegisterClusterGeneratingHandler(ctx context.Context, controller ClusterController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterClusterGeneratingHandler configures a ClusterController to execute a ClusterGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterStatusHandler

func RegisterClusterStatusHandler(ctx context.Context, controller ClusterController, condition condition.Cond, name string, handler ClusterStatusHandler)

RegisterClusterStatusHandler configures a ClusterController to execute a ClusterStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterMachineDeploymentGeneratingHandler

func RegisterMachineDeploymentGeneratingHandler(ctx context.Context, controller MachineDeploymentController, apply apply.Apply,
	condition condition.Cond, name string, handler MachineDeploymentGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterMachineDeploymentGeneratingHandler configures a MachineDeploymentController to execute a MachineDeploymentGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterMachineDeploymentStatusHandler

func RegisterMachineDeploymentStatusHandler(ctx context.Context, controller MachineDeploymentController, condition condition.Cond, name string, handler MachineDeploymentStatusHandler)

RegisterMachineDeploymentStatusHandler configures a MachineDeploymentController to execute a MachineDeploymentStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterMachineGeneratingHandler

func RegisterMachineGeneratingHandler(ctx context.Context, controller MachineController, apply apply.Apply,
	condition condition.Cond, name string, handler MachineGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterMachineGeneratingHandler configures a MachineController to execute a MachineGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterMachineSetGeneratingHandler

func RegisterMachineSetGeneratingHandler(ctx context.Context, controller MachineSetController, apply apply.Apply,
	condition condition.Cond, name string, handler MachineSetGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterMachineSetGeneratingHandler configures a MachineSetController to execute a MachineSetGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterMachineSetStatusHandler

func RegisterMachineSetStatusHandler(ctx context.Context, controller MachineSetController, condition condition.Cond, name string, handler MachineSetStatusHandler)

RegisterMachineSetStatusHandler configures a MachineSetController to execute a MachineSetStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterMachineStatusHandler

func RegisterMachineStatusHandler(ctx context.Context, controller MachineController, condition condition.Cond, name string, handler MachineStatusHandler)

RegisterMachineStatusHandler configures a MachineController to execute a MachineStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

Types

type ClusterCache

type ClusterCache interface {
	generic.CacheInterface[*v1beta1.Cluster]
}

ClusterCache interface for retrieving Cluster resources in memory.

type ClusterClient

type ClusterClient interface {
	generic.ClientInterface[*v1beta1.Cluster, *v1beta1.ClusterList]
}

ClusterClient interface for managing Cluster resources in Kubernetes.

type ClusterController

type ClusterController interface {
	generic.ControllerInterface[*v1beta1.Cluster, *v1beta1.ClusterList]
}

ClusterController interface for managing Cluster resources.

type ClusterGeneratingHandler

type ClusterGeneratingHandler func(obj *v1beta1.Cluster, status v1beta1.ClusterStatus) ([]runtime.Object, v1beta1.ClusterStatus, error)

ClusterGeneratingHandler is the top-level handler that is executed for every Cluster event. It extends ClusterStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type ClusterStatusHandler

type ClusterStatusHandler func(obj *v1beta1.Cluster, status v1beta1.ClusterStatus) (v1beta1.ClusterStatus, error)

ClusterStatusHandler is executed for every added or modified Cluster. Should return the new status to be updated

type Interface

type Interface interface {
	Cluster() ClusterController
	Machine() MachineController
	MachineDeployment() MachineDeploymentController
	MachineSet() MachineSetController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type MachineCache

type MachineCache interface {
	generic.CacheInterface[*v1beta1.Machine]
}

MachineCache interface for retrieving Machine resources in memory.

type MachineClient

type MachineClient interface {
	generic.ClientInterface[*v1beta1.Machine, *v1beta1.MachineList]
}

MachineClient interface for managing Machine resources in Kubernetes.

type MachineController

type MachineController interface {
	generic.ControllerInterface[*v1beta1.Machine, *v1beta1.MachineList]
}

MachineController interface for managing Machine resources.

type MachineDeploymentCache

type MachineDeploymentCache interface {
	generic.CacheInterface[*v1beta1.MachineDeployment]
}

MachineDeploymentCache interface for retrieving MachineDeployment resources in memory.

type MachineDeploymentClient

type MachineDeploymentClient interface {
	generic.ClientInterface[*v1beta1.MachineDeployment, *v1beta1.MachineDeploymentList]
}

MachineDeploymentClient interface for managing MachineDeployment resources in Kubernetes.

type MachineDeploymentController

type MachineDeploymentController interface {
	generic.ControllerInterface[*v1beta1.MachineDeployment, *v1beta1.MachineDeploymentList]
}

MachineDeploymentController interface for managing MachineDeployment resources.

type MachineDeploymentGeneratingHandler

type MachineDeploymentGeneratingHandler func(obj *v1beta1.MachineDeployment, status v1beta1.MachineDeploymentStatus) ([]runtime.Object, v1beta1.MachineDeploymentStatus, error)

MachineDeploymentGeneratingHandler is the top-level handler that is executed for every MachineDeployment event. It extends MachineDeploymentStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type MachineDeploymentStatusHandler

type MachineDeploymentStatusHandler func(obj *v1beta1.MachineDeployment, status v1beta1.MachineDeploymentStatus) (v1beta1.MachineDeploymentStatus, error)

MachineDeploymentStatusHandler is executed for every added or modified MachineDeployment. Should return the new status to be updated

type MachineGeneratingHandler

type MachineGeneratingHandler func(obj *v1beta1.Machine, status v1beta1.MachineStatus) ([]runtime.Object, v1beta1.MachineStatus, error)

MachineGeneratingHandler is the top-level handler that is executed for every Machine event. It extends MachineStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type MachineSetCache

type MachineSetCache interface {
	generic.CacheInterface[*v1beta1.MachineSet]
}

MachineSetCache interface for retrieving MachineSet resources in memory.

type MachineSetClient

type MachineSetClient interface {
	generic.ClientInterface[*v1beta1.MachineSet, *v1beta1.MachineSetList]
}

MachineSetClient interface for managing MachineSet resources in Kubernetes.

type MachineSetController

type MachineSetController interface {
	generic.ControllerInterface[*v1beta1.MachineSet, *v1beta1.MachineSetList]
}

MachineSetController interface for managing MachineSet resources.

type MachineSetGeneratingHandler

type MachineSetGeneratingHandler func(obj *v1beta1.MachineSet, status v1beta1.MachineSetStatus) ([]runtime.Object, v1beta1.MachineSetStatus, error)

MachineSetGeneratingHandler is the top-level handler that is executed for every MachineSet event. It extends MachineSetStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type MachineSetStatusHandler

type MachineSetStatusHandler func(obj *v1beta1.MachineSet, status v1beta1.MachineSetStatus) (v1beta1.MachineSetStatus, error)

MachineSetStatusHandler is executed for every added or modified MachineSet. Should return the new status to be updated

type MachineStatusHandler

type MachineStatusHandler func(obj *v1beta1.Machine, status v1beta1.MachineStatus) (v1beta1.MachineStatus, error)

MachineStatusHandler is executed for every added or modified Machine. Should return the new status to be updated

Jump to

Keyboard shortcuts

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