rpc

package
v0.0.0-...-8d2fcc7 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregator

type Aggregator struct {
	// contains filtered or unexported fields
}

Aggregator struct helps to register service

func GetAggregator

func GetAggregator() *Aggregator

GetAggregator intializes all the required connection functions for the aggregation execution

func (*Aggregator) AddAggregationSource

AddAggregationSource function is for handling the RPC communication for AddAggregationSource

func (*Aggregator) AddElementsToAggregate

AddElementsToAggregate defines the operations which handles the RPC request response for the AddElementsToAggregate service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) CreateAggregate

CreateAggregate defines the operations which handles the RPC request response for the CreateAggregate service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) DeleteAggregate

DeleteAggregate defines the operations which handles the RPC request response for the DeleteAggregate service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) DeleteAggregationSource

DeleteAggregationSource defines the operations which handles the RPC request response for the UpdateAggregationSource service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) GetAggregate

GetAggregate defines the operations which handles the RPC request response for the GetAggregate service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) GetAggregationService

GetAggregationService is an rpc handler, it gets invoked during GET on AggregationService API (/redfis/v1/AggregationService/)

func (*Aggregator) GetAggregationSource

GetAggregationSource defines the operations which handles the RPC request response for the GetAggregationSource service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) GetAllAggregates

GetAllAggregates defines the operations which handles the RPC request response for the GetAllAggregates service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) GetAllAggregationSource

GetAllAggregationSource defines the operations which handles the RPC request response for the GetAllAggregationSource service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) GetAllConnectionMethods

GetAllConnectionMethods defines the operations which handles the RPC request response for the GetAllConnectionMethods service of systems micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the lib-utilities package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) GetConnectionMethod

GetConnectionMethod defines the operations which handles the RPC request response for the GetConnectionMethod service of systems micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the lib-utilities package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) GetResetActionInfoService

GetResetActionInfoService is an rpc handler, it gets invoked during GET on AggregationService API (/redfis/v1/AggregationService/)

func (*Aggregator) GetSetDefaultBootOrderActionInfo

func (a *Aggregator) GetSetDefaultBootOrderActionInfo(ctx context.Context, req *aggregatorproto.AggregatorRequest) (
	*aggregatorproto.AggregatorResponse, error)

GetSetDefaultBootOrderActionInfo is an rpc handler, it gets invoked during GET on AggregationService API (/redfis/v1/AggregationService/)

func (*Aggregator) RediscoverSystemInventory

RediscoverSystemInventory defines the operations which handles the RPC request response for the RediscoverSystemInventory service of aggregator micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the lib-utilities package.

func (*Aggregator) RemoveElementsFromAggregate

func (a *Aggregator) RemoveElementsFromAggregate(ctx context.Context, req *aggregatorproto.AggregatorRequest) (
	*aggregatorproto.AggregatorResponse, error)

RemoveElementsFromAggregate defines the operations which handles the RPC request response for the RemoveElementsFromAggregate service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) Reset

Reset function is for handling the RPC communication for Reset Action

func (*Aggregator) ResetElementsOfAggregate

ResetElementsOfAggregate defines the operations which handles the RPC request response for the ResetElementsOfAggregate service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) SendStartUpData

SendStartUpData defines the operations which handles the RPC request response for the SendStartUpData call to aggregator micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the lib-utilities package. The function is used for sending plugin start up data to the plugin which has restarted.

func (*Aggregator) SetDefaultBootOrder

SetDefaultBootOrder defines the operations which handles the RPC request response for the create account service of aggregator micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the lib-utilities package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) SetDefaultBootOrderElementsOfAggregate

func (a *Aggregator) SetDefaultBootOrderElementsOfAggregate(ctx context.Context, req *aggregatorproto.AggregatorRequest) (
	*aggregatorproto.AggregatorResponse, error)

SetDefaultBootOrderElementsOfAggregate defines the operations which handles the RPC request response for the SetDefaultBootOrderElementsOfAggregate service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) UpdateAggregationSource

UpdateAggregationSource defines the operations which handles the RPC request response for the UpdateAggregationSource service of aggregation micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the util-lib package. The function also checks for the session time out of the token which is present in the request.

func (*Aggregator) UpdateSystemState

UpdateSystemState defines the operations which handles the RPC request response for the UpdateSystemState call to aggregator micro service. The functionality retrives the request and return backs the response to RPC according to the protoc file defined in the lib-utilities package.

Jump to

Keyboard shortcuts

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