cli

package
v0.0.0-...-a21b736 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventTypeRenderPlan = partybus.EventType("plan.render")
	EventTypeApplyPlan  = partybus.EventType("plan.apply")
)

Variables

This section is empty.

Functions

func Application

func Application(id clio.Identification) clio.Application

Types

type AliasConfig

type AliasConfig struct {
	Phase              string `mapstructure:"phase"`
	BrickLabelSelector string `mapstructure:"selector"`
	// contains filtered or unexported fields
}

func (*AliasConfig) DescribeFields

func (c *AliasConfig) DescribeFields(d clio.FieldDescriptionSet)

func (*AliasConfig) PostLoad

func (c *AliasConfig) PostLoad() error

type DaggerConfig

type DaggerConfig struct {
	Env  []string `mapstructure:"env"`
	Args []string `mapstructure:"args"`
}

func (*DaggerConfig) AddFlags

func (c *DaggerConfig) AddFlags(flags clio.FlagSet)

type MasonConfig

type MasonConfig struct {
	RootPath    string   `mapstructure:"root-path"`
	IgnoredDirs []string `mapstructure:"ignored-dirs"`
	KeepWorkDir bool     `mapstructure:"keep-work-dir"`

	BrickLabelSelector string `mapstructure:"label-selector"`

	Aliases map[string][]AliasConfig `mapstructure:"aliases"`

	Dagger DaggerConfig `mapstructure:"dagger"`
	// contains filtered or unexported fields
}

func (*MasonConfig) AddFlags

func (c *MasonConfig) AddFlags(flags clio.FlagSet)

func (*MasonConfig) DescribeFields

func (c *MasonConfig) DescribeFields(d clio.FieldDescriptionSet)

func (*MasonConfig) PostLoad

func (c *MasonConfig) PostLoad() error

type UI

type UI struct {
	Output io.Writer
}

func (*UI) Handle

func (ui *UI) Handle(event partybus.Event) error

func (*UI) Setup

func (ui *UI) Setup(subscription partybus.Unsubscribable) error

func (*UI) Teardown

func (ui *UI) Teardown(force bool) error

Jump to

Keyboard shortcuts

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