Documentation ¶
Index ¶
- func GetVersionedPath(version string, filePath string) (*string, error)
- func NewMvc(manifestFilename string) commons.MvcProvider
- type S3Mvc
- func (mvc *S3Mvc) Add(cmd *commons.AddCmd)
- func (mvc *S3Mvc) AllVersions(cmd *commons.VersionsCmd)
- func (mvc *S3Mvc) DeleteVersion(cmd *commons.DeleteCmd)
- func (mvc *S3Mvc) DeleteVersionFiles(bucketName string, version string)
- func (mvc *S3Mvc) DeleteVersionMetadata(cmd *commons.DeleteCmd)
- func (mvc *S3Mvc) GetConnector() *s3.Connector
- func (mvc *S3Mvc) GetVersions(destinationPath string) ([]string, error)
- func (mvc *S3Mvc) InitConnection(cfg *conf.Config) (commons.MvcProvider, error)
- func (mvc *S3Mvc) InitDataset(cmd *commons.InitCmd)
- func (mvc *S3Mvc) LatestVersion(cmd *commons.LatestCmd)
- func (mvc *S3Mvc) NewVersion(cmd *commons.NewCmd)
- func (mvc *S3Mvc) OverwriteManifest(bucketName string, content string) (*minio.UploadInfo, error)
- func (mvc *S3Mvc) OverwriteVersion(cmd *commons.OverwriteCmd)
- func (mvc *S3Mvc) PutFiles(localPath string, bucketName string, version string)
- func (mvc *S3Mvc) PutLocalManifest(localPath string, destinationPath string) (*minio.UploadInfo, error)
- func (mvc *S3Mvc) SetConnector(connector *s3.Connector)
- func (mvc *S3Mvc) SetManifestFilename(manifestFilename string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMvc ¶
func NewMvc(manifestFilename string) commons.MvcProvider
Types ¶
type S3Mvc ¶
type S3Mvc struct {
// contains filtered or unexported fields
}
func (*S3Mvc) AllVersions ¶
func (mvc *S3Mvc) AllVersions(cmd *commons.VersionsCmd)
func (*S3Mvc) DeleteVersion ¶
func (*S3Mvc) DeleteVersionFiles ¶
func (*S3Mvc) DeleteVersionMetadata ¶
func (*S3Mvc) GetConnector ¶
func (*S3Mvc) InitConnection ¶
func (*S3Mvc) InitDataset ¶
func (*S3Mvc) LatestVersion ¶
func (*S3Mvc) NewVersion ¶
func (*S3Mvc) OverwriteManifest ¶
func (*S3Mvc) OverwriteVersion ¶
func (mvc *S3Mvc) OverwriteVersion(cmd *commons.OverwriteCmd)
func (*S3Mvc) PutLocalManifest ¶
func (*S3Mvc) SetConnector ¶
func (*S3Mvc) SetManifestFilename ¶
Click to show internal directories.
Click to hide internal directories.