source

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Username  string
	Password  string
	TLSVerify bool
	CertDir   string
	NoCreds   bool
}

Options holds authentication and TLS settings for source transports.

type Source

type Source interface {
	Read(ctx context.Context) (*bundle.RegistryV1, error)
}

Source reads a bundle from a source location.

func New

func New(tr transport.Ref, opts Options) (Source, error)

New creates a Source for the given transport reference and options.

Jump to

Keyboard shortcuts

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