oss

package
v3.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 11 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
	AccessKey     string
	SecretKey     string
	SecurityToken string
}

ArtifactDriver is a driver for OSS

func (*ArtifactDriver) ListObjects added in v3.1.0

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

func (*ArtifactDriver) Load added in v3.1.0

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

Downloads artifacts from OSS compliant storage, e.g., downloading an artifact into local path

func (*ArtifactDriver) Save added in v3.1.0

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

Saves an artifact to OSS compliant storage, e.g., uploading a local file to OSS bucket

Jump to

Keyboard shortcuts

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