oci

package
v0.0.0-...-b563e91 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindAnnotation       = "dev.tekton.image.kind"
	APIVersionAnnotation = "dev.tekton.image.apiVersion"
	TitleAnnotation      = "dev.tekton.image.name"
	MaximumBundleObjects = 10
)

Variables

This section is empty.

Functions

func NewResolver

func NewResolver(ref string, keychain authn.Keychain) remote.Resolver

NewResolver is a convenience function to return a new OCI resolver instance as a remote.Resolver with a short, 1m timeout for resolving an individual image.

Types

type Resolver

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

Resolver implements the Resolver interface using OCI images.

func (*Resolver) Get

func (o *Resolver) Get(kind, name string) (runtime.Object, error)

func (*Resolver) List

func (o *Resolver) List() ([]remote.ResolvedObject, error)

Jump to

Keyboard shortcuts

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