Documentation ¶
Index ¶
- Constants
- func Connect(url string) (*sql.DB, error)
- func CreateFakeClickHouse(t *testing.T, kubeClient kubernetes.Interface, namespace string) (db *sql.DB, mock sqlmock.Sqlmock)
- func GetSecret(client kubernetes.Interface, namespace string) (username string, password string, err error)
- func SetupConnection(client kubernetes.Interface) (connect *sql.DB, err error)
Constants ¶
View Source
const ( ServiceName = "clickhouse-clickhouse" ServicePortProtocal = "TCP" // #nosec G101: false positive triggered by variable name which includes "secret" SecretName = "clickhouse-secret" )
Variables ¶
This section is empty.
Functions ¶
func CreateFakeClickHouse ¶ added in v0.5.0
func SetupConnection ¶
func SetupConnection(client kubernetes.Interface) (connect *sql.DB, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.