apiservers

package
v0.0.0-...-678bb0e Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package apiservers implements gRPC APIs exposed by Scheduler service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchedulerServer

type SchedulerServer struct {
	Engine  engine.Engine
	Catalog catalog.Catalog
}

SchedulerServer implements scheduler.Scheduler API.

func (SchedulerServer) AbortInvocation

func (s SchedulerServer) AbortInvocation(ctx context.Context, in *scheduler.InvocationRef) (
	*empty.Empty, error)

func (SchedulerServer) AbortJob

func (s SchedulerServer) AbortJob(ctx context.Context, in *scheduler.JobRef) (*empty.Empty, error)

func (SchedulerServer) GetInvocations

func (s SchedulerServer) GetInvocations(ctx context.Context, in *scheduler.InvocationsRequest) (*scheduler.InvocationsReply, error)

func (SchedulerServer) GetJobs

func (s SchedulerServer) GetJobs(ctx context.Context, in *scheduler.JobsRequest) (*scheduler.JobsReply, error)

GetJobs fetches all jobs satisfying JobsRequest and visibility ACLs.

func (SchedulerServer) PauseJob

func (s SchedulerServer) PauseJob(ctx context.Context, in *scheduler.JobRef) (*empty.Empty, error)

func (SchedulerServer) ResumeJob

func (s SchedulerServer) ResumeJob(ctx context.Context, in *scheduler.JobRef) (*empty.Empty, error)

Jump to

Keyboard shortcuts

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