handler

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanupHandler added in v0.13.0

type CleanupHandler interface {
	PurgeImages(ctx context.Context, repository, excludeTag string) error
}

type ContainerHandler added in v0.0.2

type ContainerHandler interface {
	Info(ctx context.Context) (lib_model.SrvContainer, error)
	Restart(ctx context.Context) error
	ExecCmd(ctx context.Context, cmd []string, tty bool, envVars map[string]string, workDir string) error
}

type CoreServiceHandler added in v0.0.2

type CoreServiceHandler interface {
	List(ctx context.Context) (map[string]lib_model.CoreService, error)
	Get(ctx context.Context, name string) (lib_model.CoreService, error)
	Restart(ctx context.Context, name string) error
}

type GatewayEndpointHandler

type GatewayEndpointHandler interface {
	List(ctx context.Context, filter lib_model.EndpointFilter) (map[string]lib_model.Endpoint, error)
	Get(ctx context.Context, id string) (lib_model.Endpoint, error)
	Set(ctx context.Context, endpoint lib_model.EndpointBase) error
	SetList(ctx context.Context, endpoints []lib_model.EndpointBase) error
	AddAlias(ctx context.Context, id, path string) error
	AddDefaultGui(ctx context.Context, id string) error
	Remove(ctx context.Context, id string, restrictStd bool) error
	RemoveAll(ctx context.Context, filter lib_model.EndpointFilter, restrictStd bool) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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