 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type ErrorDetails
- type ErrorType
- type Factory
- type ImagePullSecret
- type MessageType
- type RequestPayload
- type ResponsePayload
- type Settings
- type TerminationProgress
- type WorkerSettings
- type WorkspaceAgentInfo
- type WorkspaceNamespaceMode
- type WorkspacePrerequisites
- type WorkspaceRailsInfo
- type WorkspaceUpdateType
Constants ¶
      View Source
      
  
const ( WorkspaceUpdateTypePartial WorkspaceUpdateType = "partial" WorkspaceUpdateTypeFull WorkspaceUpdateType = "full" WorkspaceNamespaceModeUnique WorkspaceNamespaceMode = "unique" WorkspaceStateTerminated string = "Terminated" WorkspaceStateError string = "Error" TerminationProgressTerminating TerminationProgress = "Terminating" TerminationProgressTerminated TerminationProgress = "Terminated" ErrorTypeApplier ErrorType = "applier" ErrorTypeKubernetes ErrorType = "kubernetes" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorDetails ¶
type ImagePullSecret ¶
type MessageType ¶
type MessageType string
type RequestPayload ¶
type RequestPayload struct {
	UpdateType          WorkspaceUpdateType  `json:"update_type"`
	WorkspaceAgentInfos []WorkspaceAgentInfo `json:"workspace_agent_infos"`
}
    type ResponsePayload ¶
type ResponsePayload struct {
	WorkspaceRailsInfos []*WorkspaceRailsInfo `json:"workspace_rails_infos"`
	Settings            *Settings             `json:"settings"`
}
    type TerminationProgress ¶
type TerminationProgress string
type WorkerSettings ¶
type WorkspaceAgentInfo ¶
type WorkspaceAgentInfo struct {
	Name                    string              `json:"name"`
	Namespace               string              `json:"namespace,omitempty"`
	LatestK8sDeploymentInfo map[string]any      `json:"latest_k8s_deployment_info,omitempty"`
	TerminationProgress     TerminationProgress `json:"termination_progress,omitempty"`
	ErrorDetails            *ErrorDetails       `json:"error_details,omitempty"`
}
    type WorkspaceNamespaceMode ¶
type WorkspaceNamespaceMode string
type WorkspacePrerequisites ¶
type WorkspacePrerequisites struct {
}
    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"`
	ImagePullSecrets          []ImagePullSecret `json:"image_pull_secrets,omitempty"`
}
    type WorkspaceUpdateType ¶
type WorkspaceUpdateType string
       Source Files
      ¶
      Source Files
      ¶
    
- defaulting.go
- error_details_tracker.go
- factory.go
- image_pull_secret.go
- image_pull_secret_tracker.go
- informer.go
- informer_event_handler.go
- k8s_informer.go
- mock_informer.go
- module.go
- namespace_handler.go
- namespace_handler_shared.go
- namespace_handler_unique.go
- persisted_state.go
- reconciler.go
- task.go
- termination_tracker.go
- worker.go
 Click to show internal directories. 
   Click to hide internal directories.