Documentation
¶
Index ¶
Constants ¶
View Source
const ( ApplicationNameKey = "application-name" SecretAutoCreateKey = "secret-auto-create" HubURLKey = "hub-url" HubCatalogNameKey = "hub-catalog-name" MaxKeepRunUpperLimitKey = "max-keep-run-upper-limit" DefaultMaxKeepRunsKey = "default-max-keep-runs" RemoteTasksKey = "remote-tasks" BitbucketCloudCheckSourceIPKey = "bitbucket-cloud-check-source-ip" BitbucketCloudAdditionalSourceIPKey = "bitbucket-cloud-additional-source-ip" TektonDashboardURLKey = "tekton-dashboard-url" AutoConfigureNewGitHubRepoKey = "auto-configure-new-github-repo" AutoConfigureRepoNamespaceTemplateKey = "auto-configure-repo-namespace-template" PACApplicationNameDefaultValue = "Pipelines as Code CI" HubURLDefaultValue = "https://api.hub.tekton.dev/v1" AutoConfigureNewGitHubRepoDefaultValue = "false" ErrorLogSnippetKey = "error-log-snippet" ErrorDetectionKey = "error-detection-from-container-logs" ErrorDetectionNumberOfLinesKey = "error-detection-max-number-of-lines" ErrorDetectionSimpleFilterTaskKey = "error-detection-simple-filter-to-task-labels" ErrorDetectionSimpleRegexpKey = "error-detection-simple-regexp" )
Variables ¶
This section is empty.
Functions ¶
func ConfigToSettings ¶
func SetDefaults ¶
func StringToBool ¶
Types ¶
type Settings ¶
type Settings struct { ApplicationName string SecretAutoCreation bool HubURL string HubCatalogName string RemoteTasks bool MaxKeepRunsUpperLimit int DefaultMaxKeepRuns int BitbucketCloudCheckSourceIP bool BitbucketCloudAdditionalSourceIP string TektonDashboardURL string AutoConfigureNewGitHubRepo bool AutoConfigureRepoNamespaceTemplate string ErrorLogSnippet bool ErrorDetection bool ErrorDetectionNumberOfLines int ErrorDetectionSimpleRegexp string }
Click to show internal directories.
Click to hide internal directories.