mongodb

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: Apache-2.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*mongo.Client
}

func (*Client) Close

func (c *Client) Close()

type KubeDBClientBuilder

type KubeDBClientBuilder struct {
	// contains filtered or unexported fields
}

func NewKubeDBClientBuilder

func NewKubeDBClientBuilder(kc client.Client, db *api.MongoDB) *KubeDBClientBuilder

func (*KubeDBClientBuilder) GetMongoClient

func (o *KubeDBClientBuilder) GetMongoClient() (*Client, error)

func (*KubeDBClientBuilder) WithCerts

func (*KubeDBClientBuilder) WithContext

func (*KubeDBClientBuilder) WithDirect

func (o *KubeDBClientBuilder) WithDirect() *KubeDBClientBuilder

func (*KubeDBClientBuilder) WithPod

func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder

func (*KubeDBClientBuilder) WithReplSet

func (o *KubeDBClientBuilder) WithReplSet(replSetName string) *KubeDBClientBuilder

func (*KubeDBClientBuilder) WithURL

Jump to

Keyboard shortcuts

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