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 InsertDSs(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 InsertInitContainers(con driver.Conn, db *sql.DB, items k8spod.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 InsertServices(con driver.Conn, db *sql.DB, items service.InfoList) error
- func InsertTaints(con driver.Conn, db *sql.DB, items k8s.TaintList) error
- func InsertTolerations(con driver.Conn, db *sql.DB, items k8s.TolerationList) error
- func Query(ctx context.Context, dataDir string, q string) (*format.Data, error)
- func RunTUI(ctx context.Context, dataDir string)
Constants ¶
View Source
const ( ContainersTable = "containers" DSTable = "ds" DeploymentsTable = "deployments" HPATable = "hpa" InitContainersTable = "init_containers" NodesTable = "nodes" PodsTable = "pods" STSTable = "sts" Schema = "k8s" ServiceTable = "services" TaintsTable = "taints" TolerationsTable = "tolerations" )
Table names
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 InsertInitContainers ¶ added in v0.0.19
func InsertPods ¶ added in v0.0.6
func InsertServices ¶ added in v0.0.18
func InsertTaints ¶ added in v0.0.19
func InsertTolerations ¶ added in v0.0.19
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.