Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterLogCommand ¶
func NewClusterLogCommand(streams genericclioptions.IOStreams) *cobra.Command
Types ¶
type ClusterLogOptions ¶
type ClusterLogOptions struct { Executor RemoteExecutor ResourceName string // contains filtered or unexported fields }
func NewClusterLogOptions ¶
func NewClusterLogOptions(streams genericclioptions.IOStreams) *ClusterLogOptions
func (*ClusterLogOptions) Complete ¶
func (options *ClusterLogOptions) Complete(cmd *cobra.Command, args []string) error
func (*ClusterLogOptions) Validate ¶
func (options *ClusterLogOptions) Validate() error
type DefaultRemoteExecutor ¶
type DefaultRemoteExecutor struct{}
func (*DefaultRemoteExecutor) CreateExecutor ¶
func (dre *DefaultRemoteExecutor) CreateExecutor(restConfig *rest.Config, url *url.URL) (remotecommand.Executor, error)
CreateExecutor returns the executor created by NewSPDYExecutor
type RemoteExecutor ¶
type RemoteExecutor interface {
CreateExecutor(restConfig *rest.Config, url *url.URL) (remotecommand.Executor, error)
}
RemoteExecutor creates the executor for executing exec on the pod - provided for testing purposes
Click to show internal directories.
Click to hide internal directories.