query

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	// contains filtered or unexported fields
}

Query is a command that executes an SQL-query against the K8s API.

func Create

func Create(streams genericclioptions.IOStreams, builder *resource.Builder, defaultNamespace string) *Query

Create returns a new Query object.

func (*Query) Run

func (q *Query) Run(sqlQuery string) int

Run the given SQL-query and print the results to the provided I/O streams.

Directories

Path Synopsis
sql

Jump to

Keyboard shortcuts

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