url

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	URL string
}

Resolver resolves operator package from URLs pointing to package tarballs.

func NewResolver

func NewResolver(url string) Resolver

NewResolver creates a new Resolver for a URL.

func (Resolver) Resolve

func (r Resolver) Resolve(ctx context.Context) (fs afero.Fs, rem func() error, err error)

Resolve downloads an operator package tarball and extracts it into a file system.

Jump to

Keyboard shortcuts

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