Files
cluster/internal/opt/opt.go
loveuer 29088a6b54 feat: complete OCI registry implementation with docker push/pull support
A lightweight OCI (Open Container Initiative) registry implementation written in Go.
2025-11-09 22:50:13 +08:00

21 lines
243 B
Go

package opt
import (
"context"
"os"
)
var (
GlobalDebug bool
GlobalAddress string
GlobalDataDir string
)
func Init(ctx context.Context) error {
if err := os.MkdirAll(GlobalDataDir, 0755); err != nil {
return err
}
return nil
}