Documentation ¶
Index ¶
Constants ¶
View Source
const ( PingGardenInterval = time.Second StalledMetricHeartbeatInterval = 5 * time.Second )
Variables ¶
View Source
var DefaultConfiguration = Configuration{ GardenNetwork: "unix", GardenAddr: "/tmp/garden.sock", MemoryMB: configuration.Automatic, DiskMB: configuration.Automatic, TempDir: "/tmp", RegistryPruningInterval: time.Minute, ContainerInodeLimit: 200000, ContainerMaxCpuShares: 0, CachePath: "/tmp/cache", MaxCacheSizeInBytes: 10 * 1024 * 1024 * 1024, SkipCertVerify: false, HealthyMonitoringInterval: 30 * time.Second, UnhealthyMonitoringInterval: 500 * time.Millisecond, ExportNetworkEnvVars: false, ContainerOwnerName: "executor", CreateWorkPoolSize: defaultCreateWorkPoolSize, DeleteWorkPoolSize: defaultDeleteWorkPoolSize, ReadWorkPoolSize: defaultReadWorkPoolSize, MetricsWorkPoolSize: defaultMetricsWorkPoolSize, HealthCheckWorkPoolSize: defaultHealthCheckWorkPoolSize, MaxConcurrentDownloads: defaultMaxConcurrentDownloads, }
Functions ¶
func Initialize ¶
func ValidateExecutor ¶
func ValidateExecutor(logger lager.Logger, config Configuration) bool
Types ¶
type Configuration ¶
type Configuration struct { GardenNetwork string GardenAddr string ContainerOwnerName string TempDir string CachePath string MaxCacheSizeInBytes uint64 SkipCertVerify bool ExportNetworkEnvVars bool ContainerInodeLimit uint64 HealthyMonitoringInterval time.Duration UnhealthyMonitoringInterval time.Duration HealthCheckWorkPoolSize int MaxConcurrentDownloads int CreateWorkPoolSize int DeleteWorkPoolSize int ReadWorkPoolSize int MetricsWorkPoolSize int RegistryPruningInterval time.Duration MemoryMB string DiskMB string PostSetupHook string PostSetupUser string }
Click to show internal directories.
Click to hide internal directories.