Documentation ¶
Index ¶
- Constants
- func GenerateContainers(shared *shared.Shared, definition *v1.ContainerDefinition, ...) ([]platforms.IContainer, []platforms.IContainer, error)
- func GetContainers(shared *shared.Shared, definition *v1.ContainerDefinition) ([]platforms.IContainer, error)
- type Container
- func (container *Container) Apply(user *authentication.User, jsonData []byte, agent string) (contracts.Response, error)
- func (container *Container) Compare(user *authentication.User, jsonData []byte) (contracts.Response, error)
- func (container *Container) Delete(user *authentication.User, jsonData []byte, agent string) (contracts.Response, error)
- func (container *Container) Get(request contracts.Control) contracts.Response
- func (container *Container) GetShared() interface{}
- func (container *Container) List(request contracts.Control) contracts.Response
- func (container *Container) ListSupported(request contracts.Control) contracts.Response
- func (container *Container) Propose(c *gin.Context, user *authentication.User, jsonData []byte, agent string) (contracts.Response, error)
- func (container *Container) Remove(request contracts.Control) contracts.Response
- func (container *Container) Restart(request contracts.Control) contracts.Response
- func (container *Container) Run(operation string, request contracts.Control) contracts.Response
- func (container *Container) Start() error
- func (container *Container) View(request contracts.Control) contracts.Response
Constants ¶
View Source
const KIND string = static.KIND_CONTAINER
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 }
func (*Container) ListSupported ¶
Click to show internal directories.
Click to hide internal directories.