s3

package
v3.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactDriver added in v3.1.0

type ArtifactDriver struct {
	Endpoint              string
	Region                string
	Secure                bool
	AccessKey             string
	SecretKey             string
	RoleARN               string
	UseSDKCreds           bool
	Context               context.Context
	KmsKeyId              string
	KmsEncryptionContext  string
	EnableEncryption      bool
	ServerSideCustomerKey string
}

ArtifactDriver is a driver for AWS S3

func (*ArtifactDriver) Delete added in v3.4.0

func (s3Driver *ArtifactDriver) Delete(artifact *wfv1.Artifact) error

Delete deletes an artifact from an S3 compliant storage

func (*ArtifactDriver) IsDirectory added in v3.4.0

func (s3Driver *ArtifactDriver) IsDirectory(artifact *wfv1.Artifact) (bool, error)

func (*ArtifactDriver) ListObjects added in v3.1.0

func (s3Driver *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error)

ListObjects returns the files inside the directory represented by the Artifact

func (*ArtifactDriver) Load added in v3.1.0

func (s3Driver *ArtifactDriver) Load(inputArtifact *wfv1.Artifact, path string) error

Load downloads artifacts from S3 compliant storage

func (*ArtifactDriver) OpenStream added in v3.4.0

func (s3Driver *ArtifactDriver) OpenStream(inputArtifact *wfv1.Artifact) (io.ReadCloser, error)

OpenStream opens a stream reader for an artifact from S3 compliant storage

func (*ArtifactDriver) Save added in v3.1.0

func (s3Driver *ArtifactDriver) Save(path string, outputArtifact *wfv1.Artifact) error

Save saves an artifact to S3 compliant storage

Jump to

Keyboard shortcuts

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