expectedswitch

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 (
	// 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 NewExpectedSwitchManager

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

NewExpectedSwitchManager - returns a new instance of expected switch manager

func (*API) GetState

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

GetState - handle http request

func (*API) Init

func (es *API) Init()

Init expectedswitch

func (*API) RegisterCron

func (api *API) RegisterCron() error

RegisterCron - Register Cron

func (*API) RegisterPublisher

func (api *API) RegisterPublisher() error

RegisterPublisher registers the ExpectedSwitchWorkflows with the Temporal client

func (*API) RegisterSubscriber

func (api *API) RegisterSubscriber() error

RegisterSubscriber registers the ExpectedSwitchWorkflows with the Temporal client

Jump to

Keyboard shortcuts

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