docker

package
v0.0.0-...-fd541cb Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Files embed.FS

Functions

func Build

func Build(cli *client.Client, ctx context.Context) (err error)

Build is used to build the image.

func GenerateName

func GenerateName() (string, error)

func GenerateToken

func GenerateToken() (string, error)

func GetInstances

func GetInstances(cli *client.Client, ctx context.Context) (instances []internaltypes.Instance)

func InstallExtension

func InstallExtension(cli *client.Client, ctx context.Context, instance string, extensionId string) error

func Run

func Run(cli *client.Client, ctx context.Context, name string, port int, authToken string) (err error)

Run is used to start a container.

func SetEditorSettings

func SetEditorSettings(cli *client.Client, ctx context.Context, container string, settings string) error

func Stop

func Stop(cli *client.Client, ctx context.Context, instance string) (deleted bool, err error)

Stop is used to stop a container

func Url

func Url(cli *client.Client, ctx context.Context, instance string) (url string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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