Documentation ¶
Index ¶
- Constants
- func FetchContainersFromRegistry(registry *registry.Registry, containers []replicas.R) []platforms.IContainer
- func GetReplicaNamesAndGroups(shared *shared.Shared, user *authentication.User, ...) ([]replicas.R, error)
- type Container
- func (container *Container) Apply(user *authentication.User, jsonData []byte) (contracts.Response, error)
- func (container *Container) Compare(user *authentication.User, jsonData []byte) (contracts.Response, error)
- func (container *Container) Delete(user *authentication.User, jsonData []byte) (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) 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
- type Request
Constants ¶
View Source
const KIND string = "container"
Variables ¶
This section is empty.
Functions ¶
func FetchContainersFromRegistry ¶ added in v0.0.52
func FetchContainersFromRegistry(registry *registry.Registry, containers []replicas.R) []platforms.IContainer
TODO: refactor
func GetReplicaNamesAndGroups ¶ added in v0.0.52
func GetReplicaNamesAndGroups(shared *shared.Shared, user *authentication.User, containerDefinition v1.ContainerDefinition) ([]replicas.R, error)
Types ¶
type Container ¶
type Container struct { Started bool }
func (*Container) ListSupported ¶
type Request ¶ added in v0.0.52
type Request struct {
Definition *v1.ContainerDefinition
}
func NewRequest ¶ added in v0.0.52
func NewRequest() Request
Click to show internal directories.
Click to hide internal directories.