connector

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CephConnector

type CephConnector struct {
	Context       context.Context
	Config        *rest.Config
	Kubeclientset kubernetes.Interface
	Rookclientset rookclient.Interface
}

func GetConnector

func GetConnector() (*CephConnector, error)

func (*CephConnector) PrepareConnectionString

func (c *CephConnector) PrepareConnectionString(opts Opts) (string, error)

type Opts

type Opts struct {
	RookNamespace    string
	AuthClient       string
	UseRBD           bool
	UseCephFS        bool
	UseRgw           bool
	RgwUserName      string
	ToolBoxLabel     string
	ToolBoxNamespace string
	EncodedBase64    bool
}

Jump to

Keyboard shortcuts

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