mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 01:07:27 +00:00
23 lines
380 B
Go
23 lines
380 B
Go
package sync
|
|
|
|
import "time"
|
|
|
|
type Options struct {
|
|
Interval time.Duration
|
|
URL string
|
|
Name string
|
|
Namespace string
|
|
Branch string
|
|
TargetPath string
|
|
}
|
|
|
|
func MakeDefaultOptions() Options {
|
|
return Options{
|
|
Interval: 1 * time.Minute,
|
|
URL: "",
|
|
Name: "gotk-system",
|
|
Namespace: "gotk-system",
|
|
Branch: "main",
|
|
TargetPath: "",
|
|
}
|
|
}
|