artifact

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GcsArtifactClient

type GcsArtifactClient struct {
	API *storage.Client
}

func (*GcsArtifactClient) DeleteArtifact

func (gac *GcsArtifactClient) DeleteArtifact(ctx context.Context, url string) error

type NopArtifactClient

type NopArtifactClient struct{}

func (*NopArtifactClient) DeleteArtifact

func (nac *NopArtifactClient) DeleteArtifact(ctx context.Context, url string) error

type Service

type Service interface {
	DeleteArtifact(ctx context.Context, url string) error
}

func NewGcsArtifactClient

func NewGcsArtifactClient(api *storage.Client) Service

func NewNopArtifactClient

func NewNopArtifactClient() Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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