Documentation ¶
Index ¶
- Variables
- func AppendOption(opt EventOpt)
- func FinishTrackingCommand(opt TrackOptions)
- func NewContext() context.Context
- func StartTrackingCommand(cmd *cobra.Command, args []string)
- func StartedTrackingCommand() bool
- func TrackAsk(qs []*survey.Question, response interface{}, opts ...survey.AskOpt) error
- func TrackAskOne(p survey.Prompt, response interface{}, opts ...survey.AskOpt) error
- type Authenticator
- type CmdFlags
- type CmdName
- type ConfigNameGetter
- type Event
- type EventOpt
- type OrgIDGetter
- type Printer
- type ProjectIDGetter
- type ServiceGetter
- type SkipUpdateGetter
- type TrackOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotMapOrStruct = errors.New("invalid response: expected a struct or map[string]interface{}") ErrFieldNotFound = errors.New("field not found") )
Functions ¶
func AppendOption ¶
func AppendOption(opt EventOpt)
func FinishTrackingCommand ¶
func FinishTrackingCommand(opt TrackOptions)
func NewContext ¶
func StartTrackingCommand ¶
func StartedTrackingCommand ¶
func StartedTrackingCommand() bool
func TrackAsk ¶
func TrackAsk(qs []*survey.Question, response interface{}, opts ...survey.AskOpt) error
func TrackAskOne ¶
func TrackAskOne(p survey.Prompt, response interface{}, opts ...survey.AskOpt) error
Types ¶
type Authenticator ¶
type ConfigNameGetter ¶
type ConfigNameGetter interface {
Name() string
}
type OrgIDGetter ¶
type OrgIDGetter interface {
OrgID() string
}
type ProjectIDGetter ¶
type ProjectIDGetter interface {
ProjectID() string
}
type ServiceGetter ¶
type SkipUpdateGetter ¶
type SkipUpdateGetter interface {
SkipUpdateCheck() bool
}
type TrackOptions ¶
Click to show internal directories.
Click to hide internal directories.