apps

package
v0.0.0-...-b196e69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package apps provides methods for managing drycc apps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *drycc.Client, appID string) error

Delete an app.

func Get

func Get(c *drycc.Client, appID string) (api.App, error)

Get app details from a controller.

func List

func List(c *drycc.Client, results int) (api.Apps, int, error)

List lists apps on a Drycc controller.

func New

func New(c *drycc.Client, appID string) (api.App, error)

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.

func Run

func Run(c *drycc.Client, appID string, command string, volumes map[string]any, timeout, expires uint32) error

Run a one-time command in your app. This will start a kubernetes job with the same container image and environment as the rest of the app.

func Transfer

func Transfer(c *drycc.Client, appID string, username string) error

Transfer an app to another user.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL