commands

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 0 Imported by: 8

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 MgrBufferCommander added in v0.34.0

type MgrBufferCommander interface {
	MgrCommandWithInputBuffer([][]byte, []byte) ([]byte, string, error)
}

MgrBufferCommander is an interface for the API needed to execute JSON formatted commands with an input buffer on the Ceph mgr.

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 MonBufferCommander added in v0.34.0

type MonBufferCommander interface {
	MonCommandWithInputBuffer([]byte, []byte) ([]byte, string, error)
}

MonBufferCommander is an interface for the API needed to execute JSON formatted commands with an input buffer on the Ceph mon(s).

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 RadosBufferCommander added in v0.34.0

type RadosBufferCommander interface {
	RadosCommander
	MgrBufferCommander
	MonBufferCommander
}

RadosBufferCommander provides an interface for APIs that need to execute JSON formatted commands with an input buffer on the Ceph cluster.

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