machine

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InventoryQueuePrefix is the prefix for the inventory temporal queue
	InventoryQueuePrefix = "inventory-"
	// InventoryCarbidePageSize is the number of items to be fetched from Carbide API at a time
	InventoryCarbidePageSize = 100
	// InventoryCloudPageSize is the number of items to be sent to Cloud at a time
	InventoryCloudPageSize = 25
	// InventoryDefaultSchedule is the default schedule for inventory discovery
	InventoryDefaultSchedule = "@every 3m"
)

Variables

View Source
var ManagerAccess *Manager.ManagerAccess

ManagerAccess - access to all managers

Functions

This section is empty.

Types

type API

type API struct{}

API - all API interface

func NewMachineManager

func NewMachineManager(superForge *elektratypes.Elektra, superAPI *Manager.ManagerAPI, superConf *Manager.ManagerConf) *API

NewMachineManager - returns a new instance of helm manager

func (*API) GetState

func (Machine *API) GetState() []string

GetState Machine

func (*API) Init

func (Machine *API) Init()

Init Machine

func (*API) RegisterCron

func (api *API) RegisterCron()

RegisterCron - Register Cron

func (*API) RegisterPublisher

func (api *API) RegisterPublisher() error

RegisterPublisher registers the MachineWorkflows with the Temporal client

func (*API) RegisterSubscriber

func (api *API) RegisterSubscriber() error

RegisterSubscriber registers the Machine workflows/activities with the Temporal client

Jump to

Keyboard shortcuts

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