handlers

package
v0.0.0-...-5db4967 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputePlanServer

type ComputePlanServer struct {
	asset.UnimplementedComputePlanServiceServer
}

func NewComputePlanServer

func NewComputePlanServer() *ComputePlanServer

func (*ComputePlanServer) ApplyPlanAction

func (*ComputePlanServer) GetPlan

func (*ComputePlanServer) IsPlanRunning

func (*ComputePlanServer) QueryPlans

func (*ComputePlanServer) RegisterPlan

func (*ComputePlanServer) UpdatePlan

UpdatePlan will update mutable fields of the existing ComputePlan. List of mutable fields: name.

type ComputeTaskServer

type ComputeTaskServer struct {
	asset.UnimplementedComputeTaskServiceServer
}

ComputeTaskServer is the gRPC server exposing ComputeTask actions

func NewComputeTaskServer

func NewComputeTaskServer() *ComputeTaskServer

NewComputeTaskServer creates a Server

func (*ComputeTaskServer) ApplyTaskAction

func (*ComputeTaskServer) DisableOutput

func (*ComputeTaskServer) GetTask

func (*ComputeTaskServer) GetTaskInputAssets

func (*ComputeTaskServer) QueryTasks

func (*ComputeTaskServer) RegisterTasks

type DataManagerServer

type DataManagerServer struct {
	asset.UnimplementedDataManagerServiceServer
}

DataManagerServer is the gRPC facade to DataManager manipulation

func NewDataManagerServer

func NewDataManagerServer() *DataManagerServer

NewDataManagerServer creates a gRPC server

func (*DataManagerServer) GetDataManager

func (s *DataManagerServer) GetDataManager(ctx context.Context, params *asset.GetDataManagerParam) (*asset.DataManager, error)

GetDataManager fetches a datamanager by its key

func (*DataManagerServer) QueryDataManagers

QueryDataManagers returns a paginated list of all known datamanagers

func (*DataManagerServer) RegisterDataManager

func (s *DataManagerServer) RegisterDataManager(ctx context.Context, d *asset.NewDataManager) (*asset.DataManager, error)

RegisterDataManager will persist new DataManagers

func (*DataManagerServer) UpdateDataManager

UpdateDataManager will update mutable fields of the existing DataManager. List of mutable fields: name.

type DataSampleServer

type DataSampleServer struct {
	asset.UnimplementedDataSampleServiceServer
}

DataSampleServer is the gRPC facade to DataSample manipulation

func NewDataSampleServer

func NewDataSampleServer() *DataSampleServer

NewDataSampleServer creates a gRPC server

func (*DataSampleServer) GetDataSample

func (s *DataSampleServer) GetDataSample(ctx context.Context, params *asset.GetDataSampleParam) (*asset.DataSample, error)

GetDataSample fetches a datasample by its key

func (*DataSampleServer) QueryDataSamples

QueryDataSamples returns a paginated list of all known datasamples

func (*DataSampleServer) RegisterDataSamples

RegisterDataSamples will persist new DataSamples

func (*DataSampleServer) UpdateDataSamples

UpdateDataSamples will update the datamanagers existing DataSamples

type DatasetServer

type DatasetServer struct {
	asset.UnimplementedDatasetServiceServer
}

DatasetServer is the gRPC facade to Dataset manipulation

func NewDatasetServer

func NewDatasetServer() *DatasetServer

NewDatasetServer creates a gRPC server

func (*DatasetServer) GetDataset

func (s *DatasetServer) GetDataset(ctx context.Context, params *asset.GetDatasetParam) (*asset.Dataset, error)

GetDataset fetches a dataset by its key

type EventServer

type EventServer struct {
	asset.UnimplementedEventServiceServer
}

EventServer is the gRPC facade to Model manipulation

func NewEventServer

func NewEventServer() *EventServer

NewEventServer creates a grpc server

func (*EventServer) QueryEvents

func (*EventServer) SubscribeToEvents

type FailureReportServer

type FailureReportServer struct {
	asset.UnimplementedFailureReportServiceServer
}

FailureReportServer is the gRPC facade to FailureReport manipulation

func NewFailureReportServer

func NewFailureReportServer() *FailureReportServer

NewFailureReportServer creates a gRPC server

func (*FailureReportServer) GetFailureReport

func (*FailureReportServer) RegisterFailureReport

func (s *FailureReportServer) RegisterFailureReport(ctx context.Context, newFailureReport *asset.NewFailureReport) (*asset.FailureReport, error)

type FunctionServer

type FunctionServer struct {
	asset.UnimplementedFunctionServiceServer
}

FunctionServer is the gRPC facade to Function manipulation

func NewFunctionServer

func NewFunctionServer() *FunctionServer

NewFunctionServer creates a grpc server

func (*FunctionServer) ApplyFunctionAction

func (*FunctionServer) GetFunction

func (s *FunctionServer) GetFunction(ctx context.Context, params *asset.GetFunctionParam) (*asset.Function, error)

GetFunction fetches an function by its key

func (*FunctionServer) QueryFunctions

QueryFunctions returns a paginated list of all known functions

func (*FunctionServer) RegisterFunction

func (s *FunctionServer) RegisterFunction(ctx context.Context, a *asset.NewFunction) (*asset.Function, error)

RegisterFunction will persist a new function

func (*FunctionServer) UpdateFunction

UpdateFunction will update mutable fields of the existing Function. List of mutable fields: name.

type InfoServer

type InfoServer struct {
	asset.UnimplementedInfoServiceServer
}

InfoServer is the gRPC server exposing info actions

func NewInfoServer

func NewInfoServer() *InfoServer

NewInfoServer creates a Server

func (*InfoServer) QueryVersion

type ModelServer

type ModelServer struct {
	asset.UnimplementedModelServiceServer
}

ModelServer is the gRPC facade to Model manipulation

func NewModelServer

func NewModelServer() *ModelServer

NewModelServer creates a grpc server

func (*ModelServer) GetComputeTaskOutputModels

func (s *ModelServer) GetComputeTaskOutputModels(ctx context.Context, param *asset.GetComputeTaskModelsParam) (*asset.GetComputeTaskModelsResponse, error)

func (*ModelServer) GetModel

func (s *ModelServer) GetModel(ctx context.Context, in *asset.GetModelParam) (*asset.Model, error)

func (*ModelServer) RegisterModel

func (s *ModelServer) RegisterModel(ctx context.Context, newModel *asset.NewModel) (*asset.Model, error)

func (*ModelServer) RegisterModels

type OrganizationServer

type OrganizationServer struct {
	asset.UnimplementedOrganizationServiceServer
}

OrganizationServer is the gRPC server exposing organization actions

func NewOrganizationServer

func NewOrganizationServer() *OrganizationServer

NewOrganizationServer creates a Server

func (*OrganizationServer) GetAllOrganizations

GetAllOrganizations will return all known organizations

func (*OrganizationServer) RegisterOrganization

RegisterOrganization will add a new organization to the network

type PerformanceServer

type PerformanceServer struct {
	asset.UnimplementedPerformanceServiceServer
}

PerformanceServer is the gRPC facade to Performance manipulation

func NewPerformanceServer

func NewPerformanceServer() *PerformanceServer

NewPerformanceServer creates a grpc server

func (*PerformanceServer) QueryPerformances

func (*PerformanceServer) RegisterPerformance

func (s *PerformanceServer) RegisterPerformance(ctx context.Context, newPerf *asset.NewPerformance) (*asset.Performance, error)

type ProfilingServer

type ProfilingServer struct {
	asset.UnimplementedProfilingServiceServer
}

ProfilingServer is the gRPC facade to Profiling manipulation

func NewProfilingServer

func NewProfilingServer() *ProfilingServer

NewProfilingServer creates a grpc server

func (*ProfilingServer) RegisterProfilingStep

func (s *ProfilingServer) RegisterProfilingStep(ctx context.Context, ps *asset.ProfilingStep) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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