Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildRule ¶
type BuildRule struct { Branch string `json:"branch"` Private bool `json:"private"` BazelVersion string `json:"bazel_version"` Target string `json:"target"` DockerConfigSecretName string `json:"docker_config_secret_name"` Artifacts []string `json:"artifacts"` Env []Env `json:"env"` PostProcess *PostProcess `json:"post_process"` }
func ParseBuildRule ¶
type Config ¶
type Config struct { WebhookListener string `json:"webhook_listener"` BuildNamespace string `json:"build_namespace"` GitHubTokenFile string `json:"github_token_file"` GitHubAppId int64 `json:"app_id"` GitHubInstallationId int64 `json:"installation_id"` GitHubAppPrivateKeyFile string `json:"app_private_key_file"` PrivateKeySecretName string `json:"private_key_secret_name"` StorageHost string `json:"storage_host"` StorageTokenSecretName string `json:"storage_token_secret_name"` ArtifactBucket string `json:"artifact_bucket"` HostAliases []HostAlias `json:"host_aliases"` CommitAuthor string `json:"commit_author"` CommitEmail string `json:"commit_email"` AllowRepositories []string `json:"allow_repositories"` SafeMode bool `json:"safe_mode"` GitHubToken string `json:"-"` }
func ReadConfig ¶
type DNSControlRule ¶
type DNSControlRule struct { MasterBranch string `json:"master_branch"` Image string `json:"image"` Dir string `json:"dir"` Secret *SecretSelector `json:"secret"` }
func ParseDNSControlRule ¶
func ParseDNSControlRule(v string) (*DNSControlRule, error)
type Env ¶
type Env struct { Name string `json:"name"` Value string `json:"value,omitempty"` Secret *SecretSource `json:"secret,omitempty"` }
type PostProcess ¶
type SecretSelector ¶
type SecretSource ¶
Click to show internal directories.
Click to hide internal directories.