Documentation ¶
Index ¶
- func CalculateMemLimit(maxMemRate float64) int
- func DeepCopyStrategy(ori *scheme.Strategy) *scheme.Strategy
- func DeepCopyStringMap(params map[string]string) map[string]string
- func DeepCopyStringSlice(params []string) []string
- func DictedTagstring(s string) map[string]string
- func GetCPULimitNum(maxCPURate float64) int
- func GetEndpoint(endpoint string) (string, error)
- func GetPatAndTimeFormat(tf string) (string, string)
- func LocalHostname() (string, error)
- func LocalIP() (string, error)
- func SortedTags(tags map[string]string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateMemLimit ¶
func DeepCopyStringSlice ¶
func DictedTagstring ¶
func GetCPULimitNum ¶
func GetEndpoint ¶
func GetPatAndTimeFormat ¶
根据配置的时间格式,获取对应的正则匹配pattern和time包用的时间格式
func LocalHostname ¶
func SortedTags ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.