Documentation ¶
Index ¶
- type RemoteExecuteAPI
- type RemoteExecutor
- type RemoteExecutorConfig
- func (r *RemoteExecutorConfig) Cleanup(ctx context.Context, client *kubernetes.Clientset) error
- func (r *RemoteExecutorConfig) Deploy(ctx context.Context, client *kubernetes.Clientset) error
- func (r *RemoteExecutorConfig) OpenLocalPort(ctx context.Context, client *k8s.Client) (*portforward.PortForwarder, error)
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteExecuteAPI ¶
type RemoteExecutor ¶
type RemoteExecutorConfig ¶
type RemoteExecutorConfig struct { Name string Namespace string Image string Parameters RemoteExecutor Addr string StopCh chan struct{} ReadyCh chan struct{} ErrCh chan error Out *bytes.Buffer ErrOut *bytes.Buffer LocalPort int32 }
func NewExecutorConfig ¶
func NewExecutorConfig(name, namespace, image string, imageParameters []string, serviceAccountName string, targetPort int32) *RemoteExecutorConfig
Executor configurations are meant to be used to execute remote commands on a pod in a cluster.
func (*RemoteExecutorConfig) Cleanup ¶
func (r *RemoteExecutorConfig) Cleanup(ctx context.Context, client *kubernetes.Clientset) error
func (*RemoteExecutorConfig) Deploy ¶
func (r *RemoteExecutorConfig) Deploy(ctx context.Context, client *kubernetes.Clientset) error
func (*RemoteExecutorConfig) OpenLocalPort ¶
func (r *RemoteExecutorConfig) OpenLocalPort(ctx context.Context, client *k8s.Client) (*portforward.PortForwarder, error)
Click to show internal directories.
Click to hide internal directories.