workspaces

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DefaultWorkspaceFileName = "orca.workspace.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearCurrentDTO

type ClearCurrentDTO struct {
}

type CloneDTO

type CloneDTO struct {
	WorkspaceName string
	Project       string
	To            string
}

type InitialiseDTO

type InitialiseDTO struct {
	// A github repository in the format 'owner/repo' to clone the workspace
	// config from, takes precedence over SourceDirectory
	SourceRepo string

	SourceDirectory   string
	WorkspaceFileName string
	Into              string
}

type LsDTO

type LsDTO struct {
}

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(fs afero.Fs, tui tui, configManager config, git git, githubClient githubClient, workspaceRepo workspaceRepo, contextResolver contextResolver) *Manager

func (*Manager) ClearCurrent

func (m *Manager) ClearCurrent(dto ClearCurrentDTO) error

func (*Manager) Clone

func (m *Manager) Clone(dto CloneDTO) error

func (*Manager) Initialise

func (m *Manager) Initialise(dto InitialiseDTO) error

func (*Manager) InitialiseFromLocalDirectory added in v0.17.0

func (m *Manager) InitialiseFromLocalDirectory(dir string, workspaceFile string, into string) error

func (*Manager) InitialiseFromRemoteRepo added in v0.17.0

func (m *Manager) InitialiseFromRemoteRepo(repoName string, workspaceFile string, into string) error

func (*Manager) Ls

func (m *Manager) Ls(dto LsDTO) error

func (*Manager) ShowCurrent

func (m *Manager) ShowCurrent(dto ShowCurrentDTO) error

type ShowCurrentDTO

type ShowCurrentDTO struct {
}

Jump to

Keyboard shortcuts

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