Documentation ¶
Index ¶
- type Client
- func (c Client) AddRepo(repoName, repoUrl string, rootVersion int64, rootSha512 string) error
- func (c Client) DoSelfUpdate() error
- func (c Client) ExecRepoChannelReleaseBin(repoName, group, optionalChannel, optionalBinName string, args []string) error
- func (c Client) GetRepoChannelReleaseBinDir(repoName, group, optionalChannel string) (string, error)
- func (c Client) GetRepoChannelReleaseDir(repoName, group, optionalChannel string) (string, error)
- func (c Client) GetRepoClient(repoName string) (RepoInterface, error)
- func (c Client) GetRepoList() []*RepoConfiguration
- func (c Client) SetRepoDefaultChannel(repoName, channel string) error
- func (c Client) UpdateRepoChannel(repoName, group, optionalChannel string) error
- func (c Client) UseRepoChannelReleaseBinDir(repoName, group, optionalChannel, shell string, opts repo.UseSourceOptions) (string, error)
- type Interface
- type RepoConfiguration
- type RepoInterface
- type RepositoryNotInitializedErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) DoSelfUpdate ¶ added in v0.1.1
func (Client) ExecRepoChannelReleaseBin ¶
func (Client) GetRepoChannelReleaseBinDir ¶
func (Client) GetRepoChannelReleaseDir ¶
func (Client) GetRepoClient ¶
func (c Client) GetRepoClient(repoName string) (RepoInterface, error)
func (Client) GetRepoList ¶
func (c Client) GetRepoList() []*RepoConfiguration
func (Client) SetRepoDefaultChannel ¶
func (Client) UpdateRepoChannel ¶
func (Client) UseRepoChannelReleaseBinDir ¶
type Interface ¶
type Interface interface { AddRepo(repoName, repoUrl string, rootVersion int64, rootSha512 string) error SetRepoDefaultChannel(repoName, channel string) error DoSelfUpdate() error UpdateRepoChannel(repoName, group, optionalChannel string) error UseRepoChannelReleaseBinDir(repoName, group, optionalChannel, shell string, opts repo.UseSourceOptions) (string, error) ExecRepoChannelReleaseBin(repoName, group, optionalChannel string, optionalBinName string, args []string) error GetRepoChannelReleaseDir(repoName, group, optionalChannel string) (string, error) GetRepoChannelReleaseBinDir(repoName, group, optionalChannel string) (string, error) GetRepoList() []*RepoConfiguration GetRepoClient(repoName string) (RepoInterface, error) }
type RepoConfiguration ¶
type RepoInterface ¶
type RepoInterface interface { Setup(rootVersion int64, rootSha512 string) error UpdateChannel(group, channel string) error UseChannelReleaseBinDir(group, channel, shell string, opts repo.UseSourceOptions) (string, error) ExecChannelReleaseBin(group, channel string, optionalBinName string, args []string) error GetChannelRelease(group, channel string) (string, error) GetChannelReleaseDir(group, channel string) (string, error) GetChannelReleaseBinDir(group, channel string) (string, error) GetChannelReleaseBinPath(group, channel, optionalBinName string) (string, error) }
type RepositoryNotInitializedErr ¶ added in v0.1.1
type RepositoryNotInitializedErr struct {
// contains filtered or unexported fields
}
func (*RepositoryNotInitializedErr) Error ¶ added in v0.1.1
func (e *RepositoryNotInitializedErr) Error() string
Click to show internal directories.
Click to hide internal directories.