node

package
v0.20.29 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(
	publisher pulsarutils.Publisher[*controlplaneevents.Event],
	authorizer auth.ActionAuthorizer,
) *Server

func (*Server) CancelOnNode

func (s *Server) CancelOnNode(grpcCtx context.Context, req *api.NodeCancelRequest) (*types.Empty, error)

CancelOnNode implements api.NodeServer.

func (*Server) PreemptOnNode

func (s *Server) PreemptOnNode(grpcCtx context.Context, req *api.NodePreemptRequest) (*types.Empty, error)

PreemptOnNode implements api.NodeServer.

Jump to

Keyboard shortcuts

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