config

package
v0.0.0-...-9dbb984 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BBSConfig

type BBSConfig struct {
	AccessLogPath                   string                `json:"access_log_path,omitempty"`
	AdvertiseURL                    string                `json:"advertise_url,omitempty"`
	AuctioneerAddress               string                `json:"auctioneer_address,omitempty"`
	AuctioneerCACert                string                `json:"auctioneer_ca_cert,omitempty"`
	AuctioneerClientCert            string                `json:"auctioneer_client_cert,omitempty"`
	AuctioneerClientKey             string                `json:"auctioneer_client_key,omitempty"`
	AuctioneerRequireTLS            bool                  `json:"auctioneer_require_tls,omitempty"`
	UUID                            string                `json:"uuid,omitempty"`
	CaFile                          string                `json:"ca_file,omitempty"`
	CellRegistrationsLocketEnabled  bool                  `json:"cell_registrations_locket_enabled"`
	CertFile                        string                `json:"cert_file,omitempty"`
	CommunicationTimeout            durationjson.Duration `json:"communication_timeout,omitempty"`
	ConsulCluster                   string                `json:"consul_cluster,omitempty"`
	ConvergeRepeatInterval          durationjson.Duration `json:"converge_repeat_interval,omitempty"`
	ConvergenceWorkers              int                   `json:"convergence_workers,omitempty"`
	DatabaseConnectionString        string                `json:"database_connection_string"`
	DatabaseDriver                  string                `json:"database_driver,omitempty"`
	DesiredLRPCreationTimeout       durationjson.Duration `json:"desired_lrp_creation_timeout,omitempty"`
	DetectConsulCellRegistrations   bool                  `json:"detect_consul_cell_registrations,omitempty"`
	EnableConsulServiceRegistration bool                  `json:"enable_consul_service_registration"`
	ExpireCompletedTaskDuration     durationjson.Duration `json:"expire_completed_task_duration,omitempty"`
	ExpirePendingTaskDuration       durationjson.Duration `json:"expire_pending_task_duration,omitempty"`
	HealthAddress                   string                `json:"health_address,omitempty"`
	KeyFile                         string                `json:"key_file,omitempty"`
	KickTaskDuration                durationjson.Duration `json:"kick_task_duration,omitempty"`
	ListenAddress                   string                `json:"listen_address,omitempty"`
	LocksLocketEnabled              bool                  `json:"locks_locket_enabled"`
	LockRetryInterval               durationjson.Duration `json:"lock_retry_interval,omitempty"`
	LockTTL                         durationjson.Duration `json:"lock_ttl,omitempty"`
	MaxIdleDatabaseConnections      int                   `json:"max_idle_database_connections,omitempty"`
	MaxOpenDatabaseConnections      int                   `json:"max_open_database_connections,omitempty"`
	MaxTaskRetries                  int                   `json:"max_task_retries,omitempty"`
	RepCACert                       string                `json:"rep_ca_cert,omitempty"`
	RepClientCert                   string                `json:"rep_client_cert,omitempty"`
	RepClientKey                    string                `json:"rep_client_key,omitempty"`
	RepClientSessionCacheSize       int                   `json:"rep_client_session_cache_size,omitempty"`
	RepRequireTLS                   bool                  `json:"rep_require_tls,omitempty"`
	ReportInterval                  durationjson.Duration `json:"report_interval,omitempty"`
	RequireSSL                      bool                  `json:"require_ssl,omitempty"`
	SQLCACertFile                   string                `json:"sql_ca_cert_file,omitempty"`
	SQLEnableIdentityVerification   bool                  `json:"sql_enable_identity_verification,omitempty"`
	SessionName                     string                `json:"session_name,omitempty"`
	SkipConsulLock                  bool                  `json:"skip_consul_lock,omitempty"`
	TaskCallbackWorkers             int                   `json:"task_callback_workers,omitempty"`
	UpdateWorkers                   int                   `json:"update_workers,omitempty"`
	LoggregatorConfig               loggingclient.Config  `json:"loggregator"`
	debugserver.DebugServerConfig
	encryption.EncryptionConfig
	lagerflags.LagerConfig
	locket.ClientLocketConfig
}

func NewBBSConfig

func NewBBSConfig(configPath string) (BBSConfig, error)

Jump to

Keyboard shortcuts

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