Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CFProcessDefaults ¶
type CFStagingResources ¶ added in v0.8.0
type ControllerConfig ¶
type ControllerConfig struct {
// components
IncludeKpackImageBuilder bool `yaml:"includeKpackImageBuilder"`
IncludeJobTaskRunner bool `yaml:"includeJobTaskRunner"`
IncludeStatefulsetRunner bool `yaml:"includeStatefulsetRunner"`
IncludeContourRouter bool `yaml:"includeContourRouter"`
// core controllers
CFProcessDefaults CFProcessDefaults `yaml:"cfProcessDefaults"`
CFStagingResources CFStagingResources `yaml:"cfStagingResources"`
CFRootNamespace string `yaml:"cfRootNamespace"`
ContainerRegistrySecretNames []string `yaml:"containerRegistrySecretNames"`
TaskTTL string `yaml:"taskTTL"`
WorkloadsTLSSecretName string `yaml:"workloads_tls_secret_name"`
WorkloadsTLSSecretNamespace string `yaml:"workloads_tls_secret_namespace"`
BuilderName string `yaml:"builderName"`
RunnerName string `yaml:"runnerName"`
NamespaceLabels map[string]string `yaml:"namespaceLabels"`
ExtraVCAPApplicationValues map[string]any `yaml:"extraVCAPApplicationValues"`
MaxRetainedPackagesPerApp int `yaml:"maxRetainedPackagesPerApp"`
MaxRetainedBuildsPerApp int `yaml:"maxRetainedBuildsPerApp"`
LogLevel zapcore.Level `yaml:"logLevel"`
SpaceFinalizerAppDeletionTimeout *int64 `yaml:"spaceFinalizerAppDeletionTimeout"`
// job-task-runner
JobTTL string `yaml:"jobTTL"`
// kpack-image-builder
ClusterBuilderName string `yaml:"clusterBuilderName"`
BuilderServiceAccount string `yaml:"builderServiceAccount"`
BuilderReadinessTimeout string `yaml:"builderReadinessTimeout"`
ContainerRepositoryPrefix string `yaml:"containerRepositoryPrefix"`
ContainerRegistryType string `yaml:"containerRegistryType"`
}
func LoadFromPath ¶
func LoadFromPath(path string) (*ControllerConfig, error)
func (ControllerConfig) ParseBuilderReadinessTimeout ¶ added in v0.8.0
func (c ControllerConfig) ParseBuilderReadinessTimeout() (time.Duration, error)
func (ControllerConfig) ParseJobTTL ¶ added in v0.6.0
func (c ControllerConfig) ParseJobTTL() (time.Duration, error)
func (ControllerConfig) ParseTaskTTL ¶ added in v0.2.0
func (c ControllerConfig) ParseTaskTTL() (time.Duration, error)
func (ControllerConfig) WorkloadsTLSSecretNameWithNamespace ¶
func (c ControllerConfig) WorkloadsTLSSecretNameWithNamespace() string
Click to show internal directories.
Click to hide internal directories.