kubernetes: k8s.io/kubernetes/pkg/util/flag Index | Files

package flag

import "k8s.io/kubernetes/pkg/util/flag"

Index

Package Files

flags.go

func PrintFlags Uses

func PrintFlags(flags *pflag.FlagSet)

PrintFlags logs the flags in the flagset

type IPPortVar Uses

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 Uses

func (v IPPortVar) Set(s string) error

Set sets the flag value

func (IPPortVar) String Uses

func (v IPPortVar) String() string

String returns the flag value

func (IPPortVar) Type Uses

func (v IPPortVar) Type() string

Type gets the flag type

type IPVar Uses

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 Uses

func (v IPVar) Set(s string) error

Set sets the flag value

func (IPVar) String Uses

func (v IPVar) String() string

String returns the flag value

func (IPVar) Type Uses

func (v IPVar) Type() string

Type gets the flag type

type PortRangeVar Uses

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 Uses

func (v PortRangeVar) Set(s string) error

Set sets the flag value

func (PortRangeVar) String Uses

func (v PortRangeVar) String() string

String returns the flag value

func (PortRangeVar) Type Uses

func (v PortRangeVar) Type() string

Type gets the flag type

Package flag imports 6 packages (graph) and is imported by 386 packages. Updated 2018-11-21. Refresh now. Tools for package owners.