Documentation ¶
Index ¶
- type DotGitData
- type Manager
- func (mgr *Manager) AbsPath() string
- func (mgr *Manager) Debug(_ misc.LaModule, doIt bool) error
- func (mgr *Manager) FindModule(target misc.ModuleShortName) misc.LaModule
- func (mgr *Manager) List() error
- func (mgr *Manager) Pin(doIt bool, target misc.LaModule, newV semver.SemVer) error
- func (mgr *Manager) Release(target misc.LaModule, bump semver.SvBump, doIt bool) error
- func (mgr *Manager) RepoPath() string
- func (mgr *Manager) Tidy(doIt bool) error
- func (mgr *Manager) UnPin(doIt bool, target misc.LaModule) error
- func (mgr *Manager) UnRelease(target misc.LaModule, doIt bool) error
- type ManagerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DotGitData ¶
type DotGitData struct {
// contains filtered or unexported fields
}
DotGitData holds basic information about a local .git file
func NewDotGitDataFromPath ¶
func NewDotGitDataFromPath(path string) (*DotGitData, error)
NewDotGitDataFromPath wants the incoming path to hold dotGit E.g.
~/gopath/src/sigs.k8s.io/kustomize ~/gopath/src/github.com/monopole/gorepomod
func (*DotGitData) AbsPath ¶
func (dg *DotGitData) AbsPath() string
func (*DotGitData) NewRepoFactory ¶
func (dg *DotGitData) NewRepoFactory( exclusions []string) (*ManagerFactory, error)
It's a factory factory.
func (*DotGitData) RepoPath ¶
func (dg *DotGitData) RepoPath() string
func (*DotGitData) SrcPath ¶
func (dg *DotGitData) SrcPath() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages a git repo. All data already loaded and validated, it's ready to go.
func (*Manager) FindModule ¶
func (mgr *Manager) FindModule( target misc.ModuleShortName) misc.LaModule
type ManagerFactory ¶
type ManagerFactory struct {
// contains filtered or unexported fields
}
ManagerFactory is a collection of clean data needed to build clean, fully wired up instances of Manager.
func (*ManagerFactory) NewRepoManager ¶
func (mf *ManagerFactory) NewRepoManager() *Manager
Click to show internal directories.
Click to hide internal directories.