site

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSiteComponents

func DeleteSiteComponents(ctx workflow.Context, siteID uuid.UUID, infrastructureProviderID uuid.UUID, purgeMachines bool) error

DeleteSiteComponents is a Temporal workflow to initiate delete workflow if exists Instance/InstanceType/Machine/Subnet/VPC via Site Agent

func ExecuteDeleteSiteComponentsWorkflow

func ExecuteDeleteSiteComponentsWorkflow(ctx context.Context, tc client.Client, siteID uuid.UUID, infrastructureProviderID uuid.UUID, purgeMachines bool) (*string, error)

ExecuteDeleteSiteComponentsWorkflow is a helper function to trigger execution of delete Site Components workflow

func ExecuteMonitorHealthForAllSitesWorkflow

func ExecuteMonitorHealthForAllSitesWorkflow(ctx context.Context, tc client.Client) (*string, error)

ExecuteMonitorHealthForAllSitesWorkflow is a helper function to trigger execution of MonitorHealthForAllSites workflow

func ExecuteMonitorSiteTemporalNamespaces

func ExecuteMonitorSiteTemporalNamespaces(ctx context.Context, tc client.Client) (*string, error)

ExecuteMonitorSiteTemporalNamespaces is a helper function to trigger execution of MonitorSiteTemporalNamespaces workflow

func ExecuteMonitorTemporalCertExpirationForAllSites

func ExecuteMonitorTemporalCertExpirationForAllSites(ctx context.Context, tc client.Client) (*string, error)

ExecuteMonitorTemporalCertExpirationForAllSites is a helper function to trigger execution of MonitorTemporalCertExpirationForAllSites

func MonitorHealthForAllSites

func MonitorHealthForAllSites(ctx workflow.Context) error

MonitorHealthForAllSites is a Temporal cron workflow to periodically checks if Site inventory has been received from Site Agent TODO: Once health check is available across all Sites, retire this workflow

func MonitorSiteTemporalNamespaces

func MonitorSiteTemporalNamespaces(ctx workflow.Context) error

MonitorSiteTemporalNamespaces is a Temporal cron workflow to periodically check and delete orphaned Temporal namespaces

func MonitorTemporalCertExpirationForAllSites

func MonitorTemporalCertExpirationForAllSites(ctx workflow.Context) error

MonitorTemporalCertExpirationForAllSites is a Temporal cron workflow to periodically rotate certs and OTPs

func UpdateAgentCertExpiry

func UpdateAgentCertExpiry(ctx workflow.Context, siteIDStr string, certExpiry time.Time) error

UpdateAgentCertExpiry updates the AgentCertExpiry field for a site

Types

This section is empty.

Jump to

Keyboard shortcuts

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