Documentation ¶
Index ¶
- Variables
- func RegisterResultsServer(s grpc.ServiceRegistrar, srv ResultsServer)
- type CreateRecordRequest
- func (*CreateRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRecordRequest) GetParent() string
- func (x *CreateRecordRequest) GetRecord() *Record
- func (*CreateRecordRequest) ProtoMessage()
- func (x *CreateRecordRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRecordRequest) Reset()
- func (x *CreateRecordRequest) String() string
- type CreateResultRequest
- func (*CreateResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResultRequest) GetParent() string
- func (x *CreateResultRequest) GetResult() *Result
- func (*CreateResultRequest) ProtoMessage()
- func (x *CreateResultRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResultRequest) Reset()
- func (x *CreateResultRequest) String() string
- type DeleteRecordRequest
- func (*DeleteRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRecordRequest) GetName() string
- func (*DeleteRecordRequest) ProtoMessage()
- func (x *DeleteRecordRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRecordRequest) Reset()
- func (x *DeleteRecordRequest) String() string
- type DeleteResultRequest
- func (*DeleteResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResultRequest) GetName() string
- func (*DeleteResultRequest) ProtoMessage()
- func (x *DeleteResultRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResultRequest) Reset()
- func (x *DeleteResultRequest) String() string
- type GetRecordRequest
- type GetResultRequest
- type ListRecordsRequest
- func (*ListRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecordsRequest) GetFilter() string
- func (x *ListRecordsRequest) GetPageSize() int32
- func (x *ListRecordsRequest) GetPageToken() string
- func (x *ListRecordsRequest) GetParent() string
- func (*ListRecordsRequest) ProtoMessage()
- func (x *ListRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRecordsRequest) Reset()
- func (x *ListRecordsRequest) String() string
- type ListRecordsResponse
- func (*ListRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecordsResponse) GetNextPageToken() string
- func (x *ListRecordsResponse) GetRecords() []*Record
- func (*ListRecordsResponse) ProtoMessage()
- func (x *ListRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRecordsResponse) Reset()
- func (x *ListRecordsResponse) String() string
- type ListResultsRequest
- func (*ListResultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResultsRequest) GetFilter() string
- func (x *ListResultsRequest) GetPageSize() int32
- func (x *ListResultsRequest) GetPageToken() string
- func (x *ListResultsRequest) GetParent() string
- func (*ListResultsRequest) ProtoMessage()
- func (x *ListResultsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResultsRequest) Reset()
- func (x *ListResultsRequest) String() string
- type ListResultsResponse
- func (*ListResultsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResultsResponse) GetNextPageToken() string
- func (x *ListResultsResponse) GetResults() []*Result
- func (*ListResultsResponse) ProtoMessage()
- func (x *ListResultsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResultsResponse) Reset()
- func (x *ListResultsResponse) String() string
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetCreatedTime() *timestamppb.Timestamp
- func (x *Record) GetData() *anypb.Any
- func (x *Record) GetEtag() string
- func (x *Record) GetId() string
- func (x *Record) GetName() string
- func (x *Record) GetUpdatedTime() *timestamppb.Timestamp
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetAnnotations() map[string]string
- func (x *Result) GetCreatedTime() *timestamppb.Timestamp
- func (x *Result) GetEtag() string
- func (x *Result) GetId() string
- func (x *Result) GetName() string
- func (x *Result) GetUpdatedTime() *timestamppb.Timestamp
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type ResultsClient
- type ResultsServer
- type UnimplementedResultsServer
- func (UnimplementedResultsServer) CreateRecord(context.Context, *CreateRecordRequest) (*Record, error)
- func (UnimplementedResultsServer) CreateResult(context.Context, *CreateResultRequest) (*Result, error)
- func (UnimplementedResultsServer) DeleteRecord(context.Context, *DeleteRecordRequest) (*emptypb.Empty, error)
- func (UnimplementedResultsServer) DeleteResult(context.Context, *DeleteResultRequest) (*emptypb.Empty, error)
- func (UnimplementedResultsServer) GetRecord(context.Context, *GetRecordRequest) (*Record, error)
- func (UnimplementedResultsServer) GetResult(context.Context, *GetResultRequest) (*Result, error)
- func (UnimplementedResultsServer) ListRecords(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error)
- func (UnimplementedResultsServer) ListResults(context.Context, *ListResultsRequest) (*ListResultsResponse, error)
- func (UnimplementedResultsServer) UpdateRecord(context.Context, *UpdateRecordRequest) (*Record, error)
- func (UnimplementedResultsServer) UpdateResult(context.Context, *UpdateResultRequest) (*Result, error)
- type UnsafeResultsServer
- type UpdateRecordRequest
- func (*UpdateRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRecordRequest) GetEtag() string
- func (x *UpdateRecordRequest) GetRecord() *Record
- func (x *UpdateRecordRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateRecordRequest) ProtoMessage()
- func (x *UpdateRecordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRecordRequest) Reset()
- func (x *UpdateRecordRequest) String() string
- type UpdateResultRequest
- func (*UpdateResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResultRequest) GetEtag() string
- func (x *UpdateResultRequest) GetName() string
- func (x *UpdateResultRequest) GetResult() *Result
- func (*UpdateResultRequest) ProtoMessage()
- func (x *UpdateResultRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResultRequest) Reset()
- func (x *UpdateResultRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_api_proto protoreflect.FileDescriptor
var File_resources_proto protoreflect.FileDescriptor
Functions ¶
func RegisterResultsServer ¶
func RegisterResultsServer(s grpc.ServiceRegistrar, srv ResultsServer)
Types ¶
type CreateRecordRequest ¶
type CreateRecordRequest struct { // User provided parent to partition results under. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Record *Record `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
func (*CreateRecordRequest) Descriptor
deprecated
func (*CreateRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRecordRequest.ProtoReflect.Descriptor instead.
func (*CreateRecordRequest) GetParent ¶
func (x *CreateRecordRequest) GetParent() string
func (*CreateRecordRequest) GetRecord ¶
func (x *CreateRecordRequest) GetRecord() *Record
func (*CreateRecordRequest) ProtoMessage ¶
func (*CreateRecordRequest) ProtoMessage()
func (*CreateRecordRequest) ProtoReflect ¶
func (x *CreateRecordRequest) ProtoReflect() protoreflect.Message
func (*CreateRecordRequest) Reset ¶
func (x *CreateRecordRequest) Reset()
func (*CreateRecordRequest) String ¶
func (x *CreateRecordRequest) String() string
type CreateResultRequest ¶
type CreateResultRequest struct { // User provided parent to partition results under. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*CreateResultRequest) Descriptor
deprecated
func (*CreateResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResultRequest.ProtoReflect.Descriptor instead.
func (*CreateResultRequest) GetParent ¶
func (x *CreateResultRequest) GetParent() string
func (*CreateResultRequest) GetResult ¶
func (x *CreateResultRequest) GetResult() *Result
func (*CreateResultRequest) ProtoMessage ¶
func (*CreateResultRequest) ProtoMessage()
func (*CreateResultRequest) ProtoReflect ¶
func (x *CreateResultRequest) ProtoReflect() protoreflect.Message
func (*CreateResultRequest) Reset ¶
func (x *CreateResultRequest) Reset()
func (*CreateResultRequest) String ¶
func (x *CreateResultRequest) String() string
type DeleteRecordRequest ¶
type DeleteRecordRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteRecordRequest) Descriptor
deprecated
func (*DeleteRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRecordRequest.ProtoReflect.Descriptor instead.
func (*DeleteRecordRequest) GetName ¶
func (x *DeleteRecordRequest) GetName() string
func (*DeleteRecordRequest) ProtoMessage ¶
func (*DeleteRecordRequest) ProtoMessage()
func (*DeleteRecordRequest) ProtoReflect ¶
func (x *DeleteRecordRequest) ProtoReflect() protoreflect.Message
func (*DeleteRecordRequest) Reset ¶
func (x *DeleteRecordRequest) Reset()
func (*DeleteRecordRequest) String ¶
func (x *DeleteRecordRequest) String() string
type DeleteResultRequest ¶
type DeleteResultRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteResultRequest) Descriptor
deprecated
func (*DeleteResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResultRequest.ProtoReflect.Descriptor instead.
func (*DeleteResultRequest) GetName ¶
func (x *DeleteResultRequest) GetName() string
func (*DeleteResultRequest) ProtoMessage ¶
func (*DeleteResultRequest) ProtoMessage()
func (*DeleteResultRequest) ProtoReflect ¶
func (x *DeleteResultRequest) ProtoReflect() protoreflect.Message
func (*DeleteResultRequest) Reset ¶
func (x *DeleteResultRequest) Reset()
func (*DeleteResultRequest) String ¶
func (x *DeleteResultRequest) String() string
type GetRecordRequest ¶
type GetRecordRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetRecordRequest) Descriptor
deprecated
func (*GetRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRecordRequest.ProtoReflect.Descriptor instead.
func (*GetRecordRequest) GetName ¶
func (x *GetRecordRequest) GetName() string
func (*GetRecordRequest) ProtoMessage ¶
func (*GetRecordRequest) ProtoMessage()
func (*GetRecordRequest) ProtoReflect ¶
func (x *GetRecordRequest) ProtoReflect() protoreflect.Message
func (*GetRecordRequest) Reset ¶
func (x *GetRecordRequest) Reset()
func (*GetRecordRequest) String ¶
func (x *GetRecordRequest) String() string
type GetResultRequest ¶
type GetResultRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetResultRequest) Descriptor
deprecated
func (*GetResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResultRequest.ProtoReflect.Descriptor instead.
func (*GetResultRequest) GetName ¶
func (x *GetResultRequest) GetName() string
func (*GetResultRequest) ProtoMessage ¶
func (*GetResultRequest) ProtoMessage()
func (*GetResultRequest) ProtoReflect ¶
func (x *GetResultRequest) ProtoReflect() protoreflect.Message
func (*GetResultRequest) Reset ¶
func (x *GetResultRequest) Reset()
func (*GetResultRequest) String ¶
func (x *GetResultRequest) String() string
type ListRecordsRequest ¶
type ListRecordsRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRecordsRequest) Descriptor
deprecated
func (*ListRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListRecordsRequest) GetFilter ¶
func (x *ListRecordsRequest) GetFilter() string
func (*ListRecordsRequest) GetPageSize ¶
func (x *ListRecordsRequest) GetPageSize() int32
func (*ListRecordsRequest) GetPageToken ¶
func (x *ListRecordsRequest) GetPageToken() string
func (*ListRecordsRequest) GetParent ¶
func (x *ListRecordsRequest) GetParent() string
func (*ListRecordsRequest) ProtoMessage ¶
func (*ListRecordsRequest) ProtoMessage()
func (*ListRecordsRequest) ProtoReflect ¶
func (x *ListRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListRecordsRequest) Reset ¶
func (x *ListRecordsRequest) Reset()
func (*ListRecordsRequest) String ¶
func (x *ListRecordsRequest) String() string
type ListRecordsResponse ¶
type ListRecordsResponse struct { Records []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRecordsResponse) Descriptor
deprecated
func (*ListRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRecordsResponse.ProtoReflect.Descriptor instead.
func (*ListRecordsResponse) GetNextPageToken ¶
func (x *ListRecordsResponse) GetNextPageToken() string
func (*ListRecordsResponse) GetRecords ¶
func (x *ListRecordsResponse) GetRecords() []*Record
func (*ListRecordsResponse) ProtoMessage ¶
func (*ListRecordsResponse) ProtoMessage()
func (*ListRecordsResponse) ProtoReflect ¶
func (x *ListRecordsResponse) ProtoReflect() protoreflect.Message
func (*ListRecordsResponse) Reset ¶
func (x *ListRecordsResponse) Reset()
func (*ListRecordsResponse) String ¶
func (x *ListRecordsResponse) String() string
type ListResultsRequest ¶
type ListResultsRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListResultsRequest) Descriptor
deprecated
func (*ListResultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResultsRequest.ProtoReflect.Descriptor instead.
func (*ListResultsRequest) GetFilter ¶
func (x *ListResultsRequest) GetFilter() string
func (*ListResultsRequest) GetPageSize ¶
func (x *ListResultsRequest) GetPageSize() int32
func (*ListResultsRequest) GetPageToken ¶
func (x *ListResultsRequest) GetPageToken() string
func (*ListResultsRequest) GetParent ¶
func (x *ListResultsRequest) GetParent() string
func (*ListResultsRequest) ProtoMessage ¶
func (*ListResultsRequest) ProtoMessage()
func (*ListResultsRequest) ProtoReflect ¶
func (x *ListResultsRequest) ProtoReflect() protoreflect.Message
func (*ListResultsRequest) Reset ¶
func (x *ListResultsRequest) Reset()
func (*ListResultsRequest) String ¶
func (x *ListResultsRequest) String() string
type ListResultsResponse ¶
type ListResultsResponse struct { Results []*Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListResultsResponse) Descriptor
deprecated
func (*ListResultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResultsResponse.ProtoReflect.Descriptor instead.
func (*ListResultsResponse) GetNextPageToken ¶
func (x *ListResultsResponse) GetNextPageToken() string
func (*ListResultsResponse) GetResults ¶
func (x *ListResultsResponse) GetResults() []*Result
func (*ListResultsResponse) ProtoMessage ¶
func (*ListResultsResponse) ProtoMessage()
func (*ListResultsResponse) ProtoReflect ¶
func (x *ListResultsResponse) ProtoReflect() protoreflect.Message
func (*ListResultsResponse) Reset ¶
func (x *ListResultsResponse) Reset()
func (*ListResultsResponse) String ¶
func (x *ListResultsResponse) String() string
type Record ¶
type Record struct { // Resource name, must be rooted in parent result. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Server assigned identifier of the Result. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // The etag for this record. // If this is provided on update, it must match the server's etag. Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"` // Server assigned timestamp for when the result was created. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // Server assigned timestamp for when the results was updated. UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` // contains filtered or unexported fields }
Record belonging to a Result. Typically will be Tekton Task/PipelineRuns, but may also include other execution information (e.g. alternative configs, DSLs, input payloads, post-execution actions, etc.) Next field number: 7
func (*Record) Descriptor
deprecated
func (*Record) GetCreatedTime ¶
func (x *Record) GetCreatedTime() *timestamppb.Timestamp
func (*Record) GetUpdatedTime ¶
func (x *Record) GetUpdatedTime() *timestamppb.Timestamp
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type Result ¶
type Result struct { // User assigned identifier of the Result. // Encodes parent information. // // Examples: namespace/default/results/1234 // cluster/<cluster-id>/namespace/tekton/results/1234 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Server assigned identifier of the Result. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Server assigned timestamp for when the result was created. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // Server assigned timestamp for when the results was updated. UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` // Arbitrary user provided labels for the result. Annotations map[string]string `` /* 163-byte string literal not displayed */ // The etag for this result. // If this is provided on update, it must match the server's etag. Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Next field number: 7
func (*Result) Descriptor
deprecated
func (*Result) GetAnnotations ¶
func (*Result) GetCreatedTime ¶
func (x *Result) GetCreatedTime() *timestamppb.Timestamp
func (*Result) GetUpdatedTime ¶
func (x *Result) GetUpdatedTime() *timestamppb.Timestamp
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type ResultsClient ¶
type ResultsClient interface { CreateResult(ctx context.Context, in *CreateResultRequest, opts ...grpc.CallOption) (*Result, error) UpdateResult(ctx context.Context, in *UpdateResultRequest, opts ...grpc.CallOption) (*Result, error) GetResult(ctx context.Context, in *GetResultRequest, opts ...grpc.CallOption) (*Result, error) DeleteResult(ctx context.Context, in *DeleteResultRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListResults(ctx context.Context, in *ListResultsRequest, opts ...grpc.CallOption) (*ListResultsResponse, error) CreateRecord(ctx context.Context, in *CreateRecordRequest, opts ...grpc.CallOption) (*Record, error) UpdateRecord(ctx context.Context, in *UpdateRecordRequest, opts ...grpc.CallOption) (*Record, error) GetRecord(ctx context.Context, in *GetRecordRequest, opts ...grpc.CallOption) (*Record, error) ListRecords(ctx context.Context, in *ListRecordsRequest, opts ...grpc.CallOption) (*ListRecordsResponse, error) DeleteRecord(ctx context.Context, in *DeleteRecordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ResultsClient is the client API for Results 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 NewResultsClient ¶
func NewResultsClient(cc grpc.ClientConnInterface) ResultsClient
type ResultsServer ¶
type ResultsServer interface { CreateResult(context.Context, *CreateResultRequest) (*Result, error) UpdateResult(context.Context, *UpdateResultRequest) (*Result, error) GetResult(context.Context, *GetResultRequest) (*Result, error) DeleteResult(context.Context, *DeleteResultRequest) (*emptypb.Empty, error) ListResults(context.Context, *ListResultsRequest) (*ListResultsResponse, error) CreateRecord(context.Context, *CreateRecordRequest) (*Record, error) UpdateRecord(context.Context, *UpdateRecordRequest) (*Record, error) GetRecord(context.Context, *GetRecordRequest) (*Record, error) ListRecords(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error) DeleteRecord(context.Context, *DeleteRecordRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
ResultsServer is the server API for Results service. All implementations must embed UnimplementedResultsServer for forward compatibility
type UnimplementedResultsServer ¶
type UnimplementedResultsServer struct { }
UnimplementedResultsServer must be embedded to have forward compatible implementations.
func (UnimplementedResultsServer) CreateRecord ¶
func (UnimplementedResultsServer) CreateRecord(context.Context, *CreateRecordRequest) (*Record, error)
func (UnimplementedResultsServer) CreateResult ¶
func (UnimplementedResultsServer) CreateResult(context.Context, *CreateResultRequest) (*Result, error)
func (UnimplementedResultsServer) DeleteRecord ¶
func (UnimplementedResultsServer) DeleteRecord(context.Context, *DeleteRecordRequest) (*emptypb.Empty, error)
func (UnimplementedResultsServer) DeleteResult ¶
func (UnimplementedResultsServer) DeleteResult(context.Context, *DeleteResultRequest) (*emptypb.Empty, error)
func (UnimplementedResultsServer) GetRecord ¶
func (UnimplementedResultsServer) GetRecord(context.Context, *GetRecordRequest) (*Record, error)
func (UnimplementedResultsServer) GetResult ¶
func (UnimplementedResultsServer) GetResult(context.Context, *GetResultRequest) (*Result, error)
func (UnimplementedResultsServer) ListRecords ¶
func (UnimplementedResultsServer) ListRecords(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error)
func (UnimplementedResultsServer) ListResults ¶
func (UnimplementedResultsServer) ListResults(context.Context, *ListResultsRequest) (*ListResultsResponse, error)
func (UnimplementedResultsServer) UpdateRecord ¶
func (UnimplementedResultsServer) UpdateRecord(context.Context, *UpdateRecordRequest) (*Record, error)
func (UnimplementedResultsServer) UpdateResult ¶
func (UnimplementedResultsServer) UpdateResult(context.Context, *UpdateResultRequest) (*Result, error)
type UnsafeResultsServer ¶
type UnsafeResultsServer interface {
// contains filtered or unexported methods
}
UnsafeResultsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResultsServer will result in compilation errors.
type UpdateRecordRequest ¶
type UpdateRecordRequest struct { Record *Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set, then the request will succeed if and only if the provided etag // matches the server-computed value, else will fail. // Should be used to prevent concurrent updates from overwritting each other. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*UpdateRecordRequest) Descriptor
deprecated
func (*UpdateRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRecordRequest.ProtoReflect.Descriptor instead.
func (*UpdateRecordRequest) GetEtag ¶
func (x *UpdateRecordRequest) GetEtag() string
func (*UpdateRecordRequest) GetRecord ¶
func (x *UpdateRecordRequest) GetRecord() *Record
func (*UpdateRecordRequest) GetUpdateMask ¶
func (x *UpdateRecordRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRecordRequest) ProtoMessage ¶
func (*UpdateRecordRequest) ProtoMessage()
func (*UpdateRecordRequest) ProtoReflect ¶
func (x *UpdateRecordRequest) ProtoReflect() protoreflect.Message
func (*UpdateRecordRequest) Reset ¶
func (x *UpdateRecordRequest) Reset()
func (*UpdateRecordRequest) String ¶
func (x *UpdateRecordRequest) String() string
type UpdateResultRequest ¶
type UpdateResultRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // If set, then the request will succeed if and only if the provided etag // matches the server-computed value, else will fail. // Should be used to prevent concurrent updates from overwritting each other. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*UpdateResultRequest) Descriptor
deprecated
func (*UpdateResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResultRequest.ProtoReflect.Descriptor instead.
func (*UpdateResultRequest) GetEtag ¶
func (x *UpdateResultRequest) GetEtag() string
func (*UpdateResultRequest) GetName ¶
func (x *UpdateResultRequest) GetName() string
func (*UpdateResultRequest) GetResult ¶
func (x *UpdateResultRequest) GetResult() *Result
func (*UpdateResultRequest) ProtoMessage ¶
func (*UpdateResultRequest) ProtoMessage()
func (*UpdateResultRequest) ProtoReflect ¶
func (x *UpdateResultRequest) ProtoReflect() protoreflect.Message
func (*UpdateResultRequest) Reset ¶
func (x *UpdateResultRequest) Reset()
func (*UpdateResultRequest) String ¶
func (x *UpdateResultRequest) String() string