Documentation ¶
Index ¶
- Variables
- func DefaultProject(ctx context.Context, address, token string) (string, error)
- func IsManager(cfg *config.CLIConfig, address string) (bool, error)
- func Login(ctx context.Context, cfg *config.CLIConfig, password, address string) (user string, pass string, err error)
- func ProjectURL(ctx context.Context, serverAddress, accountName, token string) (url string, err error)
- func Projects(ctx context.Context, address, token string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTokenNotFound = fmt.Errorf("token not found") ErrForbidden = fmt.Errorf("forbidden") )
Functions ¶
func DefaultProject ¶
func ProjectURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.