Documentation
¶
Index ¶
- type ComponentManager
- type DefaultManager
- func (m *DefaultManager) UpdateComponentHealth(ctx context.Context, componentName string, namespace string) error
- func (m *DefaultManager) UpdateComponentHealthAll(ctx context.Context) error
- func (m *DefaultManager) UpdateComponentHealthWithInstalledVersion(ctx context.Context, componentName string, namespace string, version string) error
- type RegistrableController
- type ShutdownHandler
- type StartupHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentManager ¶
type ComponentManager interface { UpdateComponentHealth(ctx context.Context, componentName string, namespace string) error UpdateComponentHealthWithInstalledVersion(ctx context.Context, componentName string, namespace string, version string) error UpdateComponentHealthAll(ctx context.Context) error }
type DefaultManager ¶
type DefaultManager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(namespace string, clientSet ecosystemClientSet) *DefaultManager
func (*DefaultManager) UpdateComponentHealth ¶
func (*DefaultManager) UpdateComponentHealthAll ¶ added in v1.0.0
func (m *DefaultManager) UpdateComponentHealthAll(ctx context.Context) error
func (*DefaultManager) UpdateComponentHealthWithInstalledVersion ¶ added in v1.0.0
type RegistrableController ¶
func NewController ¶
func NewController(namespace string, clientSet ecosystemClientSet) RegistrableController
type ShutdownHandler ¶ added in v1.0.0
type ShutdownHandler struct {
// contains filtered or unexported fields
}
func NewShutdownHandler ¶ added in v1.0.0
func NewShutdownHandler(client componentClient) *ShutdownHandler
type StartupHandler ¶ added in v1.0.0
type StartupHandler struct {
// contains filtered or unexported fields
}
func NewStartupHandler ¶ added in v1.0.0
func NewStartupHandler(namespace string, clientSet ecosystemClientSet) *StartupHandler
Click to show internal directories.
Click to hide internal directories.