Documentation
¶
Index ¶
- func PrintBuildLogs(logs []models.ServiceBuildLog)
- func PrintDeployLogs(log []models.ServiceDeployLog)
- func PrintError(err error) error
- func PrintJSON(data interface{})
- func PrintJSONError(err error) error
- func PrintLn(msg string)
- func PrintLogsFromInterface(log []interface{})
- func PrintRaw(msg string)
- func PrintSuccess(msg string)
- func PrintTOML(data interface{})
- func PrintWarning(msg string)
- type CLIUserError
- type Complete
- type CreateView
- type DeleteView
- type Error
- type GetView
- type ListView
- type Logs
- type SpinnerView
- type State
- type Terminal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintBuildLogs ¶
func PrintBuildLogs(logs []models.ServiceBuildLog)
func PrintDeployLogs ¶
func PrintDeployLogs(log []models.ServiceDeployLog)
func PrintError ¶
func PrintJSONError ¶
func PrintLogsFromInterface ¶
func PrintLogsFromInterface(log []interface{})
func PrintSuccess ¶
func PrintSuccess(msg string)
func PrintWarning ¶
func PrintWarning(msg string)
Types ¶
type CLIUserError ¶
type CLIUserError struct {
Msg string
}
func (*CLIUserError) Error ¶
func (u *CLIUserError) Error() string
type CreateView ¶
type CreateView struct {
SpinnerView
// contains filtered or unexported fields
}
func NewCreateView ¶
func NewCreateView(model string, json bool) *CreateView
func (*CreateView) Fail ¶
func (v *CreateView) Fail(err error) error
func (*CreateView) Start ¶
func (v *CreateView) Start()
func (*CreateView) Success ¶
func (v *CreateView) Success(id string)
type DeleteView ¶
type DeleteView struct {
SpinnerView
// contains filtered or unexported fields
}
func NewDeleteView ¶
func NewDeleteView(model string, id string) *DeleteView
func (*DeleteView) Fail ¶
func (v *DeleteView) Fail(err error) error
func (*DeleteView) Start ¶
func (v *DeleteView) Start()
func (*DeleteView) Success ¶
func (v *DeleteView) Success()
func (*DeleteView) SuccessQueued ¶
func (v *DeleteView) SuccessQueued()
type GetView ¶
type GetView struct {
// contains filtered or unexported fields
}
func NewGetView ¶
func NewGetView() *GetView
type ListView ¶
type ListView struct {
// contains filtered or unexported fields
}
func NewListView ¶
func NewListView() *ListView
type SpinnerView ¶
type SpinnerView struct {
// contains filtered or unexported fields
}
func NewSpinnerView ¶
func NewSpinnerView(json bool) *SpinnerView
func (*SpinnerView) Fail ¶
func (v *SpinnerView) Fail(err error)
func (*SpinnerView) Start ¶
func (v *SpinnerView) Start(text string)
func (*SpinnerView) Success ¶
func (v *SpinnerView) Success(text string)
func (*SpinnerView) Update ¶
func (v *SpinnerView) Update(text string)
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
action/run/steps
This run.go file contains a stub used to render the step component in a standalone way.
|
This run.go file contains a stub used to render the step component in a standalone way. |
|
common
Package common provides utilities for v3 UI components.
|
Package common provides utilities for v3 UI components. |
Click to show internal directories.
Click to hide internal directories.