remote

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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() ([]ResolvedObject, error)
	Get(kind, name string) (runtime.Object, 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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