artifact

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	// Ref is the full imageRef including Registry/Repository/Name
	Ref string `json:"image"`
	// Registry is  the registry host
	Registry string `json:"registry"`
	// Repository is the namespace in the context of OpenShift
	Repository string `json:"repository"`
	// Name is the image without Registry and Repository
	Name string `json:"name"`
	// Tag is the git commit SHA
	Tag string `json:"tag"`
	// Digest is the SHA of the image
	Digest string `json:"digest"`
}

func ReadFromFile

func ReadFromFile(filename string) (*Image, error)

func (Image) ImageName

func (i Image) ImageName() string

type PipelineRun

type PipelineRun struct {
	// Name is the pipeline run name.
	Name string `json:"name"`
	// AggregateTaskStatus is the aggregate Tekton task status.
	AggregateTaskStatus string `json:"aggregateTaskStatus"`
	// Repositories records the Git commit SHAs of each checked out repository.
	Repositories map[string]string `json:"repositories"`
}

Jump to

Keyboard shortcuts

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