Documentation ¶
Index ¶
Constants ¶
View Source
const Bash = "bash"
View Source
const CredentialsAuth = "credentials"
View Source
const LoginAuth = "login"
View Source
const PatAuth = "pat"
View Source
const Powershell = "powershell"
Variables ¶
This section is empty.
Functions ¶
func BashrcPath ¶ added in v1.0.3
func PowershellProfilePath ¶ added in v1.0.3
Types ¶
type AutoCompleteHandler ¶
type AutoCompleteHandler struct { }
func (AutoCompleteHandler) EnableCompleter ¶ added in v1.0.3
func (a AutoCompleteHandler) EnableCompleter(shell string, filePath string) (string, error)
type Cli ¶
type CommandBuilder ¶
type CommandBuilder struct { Input []byte StdIn io.Reader StdOut io.Writer ConfigProvider config.ConfigProvider Executor executor.Executor PluginExecutor executor.Executor }
func (CommandBuilder) Create ¶
func (b CommandBuilder) Create(definitions []parser.Definition) []*cli.Command
func (CommandBuilder) CreateDefaultFlags ¶
func (b CommandBuilder) CreateDefaultFlags(hidden bool) []cli.Flag
func (CommandBuilder) HelpFlag ¶
func (b CommandBuilder) HelpFlag() cli.Flag
type ConfigCommandHandler ¶
type DefinitionData ¶
func NewDefinitionData ¶
func NewDefinitionData(name string, data []byte) *DefinitionData
type TypeConverter ¶
type TypeConverter struct{}
type UriBuilder ¶ added in v1.0.5
type UriBuilder struct {
// contains filtered or unexported fields
}
func NewUriBuilder ¶ added in v1.0.5
func NewUriBuilder(uri url.URL) *UriBuilder
func (*UriBuilder) OverrideUri ¶ added in v1.0.5
func (b *UriBuilder) OverrideUri(overrideUri *url.URL)
func (UriBuilder) Uri ¶ added in v1.0.5
func (b UriBuilder) Uri() url.URL
Click to show internal directories.
Click to hide internal directories.