Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) SetSource ¶
func (s *Server) SetSource(ws WorkspaceSource)
type WorkspaceSource ¶
type WorkspaceSource interface {
Get(id string) (*workspace.Workspace, error)
GetByName(name string) (*workspace.Workspace, error)
List() ([]*workspace.Workspace, error)
Logs(ctx context.Context, id string, follow bool) (io.ReadCloser, error)
Diff(id string) (*workspace.DiffInfo, error)
Sync(ctx context.Context, id string) error
BatchRecords() ([]*batch.Record, error)
}
Click to show internal directories.
Click to hide internal directories.