Documentation ¶
Index ¶
- type AppCrashedRequest
- type DesireLRPRequest
- type DesiredLRP
- type DesiredLRPKey
- type DesiredLRPLifecycleResponse
- type DesiredLRPResponse
- type DesiredLRPSchedulingInfo
- type DesiredLRPSchedulingInfosResponse
- type DesiredLRPUpdate
- type DockerLifecycle
- type EnvironmentVariable
- type Error
- type GetInstancesResponse
- type Instance
- type Lifecycle
- type Route
- type StagingCompletedRequest
- type StagingDockerLifecycle
- type StagingLifecycle
- type StagingRequest
- type TaskCompletedRequest
- type TaskRequest
- type TaskResponse
- type TasksResponse
- type UpdateDesiredLRPRequest
- type VolumeMount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCrashedRequest ¶
type AppCrashedRequest struct { Instance string `json:"instance"` Index int `json:"index"` Reason string `json:"reason"` ExitStatus int `json:"exit_status,omitempty"` ExitDescription string `json:"exit_description,omitempty"` CrashCount int `json:"crash_count"` CrashTimestamp int64 `json:"crash_timestamp"` }
type DesireLRPRequest ¶
type DesireLRPRequest struct { GUID string `json:"guid"` Version string `json:"version"` ProcessGUID string `json:"process_guid"` ProcessType string `json:"process_type"` AppGUID string `json:"app_guid"` AppName string `json:"app_name"` SpaceGUID string `json:"space_guid"` SpaceName string `json:"space_name"` OrganizationGUID string `json:"organization_guid"` OrganizationName string `json:"organization_name"` Namespace string `json:"namespace"` PlacementTags []string `json:"placement_tags"` Ports []int32 `json:"ports"` Routes map[string]json.RawMessage `json:"routes"` Environment map[string]string `json:"environment"` EgressRules []json.RawMessage `json:"egress_rules"` NumInstances int `json:"instances"` LastUpdated string `json:"last_updated"` HealthCheckType string `json:"health_check_type"` HealthCheckHTTPEndpoint string `json:"health_check_http_endpoint"` HealthCheckTimeoutMs uint `json:"health_check_timeout_ms"` StartTimeoutMs uint `json:"start_timeout_ms"` MemoryMB int64 `json:"memory_mb"` DiskMB int64 `json:"disk_mb"` CPUWeight uint8 `json:"cpu_weight"` VolumeMounts []VolumeMount `json:"volume_mounts"` Lifecycle Lifecycle `json:"lifecycle"` UserDefinedAnnotations map[string]string `json:"user_defined_annotations"` LRP string }
type DesiredLRP ¶
type DesiredLRPKey ¶
type DesiredLRPKey struct {
ProcessGUID string `json:"process_guid"`
}
type DesiredLRPLifecycleResponse ¶
type DesiredLRPLifecycleResponse struct {
Error Error `json:"error,omitempty"`
}
type DesiredLRPResponse ¶
type DesiredLRPResponse struct {
DesiredLRP DesiredLRP `json:"desired_lrp"`
}
type DesiredLRPSchedulingInfo ¶
type DesiredLRPSchedulingInfo struct { DesiredLRPKey `json:"desired_lrp_key"` GUID string `json:"guid"` Version string `json:"version"` Annotation string `json:"annotation"` }
type DesiredLRPSchedulingInfosResponse ¶
type DesiredLRPSchedulingInfosResponse struct {
DesiredLrpSchedulingInfos []DesiredLRPSchedulingInfo `json:"desired_lrp_scheduling_infos"`
}
type DesiredLRPUpdate ¶
type DockerLifecycle ¶
type EnvironmentVariable ¶
type GetInstancesResponse ¶
type Lifecycle ¶
type Lifecycle struct {
DockerLifecycle *DockerLifecycle `json:"docker_lifecycle"`
}
type StagingCompletedRequest ¶
type StagingDockerLifecycle ¶
type StagingLifecycle ¶
type StagingLifecycle struct {
DockerLifecycle *StagingDockerLifecycle `json:"docker_lifecycle"`
}
type StagingRequest ¶
type StagingRequest struct { AppGUID string `json:"app_guid"` AppName string `json:"app_name"` OrgName string `json:"org_name"` OrgGUID string `json:"org_guid"` SpaceName string `json:"space_name"` SpaceGUID string `json:"space_guid"` CompletionCallback string `json:"completion_callback"` Environment []EnvironmentVariable `json:"environment"` Lifecycle StagingLifecycle `json:"lifecycle"` MemoryMB int64 `json:"memory_mb"` DiskMB int64 `json:"disk_mb"` CPUWeight uint8 `json:"cpu_weight"` }
type TaskCompletedRequest ¶
type TaskRequest ¶
type TaskRequest struct { GUID string `json:"guid"` Name string `json:"name"` AppGUID string `json:"app_guid"` AppName string `json:"app_name"` OrgName string `json:"org_name"` OrgGUID string `json:"org_guid"` SpaceName string `json:"space_name"` SpaceGUID string `json:"space_guid"` Namespace string `json:"namespace"` CompletionCallback string `json:"completion_callback"` Environment []EnvironmentVariable `json:"environment"` Lifecycle Lifecycle `json:"lifecycle"` }
type TaskResponse ¶
type TaskResponse struct {
GUID string `json:"guid"`
}
type TasksResponse ¶
type TasksResponse []TaskResponse
type UpdateDesiredLRPRequest ¶
type UpdateDesiredLRPRequest struct { GUID string `json:"guid"` Version string `json:"version"` Update DesiredLRPUpdate `json:"update,omitempty"` }
type VolumeMount ¶
Click to show internal directories.
Click to hide internal directories.