Versions in this module Expand all Collapse all v1 v1.0.6 Oct 31, 2016 v1.0.5 Sep 28, 2016 Changes in this version + const CONTAINER_KILL + const CONTAINER_RM + const CONTAINER_STOP_TIMEOUT + const CodeConnectNetworkMethodError + const CodeConnectNetworkParamError + const CodeCreateNetworkParamError + const CodeCreateNodeParamError + const CodeCreateServiceParamError + const CodeCreateStackParamError + const CodeCreateVolumeParamError + const CodeDeleteContainerMethodUndefined + const CodeDeleteContainerParamError + const CodeGetConfigError + const CodeInspectNetworkParamError + const CodeInvalidGroupId + const CodeInvalidStackName + const CodeListContainerParamError + const CodeListImageParamError + const CodeListNetworkParamError + const CodeListTaskParamError + const CodePatchContainerMethodUndefined + const CodePatchContainerParamError + const CodeScaleServiceParamError + const CodeStackNotFound + const CodeUpdateNodeParamError + const CodeUpdateServiceParamError + const NETWORK_CONNECT + const NETWORK_DISCONNECT + type Api struct + Client *dockerclient.CraneDockerClient + Config *config.Config + func (api *Api) ApiRouter() *gin.Engine + func (api *Api) ConnectContainer(ctx *gin.Context) + func (api *Api) ConnectNetwork(ctx *gin.Context) + func (api *Api) ConnectNodeNetwork(ctx *gin.Context) + func (api *Api) CraneConfig(ctx *gin.Context) + func (api *Api) CreateNetwork(ctx *gin.Context) + func (api *Api) CreateNode(ctx *gin.Context) + func (api *Api) CreateNodeNetwork(ctx *gin.Context) + func (api *Api) CreateService(ctx *gin.Context) + func (api *Api) CreateStack(ctx *gin.Context) + func (api *Api) CreateVolume(ctx *gin.Context) + func (api *Api) DeleteContainer(ctx *gin.Context) + func (api *Api) DiffContainer(ctx *gin.Context) + func (api *Api) GetConfig() *config.Config + func (api *Api) GetDockerClient() *dockerclient.CraneDockerClient + func (api *Api) HealthCheck(ctx *gin.Context) + func (api *Api) Help(engine *gin.Engine) gin.HandlerFunc + func (api *Api) ImageHistory(ctx *gin.Context) + func (api *Api) Info(ctx *gin.Context) + func (api *Api) InspectContainer(ctx *gin.Context) + func (api *Api) InspectImage(ctx *gin.Context) + func (api *Api) InspectNetwork(ctx *gin.Context) + func (api *Api) InspectNode(ctx *gin.Context) + func (api *Api) InspectNodeNetwork(ctx *gin.Context) + func (api *Api) InspectService(ctx *gin.Context) + func (api *Api) InspectStack(ctx *gin.Context) + func (api *Api) InspectTask(ctx *gin.Context) + func (api *Api) InspectVolume(ctx *gin.Context) + func (api *Api) ListContainers(ctx *gin.Context) + func (api *Api) ListImages(ctx *gin.Context) + func (api *Api) ListNetworks(ctx *gin.Context) + func (api *Api) ListNodeNetworks(ctx *gin.Context) + func (api *Api) ListNodes(ctx *gin.Context) + func (api *Api) ListStack(ctx *gin.Context) + func (api *Api) ListStackService(ctx *gin.Context) + func (api *Api) ListTasks(ctx *gin.Context) + func (api *Api) ListVolume(ctx *gin.Context) + func (api *Api) LogsContainer(ctx *gin.Context) + func (api *Api) LogsService(ctx *gin.Context) + func (api *Api) ManagerInfo(ctx *gin.Context) + func (api *Api) PatchContainer(ctx *gin.Context) + func (api *Api) RemoveImage(ctx *gin.Context) + func (api *Api) RemoveNetwork(ctx *gin.Context) + func (api *Api) RemoveNode(ctx *gin.Context) + func (api *Api) RemoveService(ctx *gin.Context) + func (api *Api) RemoveStack(ctx *gin.Context) + func (api *Api) RemoveVolume(ctx *gin.Context) + func (api *Api) ScaleService(ctx *gin.Context) + func (api *Api) ServiceCDAddr(ctx *gin.Context) + func (api *Api) StatsContainer(ctx *gin.Context) + func (api *Api) StatsService(ctx *gin.Context) + func (api *Api) UpdateNode(ctx *gin.Context) + func (api *Api) UpdateService(ctx *gin.Context) + func (api *Api) UpdateServiceImage(ctx *gin.Context) + func (api *Api) UpdateStack(ctx *gin.Context) + type ConnectNetworkRequest struct + Method string + NetworkOptions docker.NetworkConnectionOptions + type ContainerRequest struct + Height int + Method string + Name string + Width int + type CraneConfigResponse struct + BuildTime string + FeatureFlags []string + NumGoroutine int + SwarmInfo swarm.Swarm + Version string + type RouteInfo struct + Method string + Path string