ctrlopts

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsControllerEnabled

func IsControllerEnabled(name string, controllers []string) bool

IsControllerEnabled check if a specified controller enabled or not.

func ParseControllers

func ParseControllers(str string) []string

ParseControllers parse str into controllers, format as: "a1;a2;a3" "*" "*;-a1"

Types

type ControllerInitFns

type ControllerInitFns map[string]func(manager manager.Manager, opts *options.Options) error

ControllerInitFns represent controller init func.

Jump to

Keyboard shortcuts

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