deployment

package
v0.0.0-...-ed2735e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package controller provides controllability of persistence database and docker(docker-compose).

Index

Constants

View Source
const (
	ID             = "id"
	CID            = "cid"
	DESCRIPTION    = "description"
	SERVICES       = "services"
	IMAGE          = "image"
	IMAGES         = "images"
	NAME           = "name"
	PORTS          = "ports"
	STATE          = "state"
	STATUS         = "status"
	EXIT_CODE      = "exitcode"
	EVENTS         = "events"
	TARGETINFO     = "target"
	REQUESTINFO    = "request"
	HOST           = "host"
	REPOSITORY     = "repository"
	TAG            = "tag"
	ACTION         = "action"
	PUSH           = "push"
	UPDATE         = "update"
	DELETE         = "delete"
	RUNNING_STATE  = "running"
	EXITED_STATE   = "exited"
	UPDATING_STATE = "updating"
	NONE           = "none"
	CHANGES        = "changes"
	EVENTID        = "eventId"
)

Variables

View Source
var Executor depExecutorImpl

Functions

This section is empty.

Types

type Command

type Command interface {
	DeployApp(body string, query map[string]interface{}) (map[string]interface{}, error)
	Apps() (map[string]interface{}, error)
	App(appId string) (map[string]interface{}, error)
	UpdateAppInfo(appId string, body string) error
	DeleteApp(appId string) error
	StartApp(appId string) error
	StopApp(appId string) error
	HandleEvents(appId string, body string) error
	UpdateApp(appId string, query map[string]interface{}) error
}

Directories

Path Synopsis
Package mock_deployment is a generated GoMock package.
Package mock_deployment is a generated GoMock package.

Jump to

Keyboard shortcuts

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