Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyOptions ¶
type ProxyOptions struct { StaticDir string StaticPrefix string APIPrefix string AcceptPaths string RejectPaths string AcceptHosts string RejectMethods string Port int Address string Keepalive time.Duration AppendServerPath bool ClientConfig *rest.Config Filter *proxy.FilterServer 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) 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() error
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.