containers

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func GenerateContainers added in v0.1.20

func GenerateContainers(shared *shared.Shared, definition *v1.ContainersDefinition, changelog jsondiff.Patch) ([]platforms.IContainer, []platforms.IContainer, []platforms.IContainer, error)

func GetContainers added in v0.1.20

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

Types

type Containers

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

func New

func New(mgr *manager.Manager) *Containers

func (*Containers) Apply added in v0.0.52

func (containers *Containers) Apply(user *authentication.User, definition []byte, agent string) (contracts.Response, error)

func (*Containers) Compare added in v0.0.52

func (containers *Containers) Compare(user *authentication.User, definition []byte) (contracts.Response, error)

func (*Containers) Delete

func (containers *Containers) Delete(user *authentication.User, definition []byte, agent string) (contracts.Response, error)

func (*Containers) Event added in v0.0.137

func (containers *Containers) Event(event contracts.Event) error

func (*Containers) GetShared added in v0.0.52

func (containers *Containers) GetShared() interface{}

func (*Containers) Start added in v0.0.52

func (containers *Containers) Start() error

Directories

Path Synopsis
Package mock_platforms is a generated GoMock package.
Package mock_platforms is a generated GoMock package.

Jump to

Keyboard shortcuts

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