Documentation
¶
Index ¶
- func Dir() (string, error)
- func HasConfig() bool
- func HasToken() bool
- func IndicesDir() (string, error)
- func Init()
- func IsCI() bool
- func RemoveToken() error
- func SaveToken(token string) error
- func SetIndicesDir(dir string) error
- func Token() string
- func TokenFromEnv() bool
- func ValidToken(token string) bool
- type Config
- type Environment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndicesDir ¶ added in v0.7.0
func RemoveToken ¶
func RemoveToken() error
func SetIndicesDir ¶ added in v0.7.0
func TokenFromEnv ¶ added in v0.2.1
func TokenFromEnv() bool
func ValidToken ¶
Types ¶
type Environment ¶
Click to show internal directories.
Click to hide internal directories.