Versions in this module Expand all Collapse all v0 v0.41.0 Aug 10, 2026 Changes in this version + const CephTypeBool + const CephTypeChoices + const CephTypeEntityAddr + const CephTypeFilePath + const CephTypeFloat + const CephTypeFragment + const CephTypeIPAddr + const CephTypeInt + const CephTypeName + const CephTypeOSDName + const CephTypeObjectName + const CephTypePGID + const CephTypePoolName + const CephTypeSocketPath + const CephTypeString + const CephTypeUUID + func QueryMgrJSON(m ccom.MgrCommander) ([]byte, error) + func QueryMonJSON(m ccom.MonCommander) ([]byte, error) + type Builder struct + Description Description + GetType CephTypeFunc + Values map[string]any + func NewBuilder(d Description) *Builder + func (b *Builder) Apply(args []string, named map[string]string) error + func (b *Builder) Arguments() []CephArgumentType + func (b *Builder) ArgumentsMap() map[string]CephArgumentType + func (b *Builder) MarshalJSON() ([]byte, error) + func (b *Builder) Prepare() *Builder + func (b *Builder) Validate() error + type CephArgumentType interface + Name func() string + Set func(map[string]any, any) error + TypeName func() string + Validate func(map[string]any) error + func BindArgumentType(sv *SignatureVar) CephArgumentType + type CephBool struct + func (*CephBool) Convert(v any) (any, error) + func (*CephBool) TypeName() string + func (t *CephBool) Check(v any) error + func (t *CephBool) Name() string + func (t *CephBool) Set(data map[string]any, v any) error + func (t *CephBool) Validate(data map[string]any) error + type CephChoices struct + func (*CephChoices) TypeName() string + func (t *CephChoices) Check(v any) error + func (t *CephChoices) Choices() map[string]bool + func (t *CephChoices) Convert(v any) (any, error) + func (t *CephChoices) Name() string + func (t *CephChoices) Set(data map[string]any, v any) error + func (t *CephChoices) Validate(data map[string]any) error + type CephFloat struct + func (*CephFloat) Convert(v any) (any, error) + func (*CephFloat) TypeName() string + func (t *CephFloat) Check(v any) error + func (t *CephFloat) Name() string + func (t *CephFloat) Set(data map[string]any, v any) error + func (t *CephFloat) Validate(data map[string]any) error + type CephInt struct + func (*CephInt) Convert(v any) (any, error) + func (*CephInt) TypeName() string + func (t *CephInt) Check(v any) error + func (t *CephInt) Name() string + func (t *CephInt) Set(data map[string]any, v any) error + func (t *CephInt) Validate(data map[string]any) error + type CephMultiArgumentType interface + Append func(map[string]any, any) error + type CephOSDName struct + func (*CephOSDName) TypeName() string + type CephObjectName struct + func (*CephObjectName) TypeName() string + type CephPGID struct + func (*CephPGID) TypeName() string + type CephPoolName struct + func (*CephPoolName) TypeName() string + type CephRepeatedArg struct + func (t *CephRepeatedArg) Append(data map[string]any, v any) error + func (t *CephRepeatedArg) Name() string + func (t *CephRepeatedArg) Set(data map[string]any, v any) error + func (t *CephRepeatedArg) TypeName() string + func (t *CephRepeatedArg) Validate(data map[string]any) error + type CephScalarArgumentType interface + Check func(v any) error + Convert func(v any) (any, error) + type CephString struct + func (*CephString) Convert(v any) (any, error) + func (*CephString) TypeName() string + func (t *CephString) Check(v any) error + func (t *CephString) Name() string + func (t *CephString) Set(data map[string]any, v any) error + func (t *CephString) Validate(data map[string]any) error + type CephTypeFunc func(*SignatureVar) CephArgumentType + type CephUnknownType struct + func (*CephUnknownType) TypeName() string + func (*CephUnknownType) Validate(map[string]any) error + func (t *CephUnknownType) Name() string + func (t *CephUnknownType) Set(map[string]any, any) error + type CommandDescriptions struct + Entries []Description + func QueryMgrDescriptions(m ccom.MgrCommander) (CommandDescriptions, error) + func QueryMonDescriptions(m ccom.MonCommander) (CommandDescriptions, error) + func (cd *CommandDescriptions) Find(n ...string) []Description + func (cd *CommandDescriptions) Match(terms []string) []Description + func (cd *CommandDescriptions) UnmarshalJSON(data []byte) error + type Description struct + Flags uint64 + Help string + Key string + Module string + Perm string + Sig []*SignatureElement + func (d Description) Prefix() []string + func (d Description) PrefixString() string + func (d Description) Variables() []*SignatureVar + type SignatureElement struct + Static string + Variable *SignatureVar + func (se *SignatureElement) UnmarshalJSON(data []byte) error + type SignatureVar struct + Choices string + Name string + Repeat string + Req *bool + Type string + func (sv SignatureVar) Required() bool