Documentation
¶
Index ¶
Constants ¶
View Source
const (
Name = "duci"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Server *Server `yaml:"server" json:"server"` GitHub *GitHub `yaml:"github" json:"github"` Job *Job `yaml:"job" json:"job"` }
var (
Config *Configuration
)
func (*Configuration) Addr ¶
func (c *Configuration) Addr() string
func (*Configuration) Set ¶
func (c *Configuration) Set(path string) error
func (*Configuration) String ¶
func (c *Configuration) String() string
func (*Configuration) Timeout ¶ added in v0.2.0
func (c *Configuration) Timeout() time.Duration
type GitHub ¶ added in v0.3.0
type GitHub struct { SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath"` APIToken maskString `yaml:"api_token" json:"apiToken"` }
Directories
¶
Path | Synopsis |
---|---|
service
|
|
github/mock_github
Package mock_github is a generated GoMock package.
|
Package mock_github is a generated GoMock package. |
logstore/mock_logstore
Package mock_logstore is a generated GoMock package.
|
Package mock_logstore is a generated GoMock package. |
runner/mock_runner
Package mock_runner is a generated GoMock package.
|
Package mock_runner is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.