artifacts

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractOCIImagesFromResults added in v0.3.0

func ExtractOCIImagesFromResults(tr *v1beta1.TaskRun, logger *zap.SugaredLogger) []interface{}

Types

type OCIArtifact

type OCIArtifact struct {
	Logger *zap.SugaredLogger
}

func (*OCIArtifact) ExtractObjects

func (oa *OCIArtifact) ExtractObjects(tr *v1beta1.TaskRun) []interface{}

func (*OCIArtifact) Key

func (ta *OCIArtifact) Key(obj interface{}) string

func (*OCIArtifact) PayloadFormat

func (oa *OCIArtifact) PayloadFormat(cfg config.Config) formats.PayloadType

func (*OCIArtifact) Signer

func (oa *OCIArtifact) Signer(cfg config.Config) string

func (*OCIArtifact) StorageBackend

func (oa *OCIArtifact) StorageBackend(cfg config.Config) string

func (*OCIArtifact) Type

func (oa *OCIArtifact) Type() string

type Signable

type Signable interface {
	ExtractObjects(tr *v1beta1.TaskRun) []interface{}
	StorageBackend(cfg config.Config) string
	Signer(cfg config.Config) string
	PayloadFormat(cfg config.Config) formats.PayloadType
	Key(interface{}) string
	Type() string
}

type TaskRunArtifact

type TaskRunArtifact struct {
	Logger *zap.SugaredLogger
}

func (*TaskRunArtifact) ExtractObjects

func (ta *TaskRunArtifact) ExtractObjects(tr *v1beta1.TaskRun) []interface{}

func (*TaskRunArtifact) Key

func (ta *TaskRunArtifact) Key(obj interface{}) string

func (*TaskRunArtifact) PayloadFormat

func (ta *TaskRunArtifact) PayloadFormat(cfg config.Config) formats.PayloadType

func (*TaskRunArtifact) Signer

func (ta *TaskRunArtifact) Signer(cfg config.Config) string

func (*TaskRunArtifact) StorageBackend

func (ta *TaskRunArtifact) StorageBackend(cfg config.Config) string

func (*TaskRunArtifact) Type

func (ta *TaskRunArtifact) Type() string

Jump to

Keyboard shortcuts

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