Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
func (*Command) GetCommand ¶
type RemoteExecutor ¶
type RemoteExecutor struct { Config *rest.Config Clientset *kubernetes.Clientset }
func NewRemoteExecutor ¶
func NewRemoteExecutor(config *rest.Config) (*RemoteExecutor, error)
func (*RemoteExecutor) AccessServiceProxy ¶
func (e *RemoteExecutor) AccessServiceProxy(namespace, serviceName, path string) (output []byte, err error)
func (*RemoteExecutor) RunCommandInPod ¶
func (e *RemoteExecutor) RunCommandInPod(podName, namespace string, command Command) (string, error)
Click to show internal directories.
Click to hide internal directories.