Portforward API

This commit is contained in:
Michael Fraenkel
2017-01-12 03:38:43 -08:00
parent 4f8f6006cf
commit eb5d59467e
7 changed files with 55 additions and 0 deletions

View File

@@ -2953,6 +2953,15 @@ type PodExecOptions struct {
Command []string
}
// PodPortForwardOptions is the query options to a Pod's port forward call
type PodPortForwardOptions struct {
metav1.TypeMeta
// The list of ports to forward
// +optional
Ports []int32
}
// PodProxyOptions is the query options to a Pod's proxy call
type PodProxyOptions struct {
metav1.TypeMeta