log

package
v0.0.0-...-c764021 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0, BSD-2-Clause, MIT Imports: 22 Imported by: 0

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) Run

func (options *ClusterLogOptions) Run(ctx context.Context, factory cmdutil.Factory) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL