Documentation
¶
Index ¶
- type AppStatusResponse
- type DeployRequest
- type ExecRequest
- type ExecResponse
- type ExecResult
- type HealthResponse
- type ImageAssembleRequest
- type ImageAssembleResponse
- type ImageDiskSpaceCheckRequest
- type ImageDiskSpaceCheckResponse
- type ImageManifestEntry
- type ImagePruneRequest
- type ImagePruneResponse
- type ImagePruneTag
- type ImageUploadResponse
- type LayerCheckRequest
- type LayerCheckResponse
- type LayerUploadResponse
- type RollbackRequest
- type RollbackTargetsResponse
- type VersionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStatusResponse ¶
type DeployRequest ¶
type DeployRequest struct {
DeploymentID string `json:"deploymentID"`
TargetConfig config.TargetConfig `json:"targetConfig"`
// DeployConfig without resolved secrets and with target extracted. Saved on server for rollbacks
RollbackDeployConfig config.DeployConfig `json:"rollbackDeployConfig"`
}
type ExecRequest ¶
type ExecResponse ¶
type ExecResponse struct {
Results []ExecResult `json:"results"`
}
type ExecResult ¶
type HealthResponse ¶
type ImageAssembleRequest ¶
type ImageAssembleRequest struct {
ImageRef string `json:"imageRef"`
Config []byte `json:"config"`
Manifest ImageManifestEntry `json:"manifest"`
}
ImageAssembleRequest contains metadata to reassemble an image from layers
type ImageAssembleResponse ¶
ImageAssembleResponse confirms image was loaded
type ImageManifestEntry ¶
type ImageManifestEntry struct {
Config string `json:"Config"`
RepoTags []string `json:"RepoTags"`
Layers []string `json:"Layers"`
}
ImageManifestEntry represents one entry from docker save manifest.json
type ImagePruneRequest ¶
type ImagePruneResponse ¶
type ImagePruneResponse struct {
AppName string `json:"appName"`
Keep int `json:"keep"`
Applied bool `json:"applied"`
RunningDeploymentIDs []string `json:"runningDeploymentIds,omitempty"`
Tags []ImagePruneTag `json:"tags"`
}
type ImagePruneTag ¶
type ImageUploadResponse ¶
type LayerCheckRequest ¶
type LayerCheckRequest struct {
Digests []string `json:"digests"`
}
LayerCheckRequest is sent by client to query which layers already exist on server
type LayerCheckResponse ¶
type LayerCheckResponse struct {
Missing []string `json:"missing"`
Exists []string `json:"exists"`
}
LayerCheckResponse tells client which layers are missing
type LayerUploadResponse ¶
LayerUploadResponse confirms a layer was stored
type RollbackRequest ¶
type RollbackRequest struct {
TargetDeploymentID string `json:"targetDeploymentID"`
NewDeploymentID string `json:"newDeploymentID"`
NewTargetConfig config.TargetConfig `json:"newTargetConfig"`
}
type RollbackTargetsResponse ¶
type RollbackTargetsResponse struct {
Targets []deploytypes.RollbackTarget `json:"targets"`
}
type VersionResponse ¶
Click to show internal directories.
Click to hide internal directories.