app

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgentsDisabledByDefault = sets.NewString()

AgentsDisabledByDefault is the set of controllers which is disabled by default

Functions

func GetAgentInitializers

func GetAgentInitializers() map[string]AgentStarter

GetAgentInitializers returns those agents with initialized functions

func RegisterAgentInitializer

func RegisterAgentInitializer(name string, starter AgentStarter)

RegisterAgentInitializer is used to register user-defined agents

func Run

func Run(conf *config.Configuration, clientSet *client.GenericClientSet, genericOptions ...katalystbase.GenericOptions) error

Run starts common and uniformed agent components here, and starts other specific components in other separate repos (with common components as dependencies)

Types

type AgentStarter

type AgentStarter struct {
	Init      agent.InitFunc
	ExtraConf interface{}
}

AgentStarter is used to start katalyst agents

Jump to

Keyboard shortcuts

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