Documentation ¶
Index ¶
- type BinDependency
- type LockFile
- type LockFileBinEntry
- type Manager
- func (m *Manager) Download(ctx context.Context, dir string, s SourceGitHubRelease, t string) (map[string]string, error)
- func (m *Manager) DownloadBinDependency(ctx context.Context, d BinDependency) error
- func (m *Manager) FetchBinDependency(ctx context.Context, d BinDependency) (string, error)
- func (m *Manager) FlushLockFile() error
- func (m *Manager) InstallBinDependency(ctx context.Context, d BinDependency) error
- func (m *Manager) IsBinDependencyDownloaded(d BinDependency) (bool, error)
- func (m *Manager) IsBinDependencyInLockFile(d BinDependency) (bool, error)
- func (m *Manager) Lock(d BinDependency)
- func (m *Manager) Unlock(d BinDependency)
- type ManagerParams
- type SourceGitHubRelease
- type SourceLocal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockFileBinEntry ¶
type Manager ¶
type Manager struct { FetchRemote bool Upgrade bool LockFile *LockFile Dir string // contains filtered or unexported fields }
func NewManager ¶
func NewManager(params ManagerParams) (*Manager, error)
func (*Manager) DownloadBinDependency ¶
func (m *Manager) DownloadBinDependency(ctx context.Context, d BinDependency) error
func (*Manager) FetchBinDependency ¶
func (*Manager) FlushLockFile ¶
func (*Manager) InstallBinDependency ¶
func (m *Manager) InstallBinDependency(ctx context.Context, d BinDependency) error
func (*Manager) IsBinDependencyDownloaded ¶
func (m *Manager) IsBinDependencyDownloaded(d BinDependency) (bool, error)
func (*Manager) IsBinDependencyInLockFile ¶
func (m *Manager) IsBinDependencyInLockFile(d BinDependency) (bool, error)
func (*Manager) Lock ¶
func (m *Manager) Lock(d BinDependency)
func (*Manager) Unlock ¶
func (m *Manager) Unlock(d BinDependency)
type ManagerParams ¶
type SourceGitHubRelease ¶
type SourceLocal ¶
type SourceLocal struct {
Path string
}
Click to show internal directories.
Click to hide internal directories.