placement

package
v0.0.0-...-e477e18 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Nodes

type Nodes struct {
	Selector string
	Filter   string
}

func (Nodes) Run

func (s Nodes) Run() error

type Placement

type Placement struct {
	Select Select `cmd:"" help:"select given number of nodes from DB, matching the placement rule"`
	Nodes  Nodes  `cmd:"" help:"load the upload cache and print out statistics"`
}

type Select

type Select struct {
	PlacementConfig string
	Placement       int
	NodeNo          int    `default:"80"`
	Selector        string `default:"id"`
	Number          int    `default:"1"`
}

func (Select) Run

func (s Select) Run() error

Jump to

Keyboard shortcuts

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