Documentation
¶
Index ¶
- func NewChannelNotFoundLocallyErr(repoName, group, channel string) error
- func NewChannelReleaseNotFoundLocallyErr(repoName, group, channel, release string) error
- func NewChannelReleaseSeveralFilesFoundErr(repoName, group, channel, release string, names []string) error
- type ChannelNotFoundLocallyErr
- type ChannelReleaseBinSeveralFilesFoundErr
- type ChannelReleaseNotFoundLocallyErr
- type Client
- func (c Client) ExecChannelReleaseBin(group, channel string, optionalBinName string, args []string) error
- func (c Client) GetChannelRelease(group, channel string) (string, error)
- func (c Client) GetChannelReleaseBinDir(group, channel string) (dir string, err error)
- func (c Client) GetChannelReleaseBinPath(group, channel, optionalBinName string) (path string, err error)
- func (c Client) GetChannelReleaseDir(group, channel string) (dir string, err error)
- func (c Client) Setup(rootVersion int64, rootSha512 string) error
- func (c Client) UpdateChannel(group, channel string) error
- func (c Client) UseChannelReleaseBinDir(group, channel, shell string, opts UseSourceOptions) (string, error)
- type TufInterface
- type UseSourceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChannelNotFoundLocallyErr ¶
func (ChannelNotFoundLocallyErr) Error ¶
func (e ChannelNotFoundLocallyErr) Error() string
type ChannelReleaseBinSeveralFilesFoundErr ¶
type ChannelReleaseBinSeveralFilesFoundErr struct {
RepoName string
Release string
Group string
Channel string
Names []string
}
func (ChannelReleaseBinSeveralFilesFoundErr) Error ¶
func (e ChannelReleaseBinSeveralFilesFoundErr) Error() string
type ChannelReleaseNotFoundLocallyErr ¶
type ChannelReleaseNotFoundLocallyErr struct {
RepoName string
Release string
Group string
Channel string
}
func (ChannelReleaseNotFoundLocallyErr) Error ¶
func (e ChannelReleaseNotFoundLocallyErr) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) ExecChannelReleaseBin ¶
func (Client) GetChannelRelease ¶ added in v0.1.1
func (Client) GetChannelReleaseBinDir ¶
func (Client) GetChannelReleaseBinPath ¶ added in v0.1.1
func (Client) GetChannelReleaseDir ¶
func (Client) UpdateChannel ¶
func (Client) UseChannelReleaseBinDir ¶
func (c Client) UseChannelReleaseBinDir(group, channel, shell string, opts UseSourceOptions) (string, error)
type TufInterface ¶
type UseSourceOptions ¶ added in v0.1.1
type UseSourceOptions struct {
NoSelfUpdate bool
}
Click to show internal directories.
Click to hide internal directories.