Documentation ¶
Index ¶
- func NewGitTracker() *gitTracker
- func PullImage(ctx context.Context, imageRef string) ([]byte, error)
- func PushImage(ctx context.Context, imageRef string, data []byte, invocation string) (err error)
- func Track(ctx context.Context, urls []string, input []byte, prune bool, freshen bool, ...) ([]byte, error)
- func WithClient(ctx context.Context, client Client) context.Context
- type Client
- type Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitTracker ¶ added in v0.4.0
func NewGitTracker() *gitTracker
func Track ¶
func Track(ctx context.Context, urls []string, input []byte, prune bool, freshen bool, inEffectDays int) ([]byte, error)
Track implements the common workflow of loading an existing tracker file and adding records to one of its collections. Each url is expected to reference a valid Tekton bundle. Each bundle may be added to none, 1, or 2 collections depending on the Tekton resource types they include.
Types ¶
Click to show internal directories.
Click to hide internal directories.