cliutil

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControllerFromConfig

func NewControllerFromConfig(ctx context.Context, cfg *Config) (*controller.Controller, error)

NewControllerFromConfig creates a controller.Controller instance based on the provided configuration.

Types

type Config

type Config = config.Config

Config is the configuration type for this build.

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns a configuration with default values set.

func LoadFromFile

func LoadFromFile(path string) (*Config, error)

LoadFromFile loads configuration from a YAML file.

type Controller

type Controller = *controller.Controller

Controller is the active controller type for this build.

type ExecHandler

type ExecHandler = controller.ExecHandler

ExecHandler is the handler type accepted by Controller.Exec.

Jump to

Keyboard shortcuts

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