Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
func NewPodLogOptions ¶
func NewPodLogOptions(lsOptions config.LogStreamOptions) *corev1.PodLogOptions
Types ¶
type ExecOptions ¶
type ExecOptions struct { In io.Reader Out io.Writer ErrOut io.Writer TTY bool InterruptParent *interrupt.Handler }
func (*ExecOptions) CreateTTY ¶
func (o *ExecOptions) CreateTTY() (term.TTY, remotecommand.TerminalSizeQueue, error)
type LogStreamer ¶
type LogStreamer struct { OsWriters logging.OsWriters Details app.Details AppNamespace string AppName string NewConfigFn NewConfiger Emitter MessageEmitter }
func (LogStreamer) Stream ¶
func (l LogStreamer) Stream(ctx context.Context, options config.LogStreamOptions) error
type MessageEmitter ¶
type RestClientGetter ¶
func (RestClientGetter) ToDiscoveryClient ¶
func (g RestClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
ToDiscoveryClient returns discovery client
func (RestClientGetter) ToRESTConfig ¶
func (g RestClientGetter) ToRESTConfig() (*rest.Config, error)
ToRESTConfig returns restconfig
func (RestClientGetter) ToRESTMapper ¶
func (g RestClientGetter) ToRESTMapper() (meta.RESTMapper, error)
ToRESTMapper returns a restmapper
func (RestClientGetter) ToRawKubeConfigLoader ¶
func (g RestClientGetter) ToRawKubeConfigLoader() clientcmd.ClientConfig
ToRawKubeConfigLoader return kubeconfig loader as-is
Click to show internal directories.
Click to hide internal directories.