config

package
v0.0.0-...-45400c2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: Apache-2.0 Imports: 7 Imported by: 4 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkerConfig

type BulkerConfig struct {
	BBSAddress                 string                        `json:"bbs_api_url"`
	BBSCACert                  string                        `json:"bbs_ca_cert"`
	BBSCancelTaskPoolSize      int                           `json:"bbs_cancel_task_pool_size"`
	BBSClientCert              string                        `json:"bbs_client_cert"`
	BBSClientConnectionPerHost int                           `json:"bbs_client_connection_per_host"`
	BBSClientKey               string                        `json:"bbs_client_key"`
	BBSClientSessionCacheSize  int                           `json:"bbs_client_cache_size"`
	BBSFailTaskPoolSize        int                           `json:"bbs_fail_task_pool_size"`
	BBSMaxIdleConnsPerHost     int                           `json:"bbs_max_idle_conns_per_host"`
	BBSUpdateLRPWorkers        int                           `json:"bbs_update_lrp_workers"`
	CCBaseUrl                  string                        `json:"cc_base_url"`
	CCBulkBatchSize            uint                          `json:"cc_bulk_batch_size"`
	CCPassword                 string                        `json:"cc_basic_auth_password"`
	CCPollingInterval          Duration                      `json:"cc_polling_interval"`
	CCUsername                 string                        `json:"cc_basic_auth_username"`
	CommunicationTimeout       Duration                      `json:"communication_timeout"`
	ConsulCluster              string                        `json:"consul_cluster"`
	DebugServerConfig          debugserver.DebugServerConfig `json:"debug_server_config"`
	DomainTTL                  Duration                      `json:"domain_ttl"`
	DropsondePort              int                           `json:"dropsonde_port"`
	FileServerUrl              string                        `json:"file_server_url"`
	LagerConfig                lagerflags.LagerConfig        `json:"lager_config"`
	LockRetryInterval          Duration                      `json:"lock_retry_interval"`
	LockTTL                    Duration                      `json:"lock_ttl"`
	Lifecycles                 []string                      `json:"lifecycle_bundles"`
	PrivilegedContainers       bool                          `json:"diego_privileged_containers"`
	SkipCertVerify             bool                          `json:"skip_cert_verify"`
}

func DefaultBulkerConfig

func DefaultBulkerConfig() BulkerConfig

func NewBulkerConfig

func NewBulkerConfig(configPath string) (BulkerConfig, error)

type Duration

type Duration time.Duration

func (Duration) MarshalJSON

func (d Duration) MarshalJSON() ([]byte, error)

func (*Duration) UnmarshalJSON

func (d *Duration) UnmarshalJSON(data []byte) error

type ListenerConfig

type ListenerConfig struct {
	BBSAddress                string                        `json:"bbs_api_url"`
	BBSCACert                 string                        `json:"bbs_ca_cert"`
	BBSClientCert             string                        `json:"bbs_client_cert"`
	BBSClientKey              string                        `json:"bbs_client_key"`
	BBSClientSessionCacheSize int                           `json:"bbs_client_cache_size"`
	BBSMaxIdleConnsPerHost    int                           `json:"bbs_max_idle_conns_per_host"`
	CommunicationTimeout      Duration                      `json:"communication_timeout"`
	ConsulCluster             string                        `json:"consul_cluster"`
	DebugServerConfig         debugserver.DebugServerConfig `json:"debug_server_config"`
	DropsondePort             int                           `json:"dropsonde_port"`
	FileServerURL             string                        `json:"file_server_url"`
	Lifecycles                []string                      `json:"lifecycle_bundles"`
	ListenAddress             string                        `json:"nsync_listen_addr"`
	LagerConfig               lagerflags.LagerConfig        `json:"lager_config"`
	PrivilegedContainers      bool                          `json:"diego_privileged_containers"`
}

func DefaultListenerConfig

func DefaultListenerConfig() ListenerConfig

func NewListenerConfig

func NewListenerConfig(configPath string) (ListenerConfig, error)

Jump to

Keyboard shortcuts

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