Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchFromRegistry ¶
Types ¶
type GCSStorage ¶
type GCSStorage struct {
// contains filtered or unexported fields
}
func NewGCSStorage ¶
func (*GCSStorage) Get ¶
func (g *GCSStorage) Get(ctx context.Context, key string) (io.ReadCloser, int64, error)
type Provider ¶
func ParseLockFile ¶
type ProviderCache ¶
type ProviderCache struct {
Store StorageBackend
Registry *RegistryClient
CacheDir string
Version string
Parallelism int
}
func NewProviderCache ¶
func NewProviderCache(store StorageBackend, cacheDir, version string) *ProviderCache
type RegistryClient ¶
type RegistryClient struct {
// contains filtered or unexported fields
}
func NewRegistryClient ¶
func NewRegistryClient() *RegistryClient
func (*RegistryClient) Fetch ¶
func (r *RegistryClient) Fetch(ctx context.Context, p Provider) (io.ReadCloser, int64, error)
func (*RegistryClient) GetDownloadURL ¶
Click to show internal directories.
Click to hide internal directories.