Documentation ¶
Index ¶
- func RegisterNamespaceGeneratingHandler(ctx context.Context, controller NamespaceController, apply apply.Apply, ...)
- func RegisterNamespaceStatusHandler(ctx context.Context, controller NamespaceController, condition condition.Cond, ...)
- func RegisterNodeGeneratingHandler(ctx context.Context, controller NodeController, apply apply.Apply, ...)
- func RegisterNodeStatusHandler(ctx context.Context, controller NodeController, condition condition.Cond, ...)
- func RegisterPersistentVolumeClaimGeneratingHandler(ctx context.Context, controller PersistentVolumeClaimController, ...)
- func RegisterPersistentVolumeClaimStatusHandler(ctx context.Context, controller PersistentVolumeClaimController, ...)
- func RegisterPersistentVolumeGeneratingHandler(ctx context.Context, controller PersistentVolumeController, apply apply.Apply, ...)
- func RegisterPersistentVolumeStatusHandler(ctx context.Context, controller PersistentVolumeController, ...)
- func RegisterPodGeneratingHandler(ctx context.Context, controller PodController, apply apply.Apply, ...)
- func RegisterPodStatusHandler(ctx context.Context, controller PodController, condition condition.Cond, ...)
- func RegisterServiceGeneratingHandler(ctx context.Context, controller ServiceController, apply apply.Apply, ...)
- func RegisterServiceStatusHandler(ctx context.Context, controller ServiceController, condition condition.Cond, ...)
- type ConfigMapCache
- type ConfigMapClient
- type ConfigMapController
- type EndpointsCache
- type EndpointsClient
- type EndpointsController
- type EventCache
- type EventClient
- type EventController
- type Interface
- type NamespaceCache
- type NamespaceClient
- type NamespaceController
- type NamespaceGeneratingHandler
- type NamespaceStatusHandler
- type NodeCache
- type NodeClient
- type NodeController
- type NodeGeneratingHandler
- type NodeStatusHandler
- type PersistentVolumeCache
- type PersistentVolumeClaimCache
- type PersistentVolumeClaimClient
- type PersistentVolumeClaimController
- type PersistentVolumeClaimGeneratingHandler
- type PersistentVolumeClaimStatusHandler
- type PersistentVolumeClient
- type PersistentVolumeController
- type PersistentVolumeGeneratingHandler
- type PersistentVolumeStatusHandler
- type PodCache
- type PodClient
- type PodController
- type PodGeneratingHandler
- type PodStatusHandler
- type SecretCache
- type SecretClient
- type SecretController
- type ServiceAccountCache
- type ServiceAccountClient
- type ServiceAccountController
- type ServiceCache
- type ServiceClient
- type ServiceController
- type ServiceGeneratingHandler
- type ServiceStatusHandler
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)
RegisterNamespaceGeneratingHandler configures a NamespaceController to execute a NamespaceGeneratingHandler 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 RegisterNamespaceStatusHandler ¶
func RegisterNamespaceStatusHandler(ctx context.Context, controller NamespaceController, condition condition.Cond, name string, handler NamespaceStatusHandler)
RegisterNamespaceStatusHandler configures a NamespaceController to execute a NamespaceStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterNodeGeneratingHandler ¶
func RegisterNodeGeneratingHandler(ctx context.Context, controller NodeController, apply apply.Apply, condition condition.Cond, name string, handler NodeGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterNodeGeneratingHandler configures a NodeController to execute a NodeGeneratingHandler 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 RegisterNodeStatusHandler ¶
func RegisterNodeStatusHandler(ctx context.Context, controller NodeController, condition condition.Cond, name string, handler NodeStatusHandler)
RegisterNodeStatusHandler configures a NodeController to execute a NodeStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterPersistentVolumeClaimGeneratingHandler ¶
func RegisterPersistentVolumeClaimGeneratingHandler(ctx context.Context, controller PersistentVolumeClaimController, apply apply.Apply, condition condition.Cond, name string, handler PersistentVolumeClaimGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterPersistentVolumeClaimGeneratingHandler configures a PersistentVolumeClaimController to execute a PersistentVolumeClaimGeneratingHandler 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 RegisterPersistentVolumeClaimStatusHandler ¶
func RegisterPersistentVolumeClaimStatusHandler(ctx context.Context, controller PersistentVolumeClaimController, condition condition.Cond, name string, handler PersistentVolumeClaimStatusHandler)
RegisterPersistentVolumeClaimStatusHandler configures a PersistentVolumeClaimController to execute a PersistentVolumeClaimStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterPersistentVolumeGeneratingHandler ¶
func RegisterPersistentVolumeGeneratingHandler(ctx context.Context, controller PersistentVolumeController, apply apply.Apply, condition condition.Cond, name string, handler PersistentVolumeGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterPersistentVolumeGeneratingHandler configures a PersistentVolumeController to execute a PersistentVolumeGeneratingHandler 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 RegisterPersistentVolumeStatusHandler ¶
func RegisterPersistentVolumeStatusHandler(ctx context.Context, controller PersistentVolumeController, condition condition.Cond, name string, handler PersistentVolumeStatusHandler)
RegisterPersistentVolumeStatusHandler configures a PersistentVolumeController to execute a PersistentVolumeStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterPodGeneratingHandler ¶
func RegisterPodGeneratingHandler(ctx context.Context, controller PodController, apply apply.Apply, condition condition.Cond, name string, handler PodGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterPodGeneratingHandler configures a PodController to execute a PodGeneratingHandler 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 RegisterPodStatusHandler ¶
func RegisterPodStatusHandler(ctx context.Context, controller PodController, condition condition.Cond, name string, handler PodStatusHandler)
RegisterPodStatusHandler configures a PodController to execute a PodStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterServiceGeneratingHandler ¶
func RegisterServiceGeneratingHandler(ctx context.Context, controller ServiceController, apply apply.Apply, condition condition.Cond, name string, handler ServiceGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterServiceGeneratingHandler configures a ServiceController to execute a ServiceGeneratingHandler 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 RegisterServiceStatusHandler ¶
func RegisterServiceStatusHandler(ctx context.Context, controller ServiceController, condition condition.Cond, name string, handler ServiceStatusHandler)
RegisterServiceStatusHandler configures a ServiceController to execute a ServiceStatusHandler 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 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 ¶
EventClient interface for managing Event resources in Kubernetes.
type EventController ¶
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)
NamespaceGeneratingHandler is the top-level handler that is executed for every Namespace event. It extends NamespaceStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type NamespaceStatusHandler ¶
type NamespaceStatusHandler func(obj *v1.Namespace, status v1.NamespaceStatus) (v1.NamespaceStatus, error)
NamespaceStatusHandler is executed for every added or modified Namespace. Should return the new status to be updated
type NodeCache ¶
type NodeCache interface { generic.NonNamespacedCacheInterface[*v1.Node] }
NodeCache interface for retrieving Node resources in memory.
type NodeClient ¶
NodeClient interface for managing Node resources in Kubernetes.
type NodeController ¶
NodeController interface for managing Node resources.
type NodeGeneratingHandler ¶
type NodeGeneratingHandler func(obj *v1.Node, status v1.NodeStatus) ([]runtime.Object, v1.NodeStatus, error)
NodeGeneratingHandler is the top-level handler that is executed for every Node event. It extends NodeStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type NodeStatusHandler ¶
type NodeStatusHandler func(obj *v1.Node, status v1.NodeStatus) (v1.NodeStatus, error)
NodeStatusHandler is executed for every added or modified Node. Should return the new status to be updated
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 PersistentVolumeClaimGeneratingHandler ¶
type PersistentVolumeClaimGeneratingHandler func(obj *v1.PersistentVolumeClaim, status v1.PersistentVolumeClaimStatus) ([]runtime.Object, v1.PersistentVolumeClaimStatus, error)
PersistentVolumeClaimGeneratingHandler is the top-level handler that is executed for every PersistentVolumeClaim event. It extends PersistentVolumeClaimStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type PersistentVolumeClaimStatusHandler ¶
type PersistentVolumeClaimStatusHandler func(obj *v1.PersistentVolumeClaim, status v1.PersistentVolumeClaimStatus) (v1.PersistentVolumeClaimStatus, error)
PersistentVolumeClaimStatusHandler is executed for every added or modified PersistentVolumeClaim. Should return the new status to be updated
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)
PersistentVolumeGeneratingHandler is the top-level handler that is executed for every PersistentVolume event. It extends PersistentVolumeStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type PersistentVolumeStatusHandler ¶
type PersistentVolumeStatusHandler func(obj *v1.PersistentVolume, status v1.PersistentVolumeStatus) (v1.PersistentVolumeStatus, error)
PersistentVolumeStatusHandler is executed for every added or modified PersistentVolume. Should return the new status to be updated
type PodCache ¶
type PodCache interface { generic.CacheInterface[*v1.Pod] }
PodCache interface for retrieving Pod resources in memory.
type PodController ¶
PodController interface for managing Pod resources.
type PodGeneratingHandler ¶
type PodGeneratingHandler func(obj *v1.Pod, status v1.PodStatus) ([]runtime.Object, v1.PodStatus, error)
PodGeneratingHandler is the top-level handler that is executed for every Pod event. It extends PodStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type PodStatusHandler ¶
PodStatusHandler is executed for every added or modified Pod. Should return the new status to be updated
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)
ServiceGeneratingHandler is the top-level handler that is executed for every Service event. It extends ServiceStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type ServiceStatusHandler ¶
type ServiceStatusHandler func(obj *v1.Service, status v1.ServiceStatus) (v1.ServiceStatus, error)
ServiceStatusHandler is executed for every added or modified Service. Should return the new status to be updated