s3

package
v0.0.0-...-2c27dae Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersionedPath

func GetVersionedPath(version string, filePath string) (*string, error)

func NewMvc

func NewMvc(manifestFilename string) commons.MvcProvider

Types

type S3Mvc

type S3Mvc struct {
	// contains filtered or unexported fields
}

func (*S3Mvc) Add

func (mvc *S3Mvc) Add(cmd *commons.AddCmd)

func (*S3Mvc) AllVersions

func (mvc *S3Mvc) AllVersions(cmd *commons.VersionsCmd)

func (*S3Mvc) DeleteVersion

func (mvc *S3Mvc) DeleteVersion(cmd *commons.DeleteCmd)

func (*S3Mvc) DeleteVersionFiles

func (mvc *S3Mvc) DeleteVersionFiles(bucketName string, version string)

func (*S3Mvc) DeleteVersionMetadata

func (mvc *S3Mvc) DeleteVersionMetadata(cmd *commons.DeleteCmd)

func (*S3Mvc) GetConnector

func (mvc *S3Mvc) GetConnector() *s3.Connector

func (*S3Mvc) GetVersions

func (mvc *S3Mvc) GetVersions(destinationPath string) ([]string, error)

func (*S3Mvc) InitConnection

func (mvc *S3Mvc) InitConnection(cfg *conf.Config) (commons.MvcProvider, error)

func (*S3Mvc) InitDataset

func (mvc *S3Mvc) InitDataset(cmd *commons.InitCmd)

func (*S3Mvc) LatestVersion

func (mvc *S3Mvc) LatestVersion(cmd *commons.LatestCmd)

func (*S3Mvc) NewVersion

func (mvc *S3Mvc) NewVersion(cmd *commons.NewCmd)

func (*S3Mvc) OverwriteManifest

func (mvc *S3Mvc) OverwriteManifest(bucketName string, content string) (*minio.UploadInfo, error)

func (*S3Mvc) OverwriteVersion

func (mvc *S3Mvc) OverwriteVersion(cmd *commons.OverwriteCmd)

func (*S3Mvc) PutFiles

func (mvc *S3Mvc) PutFiles(localPath string, bucketName string, version string)

func (*S3Mvc) PutLocalManifest

func (mvc *S3Mvc) PutLocalManifest(localPath string, destinationPath string) (*minio.UploadInfo, error)

func (*S3Mvc) SetConnector

func (mvc *S3Mvc) SetConnector(connector *s3.Connector)

func (*S3Mvc) SetManifestFilename

func (mvc *S3Mvc) SetManifestFilename(manifestFilename string)

Jump to

Keyboard shortcuts

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