Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // storage transport config ServerList []string `json:"serverList" yaml:"serverList"` // storage transport TLS credentials KeyFile string `json:"keyFile" yaml:"keyFile"` CertFile string `json:"certFile" yaml:"certFile"` TrustedCAFile string `json:"trustedCAFile" yaml:"trustedCAFile"` Prefix string `json:"prefix" yaml:"prefix"` Paging bool `json:"paging" yaml:"paging"` // CompactionInterval is an interval of requesting compaction from apiserver. // If the value is 0, no compaction will be issued. CompactionInterval time.Duration `json:"compactionInterval" yaml:"compactionInterval"` // CountMetricPollPeriod specifies how often should count metric be updated CountMetricPollPeriod time.Duration `json:"countMetricPollPeriod" yaml:"countMetricPollPeriod"` // To enable protobuf as storage format, it is enough // to set it to "application/vnd.kubernetes.protobuf". DefaultStorageMediaType string `json:"defaultStorageMediaType" yaml:"defaultStorageMediaType"` DeleteCollectionWorkers int `json:"deleteCollectionWorkers" yaml:"deleteCollectionWorkers"` EnableGarbageCollection bool `json:"enableGarbageCollection" yaml:"enableGarbageCollection"` // Set EnableWatchCache to false to disable all watch caches EnableWatchCache bool `json:"enableWatchCache" yaml:"enableWatchCache"` // Set DefaultWatchCacheSize to zero to disable watch caches for those resources that have no explicit cache size set DefaultWatchCacheSize int `json:"defaultWatchCacheSize" yaml:"defaultWatchCacheSize"` // WatchCacheSizes represents override to a given resource WatchCacheSizes []string `json:"watchCacheSizes" yaml:"watchCacheSizes"` }
func NewEtcdOptions ¶
func NewEtcdOptions() *Options
Click to show internal directories.
Click to hide internal directories.