Files
streamctl/pkg/streamd/config/git_repo_config.go
2024-10-24 17:41:36 +01:00

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).
}