Documentation
¶
Index ¶
- func DeleteSiteComponents(ctx workflow.Context, siteID uuid.UUID, infrastructureProviderID uuid.UUID, ...) error
- func ExecuteDeleteSiteComponentsWorkflow(ctx context.Context, tc client.Client, siteID uuid.UUID, ...) (*string, error)
- func ExecuteMonitorHealthForAllSitesWorkflow(ctx context.Context, tc client.Client) (*string, error)
- func ExecuteMonitorSiteTemporalNamespaces(ctx context.Context, tc client.Client) (*string, error)
- func ExecuteMonitorTemporalCertExpirationForAllSites(ctx context.Context, tc client.Client) (*string, error)
- func MonitorHealthForAllSites(ctx workflow.Context) error
- func MonitorSiteTemporalNamespaces(ctx workflow.Context) error
- func MonitorTemporalCertExpirationForAllSites(ctx workflow.Context) error
- func UpdateAgentCertExpiry(ctx workflow.Context, siteIDStr string, certExpiry time.Time) error
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 ¶
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 ¶
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 ¶
MonitorSiteTemporalNamespaces is a Temporal cron workflow to periodically check and delete orphaned Temporal namespaces
func MonitorTemporalCertExpirationForAllSites ¶
MonitorTemporalCertExpirationForAllSites is a Temporal cron workflow to periodically rotate certs and OTPs
Types ¶
This section is empty.