Help us shape the future of Go! Take the 2026 Go Developer Survey

handlers

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQueryCarve

func CreateQueryCarve(data ProcessingQuery, manager Managers, newQuery queries.DistributedQuery) ([]uint, error)

CreateQueryCarve - Create On-demand Query or Carve, to be used in osctrl-api

Types

type Managers

type Managers struct {
	Settings *settings.Settings
	Envs     *environments.EnvManager
	Nodes    *nodes.NodeManager
	Tags     *tags.TagManager
}

type ProcessingQuery

type ProcessingQuery struct {
	Envs      []string
	Platforms []string
	UUIDs     []string
	Hosts     []string
	Tags      []string
	EnvID     uint
}

type QueryTargetRecord added in v0.5.4

type QueryTargetRecord struct {
	Type  string
	Value string
}

func BuildQueryTargetRecords added in v0.5.4

func BuildQueryTargetRecords(data ProcessingQuery, manager Managers) ([]QueryTargetRecord, error)

Jump to

Keyboard shortcuts

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