app

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2020 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControllerManager

func NewControllerManager(scheme *runtime.Scheme, metricsAddr string, enableLeaderElection EnableLeaderElection, log logr.Logger) (manager.Manager, error)

NewControllerManager instantiates a new controller manager.

func NewLogger

func NewLogger(enableDevModeLog EnableDevModeLog) logr.Logger

NewLogger instantiates a new logger.

Types

type EnableDevModeLog

type EnableDevModeLog bool

type EnableLeaderElection

type EnableLeaderElection bool

type KubeModApp

type KubeModApp struct {
}

KubeModApp is the DI container of kubemod application state.

func InitializeKubeModApp

func InitializeKubeModApp(scheme *runtime.Scheme, metricsAddr string, enableLeaderElection EnableLeaderElection, enableDevModeLog EnableDevModeLog) (*KubeModApp, error)

func NewKubeModApp

func NewKubeModApp(
	scheme *runtime.Scheme,
	manager manager.Manager,
	modRuleReconciler *controllers.ModRuleReconciler,
	coreDragnetWebhookHandler *core.DragnetWebhookHandler,
	log logr.Logger,
) (*KubeModApp, error)

NewKubeModApp instantiates a kubemod application.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL