Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultAddr = ":3000" DefaultActionsResultsURL = "https://results-receiver.actions.githubusercontent.com" DefaultTokenIssuer = "https://token.actions.githubusercontent.com" DefaultDBPostgresSSLMode = "prefer" DefaultDBMySQLTLS = "preferred" MinS3UploadPartSizeBytes = 5 * 1024 * 1024 DefaultS3KeyPrefix = "gh-actions-cache" DefaultS3UploadPartSizeBytes = MinS3UploadPartSizeBytes DefaultS3UploadConcurrency = 1 DefaultS3MultipartAbortTimeout = 30 * time.Second DefaultFilesystemMaxUsagePercent = 90 DefaultOrphanedStorageGraceHours = 24 DefaultCacheOlderThanDays = 90 MaximumCacheOlderThanDays = 36500 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type CacheConfig ¶
type CleanupConfig ¶
type Config ¶
type Config struct {
Server ServerConfig
Auth AuthConfig
DB DBConfig
Storage StorageConfig
Cache CacheConfig
Management ManagementConfig
Cleanup CleanupConfig
Debug bool
}
type DBConfig ¶
type DBConfig struct {
Driver string
SQLitePath string
PostgresURL string
PostgresDatabase string
PostgresHost string
PostgresPort string
PostgresUser string
PostgresPassword string
PostgresSSLMode string
MySQLDatabase string
MySQLHost string
MySQLPort string
MySQLUser string
MySQLPassword string
MySQLTLS string
}
type ManagementConfig ¶
type ManagementConfig struct {
APIKey string
}
type ServerConfig ¶
type StorageConfig ¶
type StorageConfig struct {
Driver string
FilesystemPath string
FilesystemFsync bool
S3Bucket string
S3Region string
S3EndpointURL string
S3ForcePathStyle bool
S3KeyPrefix string
S3UploadPartSizeBytes int64
S3UploadPartSizeBytesConfigured bool
S3UploadConcurrency int
S3MultipartAbortTimeout time.Duration
}
Click to show internal directories.
Click to hide internal directories.