config

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CFProcessDefaults

type CFProcessDefaults struct {
	MemoryMB    int64  `yaml:"memoryMB"`
	DiskQuotaMB int64  `yaml:"diskQuotaMB"`
	Timeout     *int64 `yaml:"timeout"`
}

type ControllerConfig

type ControllerConfig struct {
	CFProcessDefaults           CFProcessDefaults `yaml:"cfProcessDefaults"`
	CFRootNamespace             string            `yaml:"cfRootNamespace"`
	PackageRegistrySecretName   string            `yaml:"packageRegistrySecretName"`
	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"`
}

func LoadFromPath

func LoadFromPath(path string) (*ControllerConfig, error)

func (ControllerConfig) ParseTaskTTL added in v0.2.0

func (c ControllerConfig) ParseTaskTTL() (time.Duration, error)

func (ControllerConfig) WorkloadsTLSSecretNameWithNamespace

func (c ControllerConfig) WorkloadsTLSSecretNameWithNamespace() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL