Documentation
¶
Index ¶
- Constants
- func GenerateContainers(shared *shared.Shared, definition *v1.ContainersDefinition, ...) ([]platforms.IContainer, []platforms.IContainer, []platforms.IContainer, error)
- func GetContainers(shared *shared.Shared, definition *v1.ContainersDefinition) ([]platforms.IContainer, error)
- type Containers
- func (containers *Containers) Apply(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)
- func (containers *Containers) Create(cs []platforms.IContainer, exists bool, user *authentication.User)
- func (containers *Containers) Delete(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)
- func (containers *Containers) Destroy(cs []platforms.IContainer, exists bool)
- func (containers *Containers) Event(event ievents.Event) error
- func (containers *Containers) GetShared() interface{}
- func (containers *Containers) Replay(user *authentication.User) (iresponse.Response, error)
- func (containers *Containers) Start() error
- func (containers *Containers) State(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)
- func (containers *Containers) Update(cs []platforms.IContainer, exists bool)
Constants ¶
View Source
const KIND string = static.KIND_CONTAINERS
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
}
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) (iresponse.Response, error)
func (*Containers) Create ¶ added in v0.1.42
func (containers *Containers) Create(cs []platforms.IContainer, exists bool, user *authentication.User)
func (*Containers) Delete ¶
func (containers *Containers) Delete(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)
func (*Containers) Destroy ¶ added in v0.1.42
func (containers *Containers) Destroy(cs []platforms.IContainer, exists bool)
func (*Containers) Event ¶ added in v0.0.137
func (containers *Containers) Event(event ievents.Event) error
func (*Containers) GetShared ¶ added in v0.0.52
func (containers *Containers) GetShared() interface{}
func (*Containers) Replay ¶ added in v0.1.42
func (containers *Containers) Replay(user *authentication.User) (iresponse.Response, error)
func (*Containers) Start ¶ added in v0.0.52
func (containers *Containers) Start() error
func (*Containers) State ¶ added in v0.1.31
func (containers *Containers) State(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)
func (*Containers) Update ¶ added in v0.1.42
func (containers *Containers) Update(cs []platforms.IContainer, exists bool)
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_platforms is a generated GoMock package.
|
Package mock_platforms is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.