Documentation ¶
Index ¶
- func Error(items ...interface{})
- func Info(items ...interface{})
- func Infof(format string, items ...interface{})
- func NewTequilApiClient(ctx *cli.Context) (*tequilapi_client.Client, error)
- func PrintTOSError(err error)
- func Status(label string, items ...interface{})
- func Success(items ...interface{})
- func TequilAPIAddress(ctx *cli.Context) string
- func TequilAPIPort(ctx *cli.Context) int
- func Warn(items ...interface{})
- func Warnf(format string, items ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Infof ¶
func Infof(format string, items ...interface{})
Infof prints an information message using fmt.Printf.
func NewTequilApiClient ¶
func NewTequilApiClient(ctx *cli.Context) (*tequilapi_client.Client, error)
NewTequilApiClient - initializes and returns a pointer to tequilapi client - also fetches config using it
func PrintTOSError ¶
func PrintTOSError(err error)
PrintTOSError prints TOS together with a given error asking user to accept them.
func Status ¶
func Status(label string, items ...interface{})
Status prints a message with a given status.
func TequilAPIAddress ¶
func TequilAPIAddress(ctx *cli.Context) string
TequilAPIAddress - wil resolve default tequilapi address or from flag if one is provided
func TequilAPIPort ¶
func TequilAPIPort(ctx *cli.Context) int
TequilAPIPort - wil resolve default tequilapi port or from flag if one is provided
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.