Documentation ¶
Index ¶
Constants ¶
View Source
const ( MessageTypeWorkspaceUpdates MessageType = "workspace_updates" WorkspaceUpdateTypePartial WorkspaceUpdateType = "partial" WorkspaceUpdateTypeFull WorkspaceUpdateType = "full" WorkspaceStateTerminated string = "Terminated" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { }
func (*Factory) StartStopPhase ¶
func (f *Factory) StartStopPhase() modshared.ModuleStartStopPhase
type MessageType ¶
type MessageType string
type RequestPayload ¶
type RequestPayload struct { MessageType MessageType `json:"message_type"` UpdateType WorkspaceUpdateType `json:"update_type"` WorkspaceAgentInfos []WorkspaceAgentInfo `json:"workspace_agent_infos"` }
type ResponsePayload ¶
type ResponsePayload struct {
WorkspaceRailsInfos []*WorkspaceRailsInfo `json:"workspace_rails_infos"`
}
type WorkspaceAgentInfo ¶
type WorkspaceRailsInfo ¶
type WorkspaceRailsInfo struct { Name string `json:"name"` Namespace string `json:"namespace"` DeploymentResourceVersion string `json:"deployment_resource_version,omitempty"` ActualState string `json:"actual_state,omitempty"` DesiredState string `json:"desired_state,omitempty"` ConfigToApply string `json:"config_to_apply,omitempty"` }
type WorkspaceUpdateType ¶
type WorkspaceUpdateType string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.