api

package
v0.0.0-...-12e21da Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabase

func CreateDatabase(namespace string, name string, appid string, region string)

func CreateDatabaseStore

func CreateDatabaseStore(namespace string, name string, region string, connectionUri string)

func DeleteDatabase

func DeleteDatabase(namespace string, name string)

func DeleteDatabaseStore

func DeleteDatabaseStore(namespace string, name string)

func GetDatabase

func GetDatabase(namespace string, name string) (*databasev1.Database, error)

func GetDatabaseStore

func GetDatabaseStore(namespace string, name string) (*databasev1.Store, error)

func GetMongoDbConnectionUri

func GetMongoDbConnectionUri() string

func GetMongoDbHostname

func GetMongoDbHostname() string

func InstallMongoDb

func InstallMongoDb(namespace string)

func UninstallMongoDb

func UninstallMongoDb(namespace string)

func UpdateDatabaseStoreStatus

func UpdateDatabaseStoreStatus(namespace string, name string, status databasev1.StoreStatus)

UpdateDatabaseStoreStatus is to demonstrate how to update status of an resource object.

func WaitForDatabaseDeleted

func WaitForDatabaseDeleted(namespace string, name string)

func WaitForDatabaseReady

func WaitForDatabaseReady(namespace string, name string)

func WaitForDatabaseStoreDeleted

func WaitForDatabaseStoreDeleted(namespace string, name string)

func WaitForDatabaseStoreReady

func WaitForDatabaseStoreReady(namespace string, name string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL