Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultClusterId = "my-kube-cluster" DefaultClusterVersion = "0.1" DefaultSchedulerName = "yunikorn" DefaultPolicyGroup = "queues" DefaultLoggingLevel = 0 DefaultLogEncoding = "console" DefaultVolumeBindTimeout = 10 * time.Second )
default configuration values, these can be override by CLI options
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulerConf ¶
type SchedulerConf struct { ClusterId string `json:"clusterId"` ClusterVersion string `json:"clusterVersion"` SchedulerName string `json:"schedulerName"` PolicyGroup string `json:"policyGroup"` Interval int `json:"schedulingIntervalSecond"` KubeConfig string `json:"absoluteKubeConfigFilePath"` LoggingLevel int `json:"loggingLevel"` LogEncoding string `json:"logEncoding"` LogFile string `json:"logFilePath"` VolumeBindTimeout time.Duration `json:"volumeBindTimeout"` }
func GetSchedulerConf ¶
func GetSchedulerConf() *SchedulerConf
func (*SchedulerConf) GetKubeConfigPath ¶
func (conf *SchedulerConf) GetKubeConfigPath() string
func (*SchedulerConf) GetSchedulingInterval ¶
func (conf *SchedulerConf) GetSchedulingInterval() time.Duration
Click to show internal directories.
Click to hide internal directories.