Documentation
¶
Index ¶
- Variables
- type Asset
- type ByVersion
- type Driver
- type ListOptions
- type Release
- type Source
- func (s *Source) DownloadAsset(ctx context.Context, version, name string) ([]byte, error)
- func (s *Source) GetRelease(ctx context.Context, version string) (*Release, error)
- func (s *Source) ListReleases(ctx context.Context, opt *ListOptions) ([]*Release, error)
- func (s *Source) UploadAsset(ctx context.Context, version, name string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ListOptions ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func (*Source) DownloadAsset ¶
func (*Source) GetRelease ¶
func (*Source) ListReleases ¶
Directories
¶
Path | Synopsis |
---|---|
Package azureblob provides a source implementation for Azure Blob Storage.
|
Package azureblob provides a source implementation for Azure Blob Storage. |
Package file provides a source implementation for the local file system.
|
Package file provides a source implementation for the local file system. |
Package gcs provides a source implementation for Google Cloud Storage.
|
Package gcs provides a source implementation for Google Cloud Storage. |
Package github provides a source implementation for GitHub releases.
|
Package github provides a source implementation for GitHub releases. |
Package gitlab provides a source implementation for GitLab releases.
|
Package gitlab provides a source implementation for GitLab releases. |
Package local is a source backend for loading packages from a single directory.
|
Package local is a source backend for loading packages from a single directory. |
Package s3 provides a source implementation for Amazon S3.
|
Package s3 provides a source implementation for Amazon S3. |
Click to show internal directories.
Click to hide internal directories.