v1

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGKEClusterConfigGeneratingHandler

func RegisterGKEClusterConfigGeneratingHandler(ctx context.Context, controller GKEClusterConfigController, apply apply.Apply,
	condition condition.Cond, name string, handler GKEClusterConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterGKEClusterConfigGeneratingHandler configures a GKEClusterConfigController to execute a GKEClusterConfigGeneratingHandler 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 RegisterGKEClusterConfigStatusHandler

func RegisterGKEClusterConfigStatusHandler(ctx context.Context, controller GKEClusterConfigController, condition condition.Cond, name string, handler GKEClusterConfigStatusHandler)

RegisterGKEClusterConfigStatusHandler configures a GKEClusterConfigController to execute a GKEClusterConfigStatusHandler 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 GKEClusterConfigCache

type GKEClusterConfigCache interface {
	generic.CacheInterface[*v1.GKEClusterConfig]
}

GKEClusterConfigCache interface for retrieving GKEClusterConfig resources in memory.

type GKEClusterConfigClient

type GKEClusterConfigClient interface {
	generic.ClientInterface[*v1.GKEClusterConfig, *v1.GKEClusterConfigList]
}

GKEClusterConfigClient interface for managing GKEClusterConfig resources in Kubernetes.

type GKEClusterConfigController

type GKEClusterConfigController interface {
	generic.ControllerInterface[*v1.GKEClusterConfig, *v1.GKEClusterConfigList]
}

GKEClusterConfigController interface for managing GKEClusterConfig resources.

type GKEClusterConfigGeneratingHandler

type GKEClusterConfigGeneratingHandler func(obj *v1.GKEClusterConfig, status v1.GKEClusterConfigStatus) ([]runtime.Object, v1.GKEClusterConfigStatus, error)

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

type GKEClusterConfigStatusHandler

type GKEClusterConfigStatusHandler func(obj *v1.GKEClusterConfig, status v1.GKEClusterConfigStatus) (v1.GKEClusterConfigStatus, error)

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

type Interface

type Interface interface {
	GKEClusterConfig() GKEClusterConfigController
}

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