manager

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandManagerOptions

type CommandManagerOptions struct {
	*kkcorev1.Playbook
	*kkcorev1.Config
	*kkcorev1.Inventory

	ctrlclient.Client
}

CommandManagerOptions contains the configuration options for creating a new command manager

type Manager

type Manager interface {
	// Run executes the manager's main functionality with the given context
	Run(ctx context.Context) error
}

Manager defines the interface for different types of managers that can run operations

func NewCommandManager

func NewCommandManager(o CommandManagerOptions) Manager

NewCommandManager creates and returns a new command manager instance with the provided options

func NewControllerManager

func NewControllerManager(o *options.ControllerManagerServerOptions) Manager

NewControllerManager creates and returns a new controller manager instance with the provided options

func NewWebManager

func NewWebManager(o WebManagerOptions) Manager

NewWebManager creates and returns a new web manager instance with the provided options

type WebManagerOptions

type WebManagerOptions struct {
	Workdir    string
	Port       int
	SchemaPath string
	UIPath     string
	ctrlclient.Client
	*rest.Config
}

WebManagerOptions contains the configuration options for creating a new web manager

Jump to

Keyboard shortcuts

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