Versions in this module Expand all Collapse all v1 v1.0.0 Nov 8, 2023 Changes in this version + func CheckForOldCouchbaseCapellaVersion(hostname, username, password string) (is_old bool, err error) + func CreateCapellaDbCredUser(baseUrl string, cloudAPIclustersEndPoint string, accessKey string, ...) error + func DeleteCapellaDbCredUser(baseUrl string, cloudAPIclustersEndPoint string, accessKey string, ...) error + func New() (interface{}, error) + func Unmarshal(body io.Reader, v interface{}) error + func UpdateCapellaDbCredUser(baseUrl string, cloudAPIclustersEndPoint string, accessKey string, ...) (string, error) + type CapellaClient struct + func NewCapellaClient(baseUrl string, accessKey string, secretKey string) *CapellaClient + func NewClient(baseURL, access, secret string) *CapellaClient + func (c *CapellaClient) Do(method, uri string, body interface{}) (*http.Response, error) + type CouchbaseCapellaDB struct + func (c *CouchbaseCapellaDB) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error) + func (c *CouchbaseCapellaDB) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error) + func (c *CouchbaseCapellaDB) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error) + func (c *CouchbaseCapellaDB) Type() (string, error) + func (c *CouchbaseCapellaDB) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error) + func (c CouchbaseCapellaDB) Close() error + func (c CouchbaseCapellaDB) Connection(ctx context.Context) (interface{}, error) + func (c CouchbaseCapellaDB) Init(ctx context.Context, initConfig map[string]interface{}, verifyConnection bool) (saveConfig map[string]interface{}, err error) + type Cursor struct + Hrefs Hrefs + Pages Pages + type Hrefs struct + First string + Last string + Next string + Previous string + type ListDbCredResponse struct + Cursor Cursor + Data []interface{} + type Pages struct + Last int + Next *int + Page int + PerPage int + Previous *int + TotalItems int