Documentation
¶
Index ¶
- type BootstrapExpansion
- type BootstrapInterface
- type CarbideExpansion
- type CarbideInterface
- type DpuExtensionServiceExpansion
- type DpuExtensionServiceInterface
- type ExpectedMachineExpansion
- type ExpectedMachineInterface
- type ExpectedPowerShelfExpansion
- type ExpectedPowerShelfInterface
- type ExpectedSwitchExpansion
- type ExpectedSwitchInterface
- type HealthExpansion
- type HealthInterface
- type InfiniBandPartitionExpansion
- type InfiniBandPartitionInterface
- type InstanceExpansion
- type InstanceInterface
- type InstanceTypeExpansion
- type InstanceTypeInterface
- type MachineExpansion
- type MachineInterface
- type MachineValidationExpansion
- type MachineValidationInterface
- type ManagerAPI
- type ManagerAccess
- type ManagerConf
- type ManagerData
- type NVLinkLogicalPartitionExpansion
- type NVLinkLogicalPartitionInterface
- type NetworkSecurityGroupExpansion
- type NetworkSecurityGroupInterface
- type OperatingSystemExpansion
- type OperatingSystemInterface
- type OrchestratorExpansion
- type OrchestratorInterface
- type RLAExpansion
- type RLAInterface
- type SKUExpansion
- type SKUInterface
- type SSHKeyGroupExpansion
- type SSHKeyGroupInterface
- type SubnetExpansion
- type SubnetInterface
- type TenantExpansion
- type TenantInterface
- type VPCExpansion
- type VPCInterface
- type VpcPrefixExpansion
- type VpcPrefixInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapExpansion ¶
type BootstrapExpansion interface{}
BootstrapExpansion - Bootstrap Expansion
type BootstrapInterface ¶
type BootstrapInterface interface {
// List all the apis of Bootstrap here
Init()
Start()
DownloadAndStoreCreds(otpOverride []byte) error
GetState() []string
BootstrapExpansion
// Temporal Workflows - Subscriber
RegisterSubscriber() error
}
BootstrapInterface - interface to Bootstrap
type CarbideInterface ¶
type CarbideInterface interface {
// List all the apis of Carbide here
Init()
Start()
CreateGRPCClient() error
GetGRPCClient() *client.CarbideClient
UpdateGRPCClientState(err error)
CreateGRPCClientActivity(ctx context.Context, ResourceID string) (client *client.CarbideClient, err error)
RegisterGRPC()
GetState() []string
GetGRPCClientVersion() int64
CarbideExpansion
}
CarbideInterface - interface to Carbide
type DpuExtensionServiceExpansion ¶
type DpuExtensionServiceExpansion interface{}
DpuExtensionServiceExpansion - DPU Extension Service Expansion
type DpuExtensionServiceInterface ¶
type DpuExtensionServiceInterface interface {
// List all the APIs for DPU Extension Service here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
DpuExtensionServiceExpansion
}
DpuExtensionServiceInterface - Interface for DPU Extension Service
type ExpectedMachineExpansion ¶
type ExpectedMachineExpansion interface{}
ExpectedMachineExpansion - ExpectedMachine Expansion
type ExpectedMachineInterface ¶
type ExpectedMachineInterface interface {
// List all the apis of ExpectedMachine here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
ExpectedMachineExpansion
}
ExpectedMachineInterface - interface to ExpectedMachine
type ExpectedPowerShelfExpansion ¶
type ExpectedPowerShelfExpansion interface{}
ExpectedPowerShelfExpansion - ExpectedPowerShelf Expansion
type ExpectedPowerShelfInterface ¶
type ExpectedPowerShelfInterface interface {
// List all the apis of ExpectedPowerShelf here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
ExpectedPowerShelfExpansion
}
ExpectedPowerShelfInterface - interface to ExpectedPowerShelf
type ExpectedSwitchExpansion ¶
type ExpectedSwitchExpansion interface{}
ExpectedSwitchExpansion - ExpectedSwitch Expansion
type ExpectedSwitchInterface ¶
type ExpectedSwitchInterface interface {
// List all the apis of ExpectedSwitch here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
ExpectedSwitchExpansion
}
ExpectedSwitchInterface - interface to ExpectedSwitch
type HealthInterface ¶
type HealthInterface interface {
// List all the apis of Health here
Init()
// RegisterSubscriber() error
// RegisterPublisher() error
HealthExpansion
}
HealthInterface - interface to Health
type InfiniBandPartitionExpansion ¶
type InfiniBandPartitionExpansion interface{}
InfiniBandPartitionExpansion - InfiniBandPartition Expansion
type InfiniBandPartitionInterface ¶
type InfiniBandPartitionInterface interface {
// List all the apis of InfiniBandPartition here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
// Cloud Workflow APIs
CreateInfiniBandPartition(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.CreateInfiniBandPartitionRequest) (err error)
DeleteInfiniBandPartition(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.DeleteInfiniBandPartitionRequest) (err error)
// CreateInfiniBandPartition
// RegisterWorkflows() error
// RegisterActivities() error
GetState() []string
InfiniBandPartitionExpansion
}
InfiniBandPartitionInterface - interface to InfiniBandPartition
type InstanceInterface ¶
type InstanceInterface interface {
// List all the apis of Instance here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
// Temporal Workflows - Subscriber
//Create Instance (deprecated)
CreateInstance(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.CreateInstanceRequest) (err error)
//Delete Instance (deprecated)
DeleteInstance(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.DeleteInstanceRequest) (err error)
//RebootInstance (deprecated)
RebootInstance(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.RebootInstanceRequest) (err error)
GetState() []string
InstanceExpansion
}
InstanceInterface - interface to Instance
type InstanceTypeExpansion ¶
type InstanceTypeExpansion interface{}
InstanceTypeExpansion - InstanceType Expansion
type InstanceTypeInterface ¶
type InstanceTypeInterface interface {
// List all the APIs for InstanceType here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
InstanceTypeExpansion
}
InstanceTypeInterface - Interface for InstanceType
type MachineInterface ¶
type MachineInterface interface {
// List all the apis of Machine here
Init()
RegisterSubscriber() error
RegisterPublisher() error
GetState() []string
MachineExpansion
}
MachineInterface - interface to Machine
type MachineValidationExpansion ¶
type MachineValidationExpansion interface{}
MachineValidationExpansion - MachineValidation Expansion
type MachineValidationInterface ¶
type MachineValidationInterface interface {
// List all the APIs for MachineValidation here
Init()
RegisterSubscriber() error
GetState() []string
MachineValidationExpansion
}
MachineValidationInterface - Interface for MachineValidation
type ManagerAPI ¶
type ManagerAPI struct {
// Add all the manager interfaces here
Bootstrap BootstrapInterface
VPC VPCInterface
VpcPrefix VpcPrefixInterface
Subnet SubnetInterface
Instance InstanceInterface
Machine MachineInterface
Orchestrator OrchestratorInterface
Carbide CarbideInterface
Health HealthInterface
SSHKeyGroup SSHKeyGroupInterface
InfiniBandPartition InfiniBandPartitionInterface
Tenant TenantInterface
OperatingSystem OperatingSystemInterface
MachineValidation MachineValidationInterface
InstanceType InstanceTypeInterface
NetworkSecurityGroup NetworkSecurityGroupInterface
ExpectedMachine ExpectedMachineInterface
ExpectedPowerShelf ExpectedPowerShelfInterface
ExpectedSwitch ExpectedSwitchInterface
SKU SKUInterface
DpuExtensionService DpuExtensionServiceInterface
NVLinkLogicalPartition NVLinkLogicalPartitionInterface
RLA RLAInterface
}
ManagerAPI struct to hold all mgr interface
var ManagerHdl ManagerAPI
ManagerHdl - local handle to be assigned
type ManagerAccess ¶
type ManagerAccess struct {
API *ManagerAPI
Data *ManagerData
Conf *ManagerConf
}
ManagerAccess - access to all APIs/data/conf nolint
type NVLinkLogicalPartitionExpansion ¶
type NVLinkLogicalPartitionExpansion interface{}
NVExpansion - ExpectedMachine Expansion
type NVLinkLogicalPartitionInterface ¶
type NVLinkLogicalPartitionInterface interface {
// List all the apis of NVLinkLogicalPartition here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
NVLinkLogicalPartitionExpansion
}
NVLinkLogicalPartitionInterface - interface to NVLinkLogicalPartition
type NetworkSecurityGroupExpansion ¶
type NetworkSecurityGroupExpansion interface{}
NetworkSecurityGroupExpansion - NetworkSecurityGroup Expansion
type NetworkSecurityGroupInterface ¶
type NetworkSecurityGroupInterface interface {
// List all the APIs for NetworkSecurityGroup here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
NetworkSecurityGroupExpansion
}
NetworkSecurityGroupInterface - Interface for NetworkSecurityGroup
type OperatingSystemExpansion ¶
type OperatingSystemExpansion interface{}
OperatingSystemExpansion - Operating System Expansion
type OperatingSystemInterface ¶
type OperatingSystemInterface interface {
// List all the APIs for Operating System here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
OperatingSystemExpansion
}
OperatingSystemInterface - Interface for Operating System
type OrchestratorExpansion ¶
type OrchestratorExpansion interface{}
OrchestratorExpansion - Orchestrator Expansion
type OrchestratorInterface ¶
type OrchestratorInterface interface {
// List all the apis of Orchestrator here
Init()
Start()
GetState() []string
AddWorkflow(wflow interface{})
DoWorkflow(ctx workflow.Context, TransactionID *wflows.TransactionID,
ResourceRequest interface{}, wflowMd wflowtypes.WorkflowMetadata,
retryOptions *wflows.WorkflowOptions) (actErr error, pubErr error)
DoActivity(ctx context.Context, ResourceVer uint64, ResourceID string,
ResourceReq interface{}, wflowMd wflowtypes.WorkflowMetadata) (interface{}, error)
OrchestratorExpansion
}
OrchestratorInterface - interface to Orchestrator
type RLAInterface ¶
type RLAInterface interface {
// List all the apis of RLA here
Init()
Start()
CreateGRPCClient() error
GetGRPCClient() *client.RlaClient
UpdateGRPCClientState(err error)
CreateGRPCClientActivity(ctx context.Context, ResourceID string) (client *client.RlaClient, err error)
RegisterGRPC()
RegisterSubscriber() error
GetState() []string
GetGRPCClientVersion() int64
RLAExpansion
}
RLAInterface - interface to RLA
type SKUInterface ¶
type SKUInterface interface {
// List all the apis of SKU here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
SKUExpansion
}
SKUInterface - interface to SKU
type SSHKeyGroupExpansion ¶
type SSHKeyGroupExpansion interface{}
SSHKeyGroupExpansion - SSHKeyGroup Expansion
type SSHKeyGroupInterface ¶
type SSHKeyGroupInterface interface {
// List all the apis of SSHKeyGroup here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
// Cloud Workflow APIs
CreateSSHKeyGroup(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.CreateSSHKeyGroupRequest) (err error)
DeleteSSHKeyGroup(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.DeleteSSHKeyGroupRequest) (err error)
// CRUD SSHKeyGroup APIs
UpdateSSHKeyGroup(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.UpdateSSHKeyGroupRequest) (err error)
// GetSSHKeyGroupByID(ctx workflow.Context, ResourceID string, SSHKeyGroupID string) (ResourceResponse *wflows.GetSSHKeyGroupResponse, err error)
GetSSHKeyGroup(ctx workflow.Context, ResourceID string, ResourceRequest *wflows.GetSSHKeyGroup) (ResourceResponse *wflows.GetSSHKeyGroupResponse, err error)
// CreateSSHKeyGroup
// RegisterWorkflows() error
// RegisterActivities() error
GetState() []string
SSHKeyGroupExpansion
}
SSHKeyGroupInterface - interface to SSHKeyGroup
type SubnetInterface ¶
type SubnetInterface interface {
// List all the apis of Subnet here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
// Temporal Workflows - Subscriber
CreateSubnet(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.CreateSubnetRequest) (err error)
// Implement this when this is available in Site controller
// UpdateSubnet(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.UpdateSubnetRequest) (err error)
DeleteSubnet(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.DeleteSubnetRequest) (err error)
GetState() []string
SubnetExpansion
}
SubnetInterface - interface to Subnet
type TenantInterface ¶
type TenantInterface interface {
// List all the APIs for Tenant here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
TenantExpansion
}
TenantInterface - Interface for Tenant
type VPCInterface ¶
type VPCInterface interface {
// List all the apis of VPC here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
// Cloud Workflow APIs
CreateVPC(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.CreateVPCRequest) (err error)
DeleteVPC(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.DeleteVPCRequest) (err error)
// CRUD VPC APIs
UpdateVPC(ctx workflow.Context, TransactionID *wflows.TransactionID, ResourceRequest *wflows.UpdateVPCRequest) (err error)
// GetVPCByID(ctx workflow.Context, ResourceID string, VPCID string) (ResourceResponse *wflows.GetVPCResponse, err error)
GetVPCByName(ctx workflow.Context, ResourceID string, VPCName string) (ResourceResponse *wflows.GetVPCResponse, err error)
// CreateVPC
// RegisterWorkflows() error
// RegisterActivities() error
GetState() []string
VPCExpansion
}
VPCInterface - interface to VPC
type VpcPrefixExpansion ¶
type VpcPrefixExpansion interface{}
VpcPrefixExpansion - VpcPrefix Expansion
type VpcPrefixInterface ¶
type VpcPrefixInterface interface {
// List all the APIs for VpcPrefix here
Init()
RegisterSubscriber() error
RegisterPublisher() error
RegisterCron() error
GetState() []string
VpcPrefixExpansion
}
VpcPrefixInterface - Interface for VpcPrefix
Source Files
¶
- bootstrap_api.go
- carbide_api.go
- dpuextensionservice_api.go
- expectedmachine_api.go
- expectedpowershelf_api.go
- expectedswitch_api.go
- health_api.go
- infiniband_partition_api.go
- instance_api.go
- instancetype_api.go
- machine_api.go
- machinevalidation_api.go
- managerapi.go
- networksecuritygroup_api.go
- nvlinklogicalpartition_api.go
- operating_system_api.go
- orchestrator.go
- rla_api.go
- sku_api.go
- sshkeygroup_api.go
- subnet_api.go
- tenant_api.go
- vpc_api.go
- vpcprefix_api.go