Documentation ¶
Index ¶
- Constants
- func ControllersWithManager(ctx context.Context, mgr manager.Manager) error
- func FromLogrusToZapLevel(level logrus.Level) zapcore.Level
- func Logger(ctx context.Context, name, version string) error
- func WebhooksWithManager(ctx context.Context, mgr manager.Manager) error
- func WithManager(ctx context.Context, mgr manager.Manager) error
- type Controller
- type ControllerFactory
- type WebHook
Constants ¶
View Source
const ( DevModeConfigKey = "dev-mode" DevModeConfigDefault = true LogLevelConfigKey = "log-level" )
View Source
const (
ControllerDisabledSuffixConfigKey = "controller-disabled"
)
View Source
const (
WebhookDisabledSuffixConfigKey = "webhook-disabled"
)
Variables ¶
This section is empty.
Functions ¶
func ControllersWithManager ¶
Types ¶
type Controller ¶
type Controller interface { WithManager(context.Context, manager.Manager) (commonCtrl.Reconciler, error) IsEnabled(context.Context) (bool, error) }
func NewController ¶
func NewController(name controllers.Controller, factory func(context.Context, *configstore.Store) (commonCtrl.Reconciler, error)) Controller
type ControllerFactory ¶
type ControllerFactory func(context.Context, string, string, *configstore.Store) (commonCtrl.Reconciler, error)
Click to show internal directories.
Click to hide internal directories.