v1

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 13 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNamespaceGeneratingHandler

func RegisterNamespaceGeneratingHandler(ctx context.Context, controller NamespaceController, apply apply.Apply,
	condition condition.Cond, name string, handler NamespaceGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterNamespaceStatusHandler

func RegisterNamespaceStatusHandler(ctx context.Context, controller NamespaceController, condition condition.Cond, name string, handler NamespaceStatusHandler)

func RegisterNodeGeneratingHandler

func RegisterNodeGeneratingHandler(ctx context.Context, controller NodeController, apply apply.Apply,
	condition condition.Cond, name string, handler NodeGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterNodeStatusHandler

func RegisterNodeStatusHandler(ctx context.Context, controller NodeController, condition condition.Cond, name string, handler NodeStatusHandler)

func RegisterPersistentVolumeClaimGeneratingHandler

func RegisterPersistentVolumeClaimGeneratingHandler(ctx context.Context, controller PersistentVolumeClaimController, apply apply.Apply,
	condition condition.Cond, name string, handler PersistentVolumeClaimGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterPersistentVolumeClaimStatusHandler

func RegisterPersistentVolumeClaimStatusHandler(ctx context.Context, controller PersistentVolumeClaimController, condition condition.Cond, name string, handler PersistentVolumeClaimStatusHandler)

func RegisterPersistentVolumeGeneratingHandler

func RegisterPersistentVolumeGeneratingHandler(ctx context.Context, controller PersistentVolumeController, apply apply.Apply,
	condition condition.Cond, name string, handler PersistentVolumeGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterPersistentVolumeStatusHandler

func RegisterPersistentVolumeStatusHandler(ctx context.Context, controller PersistentVolumeController, condition condition.Cond, name string, handler PersistentVolumeStatusHandler)

func RegisterPodGeneratingHandler

func RegisterPodGeneratingHandler(ctx context.Context, controller PodController, apply apply.Apply,
	condition condition.Cond, name string, handler PodGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterPodStatusHandler

func RegisterPodStatusHandler(ctx context.Context, controller PodController, condition condition.Cond, name string, handler PodStatusHandler)

func RegisterServiceGeneratingHandler

func RegisterServiceGeneratingHandler(ctx context.Context, controller ServiceController, apply apply.Apply,
	condition condition.Cond, name string, handler ServiceGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterServiceStatusHandler

func RegisterServiceStatusHandler(ctx context.Context, controller ServiceController, condition condition.Cond, name string, handler ServiceStatusHandler)

Types

type ConfigMapCache

type ConfigMapCache interface {
	generic.CacheInterface[*v1.ConfigMap]
}

ConfigMapCache interface for retrieving ConfigMap resources in memory.

type ConfigMapClient

type ConfigMapClient interface {
	generic.ClientInterface[*v1.ConfigMap, *v1.ConfigMapList]
}

ConfigMapClient interface for managing ConfigMap resources in Kubernetes.

type ConfigMapController

type ConfigMapController interface {
	generic.ControllerInterface[*v1.ConfigMap, *v1.ConfigMapList]
}

ConfigMapController interface for managing ConfigMap resources.

type EndpointsCache

type EndpointsCache interface {
	generic.CacheInterface[*v1.Endpoints]
}

EndpointsCache interface for retrieving Endpoints resources in memory.

type EndpointsClient

type EndpointsClient interface {
	generic.ClientInterface[*v1.Endpoints, *v1.EndpointsList]
}

EndpointsClient interface for managing Endpoints resources in Kubernetes.

type EndpointsController

type EndpointsController interface {
	generic.ControllerInterface[*v1.Endpoints, *v1.EndpointsList]
}

EndpointsController interface for managing Endpoints resources.

type EventCache

type EventCache interface {
	generic.CacheInterface[*v1.Event]
}

EventCache interface for retrieving Event resources in memory.

type EventClient

type EventClient interface {
	generic.ClientInterface[*v1.Event, *v1.EventList]
}

EventClient interface for managing Event resources in Kubernetes.

type EventController

type EventController interface {
	generic.ControllerInterface[*v1.Event, *v1.EventList]
}

EventController interface for managing Event resources.

type Interface

type Interface interface {
	ConfigMap() ConfigMapController
	Endpoints() EndpointsController
	Event() EventController
	Namespace() NamespaceController
	Node() NodeController
	PersistentVolume() PersistentVolumeController
	PersistentVolumeClaim() PersistentVolumeClaimController
	Pod() PodController
	Secret() SecretController
	Service() ServiceController
	ServiceAccount() ServiceAccountController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type NamespaceCache

type NamespaceCache interface {
	generic.NonNamespacedCacheInterface[*v1.Namespace]
}

NamespaceCache interface for retrieving Namespace resources in memory.

type NamespaceClient

type NamespaceClient interface {
	generic.NonNamespacedClientInterface[*v1.Namespace, *v1.NamespaceList]
}

NamespaceClient interface for managing Namespace resources in Kubernetes.

type NamespaceController

type NamespaceController interface {
	generic.NonNamespacedControllerInterface[*v1.Namespace, *v1.NamespaceList]
}

NamespaceController interface for managing Namespace resources.

type NamespaceGeneratingHandler

type NamespaceGeneratingHandler func(obj *v1.Namespace, status v1.NamespaceStatus) ([]runtime.Object, v1.NamespaceStatus, error)

type NamespaceStatusHandler

type NamespaceStatusHandler func(obj *v1.Namespace, status v1.NamespaceStatus) (v1.NamespaceStatus, error)

type NodeCache

type NodeCache interface {
	generic.NonNamespacedCacheInterface[*v1.Node]
}

NodeCache interface for retrieving Node resources in memory.

type NodeClient

type NodeClient interface {
	generic.NonNamespacedClientInterface[*v1.Node, *v1.NodeList]
}

NodeClient interface for managing Node resources in Kubernetes.

type NodeController

type NodeController interface {
	generic.NonNamespacedControllerInterface[*v1.Node, *v1.NodeList]
}

NodeController interface for managing Node resources.

type NodeGeneratingHandler

type NodeGeneratingHandler func(obj *v1.Node, status v1.NodeStatus) ([]runtime.Object, v1.NodeStatus, error)

type NodeStatusHandler

type NodeStatusHandler func(obj *v1.Node, status v1.NodeStatus) (v1.NodeStatus, error)

type PersistentVolumeCache

type PersistentVolumeCache interface {
	generic.NonNamespacedCacheInterface[*v1.PersistentVolume]
}

PersistentVolumeCache interface for retrieving PersistentVolume resources in memory.

type PersistentVolumeClaimCache

type PersistentVolumeClaimCache interface {
	generic.CacheInterface[*v1.PersistentVolumeClaim]
}

PersistentVolumeClaimCache interface for retrieving PersistentVolumeClaim resources in memory.

type PersistentVolumeClaimClient

type PersistentVolumeClaimClient interface {
	generic.ClientInterface[*v1.PersistentVolumeClaim, *v1.PersistentVolumeClaimList]
}

PersistentVolumeClaimClient interface for managing PersistentVolumeClaim resources in Kubernetes.

type PersistentVolumeClaimController

type PersistentVolumeClaimController interface {
	generic.ControllerInterface[*v1.PersistentVolumeClaim, *v1.PersistentVolumeClaimList]
}

PersistentVolumeClaimController interface for managing PersistentVolumeClaim resources.

type PersistentVolumeClient

type PersistentVolumeClient interface {
	generic.NonNamespacedClientInterface[*v1.PersistentVolume, *v1.PersistentVolumeList]
}

PersistentVolumeClient interface for managing PersistentVolume resources in Kubernetes.

type PersistentVolumeController

type PersistentVolumeController interface {
	generic.NonNamespacedControllerInterface[*v1.PersistentVolume, *v1.PersistentVolumeList]
}

PersistentVolumeController interface for managing PersistentVolume resources.

type PersistentVolumeGeneratingHandler

type PersistentVolumeGeneratingHandler func(obj *v1.PersistentVolume, status v1.PersistentVolumeStatus) ([]runtime.Object, v1.PersistentVolumeStatus, error)

type PersistentVolumeStatusHandler

type PersistentVolumeStatusHandler func(obj *v1.PersistentVolume, status v1.PersistentVolumeStatus) (v1.PersistentVolumeStatus, error)

type PodCache

type PodCache interface {
	generic.CacheInterface[*v1.Pod]
}

PodCache interface for retrieving Pod resources in memory.

type PodClient

type PodClient interface {
	generic.ClientInterface[*v1.Pod, *v1.PodList]
}

PodClient interface for managing Pod resources in Kubernetes.

type PodController

type PodController interface {
	generic.ControllerInterface[*v1.Pod, *v1.PodList]
}

PodController interface for managing Pod resources.

type PodGeneratingHandler

type PodGeneratingHandler func(obj *v1.Pod, status v1.PodStatus) ([]runtime.Object, v1.PodStatus, error)

type PodStatusHandler

type PodStatusHandler func(obj *v1.Pod, status v1.PodStatus) (v1.PodStatus, error)

type SecretCache

type SecretCache interface {
	generic.CacheInterface[*v1.Secret]
}

SecretCache interface for retrieving Secret resources in memory.

type SecretClient

type SecretClient interface {
	generic.ClientInterface[*v1.Secret, *v1.SecretList]
}

SecretClient interface for managing Secret resources in Kubernetes.

type SecretController

type SecretController interface {
	generic.ControllerInterface[*v1.Secret, *v1.SecretList]
}

SecretController interface for managing Secret resources.

type ServiceAccountCache

type ServiceAccountCache interface {
	generic.CacheInterface[*v1.ServiceAccount]
}

ServiceAccountCache interface for retrieving ServiceAccount resources in memory.

type ServiceAccountClient

type ServiceAccountClient interface {
	generic.ClientInterface[*v1.ServiceAccount, *v1.ServiceAccountList]
}

ServiceAccountClient interface for managing ServiceAccount resources in Kubernetes.

type ServiceAccountController

type ServiceAccountController interface {
	generic.ControllerInterface[*v1.ServiceAccount, *v1.ServiceAccountList]
}

ServiceAccountController interface for managing ServiceAccount resources.

type ServiceCache

type ServiceCache interface {
	generic.CacheInterface[*v1.Service]
}

ServiceCache interface for retrieving Service resources in memory.

type ServiceClient

type ServiceClient interface {
	generic.ClientInterface[*v1.Service, *v1.ServiceList]
}

ServiceClient interface for managing Service resources in Kubernetes.

type ServiceController

type ServiceController interface {
	generic.ControllerInterface[*v1.Service, *v1.ServiceList]
}

ServiceController interface for managing Service resources.

type ServiceGeneratingHandler

type ServiceGeneratingHandler func(obj *v1.Service, status v1.ServiceStatus) ([]runtime.Object, v1.ServiceStatus, error)

type ServiceStatusHandler

type ServiceStatusHandler func(obj *v1.Service, status v1.ServiceStatus) (v1.ServiceStatus, error)

Jump to

Keyboard shortcuts

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