Documentation ¶
Index ¶
- Constants
- type ScratchSpace
- func (s *ScratchSpace) MakeLogFiles(prefix string) (*os.File, *os.File, error)
- func (s *ScratchSpace) Project() string
- func (s *ScratchSpace) Prune(logger logging.Logger) error
- func (s *ScratchSpace) Runpath() string
- func (s *ScratchSpace) Scratch() string
- func (s *ScratchSpace) Setup() error
- func (s *ScratchSpace) Teardown() error
- func (s *ScratchSpace) Workspace() string
- func (s *ScratchSpace) WriteScript(script string) (string, error)
Constants ¶
View Source
const ( ScratchDir = ".ij" WorkspaceDir = "workspace" ScriptsDir = "scripts" LogsDir = "logs" OutLogSuffix = ".out.log" ErrLogSuffix = ".err.log" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScratchSpace ¶
type ScratchSpace struct {
// contains filtered or unexported fields
}
func NewScratchSpace ¶
func NewScratchSpace(runID, projectDir, scratchRoot string, keepWorkspace bool) *ScratchSpace
func (*ScratchSpace) MakeLogFiles ¶
func (*ScratchSpace) Project ¶
func (s *ScratchSpace) Project() string
func (*ScratchSpace) Runpath ¶
func (s *ScratchSpace) Runpath() string
func (*ScratchSpace) Scratch ¶
func (s *ScratchSpace) Scratch() string
func (*ScratchSpace) Setup ¶
func (s *ScratchSpace) Setup() error
func (*ScratchSpace) Teardown ¶
func (s *ScratchSpace) Teardown() error
func (*ScratchSpace) Workspace ¶
func (s *ScratchSpace) Workspace() string
func (*ScratchSpace) WriteScript ¶
func (s *ScratchSpace) WriteScript(script string) (string, error)
Click to show internal directories.
Click to hide internal directories.