mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-12-24 12:27:57 +08:00
13 lines
420 B
Go
13 lines
420 B
Go
package config
|
|
|
|
import (
|
|
"github.com/xaionaro-go/streamctl/pkg/secret"
|
|
)
|
|
|
|
type GitRepoConfig struct {
|
|
Enable *bool
|
|
URL string `yaml:"url,omitempty"`
|
|
PrivateKey secret.String `yaml:"private_key,omitempty"`
|
|
LatestSyncCommit string `yaml:"latest_sync_commit,omitempty"` // TODO: deprecate this field, it's just a non-needed mechanism (better to check against git history).
|
|
}
|