Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPPortVar ¶
type IPPortVar struct {
Val *string
}
IPPortVar is used for validating a command line option that represents an IP and a port. It implements the pflag.Value interface
type IPVar ¶
type IPVar struct {
Val *string
}
IPVar is used for validating a command line option that represents an IP. It implements the pflag.Value interface
type PortRangeVar ¶
type PortRangeVar struct {
Val *string
}
PortRangeVar is used for validating a command line option that represents a port range. It implements the pflag.Value interface
type RegisterWithTaintsVar ¶
RegisterWithTaintsVar is used for validating a command line option that represents a register with taints. It implements the pflag.Value interface
func (RegisterWithTaintsVar) Set ¶
func (t RegisterWithTaintsVar) Set(s string) error
Set sets the flag value
func (RegisterWithTaintsVar) String ¶
func (t RegisterWithTaintsVar) String() string
String returns the flag value
func (RegisterWithTaintsVar) Type ¶
func (t RegisterWithTaintsVar) Type() string
Type gets the flag type
type ReservedMemoryVar ¶
type ReservedMemoryVar struct { Value *[]kubeletconfig.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
func (*ReservedMemoryVar) String ¶
func (v *ReservedMemoryVar) String() string
String returns the flag value