Help us shape the future of Go! Take the 2026 Go Developer Survey

remote

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRequestInProgress = errors.New("resource request in progress")

ErrRequestInProgress is a sentinel value that indicates resolving a remote file like a pipeline in a bundle or a task in git hasn't completed yet.

Functions

This section is empty.

Types

type ResolvedObject

type ResolvedObject struct {
	Kind       string
	APIVersion string
	Name       string
}

ResolvedObject is returned by Resolver.List representing a Tekton resource stored in a remote location.

type Resolver

type Resolver interface {
	List(ctx context.Context) ([]ResolvedObject, error)
	Get(ctx context.Context, kind, name string) (runtime.Object, *v1.RefSource, error)
}

Resolver defines a generic API to retrieve Tekton resources from remote locations. It allows 2 principle operations:

  • List: retrieve a flat set of Tekton objects in this remote location
  • Get: retrieves a specific object with the given Kind and name, and the refSource identifying where the resource came from.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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