Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayFlags ¶
type ArrayFlags []string
func (*ArrayFlags) Set ¶
func (i *ArrayFlags) Set(value string) error
func (*ArrayFlags) String ¶
func (i *ArrayFlags) String() string
type Config ¶
type Config struct { CacheWindow time.Duration `json:"cacheWindow"` CacheWindowWhenEmpty time.Duration `json:"cacheWindowWhenEmpty"` ResyncInterval time.Duration `json:"resyncInterval"` MemcachedServers string `json:"memcachedServers"` MemcachedUser string `json:"memcachedUser"` MemcachedPass string `json:"memcachedPass"` GithubPatNamespace string `json:"githubPatNamespace"` AllNs bool `json:"allNs"` InClusterConfig bool `json:"inClusterConfig"` Kubeconfig string `json:"kubeconfig"` RunnerNSs []string `json:"runnerNSs"` // contains filtered or unexported fields }
func (*Config) GetAllWorkflows ¶
func (c *Config) GetAllWorkflows() []GithubWorkflowConfig
func (*Config) GetWorkflow ¶
func (c *Config) GetWorkflow(key string) (*GithubWorkflowConfig, error)
func (*Config) InitWorkflows ¶
func (*Config) SetupConfig ¶
type GithubWorkflowConfig ¶
type IWorkflowSource ¶
type IWorkflowSource interface { GetAllWorkflows() []GithubWorkflowConfig GetWorkflow(key string) (*GithubWorkflowConfig, error) }
Click to show internal directories.
Click to hide internal directories.