Documentation ¶
Index ¶
- Constants
- type CodeStorageService
- func (service *CodeStorageService) DeleteCode(id uuid.UUID) error
- func (service *CodeStorageService) DeleteRootFs(id uuid.UUID) error
- func (service *CodeStorageService) GetCode(id uuid.UUID) (map[string]string, error)
- func (service *CodeStorageService) Init()
- func (service *CodeStorageService) PutCode(id uuid.UUID, files map[string]string)
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) Init ¶
func (service *CodeStorageService) Init()
Click to show internal directories.
Click to hide internal directories.