art

package
v0.0.0-...-52fd0de Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

* App Lifecycle Service * * This files describes the app lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de

* App Lifecycle Service * * This files describes the App lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de

* App Lifecycle Service * * This files describes the app lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de

* App Lifecycle Service * * This files describes the App lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de

Index

Constants

View Source
const SystemdClient = "system:8080"

Variables

This section is empty.

Functions

func AddContainer

func AddContainer(w http.ResponseWriter, r *http.Request)

AddContainer adds a container within the specified namespace

func AddRoutes

func AddRoutes(newRoutes utils.Routes)

func DeleteContainer

func DeleteContainer(w http.ResponseWriter, r *http.Request)

DeleteContainer ...

func ExportContainer

func ExportContainer(w http.ResponseWriter, r *http.Request)

func GetClient

func GetClient() *containers.Client

GetClient returns a client

func GetContainer

func GetContainer(w http.ResponseWriter, r *http.Request)

GetContainer returns a container

func GetContainers

func GetContainers(w http.ResponseWriter, r *http.Request)

GetContainers ...

func GetNamespaces

func GetNamespaces(w http.ResponseWriter, r *http.Request)

GetNamespaces gets all available namespaces

func Logger

func Logger(inner http.Handler, name string) http.Handler

func NewRouter

func NewRouter() *mux.Router

func UpdateContainer

func UpdateContainer(w http.ResponseWriter, r *http.Request)

UpdateContainer updates the specified container

func Upgrade

func Upgrade(w http.ResponseWriter, r *http.Request)

Upgrade upgrades a list of containers

Types

type ContainersRequest

type ContainersRequest struct {
	Ns         string
	ID         string
	Containers []containers.Container
}

ContainersRequest for RPCs

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc http.HandlerFunc
}

type Routes

type Routes []Route

type Service

type Service int

Service ...

func (*Service) AddContainer

func (s *Service) AddContainer(req ContainersRequest, resp *int) error

AddContainer adds a container within the specified namespace

func (*Service) AddContainerFromFile

func (s *Service) AddContainerFromFile(req ContainersRequest, resp *int) error

func (*Service) CleanupImages

func (s *Service) CleanupImages(ns string, resp *int) error

func (*Service) DeleteContainer

func (s *Service) DeleteContainer(req ContainersRequest, res *int) error

DeleteContainer deletes a container

func (*Service) DeleteInactive

func (s *Service) DeleteInactive(req ContainersRequest, resp *int) error

func (*Service) GetContainer

func (s *Service) GetContainer(req ContainersRequest, container *containers.Container) error

GetContainer returns a container

func (*Service) GetContainers

func (s *Service) GetContainers(namespace string, containers *[]containers.Container) error

GetContainers returns an array of installed containers

func (*Service) GetNamespaces

func (s *Service) GetNamespaces(req int, resp *[2]string) error

GetNamespaces ...

func (*Service) ResetContainer

func (s *Service) ResetContainer(req ContainersRequest, resp *int) error

func (*Service) Start

func (s *Service) Start(req ContainersRequest, res *int) error

func (*Service) StartContainer

func (s *Service) StartContainer(req ContainersRequest, res *int) error

func (*Service) StopContainer

func (s *Service) StopContainer(req ContainersRequest, res *int) error

func (*Service) UpdateAvailable

func (s *Service) UpdateAvailable(req ContainersRequest, resp *bool) error

UpdateAvailable - Checks for available updates for a given container

func (*Service) Upgrade

func (s *Service) Upgrade(req ContainersRequest, res *int) error

Upgrade upgrades a list of containers

Directories

Path Synopsis
* Container Lifecycle Service * * This files describes the container lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de * Container Lifecycle Service * * This files describes the container lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de * Container Lifecycle Service * * This files describes the container lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de * Container Lifecycle Service * * This files describes the container lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de
* Container Lifecycle Service * * This files describes the container lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de * Container Lifecycle Service * * This files describes the container lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de * Container Lifecycle Service * * This files describes the container lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de * Container Lifecycle Service * * This files describes the container lifecycle service * * API version: 1.0.0 * Contact: info@menucha.de

Jump to

Keyboard shortcuts

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