Documentation
¶
Index ¶
Constants ¶
View Source
const ( NumaNodeSeparator = "/" NumaConfSeparator = ":" NumaResourceSeparator = "," NumaResourceConfSeparator = "=" StringSeparator = "," )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReservedMemoryVar ¶
type ReservedMemoryVar struct {
Value *[]native.MemoryReservation
// contains filtered or unexported fields
}
ReservedMemoryVar is used for validating a command line option that represents a reserved memory. It implements the pflag.Value interface
func (*ReservedMemoryVar) Set ¶
func (v *ReservedMemoryVar) Set(s string) error
Set sets the flag value The flag configuration is like "--reserved-memory 0:memory=1Gi,hugepages-1M=2Gi/1:memory=2Gi"
func (*ReservedMemoryVar) String ¶
func (v *ReservedMemoryVar) String() string
String returns the flag value
Click to show internal directories.
Click to hide internal directories.