schedulerv1alpha1connect

package
v1.19.1-20260314215850... Latest Latest
Warning

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

Go to latest
Published: unknown License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SchedulerServiceCancelJobProcedure is the fully-qualified name of the SchedulerService's
	// CancelJob RPC.
	SchedulerServiceCancelJobProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/CancelJob"
	// SchedulerServiceCreateContinuousJobProcedure is the fully-qualified name of the
	// SchedulerService's CreateContinuousJob RPC.
	SchedulerServiceCreateContinuousJobProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/CreateContinuousJob"
	// SchedulerServiceCreateOneShotJobProcedure is the fully-qualified name of the SchedulerService's
	// CreateOneShotJob RPC.
	SchedulerServiceCreateOneShotJobProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/CreateOneShotJob"
	// SchedulerServiceCreateQueuedJobProcedure is the fully-qualified name of the SchedulerService's
	// CreateQueuedJob RPC.
	SchedulerServiceCreateQueuedJobProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/CreateQueuedJob"
	// SchedulerServiceCreateRecurringJobProcedure is the fully-qualified name of the SchedulerService's
	// CreateRecurringJob RPC.
	SchedulerServiceCreateRecurringJobProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/CreateRecurringJob"
	// SchedulerServiceDeleteJobProcedure is the fully-qualified name of the SchedulerService's
	// DeleteJob RPC.
	SchedulerServiceDeleteJobProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/DeleteJob"
	// SchedulerServiceGetJobProcedure is the fully-qualified name of the SchedulerService's GetJob RPC.
	SchedulerServiceGetJobProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/GetJob"
	// SchedulerServiceListJobsProcedure is the fully-qualified name of the SchedulerService's ListJobs
	// RPC.
	SchedulerServiceListJobsProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/ListJobs"
	// SchedulerServiceListJobHistoryProcedure is the fully-qualified name of the SchedulerService's
	// ListJobHistory RPC.
	SchedulerServiceListJobHistoryProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/ListJobHistory"
	// SchedulerServiceListWorkersProcedure is the fully-qualified name of the SchedulerService's
	// ListWorkers RPC.
	SchedulerServiceListWorkersProcedure = "/dendra.job.scheduler.v1alpha1.SchedulerService/ListWorkers"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// SchedulerServiceName is the fully-qualified name of the SchedulerService service.
	SchedulerServiceName = "dendra.job.scheduler.v1alpha1.SchedulerService"
)

Variables

This section is empty.

Functions

func NewSchedulerServiceHandler

func NewSchedulerServiceHandler(svc SchedulerServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSchedulerServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type SchedulerServiceClient

SchedulerServiceClient is a client for the dendra.job.scheduler.v1alpha1.SchedulerService service.

func NewSchedulerServiceClient

func NewSchedulerServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SchedulerServiceClient

NewSchedulerServiceClient constructs a client for the dendra.job.scheduler.v1alpha1.SchedulerService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type SchedulerServiceHandler

SchedulerServiceHandler is an implementation of the dendra.job.scheduler.v1alpha1.SchedulerService service.

type UnimplementedSchedulerServiceHandler

type UnimplementedSchedulerServiceHandler struct{}

UnimplementedSchedulerServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedSchedulerServiceHandler) CancelJob

func (UnimplementedSchedulerServiceHandler) CreateContinuousJob

func (UnimplementedSchedulerServiceHandler) CreateOneShotJob

func (UnimplementedSchedulerServiceHandler) CreateQueuedJob

func (UnimplementedSchedulerServiceHandler) CreateRecurringJob

func (UnimplementedSchedulerServiceHandler) DeleteJob

func (UnimplementedSchedulerServiceHandler) GetJob

func (UnimplementedSchedulerServiceHandler) ListJobHistory

func (UnimplementedSchedulerServiceHandler) ListJobs

func (UnimplementedSchedulerServiceHandler) ListWorkers

Source Files

  • service.connect.go

Jump to

Keyboard shortcuts

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