Documentation
¶
Index ¶
- type CLICommand
- type CLICommandHandler
- type CobraCommandHandler
- type PulumiOutput
- type PulumiOutputProgressHandler
- type View
- func (v View) Close() tea.Cmd
- func (v View) Init() tea.Cmd
- func (v View) ListForPulumiProgramCancelFn() tea.Msg
- func (v View) ListenForPulumiProgressOutput() tea.Msg
- func (v View) ListenForReady() tea.Msg
- func (v View) NewPulumiOutputHandler(typ string) *PulumiOutput
- func (v View) Ready()
- func (v View) SendPulumiProgressOutput(progress int, msg, liveLink string)
- func (v View) SetPulumiProgramCancelFn(fn cancelPulumiExec)
- func (v View) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (v View) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLICommand ¶
type CLICommand struct {
// contains filtered or unexported fields
}
type CLICommandHandler ¶
type CobraCommandHandler ¶
func WrapCobraCommand ¶
func WrapCobraCommand(block CLICommandHandler) CobraCommandHandler
type PulumiOutput ¶
type PulumiOutput struct {
Type string
CurrentProgress int
Handler PulumiOutputProgressHandler
}
func (*PulumiOutput) HandleDestroy ¶
func (i *PulumiOutput) HandleDestroy(urn, status string)
func (*PulumiOutput) HandleUpdate ¶
func (i *PulumiOutput) HandleUpdate(urn, status string)
type View ¶
type View struct {
OutputHandler PulumiOutput
// contains filtered or unexported fields
}
func (View) ListForPulumiProgramCancelFn ¶
func (View) ListenForPulumiProgressOutput ¶
func (View) ListenForReady ¶
func (View) NewPulumiOutputHandler ¶
func (v View) NewPulumiOutputHandler(typ string) *PulumiOutput
func (View) SendPulumiProgressOutput ¶
func (View) SetPulumiProgramCancelFn ¶
func (v View) SetPulumiProgramCancelFn(fn cancelPulumiExec)
Click to show internal directories.
Click to hide internal directories.