Documentation ¶
Index ¶
- func GetExtracter(fpath string) archiver.Archiver
- func GetLatestRelease(githubClient *github.Client, githubOrg string, githubProject string) (latestRelease *github.RepositoryRelease, err error)
- func GetOSArchFromFilename(name string, fileName string) (operatingSystem string, architecture string, valid bool)
- func Update(currentVersion string, noPrompt bool)
- type FileSystemStore
- type ObjectStore
- type S3ObjectStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExtracter ¶
GetExtracter The PR hasn't been released into a new version, so we're putting it here https://github.com/mholt/archiver/pull/45/files
func GetLatestRelease ¶
func GetLatestRelease( githubClient *github.Client, githubOrg string, githubProject string, ) ( latestRelease *github.RepositoryRelease, err error, )
GetLatestRelease - Return the latest release of the repository
Types ¶
type FileSystemStore ¶ added in v0.3.5
type FileSystemStore struct {
// contains filtered or unexported fields
}
func NewFilesystemStore ¶ added in v0.3.5
func NewFilesystemStore(basedir string) *FileSystemStore
type ObjectStore ¶ added in v0.3.5
type S3ObjectStore ¶ added in v0.3.5
type S3ObjectStore struct {
// contains filtered or unexported fields
}
func NewS3ObjectStore ¶ added in v0.3.5
func NewS3ObjectStore(bucket, prefix string) *S3ObjectStore
Click to show internal directories.
Click to hide internal directories.