storage

package
v1.8.12-beta002 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateBucket(bucket string) error
	DeleteBucket(bucket string, force bool) error
	ListBuckets() ([]string, error)
	ListFiles(bucket string) ([]testkube.Artifact, error)
	SaveFile(bucket, filePath string) error
	DownloadFile(bucket, file string) (*minio.Object, error)
	UploadFile(bucket string, filePath string, reader io.Reader, objectSize int64) error
	PlaceFiles(buckets []string, prefix string) error
	GetValidBucketName(parentType string, parentName string) string
}

Client is storage client abstraction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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