Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyOptions ¶
type ProxyOptions struct { Address string KubeAPIQPS float32 KubeAPIBurst int StaticPath string TLSEnable bool CACertFile string CertFile string KeyFile string Keepalive time.Duration Log *logs.Options }
ProxyOptions have the data required to perform the proxy operation
func NewProxyOptions ¶
func NewProxyOptions() *ProxyOptions
NewProxyOptions creates the options for proxy
func (*ProxyOptions) AddFlags ¶
func (o *ProxyOptions) AddFlags(flags *pflag.FlagSet)
AddFlags adds flags to the specified FlagSet.
func (*ProxyOptions) BuildTLSConfigOrDie ¶ added in v0.0.3
func (o *ProxyOptions) BuildTLSConfigOrDie() *tls.Config
func (*ProxyOptions) Complete ¶
func (o *ProxyOptions) Complete() error
Complete adapts from the command line args and factory to the data required.
func (*ProxyOptions) Validate ¶
func (o *ProxyOptions) Validate() field.ErrorList
Validate checks to the ProxyOptions to see if there is sufficient information to run the command.
Click to show internal directories.
Click to hide internal directories.