Documentation ¶
Index ¶
- Constants
- func FetchContainersFromRegistry(registry *registry.Registry, groups []string, names []string) []platforms.IContainer
- func GetReplicaNamesAndGroups(shared *shared.Shared, containerDefinition v1.ContainerDefinition) ([]string, []string, error)
- type Container
- func (container *Container) Apply(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
- func (container *Container) Compare(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
- func (container *Container) Delete(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
- func (container *Container) Get(request contracts.RequestOperator) contracts.ResponseOperator
- func (container *Container) GetShared() interface{}
- func (container *Container) List(request contracts.RequestOperator) contracts.ResponseOperator
- func (container *Container) ListSupported(args ...interface{}) contracts.ResponseOperator
- func (container *Container) Remove(request contracts.RequestOperator) contracts.ResponseOperator
- func (container *Container) Restart(request contracts.RequestOperator) contracts.ResponseOperator
- func (container *Container) Run(operation string, args ...interface{}) contracts.ResponseOperator
- func (container *Container) Start() error
- func (container *Container) View(request contracts.RequestOperator) contracts.ResponseOperator
- 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, groups []string, names []string) []platforms.IContainer
TODO: refactor
func GetReplicaNamesAndGroups ¶ added in v0.0.52
Types ¶
type Container ¶
type Container struct { Started bool }
func (*Container) Apply ¶ added in v0.0.52
func (container *Container) Apply(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
func (*Container) Compare ¶ added in v0.0.52
func (container *Container) Compare(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
func (*Container) Delete ¶
func (container *Container) Delete(user *authentication.User, jsonData []byte) (contracts.ResponseImplementation, error)
func (*Container) Get ¶
func (container *Container) Get(request contracts.RequestOperator) contracts.ResponseOperator
func (*Container) List ¶
func (container *Container) List(request contracts.RequestOperator) contracts.ResponseOperator
func (*Container) ListSupported ¶
func (container *Container) ListSupported(args ...interface{}) contracts.ResponseOperator
func (*Container) Remove ¶ added in v0.0.52
func (container *Container) Remove(request contracts.RequestOperator) contracts.ResponseOperator
func (*Container) Restart ¶
func (container *Container) Restart(request contracts.RequestOperator) contracts.ResponseOperator
func (*Container) Run ¶
func (container *Container) Run(operation string, args ...interface{}) contracts.ResponseOperator
func (*Container) View ¶
func (container *Container) View(request contracts.RequestOperator) contracts.ResponseOperator
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.