Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaServerOptions ¶
type MetaServerOptions struct { // generic configurations for metaserver CheckpointManagerDir string EnableMetricsFetcher bool EnableCNCFetcher bool // configurations for kcc ConfigCacheTTL time.Duration ConfigDisableDynamic bool ConfigSkipFailedInitialization bool ConfigCheckpointGraceTime time.Duration // configurations for spd ServiceProfileSkipCorruptionError bool ServiceProfileCacheTTL time.Duration // configurations for metric-fetcher MetricInsurancePeriod time.Duration MetricProvisions []string RodanServerPort int // configurations for pod-cache KubeletPodCacheSyncPeriod time.Duration KubeletPodCacheSyncMaxRate int KubeletPodCacheSyncBurstBulk int RuntimePodCacheSyncPeriod time.Duration // configurations for cnr CNRCacheTTL time.Duration // configurations for cnc CustomNodeConfigCacheTTL time.Duration }
MetaServerOptions holds all the configurations for metaserver. we will not try to separate this structure into several individual structures since it will not be used directly by other components; instead, we will only separate them with blanks in a single structure.
func NewMetaServerOptions ¶
func NewMetaServerOptions() *MetaServerOptions
func (*MetaServerOptions) AddFlags ¶
func (o *MetaServerOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags adds flags to the specified FlagSet.
func (*MetaServerOptions) ApplyTo ¶
func (o *MetaServerOptions) ApplyTo(c *metaserver.MetaServerConfiguration) error
ApplyTo fills up config with options
Click to show internal directories.
Click to hide internal directories.