Documentation
¶
Index ¶
- Variables
- func AuthPath() (string, error)
- func BackupAuthFile(ctx context.Context) (backupPath string, moved bool, err error)
- func BackupFile(ctx context.Context) (backupPath string, moved bool, err error)
- func ClearTokens(ctx context.Context, cfg *types.Config) error
- func ConfigPath() (string, error)
- func DefaultConfig() *types.Config
- func InitDefaultFile(ctx context.Context) (bool, error)
- func Load(ctx context.Context) (*types.Config, error)
- func Save(ctx context.Context, c *types.Config) error
- func SaveTokens(ctx context.Context, cfg *types.Config) (err error)
- func SetConfigPath(path string) error
- func SwitchServer(ctx context.Context, cfg *types.Config, serverURL string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Revision = "unknown" CLIStableBaseURL = "https://github.com/getarcaneapp/arcane/releases/download" CLINextBaseURL = "https://bucket.getarcane.app/bin/cli-next" )
Functions ¶
func BackupAuthFile ¶
func ConfigPath ¶
func DefaultConfig ¶
func SetConfigPath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.