change binary name

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2025-01-13 14:17:23 +01:00
parent cd8cf0d2f3
commit 26aafdfd08
44 changed files with 26 additions and 25 deletions
+30
View File
@@ -0,0 +1,30 @@
package runtime
import (
"github.com/opencloud-eu/opencloud/ocis-pkg/log"
"github.com/urfave/cli/v2"
)
// Options is a runtime option
type Options struct {
Services []string
Logger log.Logger
Context *cli.Context
}
// Option undocumented
type Option func(o *Options)
// Services option
func Services(s []string) Option {
return func(o *Options) {
o.Services = append(o.Services, s...)
}
}
// Context option
func Context(c *cli.Context) Option {
return func(o *Options) {
o.Context = c
}
}