Versions in this module Expand all Collapse all v0 v0.91.0 Mar 10, 2025 v0.90.0 Mar 10, 2025 Changes in this version + type AccessURL struct + URL string + type Client struct + Workspace *Service + func NewClient(iamClient *iam.Client, config *ai.Config) (*Client, error) + type LogArtefact struct + StartupLog []string + type Service struct + func (s *Service) CreateWorkspace(model Workspace) (*Workspace, *ai.Response, error) + func (s *Service) DeleteWorkspace(ws Workspace) (*ai.Response, error) + func (s *Service) GetWorkspaceAccessURL(ws Workspace) (*AccessURL, *ai.Response, error) + func (s *Service) GetWorkspaceByID(id string) (*Workspace, *ai.Response, error) + func (s *Service) GetWorkspaceLogs(ws Workspace) (*LogArtefact, *ai.Response, error) + func (s *Service) GetWorkspaces(opt *ai.GetOptions, options ...ai.OptionFunc) ([]Workspace, *ai.Response, error) + func (s *Service) StartWorkspace(ws Workspace) (*ai.Response, error) + func (s *Service) StopWorkspace(ws Workspace) (*ai.Response, error) + type Workspace struct + AdditionalConfiguration string + ComputeTarget ai.ReferenceComputeTarget + Created string + CreatedBy string + Description string + ID string + Labels []string + LastUpdated string + Name string + ResourceType string + SourceCode ai.SourceCode + Type string