workflow

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMachineValidationTest

AddMachineValidationTest is a workflow to add machine validation test using AddMachineValidationTestOnSite activity

func AddUpdateMachineValidationExternalConfig

func AddUpdateMachineValidationExternalConfig(ctx workflow.Context, request *cwssaws.AddUpdateMachineValidationExternalConfigRequest) error

AddUpdateMachineValidationExternalConfig is a workflow to add machine validation test using AddUpdateMachineValidationExternalConfigOnSite activity

func AssociateMachinesWithInstanceType

func AssociateMachinesWithInstanceType(ctx workflow.Context, request *cwssaws.AssociateMachinesWithInstanceTypeRequest) error

AssociateMachinesWithInstanceType is a workflow to associate machines with an InstanceType

func BringUpRack

func BringUpRack(ctx workflow.Context, request *rlav1.BringUpRackRequest) (*rlav1.SubmitTaskResponse, error)

BringUpRack is a workflow to bring up a rack or its specified components via RLA

func CollectAndPublishMachineInventory

func CollectAndPublishMachineInventory(ctx workflow.Context) error

func CreateDpuExtensionService

func CreateDpuExtensionService(ctx workflow.Context, request *cwssaws.CreateDpuExtensionServiceRequest) (*cwssaws.DpuExtensionService, error)

CreateDpuExtensionService is a workflow to create a new DPU Extension Service

func CreateExpectedMachine

func CreateExpectedMachine(ctx workflow.Context, request *cwssaws.ExpectedMachine) error

CreateExpectedMachine is a workflow to create new Expected Machines using the CreateExpectedMachineOnSite activity

func CreateExpectedMachines

CreateExpectedMachines is a workflow to create multiple Expected Machines using the CreateExpectedMachinesOnSite activity

func CreateExpectedPowerShelf

func CreateExpectedPowerShelf(ctx workflow.Context, request *cwssaws.ExpectedPowerShelf) error

CreateExpectedPowerShelf is a workflow to create a new Expected Power Shelf using the CreateExpectedPowerShelfOnSite activity

func CreateExpectedSwitch

func CreateExpectedSwitch(ctx workflow.Context, request *cwssaws.ExpectedSwitch) error

CreateExpectedSwitch is a workflow to create a new Expected Switch using the CreateExpectedSwitchOnSite activity

func CreateInfiniBandPartitionV2

func CreateInfiniBandPartitionV2(ctx workflow.Context, request *cwssaws.IBPartitionCreationRequest) error

CreateInfiniBandPartitionV2 is a workflow to create new InfiniBand Partitions using the CreateInfiniBandPartitionOnSite activity V1 (CreateInfiniBandPartition) is found in cloud-workflow and uses a different activity that does not speak to carbide directly.

func CreateInstanceType

func CreateInstanceType(ctx workflow.Context, request *cwssaws.CreateInstanceTypeRequest) error

CreateInstanceType is a workflow to create new InstanceTypes using the CreateInstanceTypeOnSite activity to speak to carbide directly.

func CreateInstanceV2

func CreateInstanceV2(ctx workflow.Context, request *cwssaws.InstanceAllocationRequest) error

CreateInstanceV2 is a workflow to create (allocate) new Instances using the CreateInstanceOnSite activity V1 (CreateInstance) is found in cloud-workflow and uses a different activity that does not speak to carbide directly.

func CreateInstances

func CreateInstances(ctx workflow.Context, request *cwssaws.BatchInstanceAllocationRequest) error

CreateInstances is a workflow to create (allocate) multiple Instances in a single transaction using the CreateInstancesOnSite activity.

func CreateNVLinkLogicalPartition

CreateNVLinkLogicalPartition is a workflow to create new NVLinkLogical Partitions using the CreateNVLinkLogicalPartitionOnSite activity

func CreateNetworkSecurityGroup

func CreateNetworkSecurityGroup(ctx workflow.Context, request *cwssaws.CreateNetworkSecurityGroupRequest) error

CreateNetworkSecurityGroup is a workflow to create new NetworkSecurityGroups using the CreateNetworkSecurityGroupOnSite activity to speak to carbide directly.

func CreateOsImage

func CreateOsImage(ctx workflow.Context, request *cwssaws.OsImageAttributes) error

CreateOsImage is a workflow to create an OsImage using CreateOsImageOnSite activity

func CreateSSHKeyGroupV2

func CreateSSHKeyGroupV2(ctx workflow.Context, request *cwssaws.CreateTenantKeysetRequest) error

CreateSSHKeyGroupV2 is a workflow to create new SSH Key Groups using the CreateSSHKeyGroupOnSite activity V1 (CreateSSHKeyGroup) is found in cloud-workflow and uses a different activity that does not speak to carbide directly.

func CreateSubnetV2

func CreateSubnetV2(ctx workflow.Context, request *cwssaws.NetworkSegmentCreationRequest) error

CreateSubnetV2 is a workflow to create new Subnets using the CreateSubnetOnSite activity V1 (CreateSubnet) is found cloud-workflow and uses a different activity that does not speak to carbide directly.

func CreateTenant

func CreateTenant(ctx workflow.Context, request *cwssaws.CreateTenantRequest) error

CreateTenant is a workflow to create a Tenant using CreateTenantOnSite activity

func CreateVPCV2

func CreateVPCV2(ctx workflow.Context, request *cwssaws.VpcCreationRequest) error

CreateVPCV2 is a workflow to create new VPCs using the CreateVpcOnSite activity V1 (CreateVPC) is found in cloud-workflow and uses a different activity that does not speak to carbide directly.

func CreateVpcPeering

func CreateVpcPeering(ctx workflow.Context, request *cwssaws.VpcPeeringCreationRequest) error

func CreateVpcPrefix

func CreateVpcPrefix(ctx workflow.Context, request *cwssaws.VpcPrefixCreationRequest) error

CreateVpcPrefix is a workflow to create an VpcPrefix using CreateVpcPrefixOnSite activity

func DeleteDpuExtensionService

func DeleteDpuExtensionService(ctx workflow.Context, request *cwssaws.DeleteDpuExtensionServiceRequest) error

DeleteDpuExtensionService is a workflow to delete a DPU Extension Service

func DeleteExpectedMachine

func DeleteExpectedMachine(ctx workflow.Context, request *cwssaws.ExpectedMachineRequest) error

DeleteExpectedMachine is a workflow to Delete Expected Machines using the DeleteExpectedMachineOnSite activity

func DeleteExpectedPowerShelf

func DeleteExpectedPowerShelf(ctx workflow.Context, request *cwssaws.ExpectedPowerShelfRequest) error

DeleteExpectedPowerShelf is a workflow to Delete an Expected Power Shelf using the DeleteExpectedPowerShelfOnSite activity

func DeleteExpectedSwitch

func DeleteExpectedSwitch(ctx workflow.Context, request *cwssaws.ExpectedSwitchRequest) error

DeleteExpectedSwitch is a workflow to Delete an Expected Switch using the DeleteExpectedSwitchOnSite activity

func DeleteInfiniBandPartitionV2

func DeleteInfiniBandPartitionV2(ctx workflow.Context, request *cwssaws.IBPartitionDeletionRequest) error

DeleteInfiniBandPartitionV2 is a workflow to Delete InfiniBand Partitions using the DeleteInfiniBandPartitionOnSite activity V1 (DeleteInfiniBandPartition) is found in cloud-workflow and uses a different activity that does not speak to carbide directly.

func DeleteInstanceType

func DeleteInstanceType(ctx workflow.Context, request *cwssaws.DeleteInstanceTypeRequest) error

DeleteInstanceType is a workflow to delete new InstanceTypes using the DeleteInstanceTypeOnSite activity

func DeleteInstanceV2

func DeleteInstanceV2(ctx workflow.Context, request *cwssaws.InstanceReleaseRequest) error

DeleteInstanceV2 is a workflow to delete new Instances using the DeleteInstanceOnSite activity V1 (DeleteInstance) is found in cloud-workflow and uses a different activity that does not speak to carbide directly.

func DeleteNVLinkLogicalPartition

func DeleteNVLinkLogicalPartition(ctx workflow.Context, request *cwssaws.NVLinkLogicalPartitionDeletionRequest) error

DeleteNVLinkLogicalPartition is a workflow to Delete NVLinkLogical Partitions using the DeleteNVLinkLogicalPartitionOnSite activity

func DeleteNetworkSecurityGroup

func DeleteNetworkSecurityGroup(ctx workflow.Context, request *cwssaws.DeleteNetworkSecurityGroupRequest) error

DeleteNetworkSecurityGroup is a workflow to delete new NetworkSecurityGroups using the DeleteNetworkSecurityGroupOnSite activity

func DeleteOsImage

func DeleteOsImage(ctx workflow.Context, request *cwssaws.DeleteOsImageRequest) error

DeleteOsImage is a workflow to delete an OsImage using DeleteOsImageOnSite activity

func DeleteSSHKeyGroupV2

func DeleteSSHKeyGroupV2(ctx workflow.Context, request *cwssaws.DeleteTenantKeysetRequest) error

DeleteSSHKeyGroupV2 is a workflow to Delete SSH Key Groups using the DeleteSSHKeyGroupOnSite activity V1 (DeleteSSHKeyGroup) is found in cloud-workflow and uses a different activity that does not speak to carbide directly.

func DeleteSubnetV2

func DeleteSubnetV2(ctx workflow.Context, request *cwssaws.NetworkSegmentDeletionRequest) error

DeleteSubnetV2 is a workflow to delete Subnets using the DeleteSubnetOnSite activity V1 (DeleteSubnet) is found cloud-workflow and uses a different activity that does not speak to carbide directly.

func DeleteVPCV2

func DeleteVPCV2(ctx workflow.Context, request *cwssaws.VpcDeletionRequest) error

DeleteVPCV2 is a workflow to Delete VPCs using the DeleteVpcOnSite activity V1 (DeleteVPC) is found in cloud-workflow and uses a different activity that does not speak to carbide directly.

func DeleteVpcPeering

func DeleteVpcPeering(ctx workflow.Context, request *cwssaws.VpcPeeringDeletionRequest) error

DeleteVpcPeering is a workflow to delete a VPC Peering using DeleteVpcPeeringOnSite activity

func DeleteVpcPrefix

func DeleteVpcPrefix(ctx workflow.Context, request *cwssaws.VpcPrefixDeletionRequest) error

DeleteVpcPrefix is a workflow to delete an VpcPrefix using DeleteVpcPrefixOnSite activity

func DiscoverDpuExtensionServiceInventory

func DiscoverDpuExtensionServiceInventory(ctx workflow.Context) error

DiscoverDpuExtensionServiceInventory is a workflow to discover DPU Extension Services on Site and publish to Cloud

func DiscoverExpectedMachineInventory

func DiscoverExpectedMachineInventory(ctx workflow.Context) error

DiscoverExpectedMachineInventory is a workflow to fetch Expected Machine inventory on Site and publish to Cloud

func DiscoverExpectedPowerShelfInventory

func DiscoverExpectedPowerShelfInventory(ctx workflow.Context) error

DiscoverExpectedPowerShelfInventory is a workflow to fetch Expected Power Shelf inventory on Site and publish to Cloud

func DiscoverExpectedSwitchInventory

func DiscoverExpectedSwitchInventory(ctx workflow.Context) error

DiscoverExpectedSwitchInventory is a workflow to fetch Expected Switch inventory on Site and publish to Cloud

func DiscoverInfiniBandPartitionInventory

func DiscoverInfiniBandPartitionInventory(ctx workflow.Context) error

func DiscoverInstanceInventory

func DiscoverInstanceInventory(ctx workflow.Context) error

func DiscoverInstanceTypeInventory

func DiscoverInstanceTypeInventory(ctx workflow.Context) error

func DiscoverNVLinkLogicalPartitionInventory

func DiscoverNVLinkLogicalPartitionInventory(ctx workflow.Context) error

func DiscoverNetworkSecurityGroupInventory

func DiscoverNetworkSecurityGroupInventory(ctx workflow.Context) error

func DiscoverOsImageInventory

func DiscoverOsImageInventory(ctx workflow.Context) error

func DiscoverSSHKeyGroupInventory

func DiscoverSSHKeyGroupInventory(ctx workflow.Context) error

func DiscoverSkuInventory

func DiscoverSkuInventory(ctx workflow.Context) error

func DiscoverSubnetInventory

func DiscoverSubnetInventory(ctx workflow.Context) error

func DiscoverTenantInventory

func DiscoverTenantInventory(ctx workflow.Context) error

func DiscoverVPCInventory

func DiscoverVPCInventory(ctx workflow.Context) error

func DiscoverVpcPeeringInventory

func DiscoverVpcPeeringInventory(ctx workflow.Context) error

func DiscoverVpcPrefixInventory

func DiscoverVpcPrefixInventory(ctx workflow.Context) error

func EnableDisableMachineValidationTest

func EnableDisableMachineValidationTest(ctx workflow.Context, request *cwssaws.MachineValidationTestEnableDisableTestRequest) error

EnableDisableMachineValidationTest is a workflow to enable/disable machine validation test using EnableDisableMachineValidationTestOnSite activity

func GetDpuExtensionServiceVersionsInfo

GetDpuExtensionServiceVersionsInfo is a workflow to get detailed information for various versions of a DPU Extension Service

func GetDpuMachines

func GetDpuMachines(ctx workflow.Context, dpuMachineIDs []string) ([]*cwssaws.DpuMachine, error)

GetDpuMachines is a workflow to retrieve DPU Machines by IDs with network configuration

func GetMachineValidationExternalConfigs

GetMachineValidationExternalConfigs is a workflow to get machine validation tests using GetMachineValidationExternalConfigsFromSite activity

func GetMachineValidationResults

func GetMachineValidationResults(ctx workflow.Context, request *cwssaws.MachineValidationGetRequest) (*cwssaws.MachineValidationResultList, error)

GetMachineValidationResults is a workflow to get machine validation results using GetMachineValidationResultsFromSite activity

func GetMachineValidationRuns

GetMachineValidationRuns is a workflow to get machine validation runs using GetMachineValidationRunsFromSite activity

func GetMachineValidationTests

GetMachineValidationTests is a workflow to get machine validation tests using GetMachineValidationTestsFromSite activity

func GetRack

GetRack is a workflow to get a rack by its UUID from RLA

func GetRacks

GetRacks is a workflow to get a list of racks from RLA with optional filters

func GetTray

GetTray is a workflow to get a tray by its UUID from RLA

func GetTrays

GetTrays is a workflow to get a list of trays from RLA with optional filters.

func PersistValidationResult

func PersistValidationResult(ctx workflow.Context, request *cwssaws.MachineValidationResultPostRequest) error

PersistValidationResult is a workflow to persist validation result using PersistValidationResultOnSite activity

func PowerOffRack

func PowerOffRack(ctx workflow.Context, request *rlav1.PowerOffRackRequest) (*rlav1.SubmitTaskResponse, error)

PowerOffRack is a workflow to power off a rack or its specified components via RLA

func PowerOnRack

func PowerOnRack(ctx workflow.Context, request *rlav1.PowerOnRackRequest) (*rlav1.SubmitTaskResponse, error)

PowerOnRack is a workflow to power on a rack or its specified components via RLA

func PowerResetRack

func PowerResetRack(ctx workflow.Context, request *rlav1.PowerResetRackRequest) (*rlav1.SubmitTaskResponse, error)

PowerResetRack is a workflow to reset (power cycle) a rack or its specified components via RLA

func RebootInstance

func RebootInstance(ctx workflow.Context, request *cwssaws.InstancePowerRequest) error

RebootInstance is a workflow to reboot Instances using the RebootInstanceOnSite activity

func RemoveMachineInstanceTypeAssociation

func RemoveMachineInstanceTypeAssociation(ctx workflow.Context, request *cwssaws.RemoveMachineInstanceTypeAssociationRequest) error

RemoveMachineInstanceTypeAssociation is a workflow to remove the relationship between a Machine and InstanceType

func RemoveMachineValidationExternalConfig

func RemoveMachineValidationExternalConfig(ctx workflow.Context, request *cwssaws.RemoveMachineValidationExternalConfigRequest) error

RemoveMachineValidationExternalConfig is a workflow to add machine validation test using RemoveMachineValidationExternalConfigOnSite activity

func SetMachineMaintenance

func SetMachineMaintenance(ctx workflow.Context, request *cwssaws.MaintenanceRequest) error

SetMachineMaintenance is a workflow to set Machine maintenance mode using SetMaintenanceOnSite activity

func UpdateDpuExtensionService

func UpdateDpuExtensionService(ctx workflow.Context, request *cwssaws.UpdateDpuExtensionServiceRequest) (*cwssaws.DpuExtensionService, error)

UpdateDpuExtensionService is a workflow to update a DPU Extension Service

func UpdateExpectedMachine

func UpdateExpectedMachine(ctx workflow.Context, request *cwssaws.ExpectedMachine) error

UpdateExpectedMachine is a workflow to update Expected Machines using the UpdateExpectedMachineOnSite activity

func UpdateExpectedMachines

UpdateExpectedMachines is a workflow to update multiple Expected Machines using the UpdateExpectedMachinesOnSite activity

func UpdateExpectedPowerShelf

func UpdateExpectedPowerShelf(ctx workflow.Context, request *cwssaws.ExpectedPowerShelf) error

UpdateExpectedPowerShelf is a workflow to update an Expected Power Shelf using the UpdateExpectedPowerShelfOnSite activity

func UpdateExpectedSwitch

func UpdateExpectedSwitch(ctx workflow.Context, request *cwssaws.ExpectedSwitch) error

UpdateExpectedSwitch is a workflow to update an Expected Switch using the UpdateExpectedSwitchOnSite activity

func UpdateInstance

func UpdateInstance(ctx workflow.Context, updateRequest *cwssaws.InstanceConfigUpdateRequest) error

UpdateInstance is a workflow to update Instance data using then UpdateInstanceOnSite activity

func UpdateInstanceType

func UpdateInstanceType(ctx workflow.Context, updateRequest *cwssaws.UpdateInstanceTypeRequest) error

UpdateInstanceType is a workflow to update InstanceType data using then UpdateInstanceTypeOnSite activity

func UpdateMachineMetadata

func UpdateMachineMetadata(ctx workflow.Context, request *cwssaws.MachineMetadataUpdateRequest) error

func UpdateMachineValidationTest

func UpdateMachineValidationTest(ctx workflow.Context, request *cwssaws.MachineValidationTestUpdateRequest) error

UpdateMachineValidationTest is a workflow to add machine validation test using UpdateMachineValidationTestOnSite activity

func UpdateNVLinkLogicalPartition

func UpdateNVLinkLogicalPartition(ctx workflow.Context, request *cwssaws.NVLinkLogicalPartitionUpdateRequest) error

UpdateNVLinkLogicalPartition is a workflow to update NVLinkLogical Partitions using the UpdateNVLinkLogicalPartitionOnSite activity

func UpdateNetworkSecurityGroup

func UpdateNetworkSecurityGroup(ctx workflow.Context, updateRequest *cwssaws.UpdateNetworkSecurityGroupRequest) error

UpdateNetworkSecurityGroup is a workflow to update NetworkSecurityGroup data using then UpdateNetworkSecurityGroupOnSite activity

func UpdateOsImage

func UpdateOsImage(ctx workflow.Context, request *cwssaws.OsImageAttributes) error

UpdateOsImage is a workflow to update an OsImage using UpdateOsImageOnSite activity

func UpdateSSHKeyGroupV2

func UpdateSSHKeyGroupV2(ctx workflow.Context, request *cwssaws.UpdateTenantKeysetRequest) error

UpdateSSHKeyGroupV2 is a workflow to update SSH Key Groups using the UpdateSSHKeyGroupOnSite activity

func UpdateTenant

func UpdateTenant(ctx workflow.Context, request *cwssaws.UpdateTenantRequest) error

UpdateTenant is a workflow to update a Tenant using UpdateTenantOnSite activity

func UpdateVPC

func UpdateVPC(ctx workflow.Context, request *cwssaws.VpcUpdateRequest) error

UpdateVPC is a workflow to update VPCs using the UpdateVpcOnSite activity

func UpdateVPCVirtualization

func UpdateVPCVirtualization(ctx workflow.Context, request *cwssaws.VpcUpdateVirtualizationRequest) error

UpdateVPCVirtualization is a workflow to update VPC virtualization type

func UpdateVpcPrefix

func UpdateVpcPrefix(ctx workflow.Context, request *cwssaws.VpcPrefixUpdateRequest) error

UpdateVpcPrefix is a workflow to update an VpcPrefix using UpdateVpcPrefixOnSite activity

func UpgradeFirmware

func UpgradeFirmware(ctx workflow.Context, request *rlav1.UpgradeFirmwareRequest) (*rlav1.SubmitTaskResponse, error)

UpgradeFirmware is a workflow to upgrade firmware on racks or components via RLA

func ValidateRackComponents

func ValidateRackComponents(ctx workflow.Context, request *rlav1.ValidateComponentsRequest) (*rlav1.ValidateComponentsResponse, error)

ValidateRackComponents is a workflow to validate rack components by comparing expected vs actual state via RLA. Supports validating a single rack, multiple racks with filters, or all racks in 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