containersapi

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForUpdates

func CheckForUpdates(ctx context.Context) ([]types.Container, *api.Error)

func DeleteContainer

func DeleteContainer(ctx context.Context, uuid uuid.UUID) *api.Error

func GetContainer

func GetContainer(ctx context.Context, uuid uuid.UUID) (*types.Container, *api.Error)

func GetContainerLogs

func GetContainerLogs(ctx context.Context, uuid uuid.UUID) (string, *api.Error)

func GetContainerUUIDParam

func GetContainerUUIDParam(c *router.Context) (uuid.UUID, *api.Error)

func GetContainers

func GetContainers(ctx context.Context) (map[uuid.UUID]*types.Container, *api.Error)

func GetDocker

func GetDocker(ctx context.Context, uuid uuid.UUID) (map[string]any, *api.Error)

func GetService

func GetService(ctx context.Context, serviceId string) (types.Service, *api.Error)

func GetVersions

func GetVersions(ctx context.Context, uuid uuid.UUID) ([]string, *api.Error)

func InstallService

func InstallService(ctx context.Context, serviceId string) (*types.Container, *api.Error)

func PatchContainer

func PatchContainer(ctx context.Context, uuid uuid.UUID, settings types.ContainerSettings) *api.Error

func PatchContainerEnvironment

func PatchContainerEnvironment(ctx context.Context, uuid uuid.UUID, env map[string]string) *api.Error

func RecreateDocker

func RecreateDocker(ctx context.Context, uuid uuid.UUID) *api.Error

func StartContainer

func StartContainer(ctx context.Context, uuid uuid.UUID) *api.Error

func StopContainer

func StopContainer(ctx context.Context, uuid uuid.UUID) *api.Error

func UpdateServiceContainer

func UpdateServiceContainer(ctx context.Context, uuid uuid.UUID) *api.Error

func WaitCondition

func WaitCondition(ctx context.Context, uuid uuid.UUID, condition container.WaitCondition) *api.Error

Types

This section is empty.

Jump to

Keyboard shortcuts

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