grpc

package
v0.0.0-...-b938584 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobGRPCClient

type JobGRPCClient struct {
	gr.GRPC_Client
	// contains filtered or unexported fields
}

func NewJobGRPCCLient

func NewJobGRPCCLient(log logger.Logger, cfg *config.Config) *JobGRPCClient

func (*JobGRPCClient) GRPC_CreateJob

func (jc *JobGRPCClient) GRPC_CreateJob(c context.Context, createJobRequest *proto.CreateJobRequest) (*proto.CreateJobResponse, error)

func (*JobGRPCClient) GRPC_DeleteJob

func (jc *JobGRPCClient) GRPC_DeleteJob(c context.Context, deleteJobRequest *proto.DeleteJobRequest) (*proto.DeleteJobResponse, error)

func (*JobGRPCClient) GRPC_GetJob

func (jc *JobGRPCClient) GRPC_GetJob(c context.Context, getJobRequest *proto.GetJobRequest) (*proto.Job, error)

func (*JobGRPCClient) GRPC_ListJobs

func (jc *JobGRPCClient) GRPC_ListJobs(c context.Context, listJobsRequest *proto.ListJobsRequest) (*proto.ListJobsResponse, error)

func (*JobGRPCClient) GRPC_UpdateJob

func (jc *JobGRPCClient) GRPC_UpdateJob(c context.Context, updateJobRequest *proto.UpdateJobRequest) (*proto.UpdateJobResponse, error)

Jump to

Keyboard shortcuts

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