s3moduleservice

package
v0.0.0-...-f3f878c Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3ModuleService

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

func NewS3ModuleService

func NewS3ModuleService(s3Client *s3.Client, bucketName string, presignClient *s3.PresignClient) *S3ModuleService

func (*S3ModuleService) GetModuleDownloadUrl

func (s *S3ModuleService) GetModuleDownloadUrl(modul service.ModuleDescriptor, version string) (string, error)

func (*S3ModuleService) List

implement the interface

func (*S3ModuleService) Seach

func (*S3ModuleService) UploadModule

func (s *S3ModuleService) UploadModule(modul service.ModuleDescriptor, version string, content io.Reader) error

implment upload

func (*S3ModuleService) Versions

func (s *S3ModuleService) Versions(modul service.ModuleDescriptor) ([]string, error)

Jump to

Keyboard shortcuts

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