v1

package
v0.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCCEClusterConfigGeneratingHandler

func RegisterCCEClusterConfigGeneratingHandler(ctx context.Context, controller CCEClusterConfigController, apply apply.Apply,
	condition condition.Cond, name string, handler CCEClusterConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterCCEClusterConfigGeneratingHandler configures a CCEClusterConfigController to execute a CCEClusterConfigGeneratingHandler 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 RegisterCCEClusterConfigStatusHandler

func RegisterCCEClusterConfigStatusHandler(ctx context.Context, controller CCEClusterConfigController, condition condition.Cond, name string, handler CCEClusterConfigStatusHandler)

RegisterCCEClusterConfigStatusHandler configures a CCEClusterConfigController to execute a CCEClusterConfigStatusHandler 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 CCEClusterConfigCache

type CCEClusterConfigCache interface {
	generic.CacheInterface[*v1.CCEClusterConfig]
}

CCEClusterConfigCache interface for retrieving CCEClusterConfig resources in memory.

type CCEClusterConfigClient

type CCEClusterConfigClient interface {
	generic.ClientInterface[*v1.CCEClusterConfig, *v1.CCEClusterConfigList]
}

CCEClusterConfigClient interface for managing CCEClusterConfig resources in Kubernetes.

type CCEClusterConfigController

type CCEClusterConfigController interface {
	generic.ControllerInterface[*v1.CCEClusterConfig, *v1.CCEClusterConfigList]
}

CCEClusterConfigController interface for managing CCEClusterConfig resources.

type CCEClusterConfigGeneratingHandler

type CCEClusterConfigGeneratingHandler func(obj *v1.CCEClusterConfig, status v1.CCEClusterConfigStatus) ([]runtime.Object, v1.CCEClusterConfigStatus, error)

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

type CCEClusterConfigStatusHandler

type CCEClusterConfigStatusHandler func(obj *v1.CCEClusterConfig, status v1.CCEClusterConfigStatus) (v1.CCEClusterConfigStatus, error)

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

type Interface

type Interface interface {
	CCEClusterConfig() CCEClusterConfigController
}

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