oci

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 13 Imported by: 5

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 added in v0.18.0

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