ws

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	R_DEPLOY_STATUS_UPDATE           = "R_DEPLOY_STATUS_UPDATE"
	R_RUNTIME_STATUS_CHANGED         = "R_RUNTIME_STATUS_CHANGED"
	R_RUNTIME_SERVICE_STATUS_CHANGED = "R_RUNTIME_SERVICE_STATUS_CHANGED"
	R_RUNTIME_DELETING               = "R_RUNTIME_DELETING"
	R_RUNTIME_DELETED                = "R_RUNTIME_DELETED"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployStatusUpdatePayload

type DeployStatusUpdatePayload struct {
	DeploymentId uint64                      `json:"deploymentId"`
	RuntimeId    uint64                      `json:"runtimeId"`
	Status       apistructs.DeploymentStatus `json:"status"`
	Phase        apistructs.DeploymentPhase  `json:"phase"`
	Step         apistructs.DeploymentPhase  `json:"step"` // Deprecated
	Extra        map[string]interface{}      `json:"extra"`
}

type RuntimeDeletedPayload

type RuntimeDeletedPayload struct {
	RuntimeId uint64 `json:"runtimeId"`
}

type RuntimeDeletingPayload

type RuntimeDeletingPayload struct {
	RuntimeId uint64 `json:"runtimeId"`
}

type RuntimeServiceStatusChangedPayload

type RuntimeServiceStatusChangedPayload struct {
	RuntimeId   uint64                     `json:"runtimeId"`
	ServiceName string                     `json:"serviceName"`
	Status      string                     `json:"status"`
	Errors      []apistructs.ErrorResponse `json:"errors"`
}

type RuntimeStatusChangedPayload

type RuntimeStatusChangedPayload struct {
	RuntimeId uint64                     `json:"runtimeId"`
	Status    string                     `json:"status"`
	Errors    []apistructs.ErrorResponse `json:"errors"`
}

Jump to

Keyboard shortcuts

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