container

package
v0.0.126 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func GenerateContainers added in v0.0.81

func GenerateContainers(shared *shared.Shared, definition *v1.ContainerDefinition, changelog diff.Changelog) ([]platforms.IContainer, []platforms.IContainer, error)

func GetContainers added in v0.0.81

func GetContainers(shared *shared.Shared, definition *v1.ContainerDefinition) ([]platforms.IContainer, error)

Types

type Container

type Container struct {
	Started bool
	Shared  *shared.Shared
}

func New

func New(mgr *manager.Manager) *Container

func (*Container) Apply added in v0.0.52

func (container *Container) Apply(user *authentication.User, jsonData []byte, agent string) (contracts.Response, error)

func (*Container) Compare added in v0.0.52

func (container *Container) Compare(user *authentication.User, jsonData []byte) (contracts.Response, error)

func (*Container) Delete

func (container *Container) Delete(user *authentication.User, jsonData []byte, agent string) (contracts.Response, error)

func (*Container) Get

func (container *Container) Get(request contracts.Control) contracts.Response

func (*Container) GetShared added in v0.0.52

func (container *Container) GetShared() interface{}

func (*Container) List

func (container *Container) List(request contracts.Control) contracts.Response

func (*Container) ListSupported

func (container *Container) ListSupported(request contracts.Control) contracts.Response

func (*Container) Propose added in v0.0.114

func (container *Container) Propose(c *gin.Context, user *authentication.User, jsonData []byte, agent string) (contracts.Response, error)

func (*Container) Remove added in v0.0.52

func (container *Container) Remove(request contracts.Control) contracts.Response

func (*Container) Restart

func (container *Container) Restart(request contracts.Control) contracts.Response

func (*Container) Run

func (container *Container) Run(operation string, request contracts.Control) contracts.Response

func (*Container) Start added in v0.0.52

func (container *Container) Start() error

func (*Container) View

func (container *Container) View(request contracts.Control) contracts.Response

Jump to

Keyboard shortcuts

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