objectStorage

package
v0.0.0-...-e07aaa2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BucketName = "functions"

	RooFSFile = "/rootfs.ext4"
)

Constants starting with a capital letter are exported

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeStorageService

type CodeStorageService struct {
	MinioClient *minio.Client
}

func (*CodeStorageService) DeleteCode

func (service *CodeStorageService) DeleteCode(id uuid.UUID) error

func (*CodeStorageService) DeleteRootFs

func (service *CodeStorageService) DeleteRootFs(id uuid.UUID) error

delete rootfs from object storage

func (*CodeStorageService) GetCode

func (service *CodeStorageService) GetCode(id uuid.UUID) (map[string]string, error)

func (*CodeStorageService) Init

func (service *CodeStorageService) Init()

func (*CodeStorageService) PutCode

func (service *CodeStorageService) PutCode(id uuid.UUID, files map[string]string)

Jump to

Keyboard shortcuts

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