Help us shape the future of Go! Take the 2026 Go Developer Survey

duckdb

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainersTable         = "containers"
	CustomResourcesTable    = "custom_resources"
	DSTable                 = "daemonsets"
	DeploymentsTable        = "deployments"
	EndpointsTable          = "endpoints"
	EndpointSlicesTable     = "endpoint_slices"
	EndpointSlicePortsTable = "endpoint_slice_ports"
	EventsTable             = "events"
	HPATable                = "horizontal_pod_autoscalers"
	ImagesTable             = "images"
	InitContainersTable     = "init_containers"
	NodesTable              = "nodes"
	PVTable                 = "persistent_volumes"
	PVCTable                = "persistent_volume_claims"
	PodsTable               = "pods"
	STSTable                = "stateful_sets"
	Schema                  = "k8s"
	ServiceTable            = "services"
	TaintsTable             = "taints"
	TolerationsTable        = "tolerations"
	PVCVolumesTable         = "persistent_volume_claim_volumes"
)

Table names

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 InsertCustomResources added in v0.2.0

func InsertCustomResources(con driver.Conn, db *sql.DB, items customresource.InfoList) error

func InsertDSs added in v0.0.18

func InsertDSs(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 InsertEndpointSlicePorts added in v0.1.7

func InsertEndpointSlicePorts(con driver.Conn, db *sql.DB, items endpointslices.InfoList) error

func InsertEndpointSlices added in v0.1.7

func InsertEndpointSlices(con driver.Conn, db *sql.DB, items endpointslices.InfoList) error

func InsertEndpoints added in v0.1.6

func InsertEndpoints(con driver.Conn, db *sql.DB, items endpointslices.InfoList) error

func InsertEvents added in v0.1.13

func InsertEvents(con driver.Conn, db *sql.DB, items event.InfoList) error

func InsertHPAs added in v0.0.10

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

func InsertImages added in v0.1.5

func InsertImages(con driver.Conn, db *sql.DB, items k8snode.ImageList) error

func InsertInitContainers added in v0.0.19

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

func InsertNodes

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

func InsertPVCVolumes added in v0.1.10

func InsertPVCVolumes(con driver.Conn, db *sql.DB, items k8s.PVCVolumeList) error

func InsertPVCs added in v0.1.8

func InsertPVCs(con driver.Conn, db *sql.DB, items pvc.InfoList) error

func InsertPVs added in v0.1.3

func InsertPVs(con driver.Conn, db *sql.DB, items pv.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 InsertServices added in v0.0.18

func InsertServices(con driver.Conn, db *sql.DB, items service.InfoList) error

func InsertTaints added in v0.0.19

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

func InsertTolerations added in v0.0.19

func InsertTolerations(con driver.Conn, db *sql.DB, items k8s.TolerationList) error

func Query

func Query(ctx context.Context, dataDir string, q string) (*format.Data, 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