Documentation ¶
Index ¶
- func FileNotFoundError(path string) string
- type BuilderMock
- type ConfigRunnerMock
- type CredResolverMock
- type DetailManagerMock
- type DirManager
- type DirManagerMock
- type EnvFinderMock
- type FileManager
- func (f *FileManager) Append(path string, content []byte) error
- func (f *FileManager) Copy(src, dst string) error
- func (f *FileManager) Create(path string, data io.ReadCloser) error
- func (f *FileManager) Exists(path string) bool
- func (f *FileManager) List(file string) ([]string, error)
- func (f *FileManager) ListNews(oldPath, newPath string) ([]string, error)
- func (f *FileManager) Move(oldPath, newPath string, files []string) error
- func (f *FileManager) Read(path string) ([]byte, error)
- func (f *FileManager) Remove(path string) error
- func (f *FileManager) Write(path string, content []byte) error
- type FileManagerMock
- func (fi *FileManagerMock) Append(path string, content []byte) error
- func (fi *FileManagerMock) Exists(string) bool
- func (fi *FileManagerMock) ListNews(oldPath, newPath string) ([]string, error)
- func (fi *FileManagerMock) Move(oldPath, newPath string, files []string) error
- func (fi *FileManagerMock) Read(string) ([]byte, error)
- func (fi *FileManagerMock) Remove(path string) error
- func (fi *FileManagerMock) Write(string, []byte) error
- type FormCreator
- type GitRepositoryMock
- type InputBoolMock
- type InputDefaultTextMock
- type InputIntMock
- type InputListMock
- type InputMultiselectMock
- type InputPasswordMock
- type InputPathMock
- type InputTextMock
- type InputTextValidatorMock
- type InputURLMock
- type LocalBuilderMock
- type PostRunner
- type PreRunBuilder
- type RepoInfo
- type RepoManager
- func (r *RepoManager) Add(repo formula.Repo) error
- func (r *RepoManager) Create(repo formula.Repo) error
- func (r *RepoManager) Delete(name formula.RepoName) error
- func (r *RepoManager) LatestTag(repo formula.Repo) string
- func (r *RepoManager) List() (formula.Repos, error)
- func (r *RepoManager) SetPriority(name formula.RepoName, priority int) error
- func (r *RepoManager) Update(name formula.RepoName, version formula.RepoVersion) error
- func (r *RepoManager) Write(repos formula.Repos) error
- type RitConfigMock
- type TemplateManagerMock
- func (tm *TemplateManagerMock) LangTemplateFiles(lang string) ([]template.File, error)
- func (tm *TemplateManagerMock) Languages() ([]string, error)
- func (tm *TemplateManagerMock) ResolverNewPath(oldPath, newDir, lang, workspacePath string) (string, error)
- func (tm *TemplateManagerMock) Validate() error
- type TreeManager
- func (t *TreeManager) Check() []api.CommandID
- func (t *TreeManager) Generate(repoPath string) (formula.Tree, error)
- func (t *TreeManager) MergedTree(core bool) formula.Tree
- func (t *TreeManager) Tree() (map[formula.RepoName]formula.Tree, error)
- func (t *TreeManager) TreeByRepo(repoName formula.RepoName) (formula.Tree, error)
- type TutorialFindSetterMock
- type WorkspaceForm
- func (w *WorkspaceForm) Add(workspace formula.Workspace) error
- func (w *WorkspaceForm) CurrentHash(formulaPath string) (string, error)
- func (w *WorkspaceForm) Delete(workspace formula.Workspace) error
- func (w *WorkspaceForm) List() (formula.Workspaces, error)
- func (w *WorkspaceForm) PreviousHash(formulaPath string) (string, error)
- func (w *WorkspaceForm) Update(workspace formula.Workspace) error
- func (w *WorkspaceForm) UpdateHash(formulaPath string, hash string) error
- func (w *WorkspaceForm) Validate(workspace formula.Workspace) error
- type WorkspaceListHasherMock
- func (w *WorkspaceListHasherMock) CurrentHash(formulaPath string) (string, error)
- func (w *WorkspaceListHasherMock) List() (formula.Workspaces, error)
- func (w *WorkspaceListHasherMock) PreviousHash(formulaPath string) (string, error)
- func (w *WorkspaceListHasherMock) UpdateHash(formulaPath string, hash string) error
- type WorkspaceMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileNotFoundError ¶
Types ¶
type BuilderMock ¶
func (*BuilderMock) HasBuilt ¶
func (b *BuilderMock) HasBuilt() bool
type ConfigRunnerMock ¶
func (*ConfigRunnerMock) Create ¶
func (c *ConfigRunnerMock) Create(runType formula.RunnerType) error
func (*ConfigRunnerMock) Find ¶
func (c *ConfigRunnerMock) Find() (formula.RunnerType, error)
type CredResolverMock ¶
type DetailManagerMock ¶
type DirManager ¶
func (*DirManager) Create ¶
func (d *DirManager) Create(dir string) error
func (*DirManager) Exists ¶
func (d *DirManager) Exists(path string) bool
func (*DirManager) IsDir ¶
func (d *DirManager) IsDir(dir string) bool
type DirManagerMock ¶
func (*DirManagerMock) Create ¶
func (d *DirManagerMock) Create(dir string) error
func (*DirManagerMock) List ¶
func (d *DirManagerMock) List(dir string, hiddenDir bool) ([]string, error)
func (*DirManagerMock) Remove ¶
func (d *DirManagerMock) Remove(dir string) error
type EnvFinderMock ¶
type FileManager ¶
func (*FileManager) Copy ¶
func (f *FileManager) Copy(src, dst string) error
func (*FileManager) Create ¶
func (f *FileManager) Create(path string, data io.ReadCloser) error
func (*FileManager) Exists ¶
func (f *FileManager) Exists(path string) bool
func (*FileManager) ListNews ¶
func (f *FileManager) ListNews(oldPath, newPath string) ([]string, error)
func (*FileManager) Move ¶
func (f *FileManager) Move(oldPath, newPath string, files []string) error
func (*FileManager) Remove ¶
func (f *FileManager) Remove(path string) error
type FileManagerMock ¶
func (*FileManagerMock) Append ¶
func (fi *FileManagerMock) Append(path string, content []byte) error
func (*FileManagerMock) Exists ¶
func (fi *FileManagerMock) Exists(string) bool
func (*FileManagerMock) ListNews ¶
func (fi *FileManagerMock) ListNews(oldPath, newPath string) ([]string, error)
func (*FileManagerMock) Move ¶
func (fi *FileManagerMock) Move(oldPath, newPath string, files []string) error
func (*FileManagerMock) Remove ¶
func (fi *FileManagerMock) Remove(path string) error
type FormCreator ¶
type GitRepositoryMock ¶
func (*GitRepositoryMock) Zipball ¶
func (g *GitRepositoryMock) Zipball(info git.RepoInfo, version string) (io.ReadCloser, error)
type InputBoolMock ¶
type InputDefaultTextMock ¶
type InputIntMock ¶
type InputListMock ¶
type InputMultiselectMock ¶
func (*InputMultiselectMock) Multiselect ¶
func (i *InputMultiselectMock) Multiselect(input formula.Input) ([]string, error)
type InputPasswordMock ¶
type InputPathMock ¶
type InputTextMock ¶
type InputTextValidatorMock ¶
type InputURLMock ¶
type LocalBuilderMock ¶
type PostRunner ¶
type PreRunBuilder ¶
func (*PreRunBuilder) Build ¶
func (prb *PreRunBuilder) Build(relativePath string) error
type RepoManager ¶
func (*RepoManager) SetPriority ¶
func (r *RepoManager) SetPriority(name formula.RepoName, priority int) error
func (*RepoManager) Update ¶
func (r *RepoManager) Update(name formula.RepoName, version formula.RepoVersion) error
type RitConfigMock ¶
type TemplateManagerMock ¶
func (*TemplateManagerMock) LangTemplateFiles ¶
func (tm *TemplateManagerMock) LangTemplateFiles(lang string) ([]template.File, error)
func (*TemplateManagerMock) Languages ¶
func (tm *TemplateManagerMock) Languages() ([]string, error)
func (*TemplateManagerMock) ResolverNewPath ¶
func (tm *TemplateManagerMock) ResolverNewPath(oldPath, newDir, lang, workspacePath string) (string, error)
func (*TemplateManagerMock) Validate ¶
func (tm *TemplateManagerMock) Validate() error
type TreeManager ¶
func (*TreeManager) Check ¶
func (t *TreeManager) Check() []api.CommandID
func (*TreeManager) Generate ¶
func (t *TreeManager) Generate(repoPath string) (formula.Tree, error)
func (*TreeManager) MergedTree ¶
func (t *TreeManager) MergedTree(core bool) formula.Tree
func (*TreeManager) TreeByRepo ¶
type TutorialFindSetterMock ¶
func (*TutorialFindSetterMock) Find ¶
func (t *TutorialFindSetterMock) Find() (rtutorial.TutorialHolder, error)
func (*TutorialFindSetterMock) Set ¶
func (t *TutorialFindSetterMock) Set(tutorial string) (rtutorial.TutorialHolder, error)
type WorkspaceForm ¶
func (*WorkspaceForm) CurrentHash ¶
func (w *WorkspaceForm) CurrentHash(formulaPath string) (string, error)
func (*WorkspaceForm) List ¶
func (w *WorkspaceForm) List() (formula.Workspaces, error)
func (*WorkspaceForm) PreviousHash ¶
func (w *WorkspaceForm) PreviousHash(formulaPath string) (string, error)
func (*WorkspaceForm) UpdateHash ¶
func (w *WorkspaceForm) UpdateHash(formulaPath string, hash string) error
type WorkspaceListHasherMock ¶
func (*WorkspaceListHasherMock) CurrentHash ¶
func (w *WorkspaceListHasherMock) CurrentHash(formulaPath string) (string, error)
func (*WorkspaceListHasherMock) List ¶
func (w *WorkspaceListHasherMock) List() (formula.Workspaces, error)
func (*WorkspaceListHasherMock) PreviousHash ¶
func (w *WorkspaceListHasherMock) PreviousHash(formulaPath string) (string, error)
func (*WorkspaceListHasherMock) UpdateHash ¶
func (w *WorkspaceListHasherMock) UpdateHash(formulaPath string, hash string) error
type WorkspaceMock ¶
func (*WorkspaceMock) List ¶
func (w *WorkspaceMock) List() (formula.Workspaces, error)
Click to show internal directories.
Click to hide internal directories.