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 }
Click to show internal directories.
Click to hide internal directories.