rpc

package
v0.0.0-...-81c02da Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Package rpc ...

Index

Constants

This section is empty.

Variables

View Source
var (
	ClientFunc           = services.ODIMService.Client
	NewAccountClientFunc = accountproto.NewAccountClient
)

helper functions

View Source
var (
	NewAggregatorClientFunc = aggregatorproto.NewAggregatorClient
)

helper functions

View Source
var (
	NewChassisClientFunc = chassisproto.NewChassisClient
)

helper functions

View Source
var (
	NewEventsClientFunc = eventsproto.NewEventsClient
)

helper functions

View Source
var (
	NewFabricsClientFunc = fabricsproto.NewFabricsClient
)

helper functions

View Source
var (
	NewGetTaskServiceClientFunc = taskproto.NewGetTaskServiceClient
)

helper functions

View Source
var (
	NewManagersClientFunc = managersproto.NewManagersClient
)

helper functions

View Source
var (
	NewRolesClientFunc = roleproto.NewRolesClient
)

helper functions

View Source
var (
	NewSessionClientFunc = sessionproto.NewSessionClient
)

helper functions

View Source
var (
	NewSystemsClientFunc = systemsproto.NewSystemsClient
)

helper functions

View Source
var (
	NewTelemetryClientFunc = teleproto.NewTelemetryClient
)

helper functions

View Source
var (
	NewUpdateClientFunc = updateproto.NewUpdateClient
)

helper functions

Functions

func ChangeBiosSettings

ChangeBiosSettings will do the rpc call to change bios settings

func ChangeBootOrderSettings

ChangeBootOrderSettings will do the rpc call to change Boot Order settings

func Compose

Compose will do the rpc call to Compose a system

func ComputerSystemReset

ComputerSystemReset will do the rpc call to reset the computer system

func CreateChassis

CreateChassis will do the rpc call to create a Chassis

func CreateRemoteAccountService

func CreateRemoteAccountService(ctx context.Context, req managersproto.ManagerRequest) (*managersproto.ManagerResponse, error)

CreateRemoteAccountService will do the rpc call to create a new BMC account

func CreateResourceBlock

CreateResourceBlock will do the rpc call to Create Resource Block

func CreateResourceZone

CreateResourceZone will do the rpc call to Create Resource Zone

func CreateVolume

CreateVolume will do the rpc call to create a volume under storage

func DeleteChassis

DeleteChassis will do the rpc call to delete a chassis

func DeleteFabricResource

func DeleteFabricResource(ctx context.Context, req fabricsproto.FabricRequest) (*fabricsproto.FabricResponse, error)

DeleteFabricResource defines the RPC call function for the DeleteFabricResource from fabrics micro service

func DeleteRemoteAccountService

func DeleteRemoteAccountService(ctx context.Context, req managersproto.ManagerRequest) (*managersproto.ManagerResponse, error)

DeleteRemoteAccountService will do the rpc call to delete an existing BMC account

func DeleteResourceBlock

DeleteResourceBlock will do the rpc call to Delete Resource Block

func DeleteResourceZone

DeleteResourceZone will do the rpc call to Delete Resource Zone

func DeleteRole

DeleteRole defines the RPC call function for the DeleteRole from account-session microservice

func DeleteSessionRequest

func DeleteSessionRequest(ctx context.Context, sessionID, sessionToken string) (*sessionproto.SessionResponse, error)

DeleteSessionRequest will do the rpc call to delete session

func DeleteTaskRequest

func DeleteTaskRequest(ctx context.Context, req *taskproto.GetTaskRequest) (*taskproto.TaskResponse, error)

DeleteTaskRequest will do the rpc calls for the svc-task DeleteTask

func DeleteVolume

DeleteVolume will do the rpc call to DeleteVolume a volume under storage

func DoAccountCreationRequest

func DoAccountCreationRequest(ctx context.Context, req accountproto.CreateAccountRequest) (*accountproto.AccountResponse, error)

DoAccountCreationRequest defines the RPC call function for the AccountCreation from account-session micro service

func DoAccountDeleteRequest

DoAccountDeleteRequest defines the RPC call function for the AccountDelete from account-session micro service

func DoAddAggregationSource

DoAddAggregationSource defines the RPC call function for the AddAggregationSource from aggregator micro service

func DoAddElementsToAggregate

DoAddElementsToAggregate defines the RPC call function for the add elements to an aggregate from aggregator micro service

func DoCreateAggregate

DoCreateAggregate defines the RPC call function for the CreateAggregate from aggregator micro service

func DoCreateEventSubscription

func DoCreateEventSubscription(ctx context.Context, req eventsproto.EventSubRequest) (*eventsproto.EventSubResponse, error)

DoCreateEventSubscription defines the RPC call function for the CreateEventSubscription from events micro service

func DoDeleteAggregate

DoDeleteAggregate defines the RPC call function for the delete aggregate from aggregator micro service

func DoDeleteAggregationSource

DoDeleteAggregationSource defines the RPC call function for the DeleteAggregationSource from aggregator micro service

func DoDeleteEventSubscription

func DoDeleteEventSubscription(ctx context.Context, req eventsproto.EventRequest) (*eventsproto.EventSubResponse, error)

DoDeleteEventSubscription defines the RPC call function for the DoDeleteEventSubscription from events micro service

func DoGetAccountRequest

DoGetAccountRequest defines the RPC call function for the GetAccount from account-session micro service

func DoGetAccountServiceRequest

func DoGetAccountServiceRequest(ctx context.Context, req accountproto.AccountRequest) (*accountproto.AccountResponse, error)

DoGetAccountServiceRequest defines the RPC call function for the GetAccountService from account-session micro service

func DoGetAggregateCollection

DoGetAggregateCollection defines the RPC call function for the get aggregate collections from aggregator micro service

func DoGetAggregationService

DoGetAggregationService defines the RPC call function for the GetAggregationService from aggregator micro service

func DoGetAggregationSource

DoGetAggregationSource defines the RPC call function for the GetAggregationSource from aggregator micro service

func DoGetAllAccountRequest

func DoGetAllAccountRequest(ctx context.Context, req accountproto.AccountRequest) (*accountproto.AccountResponse, error)

DoGetAllAccountRequest defines the RPC call function for the GetAllAccount from account-session micro service

func DoGetAllAggregationSource

DoGetAllAggregationSource defines the RPC call function for the GetAllAggregationSource from aggregator micro service

func DoGetAllConnectionMethods

DoGetAllConnectionMethods defines the RPC call function for the get connection method collection from aggregator micro service

func DoGetConnectionMethod

DoGetConnectionMethod defines the RPC call function for the get on connection method from aggregator micro service

func DoGetEventService

DoGetEventService defines the RPC call function for the GetEventService from events micro service

func DoGetEventSubscription

func DoGetEventSubscription(ctx context.Context, req eventsproto.EventRequest) (*eventsproto.EventSubResponse, error)

DoGetEventSubscription defines the RPC call function for the DoGetEventSubscription from events micro service

func DoGetEventSubscriptionsCollection

func DoGetEventSubscriptionsCollection(ctx context.Context, req eventsproto.EventRequest) (*eventsproto.EventSubResponse, error)

DoGetEventSubscriptionsCollection defines the RPC call function for the DoGetEventSubscription from events micro service

func DoGetFirmwareInventory

func DoGetFirmwareInventory(ctx context.Context, req updateproto.UpdateRequest) (*updateproto.UpdateResponse, error)

DoGetFirmwareInventory defines the RPC call function for the GetFirmwareInventory from update micro service

func DoGetFirmwareInventoryCollection

func DoGetFirmwareInventoryCollection(ctx context.Context, req updateproto.UpdateRequest) (*updateproto.UpdateResponse, error)

DoGetFirmwareInventoryCollection defines the RPC call function for the GetFirmwareInventory from update micro service

func DoGetMetricDefinition

func DoGetMetricDefinition(ctx context.Context, req teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

DoGetMetricDefinition defines the RPC call function for the GetMetricDefinition from telemetry micro service

func DoGetMetricDefinitionCollection

func DoGetMetricDefinitionCollection(ctx context.Context, req teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

DoGetMetricDefinitionCollection defines the RPC call function for the GetMetricDefinitionCollection from telemetry micro service

func DoGetMetricReport

DoGetMetricReport defines the RPC call function for the GetMetricReport from telemetry micro service

func DoGetMetricReportCollection

func DoGetMetricReportCollection(ctx context.Context, req teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

DoGetMetricReportCollection defines the RPC call function for the GetMetricReportCollection from telemetry micro service

func DoGetMetricReportDefinition

func DoGetMetricReportDefinition(ctx context.Context, req teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

DoGetMetricReportDefinition defines the RPC call function for the GetMetricReportDefinition from telemetry micro service

func DoGetMetricReportDefinitionCollection

func DoGetMetricReportDefinitionCollection(ctx context.Context, req teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

DoGetMetricReportDefinitionCollection defines the RPC call function for the GetMetricReportDefinitionCollection from telemetry micro service

func DoGetResetActionInfoService

DoGetResetActionInfoService defines the RPC call function for the GetResetActionInfoService from aggregator micro service

func DoGetSetDefaultBootOrderActionInfo

func DoGetSetDefaultBootOrderActionInfo(ctx context.Context, req aggregatorproto.AggregatorRequest) (*aggregatorproto.AggregatorResponse, error)

DoGetSetDefaultBootOrderActionInfo defines the RPC call function for the GetSetDefaultBootOrderActionInfo from aggregator micro service

func DoGetSoftwareInventory

func DoGetSoftwareInventory(ctx context.Context, req updateproto.UpdateRequest) (*updateproto.UpdateResponse, error)

DoGetSoftwareInventory defines the RPC call function for the GetSoftwareInventory from update micro service

func DoGetSoftwareInventoryCollection

func DoGetSoftwareInventoryCollection(ctx context.Context, req updateproto.UpdateRequest) (*updateproto.UpdateResponse, error)

DoGetSoftwareInventoryCollection defines the RPC call function for the GetSoftwareInventory from update micro service

func DoGetTelemetryService

func DoGetTelemetryService(ctx context.Context, req teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

DoGetTelemetryService defines the RPC call function for the GetTelemetryService from telemetry micro service

func DoGetTrigger

DoGetTrigger defines the RPC call function for the GetTrigger from telemetry micro service

func DoGetTriggerCollection

func DoGetTriggerCollection(ctx context.Context, req teleproto.TelemetryRequest) (*teleproto.TelemetryResponse, error)

DoGetTriggerCollection defines the RPC call function for the GetTriggerCollection from telemetry micro service

func DoGetUpdateService

func DoGetUpdateService(ctx context.Context, req updateproto.UpdateRequest) (*updateproto.UpdateResponse, error)

DoGetUpdateService defines the RPC call function for the GetUpdateService from update micro service

func DoGeteAggregate

DoGeteAggregate defines the RPC call function for the get aggregate from aggregator micro service

func DoRemoveElementsFromAggregate

func DoRemoveElementsFromAggregate(ctx context.Context, req aggregatorproto.AggregatorRequest) (*aggregatorproto.AggregatorResponse, error)

DoRemoveElementsFromAggregate defines the RPC call function for the remove elements from an aggregate from aggregator micro service

func DoResetAggregateElements

DoResetAggregateElements defines the RPC call function for the reset elements of an aggregate from aggregator micro service

func DoResetRequest

DoResetRequest defines the RPC call function for the Reset from aggregator micro service

func DoSessionCreationRequest

DoSessionCreationRequest will do the rpc calls for the auth

func DoSetDefaultBootOrderAggregateElements

func DoSetDefaultBootOrderAggregateElements(ctx context.Context, req aggregatorproto.AggregatorRequest) (*aggregatorproto.AggregatorResponse, error)

DoSetDefaultBootOrderAggregateElements defines the RPC call function for the set default boot order elements of an aggregate from aggregator micro service

func DoSetDefaultBootOrderRequest

func DoSetDefaultBootOrderRequest(ctx context.Context, req aggregatorproto.AggregatorRequest) (*aggregatorproto.AggregatorResponse, error)

DoSetDefaultBootOrderRequest defines the RPC call function for the SetDefaultBootOrder from aggregator micro service

func DoSimpleUpdate

DoSimpleUpdate defines the RPC call for SimpleUpdate from update micro service

func DoStartUpdate

DoStartUpdate defines the RPC call for StartUpdate from update micro service

func DoSubmitTestEvent

DoSubmitTestEvent defines the RPC call function for the SubmitTestEvent from events micro service

func DoUpdateAccountRequest

DoUpdateAccountRequest defines the RPC call function for the UpdateAccount from account-session micro service

func DoUpdateAggregationSource

DoUpdateAggregationSource defines the RPC call function for the UpdateAggregationSource from aggregator micro service

func DoUpdateTrigger

DoUpdateTrigger defines the RPC call function for the UpdateTrigger from telemetry micro service

func GetActivePool

GetActivePool will do the rpc call to list out the Active pool Resource block instance collection

func GetAllActiveSessionRequest

func GetAllActiveSessionRequest(ctx context.Context, sessionID, sessionToken string) (*sessionproto.SessionResponse, error)

GetAllActiveSessionRequest will do the rpc call to get session

func GetAllRoles

GetAllRoles defines the RPC call function for the GetAllRoles from account-session micro service

func GetChassis

GetChassis will do the rpc call to System Resource

func GetChassisCollection

GetChassisCollection will do the rpc call to collect all chassis

func GetChassisResource

GetChassisResource will do the rpc call to collect Chassis Resource

func GetCompositionReservations

GetCompositionReservations will do the rpc call to list out the Compose action Reservation collection

func GetCompositionService

GetCompositionService will do the rpc call to get Composition Service Information

func GetFabricResource

GetFabricResource defines the RPC call function for the GetFabricResource from fabrics micro service

func GetFreePool

GetFreePool will do the rpc call to list out the Free pool Resource block instance collection

func GetLicenseCollection

GetLicenseCollection will do the rpc call to get License Service Information

func GetLicenseResource

GetLicenseResource will do the rpc call to get License Service Information

func GetLicenseService

GetLicenseService will do the rpc call to get License Service Information

func GetManagers

GetManagers will do the rpc calls for the svc-managers

func GetManagersCollection

GetManagersCollection will do the rpc call to collect Managers

func GetManagersResource

GetManagersResource will do the rpc calls for the svc-managers

func GetRemoteAccountService

func GetRemoteAccountService(ctx context.Context, req managersproto.ManagerRequest) (*managersproto.ManagerResponse, error)

GetRemoteAccountService will do the rpc call to collect BMC accounts

func GetResourceBlock

GetResourceBlock will do the rpc call to get Resource Block Instance

func GetResourceBlockCollection

GetResourceBlockCollection will do the rpc call to get Resource Block collection

func GetResourceZone

GetResourceZone will do the rpc call to get Resource Zone Instance

func GetResourceZoneCollection

GetResourceZoneCollection will do the rpc call to get Resource Zone Collection

func GetRole

GetRole defines the RPC call function for the GetRole from account-session micro service

func GetSessionRequest

func GetSessionRequest(ctx context.Context, sessionID, sessionToken string) (*sessionproto.SessionResponse, error)

GetSessionRequest will do the rpc call to get session

func GetSessionServiceRequest

func GetSessionServiceRequest(ctx context.Context) (*sessionproto.SessionResponse, error)

GetSessionServiceRequest will do the rpc call to check session

func GetSubTask

GetSubTask will do the rpc calls for the svc-task GetSubTask

func GetSubTasks

GetSubTasks will do the rpc calls for the svc-task GetSubTasks

func GetSystemRequestRPC

GetSystemRequestRPC will do the rpc calls for the svc-systems

func GetSystemResource

GetSystemResource will do the rpc call to collect System Resource

func GetSystemsCollection

GetSystemsCollection will do the rpc call to collect Systems from odimra

func GetTaskMonitor

func GetTaskMonitor(ctx context.Context, req *taskproto.GetTaskRequest) (*taskproto.TaskResponse, error)

GetTaskMonitor will do the rpc calls for the svc-task GetTaskMonitor

func GetTaskRequest

func GetTaskRequest(ctx context.Context, req *taskproto.GetTaskRequest) (*taskproto.TaskResponse, error)

GetTaskRequest will do the rpc calls for the svc-task GetTaskStatus

func GetTaskService

func GetTaskService(ctx context.Context, req *taskproto.GetTaskRequest) (*taskproto.TaskResponse, error)

GetTaskService will perform the rpc call to svc-task GetTaskService

func InstallLicenseService

InstallLicenseService will do the rpc call to install License

func ResetSecureBoot

ResetSecureBoot will do the rpc call to ResetSecureBoot

func SetDefaultBootOrder

SetDefaultBootOrder will do the rpc call to set the default boot order of computer system

func TaskCollection

func TaskCollection(ctx context.Context, req *taskproto.GetTaskRequest) (*taskproto.TaskResponse, error)

TaskCollection will perform the rpc call to svc-task TaskCollection

func UpdateChassis

UpdateChassis will do the rpc call to update a chassis

func UpdateFabricResource

func UpdateFabricResource(ctx context.Context, req fabricsproto.FabricRequest) (*fabricsproto.FabricResponse, error)

UpdateFabricResource defines the RPC call function for creating/updating the Fabric Resource such as Endpoints, Zones from fabrics micro service

func UpdateRemoteAccountService

func UpdateRemoteAccountService(ctx context.Context, req managersproto.ManagerRequest) (*managersproto.ManagerResponse, error)

UpdateRemoteAccountService will do rpc call to update BMC account

func UpdateRole

UpdateRole defines the RPC call function for the UpdateRole from account-session micro service

func UpdateSecureBoot

UpdateSecureBoot will do the rpc call to UpdateSecureBoot

func VirtualMediaEject

VirtualMediaEject will do the rpc calls for the svc-managers

func VirtualMediaInsert

VirtualMediaInsert will do the rpc calls for the svc-managers

Types

This section is empty.

Jump to

Keyboard shortcuts

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