v1beta1

package
v1.4.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 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 RegisterClusterNetworkGeneratingHandler

func RegisterClusterNetworkGeneratingHandler(ctx context.Context, controller ClusterNetworkController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterNetworkGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterClusterNetworkGeneratingHandler configures a ClusterNetworkController to execute a ClusterNetworkGeneratingHandler 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 RegisterClusterNetworkStatusHandler

func RegisterClusterNetworkStatusHandler(ctx context.Context, controller ClusterNetworkController, condition condition.Cond, name string, handler ClusterNetworkStatusHandler)

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

func RegisterVlanStatusGeneratingHandler

func RegisterVlanStatusGeneratingHandler(ctx context.Context, controller VlanStatusController, apply apply.Apply,
	condition condition.Cond, name string, handler VlanStatusGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterVlanStatusGeneratingHandler configures a VlanStatusController to execute a VlanStatusGeneratingHandler 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 RegisterVlanStatusStatusHandler

func RegisterVlanStatusStatusHandler(ctx context.Context, controller VlanStatusController, condition condition.Cond, name string, handler VlanStatusStatusHandler)

RegisterVlanStatusStatusHandler configures a VlanStatusController to execute a VlanStatusStatusHandler 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 ClusterNetworkCache

type ClusterNetworkCache interface {
	generic.NonNamespacedCacheInterface[*v1beta1.ClusterNetwork]
}

ClusterNetworkCache interface for retrieving ClusterNetwork resources in memory.

type ClusterNetworkClient

ClusterNetworkClient interface for managing ClusterNetwork resources in Kubernetes.

type ClusterNetworkController

ClusterNetworkController interface for managing ClusterNetwork resources.

type ClusterNetworkGeneratingHandler

type ClusterNetworkGeneratingHandler func(obj *v1beta1.ClusterNetwork, status v1beta1.ClusterNetworkStatus) ([]runtime.Object, v1beta1.ClusterNetworkStatus, error)

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

type ClusterNetworkStatusHandler

type ClusterNetworkStatusHandler func(obj *v1beta1.ClusterNetwork, status v1beta1.ClusterNetworkStatus) (v1beta1.ClusterNetworkStatus, error)

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

type Interface

type Interface interface {
	ClusterNetwork() ClusterNetworkController
	VlanConfig() VlanConfigController
	VlanStatus() VlanStatusController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type VlanConfigCache

type VlanConfigCache interface {
	generic.NonNamespacedCacheInterface[*v1beta1.VlanConfig]
}

VlanConfigCache interface for retrieving VlanConfig resources in memory.

type VlanConfigClient

VlanConfigClient interface for managing VlanConfig resources in Kubernetes.

type VlanConfigController

VlanConfigController interface for managing VlanConfig resources.

type VlanStatusCache

type VlanStatusCache interface {
	generic.NonNamespacedCacheInterface[*v1beta1.VlanStatus]
}

VlanStatusCache interface for retrieving VlanStatus resources in memory.

type VlanStatusClient

VlanStatusClient interface for managing VlanStatus resources in Kubernetes.

type VlanStatusController

VlanStatusController interface for managing VlanStatus resources.

type VlanStatusGeneratingHandler

type VlanStatusGeneratingHandler func(obj *v1beta1.VlanStatus, status v1beta1.VlStatus) ([]runtime.Object, v1beta1.VlStatus, error)

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

type VlanStatusStatusHandler

type VlanStatusStatusHandler func(obj *v1beta1.VlanStatus, status v1beta1.VlStatus) (v1beta1.VlStatus, error)

VlanStatusStatusHandler is executed for every added or modified VlanStatus. 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