Documentation
¶
Index ¶
- func RegisterClusterGeneratingHandler(ctx context.Context, controller ClusterController, apply apply.Apply, ...)
- func RegisterClusterStatusHandler(ctx context.Context, controller ClusterController, condition condition.Cond, ...)
- type ClusterCache
- type ClusterClient
- type ClusterController
- type ClusterGeneratingHandler
- type ClusterStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterClusterGeneratingHandler ¶
func RegisterClusterGeneratingHandler(ctx context.Context, controller ClusterController, apply apply.Apply, condition condition.Cond, name string, handler ClusterGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterClusterStatusHandler ¶
func RegisterClusterStatusHandler(ctx context.Context, controller ClusterController, condition condition.Cond, name string, handler ClusterStatusHandler)
Types ¶
type ClusterCache ¶
type ClusterCache interface { generic.CacheInterface[*v1.Cluster] }
ClusterCache interface for retrieving Cluster resources in memory.
type ClusterClient ¶
type ClusterClient interface { generic.ClientInterface[*v1.Cluster, *v1.ClusterList] }
ClusterClient interface for managing Cluster resources in Kubernetes.
type ClusterController ¶
type ClusterController interface { generic.ControllerInterface[*v1.Cluster, *v1.ClusterList] }
ClusterController interface for managing Cluster resources.
type ClusterGeneratingHandler ¶
type ClusterGeneratingHandler func(obj *v1.Cluster, status v1.ClusterStatus) ([]runtime.Object, v1.ClusterStatus, error)
type ClusterStatusHandler ¶
type ClusterStatusHandler func(obj *v1.Cluster, status v1.ClusterStatus) (v1.ClusterStatus, error)
type Interface ¶
type Interface interface {
Cluster() ClusterController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
Click to show internal directories.
Click to hide internal directories.