19 lines
370 B
Go
19 lines
370 B
Go
package stubs
|
|
|
|
import (
|
|
"context"
|
|
"log"
|
|
)
|
|
|
|
type MinioAdapter struct{}
|
|
|
|
func (m *MinioAdapter) ListBuckets(ctx context.Context) ([]string, error) {
|
|
log.Println("minio: ListBuckets (stub)")
|
|
return []string{"buckets"}, nil
|
|
}
|
|
|
|
func (m *MinioAdapter) CreateBucket(ctx context.Context, name string) error {
|
|
log.Printf("minio: CreateBucket %s (stub)", name)
|
|
return nil
|
|
}
|