storage

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(decoder runtime.Decoder, handlers ...LookupHandler) *storage

func Open

func Open(r io.Reader) (*database, error)

Types

type Interface

type Interface interface {
	Lookup(ctx context.Context, ref string) (v1beta1.Pipeline, error)
}

type LookupHandler

type LookupHandler func(ctx context.Context, ref string) (io.Reader, error)

func WithFile

func WithFile() LookupHandler

func WithOCI

func WithOCI(ociClient *client.Client) LookupHandler

func WithRagetafile

func WithRagetafile() LookupHandler

Jump to

Keyboard shortcuts

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