provider

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const RagetaFile = "rageta.yaml"

Variables

This section is empty.

Functions

func New

func New(decoder runtime.Decoder, handlers ...Resolver) *provider

Types

type Database added in v0.0.33

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

func OpenDatabase added in v0.0.33

func OpenDatabase(r io.Reader, decoder kruntime.Decoder, encoder kruntime.Serializer) (*Database, error)

func (*Database) Add added in v0.0.33

func (d *Database) Add(name string, manifest []byte) error

func (*Database) Get added in v0.0.33

func (d *Database) Get(name string) (v1beta1.App, error)

func (*Database) Merge added in v0.0.43

func (d *Database) Merge(from *Database) error

func (*Database) Persist added in v0.0.33

func (d *Database) Persist(w io.Writer) error

func (*Database) Remove added in v0.0.33

func (d *Database) Remove(name string) error

type Interface

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

type Resolver added in v0.0.33

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

func WithFile

func WithFile() Resolver

func WithLocalDB added in v0.0.33

func WithLocalDB(db dbGetter) Resolver

func WithOCI

func WithOCI(ociClient ociPuller) Resolver

func WithRagetafile

func WithRagetafile() Resolver

Jump to

Keyboard shortcuts

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