controlmodels

package
v1.2.0-arch32 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexDelByQueryReq

type IndexDelByQueryReq struct {
	Expr      []string `json:"expr" form:"expr" binding:"Required"`
	OlderThan int64    `json:"olderThan" form:"olderThan"`
	Method    string   `json:"method" form:"method" binding:";In(dry-run,delete,archive)"`
	Limit     int      `json:"limit" form:"limit"`
}

type IndexDelByQueryResp

type IndexDelByQueryResp struct {
	Count      int         `json:"count"`
	Partitions map[int]int `json:"partitions"`
}

type IndexRestoreReq

type IndexRestoreReq struct {
	Expr             []string `json:"expr" binding:"Required"`
	From             int64    `json:"from" binding:"Default(0)"`
	To               int64    `json:"to" binding:"Default(0)"`
	LastUpdateOffset int64    `json:"lastUpdateOffset" binding:"Default(0)"`
	PartitionStart   int      `json:"partitionStart" binding:"Default(0)"`
	NumPartitions    int      `json:"numPartitions" binding:"Default(-1)"`
}

type IndexRestoreResp

type IndexRestoreResp struct {
	LogId string
}

Jump to

Keyboard shortcuts

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