Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "unknown"
Version is set during build time
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewCommandFactory ¶
func NewCommandFactory() (cmdutil.Factory, genericclioptions.IOStreams)
func StartReverseProxy ¶
func StartReverseProxy(ctx context.Context, opts ReverseProxyOptions) error
Types ¶
type ReverseProxyOptions ¶
type ReverseProxyOptions struct {
K8sClient kubernetes.Interface
IOStreams genericclioptions.IOStreams
Factory cmdutil.Factory
Name string
LabelSelector string
LocalPort string
Namespace string
StopCh chan struct{}
}
Click to show internal directories.
Click to hide internal directories.