Documentation
¶
Index ¶
- type CLI
- func (k *CLI) Apply(manifest string) error
- func (k *CLI) Exec(arg ...string) error
- func (k *CLI) Input(input io.Reader, arg ...string) error
- func (k *CLI) Lines(arg ...string) ([]string, error)
- func (k *CLI) Run(arg ...string) error
- func (k *CLI) StartLines(args []string, fn func(line string), end chan error) func()
- func (k *CLI) String(arg ...string) (string, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
CLI represents the kubectl CLI
func (*CLI) StartLines ¶
StartLines starts a long-running kubectl command that sends its lines of standard output to a callback function
Click to show internal directories.
Click to hide internal directories.