Documentation
¶
Index ¶
- type Manager
- func (m *Manager) CreateWorkspace(ctx context.Context) (*model.Workspace, error)
- func (m *Manager) DeleteWorkspace(ctx context.Context, id int64) (*model.APIResponse, error)
- func (m *Manager) GetWorkspaces(ctx context.Context) (*model.Workspaces, error)
- func (m *Manager) PushWorkspace(ctx context.Context, id int64, key string, secret string, passphrase string, ...) error
- type WorkspaceClient
- type WorkspacesClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶ added in v0.2.0
type Manager struct {
// contains filtered or unexported fields
}
Manager is managing the required clients to interact with Structurizr. Use NewManager to get started
func NewManager ¶ added in v0.2.0
func NewManager(api WorkspacesClient, cli WorkspaceClient) *Manager
NewManager creates a new Manager with the required clients to interact with Structurizr
func (*Manager) CreateWorkspace ¶ added in v0.2.0
CreateWorkspace creates a new workspace
func (*Manager) DeleteWorkspace ¶ added in v0.2.0
DeleteWorkspace deletes a workspace
func (*Manager) GetWorkspaces ¶ added in v0.2.0
GetWorkspaces lists all workspaces
type WorkspaceClient ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.