duckdb

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainersTable  = "containers"
	DSTable          = "ds"
	DeploymentsTable = "deployments"
	HPATable         = "hpa"
	NodesTable       = "nodes"
	PodsTable        = "pods"
	STSTable         = "sts"
	Schema           = "k8s"
	TaintsTable      = "taints"
)
View Source
const (
	TaPlaceholder = "SQL "
)

Variables

This section is empty.

Functions

func InitDB

func InitDB(ctx context.Context, dataDir string, k8sInfo *k8s.Info) error

func InsertContainers added in v0.0.8

func InsertContainers(con driver.Conn, db *sql.DB, items k8spod.InfoList) error

func InsertDS added in v0.0.12

func InsertDS(con driver.Conn, db *sql.DB, items ds.InfoList) error

func InsertDeployments added in v0.0.9

func InsertDeployments(con driver.Conn, db *sql.DB, items deployment.InfoList) error

func InsertHPAs added in v0.0.10

func InsertHPAs(con driver.Conn, db *sql.DB, items hpa.InfoList) error

func InsertNodeTaints added in v0.0.15

func InsertNodeTaints(con driver.Conn, db *sql.DB, items k8s.TaintList) error

func InsertNodes

func InsertNodes(con driver.Conn, db *sql.DB, items k8snode.InfoList) error

func InsertPods added in v0.0.6

func InsertPods(con driver.Conn, db *sql.DB, items k8spod.InfoList) error

func InsertSTS added in v0.0.11

func InsertSTS(con driver.Conn, db *sql.DB, items sts.InfoList) error

func Query

func Query(ctx context.Context, dataDir string, q string) (string, error)

func RunTUI added in v0.0.7

func RunTUI(ctx context.Context, dataDir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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