v1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterETCDSnapshotFileGeneratingHandler

func RegisterETCDSnapshotFileGeneratingHandler(ctx context.Context, controller ETCDSnapshotFileController, apply apply.Apply,
	condition condition.Cond, name string, handler ETCDSnapshotFileGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterETCDSnapshotFileGeneratingHandler configures a ETCDSnapshotFileController to execute a ETCDSnapshotFileGeneratingHandler 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 RegisterETCDSnapshotFileStatusHandler

func RegisterETCDSnapshotFileStatusHandler(ctx context.Context, controller ETCDSnapshotFileController, condition condition.Cond, name string, handler ETCDSnapshotFileStatusHandler)

RegisterETCDSnapshotFileStatusHandler configures a ETCDSnapshotFileController to execute a ETCDSnapshotFileStatusHandler 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 AddonCache

type AddonCache interface {
	generic.CacheInterface[*v1.Addon]
}

AddonCache interface for retrieving Addon resources in memory.

type AddonClient

type AddonClient interface {
	generic.ClientInterface[*v1.Addon, *v1.AddonList]
}

AddonClient interface for managing Addon resources in Kubernetes.

type AddonController

type AddonController interface {
	generic.ControllerInterface[*v1.Addon, *v1.AddonList]
}

AddonController interface for managing Addon resources.

type ETCDSnapshotFileCache

type ETCDSnapshotFileCache interface {
	generic.NonNamespacedCacheInterface[*v1.ETCDSnapshotFile]
}

ETCDSnapshotFileCache interface for retrieving ETCDSnapshotFile resources in memory.

type ETCDSnapshotFileClient

type ETCDSnapshotFileClient interface {
	generic.NonNamespacedClientInterface[*v1.ETCDSnapshotFile, *v1.ETCDSnapshotFileList]
}

ETCDSnapshotFileClient interface for managing ETCDSnapshotFile resources in Kubernetes.

type ETCDSnapshotFileController

type ETCDSnapshotFileController interface {
	generic.NonNamespacedControllerInterface[*v1.ETCDSnapshotFile, *v1.ETCDSnapshotFileList]
}

ETCDSnapshotFileController interface for managing ETCDSnapshotFile resources.

type ETCDSnapshotFileGeneratingHandler

type ETCDSnapshotFileGeneratingHandler func(obj *v1.ETCDSnapshotFile, status v1.ETCDSnapshotStatus) ([]runtime.Object, v1.ETCDSnapshotStatus, error)

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

type ETCDSnapshotFileStatusHandler

type ETCDSnapshotFileStatusHandler func(obj *v1.ETCDSnapshotFile, status v1.ETCDSnapshotStatus) (v1.ETCDSnapshotStatus, error)

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

type Interface

type Interface interface {
	Addon() AddonController
	ETCDSnapshotFile() ETCDSnapshotFileController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

Jump to

Keyboard shortcuts

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