clioption

package
v0.0.0-...-16eb8d1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

https://github.com/kubernetes/cli-runtime/blob/master/pkg/genericclioptions/io_options.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DexOptions

type DexOptions struct {
	RestartDex bool
}

type IOStreams

type IOStreams struct {
	In     io.Reader
	Out    io.Writer
	ErrOut io.Writer
}

IOStreams provides the standard names for iostreams. This is useful for embedding and for unit testing.

func NewTestIOStreams

func NewTestIOStreams() (IOStreams, *bytes.Buffer, *bytes.Buffer, *bytes.Buffer)

NewTestIOStreams returns a valid IOStreams and in, out, errout buffers for unit tests

Jump to

Keyboard shortcuts

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