Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 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. ErrRequestInProgress = errors.New("resource request in progress") // ErrorRequestInProgress is an alias for ErrRequestInProgress and will be // removed in a future release.. // // Deprecated: use ErrRequestInProgress instead ErrorRequestInProgress = ErrRequestInProgress )
Functions ¶
This section is empty.
Types ¶
type ResolvedObject ¶
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, *v1beta1.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.
Click to show internal directories.
Click to hide internal directories.