features

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginFeature

type LoginFeature struct {
	// contains filtered or unexported fields
}

func (LoginFeature) Execute

func (l LoginFeature) Execute(input LoginInput) error

type LoginInput

type LoginInput struct{}

type LoginPresenter

type LoginPresenter interface {
	PresentToView(LoginResponse)
}

type LoginResponse

type LoginResponse struct {
	Error   error
	Content LoginResponseContent
}

type LoginResponseContent

type LoginResponseContent struct{}

type RemoveOutputHandler

type RemoveOutputHandler struct {
	// contains filtered or unexported fields
}

func NewRemoveOutputHandler

func NewRemoveOutputHandler(
	presenter RemovePresenter,
) RemoveOutputHandler

func (RemoveOutputHandler) HandleOutput

func (r RemoveOutputHandler) HandleOutput(output features.RemoveOutput) error

type RemovePresenter

type RemovePresenter interface {
	PresentToView(RemoveResponse)
}

type RemoveResponse

type RemoveResponse struct {
	Error   error
	Content RemoveResponseContent
}

type RemoveResponseContent

type RemoveResponseContent struct {
	DevEnvName string
}

type StartOutputHandler

type StartOutputHandler struct {
	// contains filtered or unexported fields
}

func (StartOutputHandler) HandleOutput

func (s StartOutputHandler) HandleOutput(output features.StartOutput) error

type StartPresenter

type StartPresenter interface {
	PresentToView(StartResponse)
}

type StartResponse

type StartResponse struct {
	Error   error
	Content StartResponseContent
}

type StartResponseContent

type StartResponseContent struct {
	DevEnvName           string
	DevEnvAlreadyStarted bool
	DevEnvRebuilt        bool
}

type StopOutputHandler

type StopOutputHandler struct {
	// contains filtered or unexported fields
}

func NewStopOutputHandler

func NewStopOutputHandler(
	presenter StopPresenter,
	sshKnownHosts interfaces.SSHKnownHostsManager,
) StopOutputHandler

func (StopOutputHandler) HandleOutput

func (s StopOutputHandler) HandleOutput(output features.StopOutput) error

type StopPresenter

type StopPresenter interface {
	PresentToView(StopResponse)
}

type StopResponse

type StopResponse struct {
	Error   error
	Content StopResponseContent
}

type StopResponseContent

type StopResponseContent struct {
	DevEnvName           string
	DevEnvAlreadyStopped bool
}

type UninstallOutputHandler

type UninstallOutputHandler struct {
	// contains filtered or unexported fields
}

func NewUninstallOutputHandler

func NewUninstallOutputHandler(
	presenter UninstallPresenter,
) UninstallOutputHandler

func (UninstallOutputHandler) HandleOutput

func (u UninstallOutputHandler) HandleOutput(output features.UninstallOutput) error

type UninstallPresenter

type UninstallPresenter interface {
	PresentToView(UninstallResponse)
}

type UninstallResponse

type UninstallResponse struct {
	Error   error
	Content UninstallResponseContent
}

type UninstallResponseContent

type UninstallResponseContent struct {
	RecodeAlreadyUninstalled  bool
	SuccessMessage            string
	AlreadyUninstalledMessage string
	RecodeExecutablePath      string
	RecodeConfigDirPath       string
}

Jump to

Keyboard shortcuts

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