samsahai

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CtrlName = "samsahai-ctrl"

	DefaultPluginsDir = "plugins"

	// MaxConcurrentProcess represents no. of concurrent process in internal process
	MaxConcurrentProcess = 1

	// MaxReconcileConcurrent represents no. of concurrent process in operator controller
	MaxReconcileConcurrent = 1

	DefaultWorkQueueBaseDelay = 5 * time.Millisecond
	DefaultWorkQueueMaxDelay  = 60 * time.Second
)

Variables

This section is empty.

Functions

func New

New returns Samsahai controller and assign itself to Manager for doing the reconcile when `Team` CRD got changed.

Types

type Option

type Option func(*controller)

func WithClient

func WithClient(client client.Client) Option

func WithDisableLoaders

func WithDisableLoaders(checkers, plugins, reporters bool) Option

func WithScheme

func WithScheme(scheme *runtime.Scheme) Option

type TeamNamespaceStatusOption

type TeamNamespaceStatusOption func(teamComp *s2hv1beta1.Team) (string, s2hv1beta1.TeamConditionType)

Directories

Path Synopsis
checker

Jump to

Keyboard shortcuts

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