oss

package
v3.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSSArtifactDriver

type OSSArtifactDriver struct {
	Endpoint  string
	AccessKey string
	SecretKey string
}

OSSArtifactDriver is a driver for OSS

func (*OSSArtifactDriver) Load

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

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

func (*OSSArtifactDriver) Save

func (ossDriver *OSSArtifactDriver) 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