types

package
v1.67.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginInventoryDataset

type PluginInventoryDataset []Sortable // PluginInventoryDataset is a slice of sortable things

func (PluginInventoryDataset) Len

func (pd PluginInventoryDataset) Len() int

PluginInventoryDataset also implements the sort.Sort interface

func (PluginInventoryDataset) Less

func (pd PluginInventoryDataset) Less(i, j int) bool

func (PluginInventoryDataset) Swap

func (pd PluginInventoryDataset) Swap(i, j int)

type PluginOutput

type PluginOutput struct {
	Id            ids.PluginID
	Entity        entity.Entity
	Data          PluginInventoryDataset
	NotApplicable bool
}

PluginOutput contains metadata about the inventory provided by Plugins, which will be used for its later addition to the delta store

func NewNotApplicableOutput

func NewNotApplicableOutput(id ids.PluginID) PluginOutput

func NewPluginOutput

func NewPluginOutput(id ids.PluginID, entity entity.Entity, data PluginInventoryDataset) PluginOutput

type Sortable

type Sortable interface {
	SortKey() string
}

Anything implementing the sortable interface must implement a method to return a string Sort key

Jump to

Keyboard shortcuts

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