Files
streamctl/pkg/streamd/config/git_repo_config.go
Dmitrii Okunev eb84df6561
Some checks failed
rolling-release / build (push) Has been cancelled
rolling-release / rolling-release (push) Has been cancelled
Revert back the secret package
2025-10-05 16:42:13 +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).
}