Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "next" Commit = "" )
View Source
var Command = &cobra.Command{ Use: "kubedb", Short: "interact with a database inside of Kubernetes", Version: buildVersion(), DisableAutoGenTag: true, Long: `kubedb is a command to interact with a database running in a Kubernetes cluster. Multiple database types (referred to as the "dialect") are supported. If the dialect is not configured via flag, it will be detected dynamically. Supported Database Dialects: - PostgreSQL - MariaDB If not configured via flag, some configuration variables will be loaded from the target pod's env vars. Dynamic Env Var Variables: - Database - Username (fallback value: "postgres" if PostgreSQL, "mariadb" if MariaDB, "root" if MongoDB) - Password `, PersistentPreRunE: preRun, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.