Documentation ¶
Overview ¶
Package api is the internal version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecLocation ¶
func ExecLocation( getter corev1client.CoreV1Interface, connInfo kubelet.ConnectionInfoGetter, ctx context.Context, name string, opts *PodExec, ) (*url.URL, http.RoundTripper, error)
ExecLocation returns the exec URL for a pod container. If opts.Container is blank and only one container is present in the pod, that container is used.
func NewPodExecREST ¶
func NewPodExecREST(getter generic.RESTOptionsGetter) rest.Storage
Types ¶
type PodExecREST ¶
type PodExecREST struct { KubeletConn kubelet.ConnectionInfoGetter // contains filtered or unexported fields }
+k8s:deepcopy-gen=false
func (*PodExecREST) ConnectMethods ¶
func (r *PodExecREST) ConnectMethods() []string
func (*PodExecREST) New ¶
func (r *PodExecREST) New() runtime.Object
func (*PodExecREST) NewConnectOptions ¶
func (r *PodExecREST) NewConnectOptions() (runtime.Object, bool, string)
Directories ¶
Path | Synopsis |
---|---|
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/apiserver-builder-alpha/example/podexec/pkg/apis/podexec +k8s:defaulter-gen=TypeMeta +groupName=podexec.example.com
|
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/apiserver-builder-alpha/example/podexec/pkg/apis/podexec +k8s:defaulter-gen=TypeMeta +groupName=podexec.example.com |
Click to show internal directories.
Click to hide internal directories.