Documentation ¶
Overview ¶
Package results_go_proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterLogsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLogsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LogsClient) error
- func RegisterLogsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLogsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LogsServer) error
- func RegisterLogsServer(s grpc.ServiceRegistrar, srv LogsServer)
- func RegisterResultsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterResultsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResultsClient) error
- func RegisterResultsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterResultsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResultsServer) error
- func RegisterResultsServer(s grpc.ServiceRegistrar, srv ResultsServer)
- type Any
- 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 DeleteLogRequest
- 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 GetLogRequest
- type GetRecordRequest
- type GetResultRequest
- type ListRecordsRequest
- func (*ListRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecordsRequest) GetFilter() string
- func (x *ListRecordsRequest) GetOrderBy() 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) GetOrderBy() 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 Log
- type LogSummary
- func (*LogSummary) Descriptor() ([]byte, []int)deprecated
- func (x *LogSummary) GetBytesReceived() int64
- func (x *LogSummary) GetRecord() string
- func (*LogSummary) ProtoMessage()
- func (x *LogSummary) ProtoReflect() protoreflect.Message
- func (x *LogSummary) Reset()
- func (x *LogSummary) String() string
- type LogsClient
- type LogsServer
- type Logs_GetLogClient
- type Logs_GetLogServer
- type Logs_UpdateLogClient
- type Logs_UpdateLogServer
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetCreateTime() *timestamppb.Timestamp
- func (x *Record) GetCreatedTime() *timestamppb.Timestampdeprecated
- func (x *Record) GetData() *Any
- func (x *Record) GetEtag() string
- func (x *Record) GetId() stringdeprecated
- func (x *Record) GetName() string
- func (x *Record) GetUid() string
- func (x *Record) GetUpdateTime() *timestamppb.Timestamp
- func (x *Record) GetUpdatedTime() *timestamppb.Timestampdeprecated
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
- type RecordListSummary
- func (*RecordListSummary) Descriptor() ([]byte, []int)deprecated
- func (x *RecordListSummary) GetSummary() []*structpb.Struct
- func (*RecordListSummary) ProtoMessage()
- func (x *RecordListSummary) ProtoReflect() protoreflect.Message
- func (x *RecordListSummary) Reset()
- func (x *RecordListSummary) String() string
- type RecordListSummaryRequest
- func (*RecordListSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecordListSummaryRequest) GetFilter() string
- func (x *RecordListSummaryRequest) GetGroupBy() string
- func (x *RecordListSummaryRequest) GetOrderBy() string
- func (x *RecordListSummaryRequest) GetParent() string
- func (x *RecordListSummaryRequest) GetSummary() string
- func (*RecordListSummaryRequest) ProtoMessage()
- func (x *RecordListSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *RecordListSummaryRequest) Reset()
- func (x *RecordListSummaryRequest) String() string
- type RecordSummary
- func (*RecordSummary) Descriptor() ([]byte, []int)deprecated
- func (x *RecordSummary) GetAnnotations() map[string]string
- func (x *RecordSummary) GetEndTime() *timestamppb.Timestamp
- func (x *RecordSummary) GetRecord() string
- func (x *RecordSummary) GetStartTime() *timestamppb.Timestamp
- func (x *RecordSummary) GetStatus() RecordSummary_Status
- func (x *RecordSummary) GetType() string
- func (*RecordSummary) ProtoMessage()
- func (x *RecordSummary) ProtoReflect() protoreflect.Message
- func (x *RecordSummary) Reset()
- func (x *RecordSummary) String() string
- type RecordSummary_Status
- func (RecordSummary_Status) Descriptor() protoreflect.EnumDescriptor
- func (x RecordSummary_Status) Enum() *RecordSummary_Status
- func (RecordSummary_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecordSummary_Status) Number() protoreflect.EnumNumber
- func (x RecordSummary_Status) String() string
- func (RecordSummary_Status) Type() protoreflect.EnumType
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetAnnotations() map[string]string
- func (x *Result) GetCreateTime() *timestamppb.Timestamp
- func (x *Result) GetCreatedTime() *timestamppb.Timestampdeprecated
- func (x *Result) GetEtag() string
- func (x *Result) GetId() stringdeprecated
- func (x *Result) GetName() string
- func (x *Result) GetSummary() *RecordSummary
- func (x *Result) GetUid() string
- func (x *Result) GetUpdateTime() *timestamppb.Timestamp
- func (x *Result) GetUpdatedTime() *timestamppb.Timestampdeprecated
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type ResultsClient
- type ResultsServer
- type UnimplementedLogsServer
- func (UnimplementedLogsServer) DeleteLog(context.Context, *DeleteLogRequest) (*emptypb.Empty, error)
- func (UnimplementedLogsServer) GetLog(*GetLogRequest, Logs_GetLogServer) error
- func (UnimplementedLogsServer) ListLogs(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error)
- func (UnimplementedLogsServer) UpdateLog(Logs_UpdateLogServer) error
- 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) GetRecordListSummary(context.Context, *RecordListSummaryRequest) (*RecordListSummary, 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 UnsafeLogsServer
- 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 ¶
const ( Results_CreateResult_FullMethodName = "/tekton.results.v1alpha2.Results/CreateResult" Results_UpdateResult_FullMethodName = "/tekton.results.v1alpha2.Results/UpdateResult" Results_GetResult_FullMethodName = "/tekton.results.v1alpha2.Results/GetResult" Results_DeleteResult_FullMethodName = "/tekton.results.v1alpha2.Results/DeleteResult" Results_ListResults_FullMethodName = "/tekton.results.v1alpha2.Results/ListResults" Results_CreateRecord_FullMethodName = "/tekton.results.v1alpha2.Results/CreateRecord" Results_UpdateRecord_FullMethodName = "/tekton.results.v1alpha2.Results/UpdateRecord" Results_GetRecord_FullMethodName = "/tekton.results.v1alpha2.Results/GetRecord" Results_ListRecords_FullMethodName = "/tekton.results.v1alpha2.Results/ListRecords" Results_DeleteRecord_FullMethodName = "/tekton.results.v1alpha2.Results/DeleteRecord" Results_GetRecordListSummary_FullMethodName = "/tekton.results.v1alpha2.Results/GetRecordListSummary" )
const ( Logs_GetLog_FullMethodName = "/tekton.results.v1alpha2.Logs/GetLog" Logs_ListLogs_FullMethodName = "/tekton.results.v1alpha2.Logs/ListLogs" Logs_UpdateLog_FullMethodName = "/tekton.results.v1alpha2.Logs/UpdateLog" Logs_DeleteLog_FullMethodName = "/tekton.results.v1alpha2.Logs/DeleteLog" )
Variables ¶
var ( RecordSummary_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", 2: "FAILURE", 3: "TIMEOUT", 4: "CANCELLED", } RecordSummary_Status_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, "FAILURE": 2, "TIMEOUT": 3, "CANCELLED": 4, } )
Enum value maps for RecordSummary_Status.
var File_api_proto protoreflect.FileDescriptor
var File_resources_proto protoreflect.FileDescriptor
var Logs_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tekton.results.v1alpha2.Logs", HandlerType: (*LogsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListLogs", Handler: _Logs_ListLogs_Handler, }, { MethodName: "DeleteLog", Handler: _Logs_DeleteLog_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetLog", Handler: _Logs_GetLog_Handler, ServerStreams: true, }, { StreamName: "UpdateLog", Handler: _Logs_UpdateLog_Handler, ClientStreams: true, }, }, Metadata: "api.proto", }
Logs_ServiceDesc is the grpc.ServiceDesc for Logs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Results_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tekton.results.v1alpha2.Results", HandlerType: (*ResultsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateResult", Handler: _Results_CreateResult_Handler, }, { MethodName: "UpdateResult", Handler: _Results_UpdateResult_Handler, }, { MethodName: "GetResult", Handler: _Results_GetResult_Handler, }, { MethodName: "DeleteResult", Handler: _Results_DeleteResult_Handler, }, { MethodName: "ListResults", Handler: _Results_ListResults_Handler, }, { MethodName: "CreateRecord", Handler: _Results_CreateRecord_Handler, }, { MethodName: "UpdateRecord", Handler: _Results_UpdateRecord_Handler, }, { MethodName: "GetRecord", Handler: _Results_GetRecord_Handler, }, { MethodName: "ListRecords", Handler: _Results_ListRecords_Handler, }, { MethodName: "DeleteRecord", Handler: _Results_DeleteRecord_Handler, }, { MethodName: "GetRecordListSummary", Handler: _Results_GetRecordListSummary_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api.proto", }
Results_ServiceDesc is the grpc.ServiceDesc for Results service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLogsHandler ¶ added in v0.5.0
RegisterLogsHandler registers the http handlers for service Logs to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLogsHandlerClient ¶ added in v0.5.0
RegisterLogsHandlerClient registers the http handlers for service Logs to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LogsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LogsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LogsClient" to call the correct interceptors.
func RegisterLogsHandlerFromEndpoint ¶ added in v0.5.0
func RegisterLogsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLogsHandlerFromEndpoint is same as RegisterLogsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLogsHandlerServer ¶ added in v0.5.0
RegisterLogsHandlerServer registers the http handlers for service Logs to "mux". UnaryRPC :call LogsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLogsHandlerFromEndpoint instead.
func RegisterLogsServer ¶ added in v0.5.0
func RegisterLogsServer(s grpc.ServiceRegistrar, srv LogsServer)
func RegisterResultsHandler ¶ added in v0.5.0
func RegisterResultsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterResultsHandler registers the http handlers for service Results to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterResultsHandlerClient ¶ added in v0.5.0
func RegisterResultsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResultsClient) error
RegisterResultsHandlerClient registers the http handlers for service Results to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResultsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResultsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResultsClient" to call the correct interceptors.
func RegisterResultsHandlerFromEndpoint ¶ added in v0.5.0
func RegisterResultsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterResultsHandlerFromEndpoint is same as RegisterResultsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterResultsHandlerServer ¶ added in v0.5.0
func RegisterResultsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResultsServer) error
RegisterResultsHandlerServer registers the http handlers for service Results to "mux". UnaryRPC :call ResultsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterResultsHandlerFromEndpoint instead.
func RegisterResultsServer ¶
func RegisterResultsServer(s grpc.ServiceRegistrar, srv ResultsServer)
Types ¶
type Any ¶ added in v0.3.0
type Any struct { // Unique identifier of the data type stored in value. // This is used as a type hint to determine how to unmarshal value. // Limited to 128 characters. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // JSON-encoded data. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Any represents loosely typed data to be stored within a Record.
func (*Any) Descriptor
deprecated
added in
v0.3.0
func (*Any) ProtoMessage ¶ added in v0.3.0
func (*Any) ProtoMessage()
func (*Any) ProtoReflect ¶ added in v0.3.0
func (x *Any) ProtoReflect() protoreflect.Message
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 DeleteLogRequest ¶ added in v0.5.0
type DeleteLogRequest struct { // Name of the log resource to delete Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteLogRequest) Descriptor
deprecated
added in
v0.5.0
func (*DeleteLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLogRequest.ProtoReflect.Descriptor instead.
func (*DeleteLogRequest) GetName ¶ added in v0.5.0
func (x *DeleteLogRequest) GetName() string
func (*DeleteLogRequest) ProtoMessage ¶ added in v0.5.0
func (*DeleteLogRequest) ProtoMessage()
func (*DeleteLogRequest) ProtoReflect ¶ added in v0.5.0
func (x *DeleteLogRequest) ProtoReflect() protoreflect.Message
func (*DeleteLogRequest) Reset ¶ added in v0.5.0
func (x *DeleteLogRequest) Reset()
func (*DeleteLogRequest) String ¶ added in v0.5.0
func (x *DeleteLogRequest) 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 GetLogRequest ¶ added in v0.5.0
type GetLogRequest struct { // Name of the log resource to stream Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetLogRequest) Descriptor
deprecated
added in
v0.5.0
func (*GetLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogRequest.ProtoReflect.Descriptor instead.
func (*GetLogRequest) GetName ¶ added in v0.5.0
func (x *GetLogRequest) GetName() string
func (*GetLogRequest) ProtoMessage ¶ added in v0.5.0
func (*GetLogRequest) ProtoMessage()
func (*GetLogRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetLogRequest) ProtoReflect() protoreflect.Message
func (*GetLogRequest) Reset ¶ added in v0.5.0
func (x *GetLogRequest) Reset()
func (*GetLogRequest) String ¶ added in v0.5.0
func (x *GetLogRequest) 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"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,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) GetOrderBy ¶ added in v0.2.0
func (x *ListRecordsRequest) GetOrderBy() 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"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,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) GetOrderBy ¶ added in v0.2.0
func (x *ListResultsRequest) GetOrderBy() 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 Log ¶ added in v0.5.0
type Log struct { // Resource name fo the log Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The log data Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Log is a chunk of a log.
func (*Log) Descriptor
deprecated
added in
v0.5.0
func (*Log) ProtoMessage ¶ added in v0.5.0
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶ added in v0.5.0
func (x *Log) ProtoReflect() protoreflect.Message
type LogSummary ¶ added in v0.5.0
type LogSummary struct { // The name of the Record this summary represents. Record string `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // Number of bytes received while streaming BytesReceived int64 `protobuf:"varint,2,opt,name=bytesReceived,proto3" json:"bytesReceived,omitempty"` // contains filtered or unexported fields }
func (*LogSummary) Descriptor
deprecated
added in
v0.5.0
func (*LogSummary) Descriptor() ([]byte, []int)
Deprecated: Use LogSummary.ProtoReflect.Descriptor instead.
func (*LogSummary) GetBytesReceived ¶ added in v0.5.0
func (x *LogSummary) GetBytesReceived() int64
func (*LogSummary) GetRecord ¶ added in v0.5.0
func (x *LogSummary) GetRecord() string
func (*LogSummary) ProtoMessage ¶ added in v0.5.0
func (*LogSummary) ProtoMessage()
func (*LogSummary) ProtoReflect ¶ added in v0.5.0
func (x *LogSummary) ProtoReflect() protoreflect.Message
func (*LogSummary) Reset ¶ added in v0.5.0
func (x *LogSummary) Reset()
func (*LogSummary) String ¶ added in v0.5.0
func (x *LogSummary) String() string
type LogsClient ¶ added in v0.5.0
type LogsClient interface { GetLog(ctx context.Context, in *GetLogRequest, opts ...grpc.CallOption) (Logs_GetLogClient, error) ListLogs(ctx context.Context, in *ListRecordsRequest, opts ...grpc.CallOption) (*ListRecordsResponse, error) UpdateLog(ctx context.Context, opts ...grpc.CallOption) (Logs_UpdateLogClient, error) DeleteLog(ctx context.Context, in *DeleteLogRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
LogsClient is the client API for Logs 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 NewLogsClient ¶ added in v0.5.0
func NewLogsClient(cc grpc.ClientConnInterface) LogsClient
type LogsServer ¶ added in v0.5.0
type LogsServer interface { GetLog(*GetLogRequest, Logs_GetLogServer) error ListLogs(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error) UpdateLog(Logs_UpdateLogServer) error DeleteLog(context.Context, *DeleteLogRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
LogsServer is the server API for Logs service. All implementations must embed UnimplementedLogsServer for forward compatibility
type Logs_GetLogClient ¶ added in v0.5.0
type Logs_GetLogClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Logs_GetLogServer ¶ added in v0.5.0
type Logs_GetLogServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Logs_UpdateLogClient ¶ added in v0.5.0
type Logs_UpdateLogClient interface { Send(*Log) error CloseAndRecv() (*LogSummary, error) grpc.ClientStream }
type Logs_UpdateLogServer ¶ added in v0.5.0
type Logs_UpdateLogServer interface { SendAndClose(*LogSummary) error Recv() (*Log, error) grpc.ServerStream }
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. // DEPRECATED: use uid instead. // // Deprecated: Marked as deprecated in resources.proto. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Server assigned identifier of the Result. Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"` Data *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. // DEPRECATED: use create_time instead. // // Deprecated: Marked as deprecated in resources.proto. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // Server assigned timestamp for when the result was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Server assigned timestamp for when the results was updated. // DEPRECATED: use update_time instead. // // Deprecated: Marked as deprecated in resources.proto. UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` // Server assigned timestamp for when the results was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_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.)
func (*Record) Descriptor
deprecated
func (*Record) GetCreateTime ¶ added in v0.3.0
func (x *Record) GetCreateTime() *timestamppb.Timestamp
func (*Record) GetCreatedTime
deprecated
func (x *Record) GetCreatedTime() *timestamppb.Timestamp
Deprecated: Marked as deprecated in resources.proto.
func (*Record) GetUpdateTime ¶ added in v0.3.0
func (x *Record) GetUpdateTime() *timestamppb.Timestamp
func (*Record) GetUpdatedTime
deprecated
func (x *Record) GetUpdatedTime() *timestamppb.Timestamp
Deprecated: Marked as deprecated in resources.proto.
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type RecordListSummary ¶ added in v0.9.0
type RecordListSummary struct { Summary []*structpb.Struct `protobuf:"bytes,1,rep,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
RecordListSummary is an array of summaries where each summary represents a grouped aggreagtion.
func (*RecordListSummary) Descriptor
deprecated
added in
v0.9.0
func (*RecordListSummary) Descriptor() ([]byte, []int)
Deprecated: Use RecordListSummary.ProtoReflect.Descriptor instead.
func (*RecordListSummary) GetSummary ¶ added in v0.9.0
func (x *RecordListSummary) GetSummary() []*structpb.Struct
func (*RecordListSummary) ProtoMessage ¶ added in v0.9.0
func (*RecordListSummary) ProtoMessage()
func (*RecordListSummary) ProtoReflect ¶ added in v0.9.0
func (x *RecordListSummary) ProtoReflect() protoreflect.Message
func (*RecordListSummary) Reset ¶ added in v0.9.0
func (x *RecordListSummary) Reset()
func (*RecordListSummary) String ¶ added in v0.9.0
func (x *RecordListSummary) String() string
type RecordListSummaryRequest ¶ added in v0.9.0
type RecordListSummaryRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` GroupBy string `protobuf:"bytes,4,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*RecordListSummaryRequest) Descriptor
deprecated
added in
v0.9.0
func (*RecordListSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecordListSummaryRequest.ProtoReflect.Descriptor instead.
func (*RecordListSummaryRequest) GetFilter ¶ added in v0.9.0
func (x *RecordListSummaryRequest) GetFilter() string
func (*RecordListSummaryRequest) GetGroupBy ¶ added in v0.9.0
func (x *RecordListSummaryRequest) GetGroupBy() string
func (*RecordListSummaryRequest) GetOrderBy ¶ added in v0.9.0
func (x *RecordListSummaryRequest) GetOrderBy() string
func (*RecordListSummaryRequest) GetParent ¶ added in v0.9.0
func (x *RecordListSummaryRequest) GetParent() string
func (*RecordListSummaryRequest) GetSummary ¶ added in v0.9.0
func (x *RecordListSummaryRequest) GetSummary() string
func (*RecordListSummaryRequest) ProtoMessage ¶ added in v0.9.0
func (*RecordListSummaryRequest) ProtoMessage()
func (*RecordListSummaryRequest) ProtoReflect ¶ added in v0.9.0
func (x *RecordListSummaryRequest) ProtoReflect() protoreflect.Message
func (*RecordListSummaryRequest) Reset ¶ added in v0.9.0
func (x *RecordListSummaryRequest) Reset()
func (*RecordListSummaryRequest) String ¶ added in v0.9.0
func (x *RecordListSummaryRequest) String() string
type RecordSummary ¶ added in v0.5.0
type RecordSummary struct { // The name of the Record this summary represents. Record string `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // Identifier of underlying data. // e.g. `pipelines.tekton.dev/PipelineRun` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Common Record agnostic fields. StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Completion status of the Record. Status RecordSummary_Status `protobuf:"varint,5,opt,name=status,proto3,enum=tekton.results.v1alpha2.RecordSummary_Status" json:"status,omitempty"` // Key-value pairs representing arbitrary underlying record data that clients want to include // that aren't covered by the above fields. Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
RecordSummary is a high level overview of a Record, typically representing a "root" record for a result. It includes type agnostic information so that UIs and other tools do not need to be aware of underlying types.
func (*RecordSummary) Descriptor
deprecated
added in
v0.5.0
func (*RecordSummary) Descriptor() ([]byte, []int)
Deprecated: Use RecordSummary.ProtoReflect.Descriptor instead.
func (*RecordSummary) GetAnnotations ¶ added in v0.5.0
func (x *RecordSummary) GetAnnotations() map[string]string
func (*RecordSummary) GetEndTime ¶ added in v0.5.0
func (x *RecordSummary) GetEndTime() *timestamppb.Timestamp
func (*RecordSummary) GetRecord ¶ added in v0.5.0
func (x *RecordSummary) GetRecord() string
func (*RecordSummary) GetStartTime ¶ added in v0.5.0
func (x *RecordSummary) GetStartTime() *timestamppb.Timestamp
func (*RecordSummary) GetStatus ¶ added in v0.5.0
func (x *RecordSummary) GetStatus() RecordSummary_Status
func (*RecordSummary) GetType ¶ added in v0.5.0
func (x *RecordSummary) GetType() string
func (*RecordSummary) ProtoMessage ¶ added in v0.5.0
func (*RecordSummary) ProtoMessage()
func (*RecordSummary) ProtoReflect ¶ added in v0.5.0
func (x *RecordSummary) ProtoReflect() protoreflect.Message
func (*RecordSummary) Reset ¶ added in v0.5.0
func (x *RecordSummary) Reset()
func (*RecordSummary) String ¶ added in v0.5.0
func (x *RecordSummary) String() string
type RecordSummary_Status ¶ added in v0.5.0
type RecordSummary_Status int32
const ( RecordSummary_UNKNOWN RecordSummary_Status = 0 RecordSummary_SUCCESS RecordSummary_Status = 1 RecordSummary_FAILURE RecordSummary_Status = 2 RecordSummary_TIMEOUT RecordSummary_Status = 3 RecordSummary_CANCELLED RecordSummary_Status = 4 )
func (RecordSummary_Status) Descriptor ¶ added in v0.5.0
func (RecordSummary_Status) Descriptor() protoreflect.EnumDescriptor
func (RecordSummary_Status) Enum ¶ added in v0.5.0
func (x RecordSummary_Status) Enum() *RecordSummary_Status
func (RecordSummary_Status) EnumDescriptor
deprecated
added in
v0.5.0
func (RecordSummary_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecordSummary_Status.Descriptor instead.
func (RecordSummary_Status) Number ¶ added in v0.5.0
func (x RecordSummary_Status) Number() protoreflect.EnumNumber
func (RecordSummary_Status) String ¶ added in v0.5.0
func (x RecordSummary_Status) String() string
func (RecordSummary_Status) Type ¶ added in v0.5.0
func (RecordSummary_Status) Type() protoreflect.EnumType
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. // DEPRECATED: use uid instead. // // Deprecated: Marked as deprecated in resources.proto. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Server assigned identifier of the Result. Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"` // Server assigned timestamp for when the result was created. // DEPRECATED: use create_time instead. // // Deprecated: Marked as deprecated in resources.proto. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // Server assigned timestamp for when the result was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Server assigned timestamp for when the results was updated. // DEPRECATED: use update_time instead. // // Deprecated: Marked as deprecated in resources.proto. UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` // Server assigned timestamp for when the results was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_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"` // High level overview of the root record for the Result. This is provided // as a convinence for clients to query Record state without needing to make // multiple calls to fetch the underlying Records. Summary *RecordSummary `protobuf:"bytes,10,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetAnnotations ¶
func (*Result) GetCreateTime ¶ added in v0.3.0
func (x *Result) GetCreateTime() *timestamppb.Timestamp
func (*Result) GetCreatedTime
deprecated
func (x *Result) GetCreatedTime() *timestamppb.Timestamp
Deprecated: Marked as deprecated in resources.proto.
func (*Result) GetSummary ¶ added in v0.5.0
func (x *Result) GetSummary() *RecordSummary
func (*Result) GetUpdateTime ¶ added in v0.3.0
func (x *Result) GetUpdateTime() *timestamppb.Timestamp
func (*Result) GetUpdatedTime
deprecated
func (x *Result) GetUpdatedTime() *timestamppb.Timestamp
Deprecated: Marked as deprecated in resources.proto.
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) GetRecordListSummary(ctx context.Context, in *RecordListSummaryRequest, opts ...grpc.CallOption) (*RecordListSummary, 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) GetRecordListSummary(context.Context, *RecordListSummaryRequest) (*RecordListSummary, error) // contains filtered or unexported methods }
ResultsServer is the server API for Results service. All implementations must embed UnimplementedResultsServer for forward compatibility
type UnimplementedLogsServer ¶ added in v0.5.0
type UnimplementedLogsServer struct { }
UnimplementedLogsServer must be embedded to have forward compatible implementations.
func (UnimplementedLogsServer) DeleteLog ¶ added in v0.5.0
func (UnimplementedLogsServer) DeleteLog(context.Context, *DeleteLogRequest) (*emptypb.Empty, error)
func (UnimplementedLogsServer) GetLog ¶ added in v0.5.0
func (UnimplementedLogsServer) GetLog(*GetLogRequest, Logs_GetLogServer) error
func (UnimplementedLogsServer) ListLogs ¶ added in v0.5.0
func (UnimplementedLogsServer) ListLogs(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error)
func (UnimplementedLogsServer) UpdateLog ¶ added in v0.5.0
func (UnimplementedLogsServer) UpdateLog(Logs_UpdateLogServer) error
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) GetRecordListSummary ¶ added in v0.9.0
func (UnimplementedResultsServer) GetRecordListSummary(context.Context, *RecordListSummaryRequest) (*RecordListSummary, 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 UnsafeLogsServer ¶ added in v0.5.0
type UnsafeLogsServer interface {
// contains filtered or unexported methods
}
UnsafeLogsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogsServer will result in compilation errors.
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