package flag
import "k8s.io/kubernetes/pkg/util/flag"
Index ¶
- type IPPortVar
- func (v IPPortVar) Set(s string) error
- func (v IPPortVar) String() string
- func (v IPPortVar) Type() string
- type IPVar
- type PortRangeVar
- func (v PortRangeVar) Set(s string) error
- func (v PortRangeVar) String() string
- func (v PortRangeVar) Type() string
- type ReservedMemoryVar
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
func (IPPortVar) Set ¶
Set sets the flag value
func (IPPortVar) String ¶
String returns the flag value
func (IPPortVar) Type ¶
Type gets the flag type
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
func (IPVar) Set ¶
Set sets the flag value
func (IPVar) String ¶
String returns the flag value
func (IPVar) Type ¶
Type gets the flag type
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
func (PortRangeVar) Set ¶
func (v PortRangeVar) Set(s string) error
Set sets the flag value
func (PortRangeVar) String ¶
func (v PortRangeVar) String() string
String returns the flag value
func (PortRangeVar) Type ¶
func (v PortRangeVar) 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
func (*ReservedMemoryVar) Type ¶
func (v *ReservedMemoryVar) Type() string
Type gets the flag type
Source Files ¶
flags.go
- Version
- v1.22.14
- Published
- Sep 14, 2022
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 10 minutes ago –
Tools for package owners.