Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ApiKey string DataDir string Owner string TargetRepository string SshKey string SshKeyPassphrase string Repositories []Repository Server string WebhookSecret string }
func NewConfigFromViper ¶
func (*Config) EnsureDirsExist ¶
func (config *Config) EnsureDirsExist()
func (*Config) GetArtifactPath ¶
func (*Config) GetRepoPath ¶
func (*Config) GetRepository ¶
func (config *Config) GetRepository(ssh string) (Repository, error)
type Repository ¶
Click to show internal directories.
Click to hide internal directories.