Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IGWPort = 80 IGWMatchLabels = map[string]string{ "app.kubernetes.io/component": "ingressgateway", "app.kubernetes.io/instance": "backyards", } BackyardsServiceAccountName = "backyards" )
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI interface { Out() io.Writer OutputFormat() string Color() bool Interactive() bool InteractiveTerminal() bool GetRootCommand() *cobra.Command GetK8sClient() (k8sclient.Client, error) GetK8sConfig() (*rest.Config, error) GetPortforwardForPod(podLabels map[string]string, namespace string, localPort, remotePort int) (*portforward.Portforward, error) GetPortforwardForIGW(localPort int) (*portforward.Portforward, error) }
Click to show internal directories.
Click to hide internal directories.