Documentation
¶
Overview ¶
Package apps provides methods for managing drycc apps.
Index ¶
- func Delete(c *drycc.Client, appID string) error
- func Get(c *drycc.Client, appID string) (api.App, error)
- func List(c *drycc.Client, results int) (api.Apps, int, error)
- func New(c *drycc.Client, appID string) (api.App, error)
- func Run(c *drycc.Client, appID string, command string, volumes map[string]any, ...) error
- func Transfer(c *drycc.Client, appID string, username string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a new app with the given appID. Passing an empty string will result in a randomized app name.
If the app name already exists, the error drycc.ErrDuplicateApp will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.