managerapi

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

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 CarbideExpansion

type CarbideExpansion interface{}

CarbideExpansion - Carbide Expansion

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 HealthExpansion

type HealthExpansion interface{}

HealthExpansion - Health Expansion

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 InstanceExpansion

type InstanceExpansion interface{}

InstanceExpansion - Instance Expansion

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 MachineExpansion

type MachineExpansion interface{}

MachineExpansion - Machine Expansion

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 ManagerConf

type ManagerConf struct {
	EB *conftypes.Config
}

ManagerConf - Conf struct

type ManagerData

type ManagerData struct {
	EB *elektratypes.Elektra
}

ManagerData - super struct

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 RLAExpansion

type RLAExpansion interface{}

RLAExpansion - RLA Expansion

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 SKUExpansion

type SKUExpansion interface{}

SKUExpansion - SKU Expansion

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 SubnetExpansion

type SubnetExpansion interface{}

SubnetExpansion - Subnet Expansion

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 TenantExpansion

type TenantExpansion interface{}

TenantExpansion - Tenant Expansion

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 VPCExpansion

type VPCExpansion interface{}

VPCExpansion - VPC Expansion

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

Jump to

Keyboard shortcuts

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