source

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OCIFileExtractor

type OCIFileExtractor interface {
	// ExtractFrom extracts a file from a given OCI image and
	// returns the path to the extracted file.
	ExtractFrom(uri string) (path string, err error)
}

type ReleaseManifestReader

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

func NewReader

func NewReader(ociFileExtractor OCIFileExtractor) *ReleaseManifestReader

func (*ReleaseManifestReader) Read

type ReleaseManifestSource

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

func ParseFromURI

func ParseFromURI(uri string) (*ReleaseManifestSource, error)

ParseFromURI validates the given URI and parses it to a release manifest source

func (*ReleaseManifestSource) Type

func (*ReleaseManifestSource) URI

func (r *ReleaseManifestSource) URI() string

type ReleaseManifestSourceType

type ReleaseManifestSourceType int
const (
	File ReleaseManifestSourceType = iota + 1
	OCI
)

func ParseType

func ParseType(str string) (ReleaseManifestSourceType, error)

func (ReleaseManifestSourceType) String

func (r ReleaseManifestSourceType) String() string

Jump to

Keyboard shortcuts

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