handlers

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 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-admin or 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
}

Jump to

Keyboard shortcuts

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