Documentation
¶
Index ¶
- type Cluster
- func (c *Cluster) GetCache() (cache.Cache, error)
- func (c *Cluster) GetClient() (ctrlruntimeclient.Client, error)
- func (c *Cluster) GetCluster() cluster.Cluster
- func (c *Cluster) Running() bool
- func (c *Cluster) Start(ctx context.Context, log *zap.SugaredLogger) error
- func (c *Cluster) Stop(log *zap.SugaredLogger) error
- type Controller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster is a controller-runtime cluster that can be stopped by cancelling its root context.
func (*Cluster) GetCluster ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller-runtime controller that can be stopped by cancelling its root context.
func NewController ¶
func NewController(upstream controller.Controller) (Controller, error)
func (*Controller) Running ¶
func (c *Controller) Running() bool
func (*Controller) Start ¶
func (c *Controller) Start(ctx context.Context, log *zap.SugaredLogger) error
Start starts the wrapped controller.
func (*Controller) Stop ¶
func (c *Controller) Stop(log *zap.SugaredLogger, cause error) error
Click to show internal directories.
Click to hide internal directories.