Documentation ¶
Index ¶
- Constants
- func InitDB(ctx context.Context, dataDir string, k8sInfo *k8s.Info) error
- func InsertContainers(con driver.Conn, db *sql.DB, items k8spod.InfoList) error
- func InsertDS(con driver.Conn, db *sql.DB, items ds.InfoList) error
- func InsertDeployments(con driver.Conn, db *sql.DB, items deployment.InfoList) error
- func InsertHPAs(con driver.Conn, db *sql.DB, items hpa.InfoList) error
- func InsertNodes(con driver.Conn, db *sql.DB, items k8snode.InfoList) error
- func InsertPods(con driver.Conn, db *sql.DB, items k8spod.InfoList) error
- func InsertSTS(con driver.Conn, db *sql.DB, items sts.InfoList) error
- func Query(ctx context.Context, dataDir string, q string) (string, error)
- func RunTUI(ctx context.Context, dataDir string)
Constants ¶
View Source
const ( Schema = "k8s" NodesTable = "nodes" PodsTable = "pods" ContainersTable = "containers" DeploymentsTable = "deployments" HPATable = "hpa" STSTable = "sts" DSTable = "ds" )
View Source
const (
TaPlaceholder = "SQL "
)
Variables ¶
This section is empty.
Functions ¶
func InsertContainers ¶ added in v0.0.8
func InsertDeployments ¶ added in v0.0.9
func InsertHPAs ¶ added in v0.0.10
func InsertPods ¶ added in v0.0.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.