releasetarsrepo

package
v0.0.0-...-1eff689 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRTRepository

type CRTRepository struct {
	// contains filtered or unexported fields
}

func NewConcreteReleaseTarballsRepository

func NewConcreteReleaseTarballsRepository(
	relVerFactory bhrelver.Factory,
	urlFactory bhs3.URLFactory,
	logger boshlog.Logger,
) CRTRepository

func (CRTRepository) Find

func (r CRTRepository) Find(source, version string) (ReleaseTarballRec, error)

type ReleaseTarballRec

type ReleaseTarballRec struct {
	BlobID string
	SHA1   string
	SHA256 string
	// contains filtered or unexported fields
}

func (ReleaseTarballRec) ActualDownloadURL

func (r ReleaseTarballRec) ActualDownloadURL() (string, error)

type ReleaseTarballsRepository

type ReleaseTarballsRepository interface {
	Find(source, version string) (ReleaseTarballRec, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL