blob

package
v0.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultKeychain = NewMultiKeychain(
	azKeychain{},
	gcpKeychain{},
)

Functions

func NewMountedSecretBlobKeychain added in v0.14.0

func NewMountedSecretBlobKeychain(volumeName string, secrets []string) (*fileCreds, error)

Types

type Fetcher

type Fetcher struct {
	Logger   *log.Logger
	Keychain Keychain
}

func (*Fetcher) Fetch

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

type Keychain added in v0.14.0

type Keychain interface {
	Resolve(url string) (authHeader string, headers map[string]string, err error)
}

func NewMultiKeychain added in v0.14.0

func NewMultiKeychain(creds ...Keychain) Keychain

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