Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindWorkspaceFile ¶
FindWorkspaceFile looks for reactor-workspace.yml or reactor-workspace.yaml in the specified directory. Returns the absolute path to the found file, whether it was found, and any error.
func GenerateWorkspaceHash ¶
GenerateWorkspaceHash creates a SHA256 hash of the canonical, absolute path of the workspace file. This is used for workspace instance labeling.
Types ¶
type Workspace ¶
type Workspace struct {
Version string `yaml:"version"`
Services map[string]Service `yaml:"services"`
}
Workspace defines the structure of the reactor-workspace.yml file.
func ParseWorkspaceFile ¶
ParseWorkspaceFile reads and parses a workspace file into a Workspace struct. It validates the version and ensures services are defined.
Click to show internal directories.
Click to hide internal directories.