Documentation ¶
Index ¶
Constants ¶
View Source
const (
AppConfigDir = "./apps"
)
View Source
const (
RunnerKeyFile = "runner.rsa"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Runner *Runner `yaml:"runner"` DeepCode *DeepCode `yaml:"deepcode"` Apps []*App `yaml:"apps"` Kubernetes *Kubernetes `yaml:"kubernetes"` RQLite *RQLite `yaml:"rqlite"` SAML *SAML `yaml:"saml"` ObjectStorage *ObjectStorage `yaml:"objectStorage"` Sentry *Sentry `yaml:"sentry"` }
type DeepCode ¶
func (*DeepCode) UnmarshalYAML ¶
type Github ¶
type Github struct { AppID string `yaml:"appId"` ClientID string `yaml:"clientId"` ClientSecret string `yaml:"clientSecret"` WebhookSecret string `yaml:"webhookSecret"` Host url.URL `yaml:"-"` APIHost url.URL `yaml:"-"` Slug string `yaml:"slug"` PrivateKey *rsa.PrivateKey }
func (*Github) UnmarshalYAML ¶
type ImageRegistry ¶
type ImageRegistry struct { PullSecretName string `yaml:"pullSecretName"` RegistryUrl url.URL `yaml:"registryUrl"` }
func (*ImageRegistry) ParseFromEnv ¶
func (i *ImageRegistry) ParseFromEnv() error
type Kubernetes ¶
type Kubernetes struct { Namespace string `yaml:"namespace"` NodeSelector map[string]string `yaml:"nodeSelector"` ImageRegistry *ImageRegistry `yaml:"imageRegistry"` }
func (*Kubernetes) ParseFromEnv ¶
func (k *Kubernetes) ParseFromEnv() error
func (*Kubernetes) UnmarshalYAML ¶
func (k *Kubernetes) UnmarshalYAML(unmarshal func(interface{}) error) error
type ObjectStorage ¶
type RQLite ¶
func (*RQLite) ParseFromEnv ¶
type Runner ¶
type Runner struct { ID string `json:"id"` ClientID string `json:"clientId"` ClientSecret string `json:"clientSecret"` WebhookSecret string `json:"webhookSecret"` Host url.URL PrivateKey *rsa.PrivateKey }
func (*Runner) UnmarshalYAML ¶
type SAML ¶
type SAML struct { Enabled bool `json:"enabled"` Certificate *tls.Certificate `json:"-"` MetadataURL url.URL `json:"metadataUrl"` }
func (*SAML) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.