handlers

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 6 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 {
	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
	InactiveHours int64
}

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