Documentation ¶
Index ¶
- Variables
- func RegisterRunnerServiceServer(s grpc.ServiceRegistrar, srv RunnerServiceServer)
- type NextRunRequest
- func (*NextRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextRunRequest) GetId() string
- func (*NextRunRequest) ProtoMessage()
- func (x *NextRunRequest) ProtoReflect() protoreflect.Message
- func (x *NextRunRequest) Reset()
- func (x *NextRunRequest) String() string
- func (m *NextRunRequest) Validate() error
- func (m *NextRunRequest) ValidateAll() error
- type NextRunRequestMultiError
- type NextRunRequestValidationError
- func (e NextRunRequestValidationError) Cause() error
- func (e NextRunRequestValidationError) Error() string
- func (e NextRunRequestValidationError) ErrorName() string
- func (e NextRunRequestValidationError) Field() string
- func (e NextRunRequestValidationError) Key() bool
- func (e NextRunRequestValidationError) Reason() string
- type NextRunResponse
- func (*NextRunResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextRunResponse) GetRun() *v1.Run
- func (*NextRunResponse) ProtoMessage()
- func (x *NextRunResponse) ProtoReflect() protoreflect.Message
- func (x *NextRunResponse) Reset()
- func (x *NextRunResponse) String() string
- func (m *NextRunResponse) Validate() error
- func (m *NextRunResponse) ValidateAll() error
- type NextRunResponseMultiError
- type NextRunResponseValidationError
- func (e NextRunResponseValidationError) Cause() error
- func (e NextRunResponseValidationError) Error() string
- func (e NextRunResponseValidationError) ErrorName() string
- func (e NextRunResponseValidationError) Field() string
- func (e NextRunResponseValidationError) Key() bool
- func (e NextRunResponseValidationError) Reason() string
- type RegisterRunnerRequest
- func (*RegisterRunnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRunnerRequest) GetAcceptTestLabelSelectors() map[string]string
- func (x *RegisterRunnerRequest) GetName() string
- func (x *RegisterRunnerRequest) GetRejectTestLabelSelectors() map[string]string
- func (*RegisterRunnerRequest) ProtoMessage()
- func (x *RegisterRunnerRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRunnerRequest) Reset()
- func (x *RegisterRunnerRequest) String() string
- func (m *RegisterRunnerRequest) Validate() error
- func (m *RegisterRunnerRequest) ValidateAll() error
- type RegisterRunnerRequestMultiError
- type RegisterRunnerRequestValidationError
- func (e RegisterRunnerRequestValidationError) Cause() error
- func (e RegisterRunnerRequestValidationError) Error() string
- func (e RegisterRunnerRequestValidationError) ErrorName() string
- func (e RegisterRunnerRequestValidationError) Field() string
- func (e RegisterRunnerRequestValidationError) Key() bool
- func (e RegisterRunnerRequestValidationError) Reason() string
- type RegisterRunnerResponse
- func (*RegisterRunnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRunnerResponse) GetRunner() *v1.Runner
- func (*RegisterRunnerResponse) ProtoMessage()
- func (x *RegisterRunnerResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterRunnerResponse) Reset()
- func (x *RegisterRunnerResponse) String() string
- func (m *RegisterRunnerResponse) Validate() error
- func (m *RegisterRunnerResponse) ValidateAll() error
- type RegisterRunnerResponseMultiError
- type RegisterRunnerResponseValidationError
- func (e RegisterRunnerResponseValidationError) Cause() error
- func (e RegisterRunnerResponseValidationError) Error() string
- func (e RegisterRunnerResponseValidationError) ErrorName() string
- func (e RegisterRunnerResponseValidationError) Field() string
- func (e RegisterRunnerResponseValidationError) Key() bool
- func (e RegisterRunnerResponseValidationError) Reason() string
- type RunnerServiceClient
- type RunnerServiceServer
- type RunnerService_SubmitRunClient
- type RunnerService_SubmitRunServer
- type SubmitRunRequest
- func (*SubmitRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitRunRequest) GetFinishedAt() *timestamppb.Timestamp
- func (x *SubmitRunRequest) GetId() string
- func (x *SubmitRunRequest) GetLogs() []*v1.Run_Log
- func (x *SubmitRunRequest) GetResult() v1.Run_Result
- func (x *SubmitRunRequest) GetResultData() map[string]string
- func (x *SubmitRunRequest) GetRunId() string
- func (x *SubmitRunRequest) GetStartedAt() *timestamppb.Timestamp
- func (*SubmitRunRequest) ProtoMessage()
- func (x *SubmitRunRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitRunRequest) Reset()
- func (x *SubmitRunRequest) String() string
- func (m *SubmitRunRequest) Validate() error
- func (m *SubmitRunRequest) ValidateAll() error
- type SubmitRunRequestMultiError
- type SubmitRunRequestValidationError
- func (e SubmitRunRequestValidationError) Cause() error
- func (e SubmitRunRequestValidationError) Error() string
- func (e SubmitRunRequestValidationError) ErrorName() string
- func (e SubmitRunRequestValidationError) Field() string
- func (e SubmitRunRequestValidationError) Key() bool
- func (e SubmitRunRequestValidationError) Reason() string
- type SubmitRunResponse
- func (*SubmitRunResponse) Descriptor() ([]byte, []int)deprecated
- func (*SubmitRunResponse) ProtoMessage()
- func (x *SubmitRunResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitRunResponse) Reset()
- func (x *SubmitRunResponse) String() string
- func (m *SubmitRunResponse) Validate() error
- func (m *SubmitRunResponse) ValidateAll() error
- type SubmitRunResponseMultiError
- type SubmitRunResponseValidationError
- func (e SubmitRunResponseValidationError) Cause() error
- func (e SubmitRunResponseValidationError) Error() string
- func (e SubmitRunResponseValidationError) ErrorName() string
- func (e SubmitRunResponseValidationError) Field() string
- func (e SubmitRunResponseValidationError) Key() bool
- func (e SubmitRunResponseValidationError) Reason() string
- type UnimplementedRunnerServiceServer
- func (UnimplementedRunnerServiceServer) NextRun(context.Context, *NextRunRequest) (*NextRunResponse, error)
- func (UnimplementedRunnerServiceServer) RegisterRunner(context.Context, *RegisterRunnerRequest) (*RegisterRunnerResponse, error)
- func (UnimplementedRunnerServiceServer) SubmitRun(RunnerService_SubmitRunServer) error
- type UnsafeRunnerServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_runner_v1_runner_proto protoreflect.FileDescriptor
var RunnerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tstr.runner.v1.RunnerService", HandlerType: (*RunnerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterRunner", Handler: _RunnerService_RegisterRunner_Handler, }, { MethodName: "NextRun", Handler: _RunnerService_NextRun_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubmitRun", Handler: _RunnerService_SubmitRun_Handler, ClientStreams: true, }, }, Metadata: "runner/v1/runner.proto", }
RunnerService_ServiceDesc is the grpc.ServiceDesc for RunnerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRunnerServiceServer ¶
func RegisterRunnerServiceServer(s grpc.ServiceRegistrar, srv RunnerServiceServer)
Types ¶
type NextRunRequest ¶
type NextRunRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NextRunRequest) Descriptor
deprecated
func (*NextRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextRunRequest.ProtoReflect.Descriptor instead.
func (*NextRunRequest) GetId ¶
func (x *NextRunRequest) GetId() string
func (*NextRunRequest) ProtoMessage ¶
func (*NextRunRequest) ProtoMessage()
func (*NextRunRequest) ProtoReflect ¶
func (x *NextRunRequest) ProtoReflect() protoreflect.Message
func (*NextRunRequest) Reset ¶
func (x *NextRunRequest) Reset()
func (*NextRunRequest) String ¶
func (x *NextRunRequest) String() string
func (*NextRunRequest) Validate ¶
func (m *NextRunRequest) Validate() error
Validate checks the field values on NextRunRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NextRunRequest) ValidateAll ¶
func (m *NextRunRequest) ValidateAll() error
ValidateAll checks the field values on NextRunRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NextRunRequestMultiError, or nil if none found.
type NextRunRequestMultiError ¶
type NextRunRequestMultiError []error
NextRunRequestMultiError is an error wrapping multiple validation errors returned by NextRunRequest.ValidateAll() if the designated constraints aren't met.
func (NextRunRequestMultiError) AllErrors ¶
func (m NextRunRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NextRunRequestMultiError) Error ¶
func (m NextRunRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NextRunRequestValidationError ¶
type NextRunRequestValidationError struct {
// contains filtered or unexported fields
}
NextRunRequestValidationError is the validation error returned by NextRunRequest.Validate if the designated constraints aren't met.
func (NextRunRequestValidationError) Cause ¶
func (e NextRunRequestValidationError) Cause() error
Cause function returns cause value.
func (NextRunRequestValidationError) Error ¶
func (e NextRunRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NextRunRequestValidationError) ErrorName ¶
func (e NextRunRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NextRunRequestValidationError) Field ¶
func (e NextRunRequestValidationError) Field() string
Field function returns field value.
func (NextRunRequestValidationError) Key ¶
func (e NextRunRequestValidationError) Key() bool
Key function returns key value.
func (NextRunRequestValidationError) Reason ¶
func (e NextRunRequestValidationError) Reason() string
Reason function returns reason value.
type NextRunResponse ¶
type NextRunResponse struct { Run *v1.Run `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"` // required // contains filtered or unexported fields }
func (*NextRunResponse) Descriptor
deprecated
func (*NextRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextRunResponse.ProtoReflect.Descriptor instead.
func (*NextRunResponse) GetRun ¶
func (x *NextRunResponse) GetRun() *v1.Run
func (*NextRunResponse) ProtoMessage ¶
func (*NextRunResponse) ProtoMessage()
func (*NextRunResponse) ProtoReflect ¶
func (x *NextRunResponse) ProtoReflect() protoreflect.Message
func (*NextRunResponse) Reset ¶
func (x *NextRunResponse) Reset()
func (*NextRunResponse) String ¶
func (x *NextRunResponse) String() string
func (*NextRunResponse) Validate ¶
func (m *NextRunResponse) Validate() error
Validate checks the field values on NextRunResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NextRunResponse) ValidateAll ¶
func (m *NextRunResponse) ValidateAll() error
ValidateAll checks the field values on NextRunResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NextRunResponseMultiError, or nil if none found.
type NextRunResponseMultiError ¶
type NextRunResponseMultiError []error
NextRunResponseMultiError is an error wrapping multiple validation errors returned by NextRunResponse.ValidateAll() if the designated constraints aren't met.
func (NextRunResponseMultiError) AllErrors ¶
func (m NextRunResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NextRunResponseMultiError) Error ¶
func (m NextRunResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NextRunResponseValidationError ¶
type NextRunResponseValidationError struct {
// contains filtered or unexported fields
}
NextRunResponseValidationError is the validation error returned by NextRunResponse.Validate if the designated constraints aren't met.
func (NextRunResponseValidationError) Cause ¶
func (e NextRunResponseValidationError) Cause() error
Cause function returns cause value.
func (NextRunResponseValidationError) Error ¶
func (e NextRunResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NextRunResponseValidationError) ErrorName ¶
func (e NextRunResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NextRunResponseValidationError) Field ¶
func (e NextRunResponseValidationError) Field() string
Field function returns field value.
func (NextRunResponseValidationError) Key ¶
func (e NextRunResponseValidationError) Key() bool
Key function returns key value.
func (NextRunResponseValidationError) Reason ¶
func (e NextRunResponseValidationError) Reason() string
Reason function returns reason value.
type RegisterRunnerRequest ¶
type RegisterRunnerRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` AcceptTestLabelSelectors map[string]string `` /* 225-byte string literal not displayed */ RejectTestLabelSelectors map[string]string `` /* 225-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RegisterRunnerRequest) Descriptor
deprecated
func (*RegisterRunnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRunnerRequest.ProtoReflect.Descriptor instead.
func (*RegisterRunnerRequest) GetAcceptTestLabelSelectors ¶
func (x *RegisterRunnerRequest) GetAcceptTestLabelSelectors() map[string]string
func (*RegisterRunnerRequest) GetName ¶
func (x *RegisterRunnerRequest) GetName() string
func (*RegisterRunnerRequest) GetRejectTestLabelSelectors ¶
func (x *RegisterRunnerRequest) GetRejectTestLabelSelectors() map[string]string
func (*RegisterRunnerRequest) ProtoMessage ¶
func (*RegisterRunnerRequest) ProtoMessage()
func (*RegisterRunnerRequest) ProtoReflect ¶
func (x *RegisterRunnerRequest) ProtoReflect() protoreflect.Message
func (*RegisterRunnerRequest) Reset ¶
func (x *RegisterRunnerRequest) Reset()
func (*RegisterRunnerRequest) String ¶
func (x *RegisterRunnerRequest) String() string
func (*RegisterRunnerRequest) Validate ¶
func (m *RegisterRunnerRequest) Validate() error
Validate checks the field values on RegisterRunnerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterRunnerRequest) ValidateAll ¶
func (m *RegisterRunnerRequest) ValidateAll() error
ValidateAll checks the field values on RegisterRunnerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterRunnerRequestMultiError, or nil if none found.
type RegisterRunnerRequestMultiError ¶
type RegisterRunnerRequestMultiError []error
RegisterRunnerRequestMultiError is an error wrapping multiple validation errors returned by RegisterRunnerRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterRunnerRequestMultiError) AllErrors ¶
func (m RegisterRunnerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterRunnerRequestMultiError) Error ¶
func (m RegisterRunnerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterRunnerRequestValidationError ¶
type RegisterRunnerRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterRunnerRequestValidationError is the validation error returned by RegisterRunnerRequest.Validate if the designated constraints aren't met.
func (RegisterRunnerRequestValidationError) Cause ¶
func (e RegisterRunnerRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterRunnerRequestValidationError) Error ¶
func (e RegisterRunnerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRunnerRequestValidationError) ErrorName ¶
func (e RegisterRunnerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRunnerRequestValidationError) Field ¶
func (e RegisterRunnerRequestValidationError) Field() string
Field function returns field value.
func (RegisterRunnerRequestValidationError) Key ¶
func (e RegisterRunnerRequestValidationError) Key() bool
Key function returns key value.
func (RegisterRunnerRequestValidationError) Reason ¶
func (e RegisterRunnerRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterRunnerResponse ¶
type RegisterRunnerResponse struct { Runner *v1.Runner `protobuf:"bytes,1,opt,name=runner,proto3" json:"runner,omitempty"` // required // contains filtered or unexported fields }
func (*RegisterRunnerResponse) Descriptor
deprecated
func (*RegisterRunnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRunnerResponse.ProtoReflect.Descriptor instead.
func (*RegisterRunnerResponse) GetRunner ¶
func (x *RegisterRunnerResponse) GetRunner() *v1.Runner
func (*RegisterRunnerResponse) ProtoMessage ¶
func (*RegisterRunnerResponse) ProtoMessage()
func (*RegisterRunnerResponse) ProtoReflect ¶
func (x *RegisterRunnerResponse) ProtoReflect() protoreflect.Message
func (*RegisterRunnerResponse) Reset ¶
func (x *RegisterRunnerResponse) Reset()
func (*RegisterRunnerResponse) String ¶
func (x *RegisterRunnerResponse) String() string
func (*RegisterRunnerResponse) Validate ¶
func (m *RegisterRunnerResponse) Validate() error
Validate checks the field values on RegisterRunnerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterRunnerResponse) ValidateAll ¶
func (m *RegisterRunnerResponse) ValidateAll() error
ValidateAll checks the field values on RegisterRunnerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterRunnerResponseMultiError, or nil if none found.
type RegisterRunnerResponseMultiError ¶
type RegisterRunnerResponseMultiError []error
RegisterRunnerResponseMultiError is an error wrapping multiple validation errors returned by RegisterRunnerResponse.ValidateAll() if the designated constraints aren't met.
func (RegisterRunnerResponseMultiError) AllErrors ¶
func (m RegisterRunnerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterRunnerResponseMultiError) Error ¶
func (m RegisterRunnerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterRunnerResponseValidationError ¶
type RegisterRunnerResponseValidationError struct {
// contains filtered or unexported fields
}
RegisterRunnerResponseValidationError is the validation error returned by RegisterRunnerResponse.Validate if the designated constraints aren't met.
func (RegisterRunnerResponseValidationError) Cause ¶
func (e RegisterRunnerResponseValidationError) Cause() error
Cause function returns cause value.
func (RegisterRunnerResponseValidationError) Error ¶
func (e RegisterRunnerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRunnerResponseValidationError) ErrorName ¶
func (e RegisterRunnerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRunnerResponseValidationError) Field ¶
func (e RegisterRunnerResponseValidationError) Field() string
Field function returns field value.
func (RegisterRunnerResponseValidationError) Key ¶
func (e RegisterRunnerResponseValidationError) Key() bool
Key function returns key value.
func (RegisterRunnerResponseValidationError) Reason ¶
func (e RegisterRunnerResponseValidationError) Reason() string
Reason function returns reason value.
type RunnerServiceClient ¶
type RunnerServiceClient interface { RegisterRunner(ctx context.Context, in *RegisterRunnerRequest, opts ...grpc.CallOption) (*RegisterRunnerResponse, error) NextRun(ctx context.Context, in *NextRunRequest, opts ...grpc.CallOption) (*NextRunResponse, error) SubmitRun(ctx context.Context, opts ...grpc.CallOption) (RunnerService_SubmitRunClient, error) }
RunnerServiceClient is the client API for RunnerService 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 NewRunnerServiceClient ¶
func NewRunnerServiceClient(cc grpc.ClientConnInterface) RunnerServiceClient
type RunnerServiceServer ¶
type RunnerServiceServer interface { RegisterRunner(context.Context, *RegisterRunnerRequest) (*RegisterRunnerResponse, error) NextRun(context.Context, *NextRunRequest) (*NextRunResponse, error) SubmitRun(RunnerService_SubmitRunServer) error // contains filtered or unexported methods }
RunnerServiceServer is the server API for RunnerService service. All implementations must embed UnimplementedRunnerServiceServer for forward compatibility
type RunnerService_SubmitRunClient ¶
type RunnerService_SubmitRunClient interface { Send(*SubmitRunRequest) error CloseAndRecv() (*SubmitRunResponse, error) grpc.ClientStream }
type RunnerService_SubmitRunServer ¶
type RunnerService_SubmitRunServer interface { SendAndClose(*SubmitRunResponse) error Recv() (*SubmitRunRequest, error) grpc.ServerStream }
type SubmitRunRequest ¶
type SubmitRunRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` Result v1.Run_Result `protobuf:"varint,3,opt,name=result,proto3,enum=tstr.common.v1.Run_Result" json:"result,omitempty"` Logs []*v1.Run_Log `protobuf:"bytes,4,rep,name=logs,proto3" json:"logs,omitempty"` ResultData map[string]string `` /* 179-byte string literal not displayed */ StartedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` FinishedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` // contains filtered or unexported fields }
func (*SubmitRunRequest) Descriptor
deprecated
func (*SubmitRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitRunRequest.ProtoReflect.Descriptor instead.
func (*SubmitRunRequest) GetFinishedAt ¶
func (x *SubmitRunRequest) GetFinishedAt() *timestamppb.Timestamp
func (*SubmitRunRequest) GetId ¶
func (x *SubmitRunRequest) GetId() string
func (*SubmitRunRequest) GetLogs ¶
func (x *SubmitRunRequest) GetLogs() []*v1.Run_Log
func (*SubmitRunRequest) GetResult ¶
func (x *SubmitRunRequest) GetResult() v1.Run_Result
func (*SubmitRunRequest) GetResultData ¶
func (x *SubmitRunRequest) GetResultData() map[string]string
func (*SubmitRunRequest) GetRunId ¶
func (x *SubmitRunRequest) GetRunId() string
func (*SubmitRunRequest) GetStartedAt ¶
func (x *SubmitRunRequest) GetStartedAt() *timestamppb.Timestamp
func (*SubmitRunRequest) ProtoMessage ¶
func (*SubmitRunRequest) ProtoMessage()
func (*SubmitRunRequest) ProtoReflect ¶
func (x *SubmitRunRequest) ProtoReflect() protoreflect.Message
func (*SubmitRunRequest) Reset ¶
func (x *SubmitRunRequest) Reset()
func (*SubmitRunRequest) String ¶
func (x *SubmitRunRequest) String() string
func (*SubmitRunRequest) Validate ¶
func (m *SubmitRunRequest) Validate() error
Validate checks the field values on SubmitRunRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubmitRunRequest) ValidateAll ¶
func (m *SubmitRunRequest) ValidateAll() error
ValidateAll checks the field values on SubmitRunRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubmitRunRequestMultiError, or nil if none found.
type SubmitRunRequestMultiError ¶
type SubmitRunRequestMultiError []error
SubmitRunRequestMultiError is an error wrapping multiple validation errors returned by SubmitRunRequest.ValidateAll() if the designated constraints aren't met.
func (SubmitRunRequestMultiError) AllErrors ¶
func (m SubmitRunRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubmitRunRequestMultiError) Error ¶
func (m SubmitRunRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubmitRunRequestValidationError ¶
type SubmitRunRequestValidationError struct {
// contains filtered or unexported fields
}
SubmitRunRequestValidationError is the validation error returned by SubmitRunRequest.Validate if the designated constraints aren't met.
func (SubmitRunRequestValidationError) Cause ¶
func (e SubmitRunRequestValidationError) Cause() error
Cause function returns cause value.
func (SubmitRunRequestValidationError) Error ¶
func (e SubmitRunRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitRunRequestValidationError) ErrorName ¶
func (e SubmitRunRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitRunRequestValidationError) Field ¶
func (e SubmitRunRequestValidationError) Field() string
Field function returns field value.
func (SubmitRunRequestValidationError) Key ¶
func (e SubmitRunRequestValidationError) Key() bool
Key function returns key value.
func (SubmitRunRequestValidationError) Reason ¶
func (e SubmitRunRequestValidationError) Reason() string
Reason function returns reason value.
type SubmitRunResponse ¶
type SubmitRunResponse struct {
// contains filtered or unexported fields
}
func (*SubmitRunResponse) Descriptor
deprecated
func (*SubmitRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitRunResponse.ProtoReflect.Descriptor instead.
func (*SubmitRunResponse) ProtoMessage ¶
func (*SubmitRunResponse) ProtoMessage()
func (*SubmitRunResponse) ProtoReflect ¶
func (x *SubmitRunResponse) ProtoReflect() protoreflect.Message
func (*SubmitRunResponse) Reset ¶
func (x *SubmitRunResponse) Reset()
func (*SubmitRunResponse) String ¶
func (x *SubmitRunResponse) String() string
func (*SubmitRunResponse) Validate ¶
func (m *SubmitRunResponse) Validate() error
Validate checks the field values on SubmitRunResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubmitRunResponse) ValidateAll ¶
func (m *SubmitRunResponse) ValidateAll() error
ValidateAll checks the field values on SubmitRunResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubmitRunResponseMultiError, or nil if none found.
type SubmitRunResponseMultiError ¶
type SubmitRunResponseMultiError []error
SubmitRunResponseMultiError is an error wrapping multiple validation errors returned by SubmitRunResponse.ValidateAll() if the designated constraints aren't met.
func (SubmitRunResponseMultiError) AllErrors ¶
func (m SubmitRunResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubmitRunResponseMultiError) Error ¶
func (m SubmitRunResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubmitRunResponseValidationError ¶
type SubmitRunResponseValidationError struct {
// contains filtered or unexported fields
}
SubmitRunResponseValidationError is the validation error returned by SubmitRunResponse.Validate if the designated constraints aren't met.
func (SubmitRunResponseValidationError) Cause ¶
func (e SubmitRunResponseValidationError) Cause() error
Cause function returns cause value.
func (SubmitRunResponseValidationError) Error ¶
func (e SubmitRunResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitRunResponseValidationError) ErrorName ¶
func (e SubmitRunResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitRunResponseValidationError) Field ¶
func (e SubmitRunResponseValidationError) Field() string
Field function returns field value.
func (SubmitRunResponseValidationError) Key ¶
func (e SubmitRunResponseValidationError) Key() bool
Key function returns key value.
func (SubmitRunResponseValidationError) Reason ¶
func (e SubmitRunResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedRunnerServiceServer ¶
type UnimplementedRunnerServiceServer struct { }
UnimplementedRunnerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRunnerServiceServer) NextRun ¶
func (UnimplementedRunnerServiceServer) NextRun(context.Context, *NextRunRequest) (*NextRunResponse, error)
func (UnimplementedRunnerServiceServer) RegisterRunner ¶
func (UnimplementedRunnerServiceServer) RegisterRunner(context.Context, *RegisterRunnerRequest) (*RegisterRunnerResponse, error)
func (UnimplementedRunnerServiceServer) SubmitRun ¶
func (UnimplementedRunnerServiceServer) SubmitRun(RunnerService_SubmitRunServer) error
type UnsafeRunnerServiceServer ¶
type UnsafeRunnerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRunnerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RunnerServiceServer will result in compilation errors.