proto

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Executor_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.Executor",
	HandlerType: (*ExecutorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Run",
			Handler:    _Executor_Run_Handler,
		},
		{
			MethodName: "Start",
			Handler:    _Executor_Start_Handler,
		},
		{
			MethodName: "Cancel",
			Handler:    _Executor_Cancel_Handler,
		},
		{
			MethodName: "IsInstalled",
			Handler:    _Executor_IsInstalled_Handler,
		},
		{
			MethodName: "ShouldBid",
			Handler:    _Executor_ShouldBid_Handler,
		},
		{
			MethodName: "ShouldBidBasedOnUsage",
			Handler:    _Executor_ShouldBidBasedOnUsage_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Wait",
			Handler:       _Executor_Wait_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetOutputStream",
			Handler:       _Executor_GetOutputStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "executor.proto",
}

Executor_ServiceDesc is the grpc.ServiceDesc for Executor service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_executor_proto protoreflect.FileDescriptor

Functions

func RegisterExecutorServer

func RegisterExecutorServer(s grpc.ServiceRegistrar, srv ExecutorServer)

Types

type CancelCommandRequest

type CancelCommandRequest struct {
	ExecutionID string `protobuf:"bytes,1,opt,name=ExecutionID,proto3" json:"ExecutionID,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelCommandRequest) Descriptor deprecated

func (*CancelCommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelCommandRequest.ProtoReflect.Descriptor instead.

func (*CancelCommandRequest) GetExecutionID

func (x *CancelCommandRequest) GetExecutionID() string

func (*CancelCommandRequest) ProtoMessage

func (*CancelCommandRequest) ProtoMessage()

func (*CancelCommandRequest) ProtoReflect added in v1.2.0

func (x *CancelCommandRequest) ProtoReflect() protoreflect.Message

func (*CancelCommandRequest) Reset

func (x *CancelCommandRequest) Reset()

func (*CancelCommandRequest) String

func (x *CancelCommandRequest) String() string

type CancelCommandResponse

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

func (*CancelCommandResponse) Descriptor deprecated

func (*CancelCommandResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelCommandResponse.ProtoReflect.Descriptor instead.

func (*CancelCommandResponse) ProtoMessage

func (*CancelCommandResponse) ProtoMessage()

func (*CancelCommandResponse) ProtoReflect added in v1.2.0

func (x *CancelCommandResponse) ProtoReflect() protoreflect.Message

func (*CancelCommandResponse) Reset

func (x *CancelCommandResponse) Reset()

func (*CancelCommandResponse) String

func (x *CancelCommandResponse) String() string

type ExecutorClient

ExecutorClient is the client API for Executor service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewExecutorClient

func NewExecutorClient(cc grpc.ClientConnInterface) ExecutorClient

type ExecutorServer

ExecutorServer is the server API for Executor service. All implementations must embed UnimplementedExecutorServer for forward compatibility

type Executor_GetOutputStreamClient

type Executor_GetOutputStreamClient interface {
	Recv() (*OutputStreamResponse, error)
	grpc.ClientStream
}

type Executor_GetOutputStreamServer

type Executor_GetOutputStreamServer interface {
	Send(*OutputStreamResponse) error
	grpc.ServerStream
}

type Executor_WaitClient

type Executor_WaitClient interface {
	Recv() (*RunCommandResponse, error)
	grpc.ClientStream
}

type Executor_WaitServer

type Executor_WaitServer interface {
	Send(*RunCommandResponse) error
	grpc.ServerStream
}

type IsInstalledRequest

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

func (*IsInstalledRequest) Descriptor deprecated

func (*IsInstalledRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsInstalledRequest.ProtoReflect.Descriptor instead.

func (*IsInstalledRequest) ProtoMessage

func (*IsInstalledRequest) ProtoMessage()

func (*IsInstalledRequest) ProtoReflect added in v1.2.0

func (x *IsInstalledRequest) ProtoReflect() protoreflect.Message

func (*IsInstalledRequest) Reset

func (x *IsInstalledRequest) Reset()

func (*IsInstalledRequest) String

func (x *IsInstalledRequest) String() string

type IsInstalledResponse

type IsInstalledResponse struct {
	Installed bool `protobuf:"varint,1,opt,name=Installed,proto3" json:"Installed,omitempty"`
	// contains filtered or unexported fields
}

func (*IsInstalledResponse) Descriptor deprecated

func (*IsInstalledResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsInstalledResponse.ProtoReflect.Descriptor instead.

func (*IsInstalledResponse) GetInstalled

func (x *IsInstalledResponse) GetInstalled() bool

func (*IsInstalledResponse) ProtoMessage

func (*IsInstalledResponse) ProtoMessage()

func (*IsInstalledResponse) ProtoReflect added in v1.2.0

func (x *IsInstalledResponse) ProtoReflect() protoreflect.Message

func (*IsInstalledResponse) Reset

func (x *IsInstalledResponse) Reset()

func (*IsInstalledResponse) String

func (x *IsInstalledResponse) String() string

type OutputStreamRequest

type OutputStreamRequest struct {
	ExecutionID string `protobuf:"bytes,1,opt,name=ExecutionID,proto3" json:"ExecutionID,omitempty"`
	History     bool   `protobuf:"varint,2,opt,name=History,proto3" json:"History,omitempty"`
	Follow      bool   `protobuf:"varint,3,opt,name=Follow,proto3" json:"Follow,omitempty"`
	// contains filtered or unexported fields
}

func (*OutputStreamRequest) Descriptor deprecated

func (*OutputStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use OutputStreamRequest.ProtoReflect.Descriptor instead.

func (*OutputStreamRequest) GetExecutionID

func (x *OutputStreamRequest) GetExecutionID() string

func (*OutputStreamRequest) GetFollow

func (x *OutputStreamRequest) GetFollow() bool

func (*OutputStreamRequest) GetHistory

func (x *OutputStreamRequest) GetHistory() bool

func (*OutputStreamRequest) ProtoMessage

func (*OutputStreamRequest) ProtoMessage()

func (*OutputStreamRequest) ProtoReflect added in v1.2.0

func (x *OutputStreamRequest) ProtoReflect() protoreflect.Message

func (*OutputStreamRequest) Reset

func (x *OutputStreamRequest) Reset()

func (*OutputStreamRequest) String

func (x *OutputStreamRequest) String() string

type OutputStreamResponse

type OutputStreamResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*OutputStreamResponse) Descriptor deprecated

func (*OutputStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use OutputStreamResponse.ProtoReflect.Descriptor instead.

func (*OutputStreamResponse) GetData

func (x *OutputStreamResponse) GetData() []byte

func (*OutputStreamResponse) ProtoMessage

func (*OutputStreamResponse) ProtoMessage()

func (*OutputStreamResponse) ProtoReflect added in v1.2.0

func (x *OutputStreamResponse) ProtoReflect() protoreflect.Message

func (*OutputStreamResponse) Reset

func (x *OutputStreamResponse) Reset()

func (*OutputStreamResponse) String

func (x *OutputStreamResponse) String() string

type RunCommandRequest

type RunCommandRequest struct {
	Params []byte `protobuf:"bytes,1,opt,name=Params,proto3" json:"Params,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCommandRequest) Descriptor deprecated

func (*RunCommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunCommandRequest.ProtoReflect.Descriptor instead.

func (*RunCommandRequest) GetParams

func (x *RunCommandRequest) GetParams() []byte

func (*RunCommandRequest) ProtoMessage

func (*RunCommandRequest) ProtoMessage()

func (*RunCommandRequest) ProtoReflect added in v1.2.0

func (x *RunCommandRequest) ProtoReflect() protoreflect.Message

func (*RunCommandRequest) Reset

func (x *RunCommandRequest) Reset()

func (*RunCommandRequest) String

func (x *RunCommandRequest) String() string

type RunCommandResponse

type RunCommandResponse struct {
	Params []byte `protobuf:"bytes,1,opt,name=Params,proto3" json:"Params,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCommandResponse) Descriptor deprecated

func (*RunCommandResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunCommandResponse.ProtoReflect.Descriptor instead.

func (*RunCommandResponse) GetParams

func (x *RunCommandResponse) GetParams() []byte

func (*RunCommandResponse) ProtoMessage

func (*RunCommandResponse) ProtoMessage()

func (*RunCommandResponse) ProtoReflect added in v1.2.0

func (x *RunCommandResponse) ProtoReflect() protoreflect.Message

func (*RunCommandResponse) Reset

func (x *RunCommandResponse) Reset()

func (*RunCommandResponse) String

func (x *RunCommandResponse) String() string

type ShouldBidBasedOnUsageRequest

type ShouldBidBasedOnUsageRequest struct {
	BidRequest []byte `protobuf:"bytes,1,opt,name=BidRequest,proto3" json:"BidRequest,omitempty"`
	Usage      []byte `protobuf:"bytes,2,opt,name=Usage,proto3" json:"Usage,omitempty"`
	// contains filtered or unexported fields
}

func (*ShouldBidBasedOnUsageRequest) Descriptor deprecated

func (*ShouldBidBasedOnUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShouldBidBasedOnUsageRequest.ProtoReflect.Descriptor instead.

func (*ShouldBidBasedOnUsageRequest) GetBidRequest

func (x *ShouldBidBasedOnUsageRequest) GetBidRequest() []byte

func (*ShouldBidBasedOnUsageRequest) GetUsage

func (x *ShouldBidBasedOnUsageRequest) GetUsage() []byte

func (*ShouldBidBasedOnUsageRequest) ProtoMessage

func (*ShouldBidBasedOnUsageRequest) ProtoMessage()

func (*ShouldBidBasedOnUsageRequest) ProtoReflect added in v1.2.0

func (*ShouldBidBasedOnUsageRequest) Reset

func (x *ShouldBidBasedOnUsageRequest) Reset()

func (*ShouldBidBasedOnUsageRequest) String

type ShouldBidRequest

type ShouldBidRequest struct {
	BidRequest []byte `protobuf:"bytes,1,opt,name=BidRequest,proto3" json:"BidRequest,omitempty"`
	// contains filtered or unexported fields
}

func (*ShouldBidRequest) Descriptor deprecated

func (*ShouldBidRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShouldBidRequest.ProtoReflect.Descriptor instead.

func (*ShouldBidRequest) GetBidRequest

func (x *ShouldBidRequest) GetBidRequest() []byte

func (*ShouldBidRequest) ProtoMessage

func (*ShouldBidRequest) ProtoMessage()

func (*ShouldBidRequest) ProtoReflect added in v1.2.0

func (x *ShouldBidRequest) ProtoReflect() protoreflect.Message

func (*ShouldBidRequest) Reset

func (x *ShouldBidRequest) Reset()

func (*ShouldBidRequest) String

func (x *ShouldBidRequest) String() string

type ShouldBidResponse

type ShouldBidResponse struct {
	BidResponse []byte `protobuf:"bytes,1,opt,name=BidResponse,proto3" json:"BidResponse,omitempty"`
	// contains filtered or unexported fields
}

shared by both semantic and resource bid

func (*ShouldBidResponse) Descriptor deprecated

func (*ShouldBidResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShouldBidResponse.ProtoReflect.Descriptor instead.

func (*ShouldBidResponse) GetBidResponse

func (x *ShouldBidResponse) GetBidResponse() []byte

func (*ShouldBidResponse) ProtoMessage

func (*ShouldBidResponse) ProtoMessage()

func (*ShouldBidResponse) ProtoReflect added in v1.2.0

func (x *ShouldBidResponse) ProtoReflect() protoreflect.Message

func (*ShouldBidResponse) Reset

func (x *ShouldBidResponse) Reset()

func (*ShouldBidResponse) String

func (x *ShouldBidResponse) String() string

type StartResponse

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

func (*StartResponse) Descriptor deprecated

func (*StartResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.

func (*StartResponse) ProtoMessage

func (*StartResponse) ProtoMessage()

func (*StartResponse) ProtoReflect added in v1.2.0

func (x *StartResponse) ProtoReflect() protoreflect.Message

func (*StartResponse) Reset

func (x *StartResponse) Reset()

func (*StartResponse) String

func (x *StartResponse) String() string

type UnimplementedExecutorServer

type UnimplementedExecutorServer struct {
}

UnimplementedExecutorServer must be embedded to have forward compatible implementations.

func (UnimplementedExecutorServer) Cancel

func (UnimplementedExecutorServer) GetOutputStream

func (UnimplementedExecutorServer) IsInstalled

func (UnimplementedExecutorServer) Run

func (UnimplementedExecutorServer) ShouldBid

func (UnimplementedExecutorServer) ShouldBidBasedOnUsage

func (UnimplementedExecutorServer) Start

func (UnimplementedExecutorServer) Wait

type UnsafeExecutorServer added in v1.2.0

type UnsafeExecutorServer interface {
	// contains filtered or unexported methods
}

UnsafeExecutorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExecutorServer will result in compilation errors.

type WaitRequest

type WaitRequest struct {
	ExecutionID string `protobuf:"bytes,1,opt,name=ExecutionID,proto3" json:"ExecutionID,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitRequest) Descriptor deprecated

func (*WaitRequest) Descriptor() ([]byte, []int)

Deprecated: Use WaitRequest.ProtoReflect.Descriptor instead.

func (*WaitRequest) GetExecutionID

func (x *WaitRequest) GetExecutionID() string

func (*WaitRequest) ProtoMessage

func (*WaitRequest) ProtoMessage()

func (*WaitRequest) ProtoReflect added in v1.2.0

func (x *WaitRequest) ProtoReflect() protoreflect.Message

func (*WaitRequest) Reset

func (x *WaitRequest) Reset()

func (*WaitRequest) String

func (x *WaitRequest) String() string

Jump to

Keyboard shortcuts

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