rados

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	User         string        `yaml:"user"`
	UserKeyring  string        `yaml:"userKeyring"`
	MonHost      string        `yaml:"monHost"`
	RadosTimeout time.Duration `yaml:"radosTimeout"`
}

type Svc

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

func New

func New(conf Config) (*Svc, error)

func (*Svc) Close

func (s *Svc) Close()

func (*Svc) ExecMgr

func (s *Svc) ExecMgr(ctx context.Context, cmd string) ([]byte, error)

func (*Svc) ExecMon

func (s *Svc) ExecMon(ctx context.Context, cmd string) ([]byte, error)

func (*Svc) ExecMonWithInputBuff

func (s *Svc) ExecMonWithInputBuff(ctx context.Context, cmd string, inputBuffer []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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