commands

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package commands provides types and utility functions that are used for interfacing with the JSON based command infrastructure in Ceph.

The *rados.Conn type implements many of the interfaces found in this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MgrCommander

type MgrCommander interface {
	MgrCommand(buf [][]byte) ([]byte, string, error)
}

MgrCommander in an interface for the API needed to execute JSON formatted commands on the ceph mgr.

type MonCommander

type MonCommander interface {
	MonCommand(buf []byte) ([]byte, string, error)
}

MonCommander is an interface for the API needed to execute JSON formatted commands on the ceph mon(s).

type RadosCommander

type RadosCommander interface {
	MgrCommander
	MonCommander
}

RadosCommander provides an interface for APIs needed to execute JSON formatted commands on the Ceph cluster.

Jump to

Keyboard shortcuts

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