blob

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher struct {
	Logger *log.Logger
}

func (*Fetcher) Fetch

func (f *Fetcher) Fetch(dir string, blobURL string, stripComponents int, metadataDir string) error

type Metadata added in v0.13.0

type Metadata struct {
	Url string `toml:"url"`
}

type Project added in v0.13.0

type Project struct {
	Source Source `toml:"source"`
}

type Resolver

type Resolver struct {
}

func (*Resolver) CanResolve

func (*Resolver) CanResolve(sourceResolver *buildapi.SourceResolver) bool

func (*Resolver) Resolve

type Source added in v0.13.0

type Source struct {
	Type     string   `toml:"type"`
	Metadata Metadata `toml:"metadata"`
	Version  Version  `toml:"version"`
}

type Version added in v0.13.0

type Version struct {
	SHA256 string `toml:"sha256sum"`
}

Jump to

Keyboard shortcuts

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