headless

package
v0.55.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHeadlessDaemon

func NewHeadlessDaemon(
	ui cli.Ui,
	logger log.Logger,
	renderer *resolve.APIConfigRenderer,
	stateManager state.Manager,
	fs afero.Afero,
	v *viper.Viper,
) daemontypes.Daemon

Types

type HeadlessDaemon

type HeadlessDaemon struct {
	StateManager   state.Manager
	Logger         log.Logger
	UI             cli.Ui
	ConfigRenderer *resolve.APIConfigRenderer
	FS             afero.Afero
	ResolvedConfig map[string]interface{}

	YesApplyTerraform bool
}

func (*HeadlessDaemon) AllStepsDone

func (d *HeadlessDaemon) AllStepsDone(context.Context)

func (*HeadlessDaemon) AwaitShutdown

func (d *HeadlessDaemon) AwaitShutdown() error

func (*HeadlessDaemon) CleanPreviousStep

func (d *HeadlessDaemon) CleanPreviousStep()

func (*HeadlessDaemon) ClearProgress

func (d *HeadlessDaemon) ClearProgress()

func (*HeadlessDaemon) ConfigSavedChan

func (d *HeadlessDaemon) ConfigSavedChan() chan interface{}

func (*HeadlessDaemon) EnsureStarted

func (d *HeadlessDaemon) EnsureStarted(ctx context.Context, release *api.Release) chan error

func (*HeadlessDaemon) GetCurrentConfig

func (d *HeadlessDaemon) GetCurrentConfig() (map[string]interface{}, error)

func (*HeadlessDaemon) HeadlessResolve

func (d *HeadlessDaemon) HeadlessResolve(ctx context.Context, release *api.Release) error

func (*HeadlessDaemon) HeadlessSaveHelmValues

func (d *HeadlessDaemon) HeadlessSaveHelmValues(ctx context.Context, helmValues, defaultValues string) error

func (*HeadlessDaemon) KustomizeSavedChan

func (d *HeadlessDaemon) KustomizeSavedChan() chan interface{}

func (*HeadlessDaemon) MessageConfirmedChan

func (d *HeadlessDaemon) MessageConfirmedChan() chan string

func (*HeadlessDaemon) PushHelmIntroStep

func (*HeadlessDaemon) PushHelmValuesStep

func (d *HeadlessDaemon) PushHelmValuesStep(ctx context.Context, helmValues daemontypes.HelmValues, actions []daemontypes.Action)

func (*HeadlessDaemon) PushKustomizeStep

func (d *HeadlessDaemon) PushKustomizeStep(context.Context, daemontypes.Kustomize)

func (*HeadlessDaemon) PushMessageStep

func (*HeadlessDaemon) PushRenderStep

func (d *HeadlessDaemon) PushRenderStep(context.Context, daemontypes.Render)

func (*HeadlessDaemon) PushStreamStep

func (d *HeadlessDaemon) PushStreamStep(context.Context, <-chan daemontypes.Message)

func (*HeadlessDaemon) SetProgress

func (d *HeadlessDaemon) SetProgress(progress daemontypes.Progress)

func (*HeadlessDaemon) SetStepName

func (d *HeadlessDaemon) SetStepName(context.Context, string)

func (*HeadlessDaemon) TerraformConfirmedChan

func (d *HeadlessDaemon) TerraformConfirmedChan() chan bool

func (*HeadlessDaemon) UnforkSavedChan added in v0.27.0

func (d *HeadlessDaemon) UnforkSavedChan() chan interface{}

Jump to

Keyboard shortcuts

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