Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseOptions ¶
type BaseOptions struct { Agents []string NodeName string NodeAddress string LockFileName string LockWaitingEnabled bool CgroupType string AdditionalCgroupPaths []string MachineNetMultipleNS bool MachineNetNSDirAbsPath string }
func NewBaseOptions ¶
func NewBaseOptions() *BaseOptions
func (*BaseOptions) AddFlags ¶
func (o *BaseOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags adds flags to the specified FlagSet.
func (*BaseOptions) ApplyTo ¶
func (o *BaseOptions) ApplyTo(c *global.BaseConfiguration) error
ApplyTo fills up config with options
type MetaServerOptions ¶
type MetaServerOptions struct { CNRCacheTTL time.Duration CustomNodeConfigCacheTTL time.Duration ServiceProfileCacheTTL time.Duration ConfigCacheTTL time.Duration ConfigDisableDynamic bool ConfigSkipFailedInitialization bool ConfigCheckpointGraceTime time.Duration KubeletReadOnlyPort int KubeletSecurePort int EnableKubeletSecurePort bool KubeletPodCacheSyncPeriod time.Duration KubeletPodCacheSyncMaxRate int KubeletPodCacheSyncBurstBulk int KubeletConfigEndpoint string APIAuthTokenFile string KubeletPodsEndpoint string RemoteRuntimeEndpoint string RuntimePodCacheSyncPeriod time.Duration CheckpointManagerDir string EnableMetricsFetcher bool EnableCNCFetcher bool }
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 *global.MetaServerConfiguration) error
ApplyTo fills up config with options
type PluginManagerOptions ¶
type PluginManagerOptions struct {
PluginRegistrationDir string
}
func NewPluginManagerOptions ¶
func NewPluginManagerOptions() *PluginManagerOptions
func (*PluginManagerOptions) AddFlags ¶
func (o *PluginManagerOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags adds flags to the specified FlagSet.
func (*PluginManagerOptions) ApplyTo ¶
func (o *PluginManagerOptions) ApplyTo(c *global.PluginManagerConfiguration) error
ApplyTo fills up config with options
type QRMAdvisorOptions ¶
type QRMAdvisorOptions struct { CPUAdvisorSocketAbsPath string CPUPluginSocketAbsPath string MemoryAdvisorSocketAbsPath string }
QRMAdvisorOptions holds the configurations for both qrm plugins and sys advisor qrm servers
func NewQRMAdvisorOptions ¶
func NewQRMAdvisorOptions() *QRMAdvisorOptions
NewQRMAdvisorOptions creates a new options with a default config
func (*QRMAdvisorOptions) AddFlags ¶
func (o *QRMAdvisorOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags adds flags to the specified FlagSet.
func (*QRMAdvisorOptions) ApplyTo ¶
func (o *QRMAdvisorOptions) ApplyTo(c *global.QRMAdvisorConfiguration) error
ApplyTo fills up config with options
Click to show internal directories.
Click to hide internal directories.