datav1

package
v0.0.0-...-7fcfa66 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package datav1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	SummarizeRunsRequest_Interval_name = map[int32]string{
		0: "UNKNOWN",
		1: "HOUR",
		2: "DAY",
		3: "WEEK",
	}
	SummarizeRunsRequest_Interval_value = map[string]int32{
		"UNKNOWN": 0,
		"HOUR":    1,
		"DAY":     2,
		"WEEK":    3,
	}
)

Enum value maps for SummarizeRunsRequest_Interval.

View Source
var DataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tstr.data.v1.DataService",
	HandlerType: (*DataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTest",
			Handler:    _DataService_GetTest_Handler,
		},
		{
			MethodName: "QueryTests",
			Handler:    _DataService_QueryTests_Handler,
		},
		{
			MethodName: "GetRun",
			Handler:    _DataService_GetRun_Handler,
		},
		{
			MethodName: "QueryRuns",
			Handler:    _DataService_QueryRuns_Handler,
		},
		{
			MethodName: "SummarizeRuns",
			Handler:    _DataService_SummarizeRuns_Handler,
		},
		{
			MethodName: "GetRunner",
			Handler:    _DataService_GetRunner_Handler,
		},
		{
			MethodName: "QueryRunners",
			Handler:    _DataService_QueryRunners_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "data/v1/data.proto",
}

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

View Source
var File_data_v1_data_proto protoreflect.FileDescriptor

Functions

func RegisterDataServiceHandler

func RegisterDataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDataServiceHandler registers the http handlers for service DataService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDataServiceHandlerClient

func RegisterDataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DataServiceClient) error

RegisterDataServiceHandlerClient registers the http handlers for service DataService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DataServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DataServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DataServiceClient" to call the correct interceptors.

func RegisterDataServiceHandlerFromEndpoint

func RegisterDataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDataServiceHandlerFromEndpoint is same as RegisterDataServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDataServiceHandlerServer

func RegisterDataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DataServiceServer) error

RegisterDataServiceHandlerServer registers the http handlers for service DataService to "mux". UnaryRPC :call DataServiceServer 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 RegisterDataServiceHandlerFromEndpoint instead.

func RegisterDataServiceServer

func RegisterDataServiceServer(s grpc.ServiceRegistrar, srv DataServiceServer)

Types

type DataServiceClient

type DataServiceClient interface {
	GetTest(ctx context.Context, in *GetTestRequest, opts ...grpc.CallOption) (*GetTestResponse, error)
	QueryTests(ctx context.Context, in *QueryTestsRequest, opts ...grpc.CallOption) (*QueryTestsResponse, error)
	GetRun(ctx context.Context, in *GetRunRequest, opts ...grpc.CallOption) (*GetRunResponse, error)
	QueryRuns(ctx context.Context, in *QueryRunsRequest, opts ...grpc.CallOption) (*QueryRunsResponse, error)
	SummarizeRuns(ctx context.Context, in *SummarizeRunsRequest, opts ...grpc.CallOption) (*SummarizeRunsResponse, error)
	GetRunner(ctx context.Context, in *GetRunnerRequest, opts ...grpc.CallOption) (*GetRunnerResponse, error)
	QueryRunners(ctx context.Context, in *QueryRunnersRequest, opts ...grpc.CallOption) (*QueryRunnersResponse, error)
}

DataServiceClient is the client API for DataService 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.

type DataServiceServer

DataServiceServer is the server API for DataService service. All implementations must embed UnimplementedDataServiceServer for forward compatibility

type GetRunRequest

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

func (*GetRunRequest) Descriptor deprecated

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

Deprecated: Use GetRunRequest.ProtoReflect.Descriptor instead.

func (*GetRunRequest) GetId

func (x *GetRunRequest) GetId() string

func (*GetRunRequest) ProtoMessage

func (*GetRunRequest) ProtoMessage()

func (*GetRunRequest) ProtoReflect

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

func (*GetRunRequest) Reset

func (x *GetRunRequest) Reset()

func (*GetRunRequest) String

func (x *GetRunRequest) String() string

func (*GetRunRequest) Validate

func (m *GetRunRequest) Validate() error

Validate checks the field values on GetRunRequest 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 (*GetRunRequest) ValidateAll

func (m *GetRunRequest) ValidateAll() error

ValidateAll checks the field values on GetRunRequest 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 GetRunRequestMultiError, or nil if none found.

type GetRunRequestMultiError

type GetRunRequestMultiError []error

GetRunRequestMultiError is an error wrapping multiple validation errors returned by GetRunRequest.ValidateAll() if the designated constraints aren't met.

func (GetRunRequestMultiError) AllErrors

func (m GetRunRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRunRequestMultiError) Error

func (m GetRunRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetRunRequestValidationError

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

GetRunRequestValidationError is the validation error returned by GetRunRequest.Validate if the designated constraints aren't met.

func (GetRunRequestValidationError) Cause

Cause function returns cause value.

func (GetRunRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRunRequestValidationError) ErrorName

func (e GetRunRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRunRequestValidationError) Field

Field function returns field value.

func (GetRunRequestValidationError) Key

Key function returns key value.

func (GetRunRequestValidationError) Reason

Reason function returns reason value.

type GetRunResponse

type GetRunResponse struct {
	Run *v1.Run `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRunResponse) Descriptor deprecated

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

Deprecated: Use GetRunResponse.ProtoReflect.Descriptor instead.

func (*GetRunResponse) GetRun

func (x *GetRunResponse) GetRun() *v1.Run

func (*GetRunResponse) ProtoMessage

func (*GetRunResponse) ProtoMessage()

func (*GetRunResponse) ProtoReflect

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

func (*GetRunResponse) Reset

func (x *GetRunResponse) Reset()

func (*GetRunResponse) String

func (x *GetRunResponse) String() string

func (*GetRunResponse) Validate

func (m *GetRunResponse) Validate() error

Validate checks the field values on GetRunResponse 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 (*GetRunResponse) ValidateAll

func (m *GetRunResponse) ValidateAll() error

ValidateAll checks the field values on GetRunResponse 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 GetRunResponseMultiError, or nil if none found.

type GetRunResponseMultiError

type GetRunResponseMultiError []error

GetRunResponseMultiError is an error wrapping multiple validation errors returned by GetRunResponse.ValidateAll() if the designated constraints aren't met.

func (GetRunResponseMultiError) AllErrors

func (m GetRunResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRunResponseMultiError) Error

func (m GetRunResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetRunResponseValidationError

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

GetRunResponseValidationError is the validation error returned by GetRunResponse.Validate if the designated constraints aren't met.

func (GetRunResponseValidationError) Cause

Cause function returns cause value.

func (GetRunResponseValidationError) Error

Error satisfies the builtin error interface

func (GetRunResponseValidationError) ErrorName

func (e GetRunResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetRunResponseValidationError) Field

Field function returns field value.

func (GetRunResponseValidationError) Key

Key function returns key value.

func (GetRunResponseValidationError) Reason

Reason function returns reason value.

type GetRunnerRequest

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

func (*GetRunnerRequest) Descriptor deprecated

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

Deprecated: Use GetRunnerRequest.ProtoReflect.Descriptor instead.

func (*GetRunnerRequest) GetId

func (x *GetRunnerRequest) GetId() string

func (*GetRunnerRequest) ProtoMessage

func (*GetRunnerRequest) ProtoMessage()

func (*GetRunnerRequest) ProtoReflect

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

func (*GetRunnerRequest) Reset

func (x *GetRunnerRequest) Reset()

func (*GetRunnerRequest) String

func (x *GetRunnerRequest) String() string

func (*GetRunnerRequest) Validate

func (m *GetRunnerRequest) Validate() error

Validate checks the field values on GetRunnerRequest 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 (*GetRunnerRequest) ValidateAll

func (m *GetRunnerRequest) ValidateAll() error

ValidateAll checks the field values on GetRunnerRequest 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 GetRunnerRequestMultiError, or nil if none found.

type GetRunnerRequestMultiError

type GetRunnerRequestMultiError []error

GetRunnerRequestMultiError is an error wrapping multiple validation errors returned by GetRunnerRequest.ValidateAll() if the designated constraints aren't met.

func (GetRunnerRequestMultiError) AllErrors

func (m GetRunnerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRunnerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRunnerRequestValidationError

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

GetRunnerRequestValidationError is the validation error returned by GetRunnerRequest.Validate if the designated constraints aren't met.

func (GetRunnerRequestValidationError) Cause

Cause function returns cause value.

func (GetRunnerRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRunnerRequestValidationError) ErrorName

ErrorName returns error name.

func (GetRunnerRequestValidationError) Field

Field function returns field value.

func (GetRunnerRequestValidationError) Key

Key function returns key value.

func (GetRunnerRequestValidationError) Reason

Reason function returns reason value.

type GetRunnerResponse

type GetRunnerResponse struct {
	Runner       *v1.Runner    `protobuf:"bytes,1,opt,name=runner,proto3" json:"runner,omitempty"`
	RunSummaries []*RunSummary `protobuf:"bytes,2,rep,name=run_summaries,json=runSummaries,proto3" json:"run_summaries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRunnerResponse) Descriptor deprecated

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

Deprecated: Use GetRunnerResponse.ProtoReflect.Descriptor instead.

func (*GetRunnerResponse) GetRunSummaries

func (x *GetRunnerResponse) GetRunSummaries() []*RunSummary

func (*GetRunnerResponse) GetRunner

func (x *GetRunnerResponse) GetRunner() *v1.Runner

func (*GetRunnerResponse) ProtoMessage

func (*GetRunnerResponse) ProtoMessage()

func (*GetRunnerResponse) ProtoReflect

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

func (*GetRunnerResponse) Reset

func (x *GetRunnerResponse) Reset()

func (*GetRunnerResponse) String

func (x *GetRunnerResponse) String() string

func (*GetRunnerResponse) Validate

func (m *GetRunnerResponse) Validate() error

Validate checks the field values on GetRunnerResponse 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 (*GetRunnerResponse) ValidateAll

func (m *GetRunnerResponse) ValidateAll() error

ValidateAll checks the field values on GetRunnerResponse 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 GetRunnerResponseMultiError, or nil if none found.

type GetRunnerResponseMultiError

type GetRunnerResponseMultiError []error

GetRunnerResponseMultiError is an error wrapping multiple validation errors returned by GetRunnerResponse.ValidateAll() if the designated constraints aren't met.

func (GetRunnerResponseMultiError) AllErrors

func (m GetRunnerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRunnerResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRunnerResponseValidationError

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

GetRunnerResponseValidationError is the validation error returned by GetRunnerResponse.Validate if the designated constraints aren't met.

func (GetRunnerResponseValidationError) Cause

Cause function returns cause value.

func (GetRunnerResponseValidationError) Error

Error satisfies the builtin error interface

func (GetRunnerResponseValidationError) ErrorName

ErrorName returns error name.

func (GetRunnerResponseValidationError) Field

Field function returns field value.

func (GetRunnerResponseValidationError) Key

Key function returns key value.

func (GetRunnerResponseValidationError) Reason

Reason function returns reason value.

type GetTestRequest

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

func (*GetTestRequest) Descriptor deprecated

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

Deprecated: Use GetTestRequest.ProtoReflect.Descriptor instead.

func (*GetTestRequest) GetId

func (x *GetTestRequest) GetId() string

func (*GetTestRequest) ProtoMessage

func (*GetTestRequest) ProtoMessage()

func (*GetTestRequest) ProtoReflect

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

func (*GetTestRequest) Reset

func (x *GetTestRequest) Reset()

func (*GetTestRequest) String

func (x *GetTestRequest) String() string

func (*GetTestRequest) Validate

func (m *GetTestRequest) Validate() error

Validate checks the field values on GetTestRequest 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 (*GetTestRequest) ValidateAll

func (m *GetTestRequest) ValidateAll() error

ValidateAll checks the field values on GetTestRequest 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 GetTestRequestMultiError, or nil if none found.

type GetTestRequestMultiError

type GetTestRequestMultiError []error

GetTestRequestMultiError is an error wrapping multiple validation errors returned by GetTestRequest.ValidateAll() if the designated constraints aren't met.

func (GetTestRequestMultiError) AllErrors

func (m GetTestRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTestRequestMultiError) Error

func (m GetTestRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetTestRequestValidationError

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

GetTestRequestValidationError is the validation error returned by GetTestRequest.Validate if the designated constraints aren't met.

func (GetTestRequestValidationError) Cause

Cause function returns cause value.

func (GetTestRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTestRequestValidationError) ErrorName

func (e GetTestRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetTestRequestValidationError) Field

Field function returns field value.

func (GetTestRequestValidationError) Key

Key function returns key value.

func (GetTestRequestValidationError) Reason

Reason function returns reason value.

type GetTestResponse

type GetTestResponse struct {
	Test         *v1.Test      `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"`
	RunSummaries []*RunSummary `protobuf:"bytes,2,rep,name=run_summaries,json=runSummaries,proto3" json:"run_summaries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTestResponse) Descriptor deprecated

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

Deprecated: Use GetTestResponse.ProtoReflect.Descriptor instead.

func (*GetTestResponse) GetRunSummaries

func (x *GetTestResponse) GetRunSummaries() []*RunSummary

func (*GetTestResponse) GetTest

func (x *GetTestResponse) GetTest() *v1.Test

func (*GetTestResponse) ProtoMessage

func (*GetTestResponse) ProtoMessage()

func (*GetTestResponse) ProtoReflect

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

func (*GetTestResponse) Reset

func (x *GetTestResponse) Reset()

func (*GetTestResponse) String

func (x *GetTestResponse) String() string

func (*GetTestResponse) Validate

func (m *GetTestResponse) Validate() error

Validate checks the field values on GetTestResponse 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 (*GetTestResponse) ValidateAll

func (m *GetTestResponse) ValidateAll() error

ValidateAll checks the field values on GetTestResponse 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 GetTestResponseMultiError, or nil if none found.

type GetTestResponseMultiError

type GetTestResponseMultiError []error

GetTestResponseMultiError is an error wrapping multiple validation errors returned by GetTestResponse.ValidateAll() if the designated constraints aren't met.

func (GetTestResponseMultiError) AllErrors

func (m GetTestResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTestResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetTestResponseValidationError

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

GetTestResponseValidationError is the validation error returned by GetTestResponse.Validate if the designated constraints aren't met.

func (GetTestResponseValidationError) Cause

Cause function returns cause value.

func (GetTestResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTestResponseValidationError) ErrorName

func (e GetTestResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetTestResponseValidationError) Field

Field function returns field value.

func (GetTestResponseValidationError) Key

Key function returns key value.

func (GetTestResponseValidationError) Reason

Reason function returns reason value.

type ListNamespacesRequest

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

func (*ListNamespacesRequest) Descriptor deprecated

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

Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.

func (*ListNamespacesRequest) ProtoMessage

func (*ListNamespacesRequest) ProtoMessage()

func (*ListNamespacesRequest) ProtoReflect

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

func (*ListNamespacesRequest) Reset

func (x *ListNamespacesRequest) Reset()

func (*ListNamespacesRequest) String

func (x *ListNamespacesRequest) String() string

func (*ListNamespacesRequest) Validate

func (m *ListNamespacesRequest) Validate() error

Validate checks the field values on ListNamespacesRequest 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 (*ListNamespacesRequest) ValidateAll

func (m *ListNamespacesRequest) ValidateAll() error

ValidateAll checks the field values on ListNamespacesRequest 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 ListNamespacesRequestMultiError, or nil if none found.

type ListNamespacesRequestMultiError

type ListNamespacesRequestMultiError []error

ListNamespacesRequestMultiError is an error wrapping multiple validation errors returned by ListNamespacesRequest.ValidateAll() if the designated constraints aren't met.

func (ListNamespacesRequestMultiError) AllErrors

func (m ListNamespacesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNamespacesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListNamespacesRequestValidationError

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

ListNamespacesRequestValidationError is the validation error returned by ListNamespacesRequest.Validate if the designated constraints aren't met.

func (ListNamespacesRequestValidationError) Cause

Cause function returns cause value.

func (ListNamespacesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListNamespacesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListNamespacesRequestValidationError) Field

Field function returns field value.

func (ListNamespacesRequestValidationError) Key

Key function returns key value.

func (ListNamespacesRequestValidationError) Reason

Reason function returns reason value.

type ListNamespacesResponse

type ListNamespacesResponse struct {
	Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespacesResponse) Descriptor deprecated

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

Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.

func (*ListNamespacesResponse) GetNamespaces

func (x *ListNamespacesResponse) GetNamespaces() []string

func (*ListNamespacesResponse) ProtoMessage

func (*ListNamespacesResponse) ProtoMessage()

func (*ListNamespacesResponse) ProtoReflect

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

func (*ListNamespacesResponse) Reset

func (x *ListNamespacesResponse) Reset()

func (*ListNamespacesResponse) String

func (x *ListNamespacesResponse) String() string

func (*ListNamespacesResponse) Validate

func (m *ListNamespacesResponse) Validate() error

Validate checks the field values on ListNamespacesResponse 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 (*ListNamespacesResponse) ValidateAll

func (m *ListNamespacesResponse) ValidateAll() error

ValidateAll checks the field values on ListNamespacesResponse 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 ListNamespacesResponseMultiError, or nil if none found.

type ListNamespacesResponseMultiError

type ListNamespacesResponseMultiError []error

ListNamespacesResponseMultiError is an error wrapping multiple validation errors returned by ListNamespacesResponse.ValidateAll() if the designated constraints aren't met.

func (ListNamespacesResponseMultiError) AllErrors

func (m ListNamespacesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNamespacesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListNamespacesResponseValidationError

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

ListNamespacesResponseValidationError is the validation error returned by ListNamespacesResponse.Validate if the designated constraints aren't met.

func (ListNamespacesResponseValidationError) Cause

Cause function returns cause value.

func (ListNamespacesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListNamespacesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListNamespacesResponseValidationError) Field

Field function returns field value.

func (ListNamespacesResponseValidationError) Key

Key function returns key value.

func (ListNamespacesResponseValidationError) Reason

Reason function returns reason value.

type QueryRunnersRequest

type QueryRunnersRequest struct {
	Ids                 []string             `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	LastHeartbeatWithin *durationpb.Duration `protobuf:"bytes,2,opt,name=last_heartbeat_within,json=lastHeartbeatWithin,proto3" json:"last_heartbeat_within,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRunnersRequest) Descriptor deprecated

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

Deprecated: Use QueryRunnersRequest.ProtoReflect.Descriptor instead.

func (*QueryRunnersRequest) GetIds

func (x *QueryRunnersRequest) GetIds() []string

func (*QueryRunnersRequest) GetLastHeartbeatWithin

func (x *QueryRunnersRequest) GetLastHeartbeatWithin() *durationpb.Duration

func (*QueryRunnersRequest) ProtoMessage

func (*QueryRunnersRequest) ProtoMessage()

func (*QueryRunnersRequest) ProtoReflect

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

func (*QueryRunnersRequest) Reset

func (x *QueryRunnersRequest) Reset()

func (*QueryRunnersRequest) String

func (x *QueryRunnersRequest) String() string

func (*QueryRunnersRequest) Validate

func (m *QueryRunnersRequest) Validate() error

Validate checks the field values on QueryRunnersRequest 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 (*QueryRunnersRequest) ValidateAll

func (m *QueryRunnersRequest) ValidateAll() error

ValidateAll checks the field values on QueryRunnersRequest 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 QueryRunnersRequestMultiError, or nil if none found.

type QueryRunnersRequestMultiError

type QueryRunnersRequestMultiError []error

QueryRunnersRequestMultiError is an error wrapping multiple validation errors returned by QueryRunnersRequest.ValidateAll() if the designated constraints aren't met.

func (QueryRunnersRequestMultiError) AllErrors

func (m QueryRunnersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryRunnersRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryRunnersRequestValidationError

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

QueryRunnersRequestValidationError is the validation error returned by QueryRunnersRequest.Validate if the designated constraints aren't met.

func (QueryRunnersRequestValidationError) Cause

Cause function returns cause value.

func (QueryRunnersRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryRunnersRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryRunnersRequestValidationError) Field

Field function returns field value.

func (QueryRunnersRequestValidationError) Key

Key function returns key value.

func (QueryRunnersRequestValidationError) Reason

Reason function returns reason value.

type QueryRunnersResponse

type QueryRunnersResponse struct {
	Runners []*v1.Runner `protobuf:"bytes,1,rep,name=runners,proto3" json:"runners,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRunnersResponse) Descriptor deprecated

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

Deprecated: Use QueryRunnersResponse.ProtoReflect.Descriptor instead.

func (*QueryRunnersResponse) GetRunners

func (x *QueryRunnersResponse) GetRunners() []*v1.Runner

func (*QueryRunnersResponse) ProtoMessage

func (*QueryRunnersResponse) ProtoMessage()

func (*QueryRunnersResponse) ProtoReflect

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

func (*QueryRunnersResponse) Reset

func (x *QueryRunnersResponse) Reset()

func (*QueryRunnersResponse) String

func (x *QueryRunnersResponse) String() string

func (*QueryRunnersResponse) Validate

func (m *QueryRunnersResponse) Validate() error

Validate checks the field values on QueryRunnersResponse 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 (*QueryRunnersResponse) ValidateAll

func (m *QueryRunnersResponse) ValidateAll() error

ValidateAll checks the field values on QueryRunnersResponse 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 QueryRunnersResponseMultiError, or nil if none found.

type QueryRunnersResponseMultiError

type QueryRunnersResponseMultiError []error

QueryRunnersResponseMultiError is an error wrapping multiple validation errors returned by QueryRunnersResponse.ValidateAll() if the designated constraints aren't met.

func (QueryRunnersResponseMultiError) AllErrors

func (m QueryRunnersResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryRunnersResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryRunnersResponseValidationError

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

QueryRunnersResponseValidationError is the validation error returned by QueryRunnersResponse.Validate if the designated constraints aren't met.

func (QueryRunnersResponseValidationError) Cause

Cause function returns cause value.

func (QueryRunnersResponseValidationError) Error

Error satisfies the builtin error interface

func (QueryRunnersResponseValidationError) ErrorName

ErrorName returns error name.

func (QueryRunnersResponseValidationError) Field

Field function returns field value.

func (QueryRunnersResponseValidationError) Key

Key function returns key value.

func (QueryRunnersResponseValidationError) Reason

Reason function returns reason value.

type QueryRunsRequest

type QueryRunsRequest struct {
	Ids             []string               `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	TestIds         []string               `protobuf:"bytes,2,rep,name=test_ids,json=testIds,proto3" json:"test_ids,omitempty"`
	RunnerIds       []string               `protobuf:"bytes,3,rep,name=runner_ids,json=runnerIds,proto3" json:"runner_ids,omitempty"`
	Results         []v1.Run_Result        `protobuf:"varint,4,rep,packed,name=results,proto3,enum=tstr.common.v1.Run_Result" json:"results,omitempty"`
	ScheduledBefore *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=scheduled_before,json=scheduledBefore,proto3" json:"scheduled_before,omitempty"`
	ScheduledAfter  *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=scheduled_after,json=scheduledAfter,proto3" json:"scheduled_after,omitempty"`
	StartedBefore   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started_before,json=startedBefore,proto3" json:"started_before,omitempty"`
	StartedAfter    *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=started_after,json=startedAfter,proto3" json:"started_after,omitempty"`
	FinishedBefore  *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=finished_before,json=finishedBefore,proto3" json:"finished_before,omitempty"`
	FinishedAfter   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=finished_after,json=finishedAfter,proto3" json:"finished_after,omitempty"`
	IncludeLogs     bool                   `protobuf:"varint,11,opt,name=include_logs,json=includeLogs,proto3" json:"include_logs,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRunsRequest) Descriptor deprecated

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

Deprecated: Use QueryRunsRequest.ProtoReflect.Descriptor instead.

func (*QueryRunsRequest) GetFinishedAfter

func (x *QueryRunsRequest) GetFinishedAfter() *timestamppb.Timestamp

func (*QueryRunsRequest) GetFinishedBefore

func (x *QueryRunsRequest) GetFinishedBefore() *timestamppb.Timestamp

func (*QueryRunsRequest) GetIds

func (x *QueryRunsRequest) GetIds() []string

func (*QueryRunsRequest) GetIncludeLogs

func (x *QueryRunsRequest) GetIncludeLogs() bool

func (*QueryRunsRequest) GetResults

func (x *QueryRunsRequest) GetResults() []v1.Run_Result

func (*QueryRunsRequest) GetRunnerIds

func (x *QueryRunsRequest) GetRunnerIds() []string

func (*QueryRunsRequest) GetScheduledAfter

func (x *QueryRunsRequest) GetScheduledAfter() *timestamppb.Timestamp

func (*QueryRunsRequest) GetScheduledBefore

func (x *QueryRunsRequest) GetScheduledBefore() *timestamppb.Timestamp

func (*QueryRunsRequest) GetStartedAfter

func (x *QueryRunsRequest) GetStartedAfter() *timestamppb.Timestamp

func (*QueryRunsRequest) GetStartedBefore

func (x *QueryRunsRequest) GetStartedBefore() *timestamppb.Timestamp

func (*QueryRunsRequest) GetTestIds

func (x *QueryRunsRequest) GetTestIds() []string

func (*QueryRunsRequest) ProtoMessage

func (*QueryRunsRequest) ProtoMessage()

func (*QueryRunsRequest) ProtoReflect

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

func (*QueryRunsRequest) Reset

func (x *QueryRunsRequest) Reset()

func (*QueryRunsRequest) String

func (x *QueryRunsRequest) String() string

func (*QueryRunsRequest) Validate

func (m *QueryRunsRequest) Validate() error

Validate checks the field values on QueryRunsRequest 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 (*QueryRunsRequest) ValidateAll

func (m *QueryRunsRequest) ValidateAll() error

ValidateAll checks the field values on QueryRunsRequest 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 QueryRunsRequestMultiError, or nil if none found.

type QueryRunsRequestMultiError

type QueryRunsRequestMultiError []error

QueryRunsRequestMultiError is an error wrapping multiple validation errors returned by QueryRunsRequest.ValidateAll() if the designated constraints aren't met.

func (QueryRunsRequestMultiError) AllErrors

func (m QueryRunsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryRunsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryRunsRequestValidationError

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

QueryRunsRequestValidationError is the validation error returned by QueryRunsRequest.Validate if the designated constraints aren't met.

func (QueryRunsRequestValidationError) Cause

Cause function returns cause value.

func (QueryRunsRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryRunsRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryRunsRequestValidationError) Field

Field function returns field value.

func (QueryRunsRequestValidationError) Key

Key function returns key value.

func (QueryRunsRequestValidationError) Reason

Reason function returns reason value.

type QueryRunsResponse

type QueryRunsResponse struct {
	Runs []*v1.Run `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRunsResponse) Descriptor deprecated

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

Deprecated: Use QueryRunsResponse.ProtoReflect.Descriptor instead.

func (*QueryRunsResponse) GetRuns

func (x *QueryRunsResponse) GetRuns() []*v1.Run

func (*QueryRunsResponse) ProtoMessage

func (*QueryRunsResponse) ProtoMessage()

func (*QueryRunsResponse) ProtoReflect

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

func (*QueryRunsResponse) Reset

func (x *QueryRunsResponse) Reset()

func (*QueryRunsResponse) String

func (x *QueryRunsResponse) String() string

func (*QueryRunsResponse) Validate

func (m *QueryRunsResponse) Validate() error

Validate checks the field values on QueryRunsResponse 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 (*QueryRunsResponse) ValidateAll

func (m *QueryRunsResponse) ValidateAll() error

ValidateAll checks the field values on QueryRunsResponse 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 QueryRunsResponseMultiError, or nil if none found.

type QueryRunsResponseMultiError

type QueryRunsResponseMultiError []error

QueryRunsResponseMultiError is an error wrapping multiple validation errors returned by QueryRunsResponse.ValidateAll() if the designated constraints aren't met.

func (QueryRunsResponseMultiError) AllErrors

func (m QueryRunsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryRunsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryRunsResponseValidationError

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

QueryRunsResponseValidationError is the validation error returned by QueryRunsResponse.Validate if the designated constraints aren't met.

func (QueryRunsResponseValidationError) Cause

Cause function returns cause value.

func (QueryRunsResponseValidationError) Error

Error satisfies the builtin error interface

func (QueryRunsResponseValidationError) ErrorName

ErrorName returns error name.

func (QueryRunsResponseValidationError) Field

Field function returns field value.

func (QueryRunsResponseValidationError) Key

Key function returns key value.

func (QueryRunsResponseValidationError) Reason

Reason function returns reason value.

type QueryTestsRequest

type QueryTestsRequest struct {
	Ids          []string          `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	TestSuiteIds []string          `protobuf:"bytes,2,rep,name=test_suite_ids,json=testSuiteIds,proto3" json:"test_suite_ids,omitempty"`
	Labels       map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryTestsRequest) Descriptor deprecated

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

Deprecated: Use QueryTestsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestsRequest) GetIds

func (x *QueryTestsRequest) GetIds() []string

func (*QueryTestsRequest) GetLabels

func (x *QueryTestsRequest) GetLabels() map[string]string

func (*QueryTestsRequest) GetTestSuiteIds

func (x *QueryTestsRequest) GetTestSuiteIds() []string

func (*QueryTestsRequest) ProtoMessage

func (*QueryTestsRequest) ProtoMessage()

func (*QueryTestsRequest) ProtoReflect

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

func (*QueryTestsRequest) Reset

func (x *QueryTestsRequest) Reset()

func (*QueryTestsRequest) String

func (x *QueryTestsRequest) String() string

func (*QueryTestsRequest) Validate

func (m *QueryTestsRequest) Validate() error

Validate checks the field values on QueryTestsRequest 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 (*QueryTestsRequest) ValidateAll

func (m *QueryTestsRequest) ValidateAll() error

ValidateAll checks the field values on QueryTestsRequest 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 QueryTestsRequestMultiError, or nil if none found.

type QueryTestsRequestMultiError

type QueryTestsRequestMultiError []error

QueryTestsRequestMultiError is an error wrapping multiple validation errors returned by QueryTestsRequest.ValidateAll() if the designated constraints aren't met.

func (QueryTestsRequestMultiError) AllErrors

func (m QueryTestsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryTestsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryTestsRequestValidationError

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

QueryTestsRequestValidationError is the validation error returned by QueryTestsRequest.Validate if the designated constraints aren't met.

func (QueryTestsRequestValidationError) Cause

Cause function returns cause value.

func (QueryTestsRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryTestsRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryTestsRequestValidationError) Field

Field function returns field value.

func (QueryTestsRequestValidationError) Key

Key function returns key value.

func (QueryTestsRequestValidationError) Reason

Reason function returns reason value.

type QueryTestsResponse

type QueryTestsResponse struct {
	Tests []*v1.Test `protobuf:"bytes,1,rep,name=tests,proto3" json:"tests,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryTestsResponse) Descriptor deprecated

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

Deprecated: Use QueryTestsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestsResponse) GetTests

func (x *QueryTestsResponse) GetTests() []*v1.Test

func (*QueryTestsResponse) ProtoMessage

func (*QueryTestsResponse) ProtoMessage()

func (*QueryTestsResponse) ProtoReflect

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

func (*QueryTestsResponse) Reset

func (x *QueryTestsResponse) Reset()

func (*QueryTestsResponse) String

func (x *QueryTestsResponse) String() string

func (*QueryTestsResponse) Validate

func (m *QueryTestsResponse) Validate() error

Validate checks the field values on QueryTestsResponse 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 (*QueryTestsResponse) ValidateAll

func (m *QueryTestsResponse) ValidateAll() error

ValidateAll checks the field values on QueryTestsResponse 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 QueryTestsResponseMultiError, or nil if none found.

type QueryTestsResponseMultiError

type QueryTestsResponseMultiError []error

QueryTestsResponseMultiError is an error wrapping multiple validation errors returned by QueryTestsResponse.ValidateAll() if the designated constraints aren't met.

func (QueryTestsResponseMultiError) AllErrors

func (m QueryTestsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryTestsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type QueryTestsResponseValidationError

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

QueryTestsResponseValidationError is the validation error returned by QueryTestsResponse.Validate if the designated constraints aren't met.

func (QueryTestsResponseValidationError) Cause

Cause function returns cause value.

func (QueryTestsResponseValidationError) Error

Error satisfies the builtin error interface

func (QueryTestsResponseValidationError) ErrorName

ErrorName returns error name.

func (QueryTestsResponseValidationError) Field

Field function returns field value.

func (QueryTestsResponseValidationError) Key

Key function returns key value.

func (QueryTestsResponseValidationError) Reason

Reason function returns reason value.

type RunSummary

type RunSummary struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TestId        string                 `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	TestName      string                 `protobuf:"bytes,3,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"`
	TestRunConfig *v1.Test_RunConfig     `protobuf:"bytes,4,opt,name=test_run_config,json=testRunConfig,proto3" json:"test_run_config,omitempty"`
	Labels        map[string]string      `` /* 153-byte string literal not displayed */
	RunnerId      string                 `protobuf:"bytes,6,opt,name=runner_id,json=runnerId,proto3" json:"runner_id,omitempty"`
	Result        v1.Run_Result          `protobuf:"varint,7,opt,name=result,proto3,enum=tstr.common.v1.Run_Result" json:"result,omitempty"`
	ResultData    map[string]string      `` /* 179-byte string literal not displayed */
	ScheduledAt   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"`
	StartedAt     *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FinishedAt    *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RunSummary) Descriptor deprecated

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

Deprecated: Use RunSummary.ProtoReflect.Descriptor instead.

func (*RunSummary) GetFinishedAt

func (x *RunSummary) GetFinishedAt() *timestamppb.Timestamp

func (*RunSummary) GetId

func (x *RunSummary) GetId() string

func (*RunSummary) GetLabels

func (x *RunSummary) GetLabels() map[string]string

func (*RunSummary) GetResult

func (x *RunSummary) GetResult() v1.Run_Result

func (*RunSummary) GetResultData

func (x *RunSummary) GetResultData() map[string]string

func (*RunSummary) GetRunnerId

func (x *RunSummary) GetRunnerId() string

func (*RunSummary) GetScheduledAt

func (x *RunSummary) GetScheduledAt() *timestamppb.Timestamp

func (*RunSummary) GetStartedAt

func (x *RunSummary) GetStartedAt() *timestamppb.Timestamp

func (*RunSummary) GetTestId

func (x *RunSummary) GetTestId() string

func (*RunSummary) GetTestName

func (x *RunSummary) GetTestName() string

func (*RunSummary) GetTestRunConfig

func (x *RunSummary) GetTestRunConfig() *v1.Test_RunConfig

func (*RunSummary) ProtoMessage

func (*RunSummary) ProtoMessage()

func (*RunSummary) ProtoReflect

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

func (*RunSummary) Reset

func (x *RunSummary) Reset()

func (*RunSummary) String

func (x *RunSummary) String() string

func (*RunSummary) Validate

func (m *RunSummary) Validate() error

Validate checks the field values on RunSummary 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 (*RunSummary) ValidateAll

func (m *RunSummary) ValidateAll() error

ValidateAll checks the field values on RunSummary 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 RunSummaryMultiError, or nil if none found.

type RunSummaryMultiError

type RunSummaryMultiError []error

RunSummaryMultiError is an error wrapping multiple validation errors returned by RunSummary.ValidateAll() if the designated constraints aren't met.

func (RunSummaryMultiError) AllErrors

func (m RunSummaryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunSummaryMultiError) Error

func (m RunSummaryMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RunSummaryValidationError

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

RunSummaryValidationError is the validation error returned by RunSummary.Validate if the designated constraints aren't met.

func (RunSummaryValidationError) Cause

func (e RunSummaryValidationError) Cause() error

Cause function returns cause value.

func (RunSummaryValidationError) Error

Error satisfies the builtin error interface

func (RunSummaryValidationError) ErrorName

func (e RunSummaryValidationError) ErrorName() string

ErrorName returns error name.

func (RunSummaryValidationError) Field

Field function returns field value.

func (RunSummaryValidationError) Key

Key function returns key value.

func (RunSummaryValidationError) Reason

func (e RunSummaryValidationError) Reason() string

Reason function returns reason value.

type SummarizeRunsRequest

type SummarizeRunsRequest struct {
	ScheduledAfter *timestamppb.Timestamp        `protobuf:"bytes,1,opt,name=scheduled_after,json=scheduledAfter,proto3" json:"scheduled_after,omitempty"`
	Window         *durationpb.Duration          `protobuf:"bytes,2,opt,name=window,proto3" json:"window,omitempty"`
	Interval       SummarizeRunsRequest_Interval `protobuf:"varint,3,opt,name=interval,proto3,enum=tstr.data.v1.SummarizeRunsRequest_Interval" json:"interval,omitempty"`
	TestIds        []string                      `protobuf:"bytes,4,rep,name=test_ids,json=testIds,proto3" json:"test_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*SummarizeRunsRequest) Descriptor deprecated

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

Deprecated: Use SummarizeRunsRequest.ProtoReflect.Descriptor instead.

func (*SummarizeRunsRequest) GetInterval

func (*SummarizeRunsRequest) GetScheduledAfter

func (x *SummarizeRunsRequest) GetScheduledAfter() *timestamppb.Timestamp

func (*SummarizeRunsRequest) GetTestIds

func (x *SummarizeRunsRequest) GetTestIds() []string

func (*SummarizeRunsRequest) GetWindow

func (x *SummarizeRunsRequest) GetWindow() *durationpb.Duration

func (*SummarizeRunsRequest) ProtoMessage

func (*SummarizeRunsRequest) ProtoMessage()

func (*SummarizeRunsRequest) ProtoReflect

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

func (*SummarizeRunsRequest) Reset

func (x *SummarizeRunsRequest) Reset()

func (*SummarizeRunsRequest) String

func (x *SummarizeRunsRequest) String() string

func (*SummarizeRunsRequest) Validate

func (m *SummarizeRunsRequest) Validate() error

Validate checks the field values on SummarizeRunsRequest 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 (*SummarizeRunsRequest) ValidateAll

func (m *SummarizeRunsRequest) ValidateAll() error

ValidateAll checks the field values on SummarizeRunsRequest 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 SummarizeRunsRequestMultiError, or nil if none found.

type SummarizeRunsRequestMultiError

type SummarizeRunsRequestMultiError []error

SummarizeRunsRequestMultiError is an error wrapping multiple validation errors returned by SummarizeRunsRequest.ValidateAll() if the designated constraints aren't met.

func (SummarizeRunsRequestMultiError) AllErrors

func (m SummarizeRunsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SummarizeRunsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SummarizeRunsRequestValidationError

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

SummarizeRunsRequestValidationError is the validation error returned by SummarizeRunsRequest.Validate if the designated constraints aren't met.

func (SummarizeRunsRequestValidationError) Cause

Cause function returns cause value.

func (SummarizeRunsRequestValidationError) Error

Error satisfies the builtin error interface

func (SummarizeRunsRequestValidationError) ErrorName

ErrorName returns error name.

func (SummarizeRunsRequestValidationError) Field

Field function returns field value.

func (SummarizeRunsRequestValidationError) Key

Key function returns key value.

func (SummarizeRunsRequestValidationError) Reason

Reason function returns reason value.

type SummarizeRunsRequest_Interval

type SummarizeRunsRequest_Interval int32
const (
	SummarizeRunsRequest_UNKNOWN SummarizeRunsRequest_Interval = 0
	SummarizeRunsRequest_HOUR    SummarizeRunsRequest_Interval = 1
	SummarizeRunsRequest_DAY     SummarizeRunsRequest_Interval = 2
	SummarizeRunsRequest_WEEK    SummarizeRunsRequest_Interval = 3
)

func (SummarizeRunsRequest_Interval) Descriptor

func (SummarizeRunsRequest_Interval) Enum

func (SummarizeRunsRequest_Interval) EnumDescriptor deprecated

func (SummarizeRunsRequest_Interval) EnumDescriptor() ([]byte, []int)

Deprecated: Use SummarizeRunsRequest_Interval.Descriptor instead.

func (SummarizeRunsRequest_Interval) Number

func (SummarizeRunsRequest_Interval) String

func (SummarizeRunsRequest_Interval) Type

type SummarizeRunsResponse

type SummarizeRunsResponse struct {
	IntervalStats []*SummarizeRunsResponse_IntervalStats `protobuf:"bytes,1,rep,name=interval_stats,json=intervalStats,proto3" json:"interval_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*SummarizeRunsResponse) Descriptor deprecated

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

Deprecated: Use SummarizeRunsResponse.ProtoReflect.Descriptor instead.

func (*SummarizeRunsResponse) GetIntervalStats

func (*SummarizeRunsResponse) ProtoMessage

func (*SummarizeRunsResponse) ProtoMessage()

func (*SummarizeRunsResponse) ProtoReflect

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

func (*SummarizeRunsResponse) Reset

func (x *SummarizeRunsResponse) Reset()

func (*SummarizeRunsResponse) String

func (x *SummarizeRunsResponse) String() string

func (*SummarizeRunsResponse) Validate

func (m *SummarizeRunsResponse) Validate() error

Validate checks the field values on SummarizeRunsResponse 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 (*SummarizeRunsResponse) ValidateAll

func (m *SummarizeRunsResponse) ValidateAll() error

ValidateAll checks the field values on SummarizeRunsResponse 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 SummarizeRunsResponseMultiError, or nil if none found.

type SummarizeRunsResponseMultiError

type SummarizeRunsResponseMultiError []error

SummarizeRunsResponseMultiError is an error wrapping multiple validation errors returned by SummarizeRunsResponse.ValidateAll() if the designated constraints aren't met.

func (SummarizeRunsResponseMultiError) AllErrors

func (m SummarizeRunsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SummarizeRunsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SummarizeRunsResponseValidationError

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

SummarizeRunsResponseValidationError is the validation error returned by SummarizeRunsResponse.Validate if the designated constraints aren't met.

func (SummarizeRunsResponseValidationError) Cause

Cause function returns cause value.

func (SummarizeRunsResponseValidationError) Error

Error satisfies the builtin error interface

func (SummarizeRunsResponseValidationError) ErrorName

ErrorName returns error name.

func (SummarizeRunsResponseValidationError) Field

Field function returns field value.

func (SummarizeRunsResponseValidationError) Key

Key function returns key value.

func (SummarizeRunsResponseValidationError) Reason

Reason function returns reason value.

type SummarizeRunsResponse_IntervalStats

type SummarizeRunsResponse_IntervalStats struct {
	StartTime   *timestamppb.Timestamp                                 `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	Duration    *durationpb.Duration                                   `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	ResultCount []*SummarizeRunsResponse_IntervalStats_ResultBreakdown `protobuf:"bytes,3,rep,name=result_count,json=resultCount,proto3" json:"result_count,omitempty"`
	TestCount   []*SummarizeRunsResponse_IntervalStats_TestBreakdown   `protobuf:"bytes,4,rep,name=test_count,json=testCount,proto3" json:"test_count,omitempty"`
	// contains filtered or unexported fields
}

func (*SummarizeRunsResponse_IntervalStats) Descriptor deprecated

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

Deprecated: Use SummarizeRunsResponse_IntervalStats.ProtoReflect.Descriptor instead.

func (*SummarizeRunsResponse_IntervalStats) GetDuration

func (*SummarizeRunsResponse_IntervalStats) GetResultCount

func (*SummarizeRunsResponse_IntervalStats) GetStartTime

func (*SummarizeRunsResponse_IntervalStats) GetTestCount

func (*SummarizeRunsResponse_IntervalStats) ProtoMessage

func (*SummarizeRunsResponse_IntervalStats) ProtoMessage()

func (*SummarizeRunsResponse_IntervalStats) ProtoReflect

func (*SummarizeRunsResponse_IntervalStats) Reset

func (*SummarizeRunsResponse_IntervalStats) String

func (*SummarizeRunsResponse_IntervalStats) Validate

Validate checks the field values on SummarizeRunsResponse_IntervalStats 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 (*SummarizeRunsResponse_IntervalStats) ValidateAll

func (m *SummarizeRunsResponse_IntervalStats) ValidateAll() error

ValidateAll checks the field values on SummarizeRunsResponse_IntervalStats 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 SummarizeRunsResponse_IntervalStatsMultiError, or nil if none found.

type SummarizeRunsResponse_IntervalStatsMultiError

type SummarizeRunsResponse_IntervalStatsMultiError []error

SummarizeRunsResponse_IntervalStatsMultiError is an error wrapping multiple validation errors returned by SummarizeRunsResponse_IntervalStats.ValidateAll() if the designated constraints aren't met.

func (SummarizeRunsResponse_IntervalStatsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SummarizeRunsResponse_IntervalStatsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SummarizeRunsResponse_IntervalStatsValidationError

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

SummarizeRunsResponse_IntervalStatsValidationError is the validation error returned by SummarizeRunsResponse_IntervalStats.Validate if the designated constraints aren't met.

func (SummarizeRunsResponse_IntervalStatsValidationError) Cause

Cause function returns cause value.

func (SummarizeRunsResponse_IntervalStatsValidationError) Error

Error satisfies the builtin error interface

func (SummarizeRunsResponse_IntervalStatsValidationError) ErrorName

ErrorName returns error name.

func (SummarizeRunsResponse_IntervalStatsValidationError) Field

Field function returns field value.

func (SummarizeRunsResponse_IntervalStatsValidationError) Key

Key function returns key value.

func (SummarizeRunsResponse_IntervalStatsValidationError) Reason

Reason function returns reason value.

type SummarizeRunsResponse_IntervalStats_ResultBreakdown

type SummarizeRunsResponse_IntervalStats_ResultBreakdown struct {
	Result v1.Run_Result `protobuf:"varint,1,opt,name=result,proto3,enum=tstr.common.v1.Run_Result" json:"result,omitempty"`
	Count  uint32        `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) Descriptor deprecated

Deprecated: Use SummarizeRunsResponse_IntervalStats_ResultBreakdown.ProtoReflect.Descriptor instead.

func (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) GetCount

func (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) GetResult

func (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) ProtoMessage

func (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) ProtoReflect

func (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) Reset

func (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) String

func (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) Validate

Validate checks the field values on SummarizeRunsResponse_IntervalStats_ResultBreakdown 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 (*SummarizeRunsResponse_IntervalStats_ResultBreakdown) ValidateAll

ValidateAll checks the field values on SummarizeRunsResponse_IntervalStats_ResultBreakdown 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 SummarizeRunsResponse_IntervalStats_ResultBreakdownMultiError, or nil if none found.

type SummarizeRunsResponse_IntervalStats_ResultBreakdownMultiError

type SummarizeRunsResponse_IntervalStats_ResultBreakdownMultiError []error

SummarizeRunsResponse_IntervalStats_ResultBreakdownMultiError is an error wrapping multiple validation errors returned by SummarizeRunsResponse_IntervalStats_ResultBreakdown.ValidateAll() if the designated constraints aren't met.

func (SummarizeRunsResponse_IntervalStats_ResultBreakdownMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SummarizeRunsResponse_IntervalStats_ResultBreakdownMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SummarizeRunsResponse_IntervalStats_ResultBreakdownValidationError

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

SummarizeRunsResponse_IntervalStats_ResultBreakdownValidationError is the validation error returned by SummarizeRunsResponse_IntervalStats_ResultBreakdown.Validate if the designated constraints aren't met.

func (SummarizeRunsResponse_IntervalStats_ResultBreakdownValidationError) Cause

Cause function returns cause value.

func (SummarizeRunsResponse_IntervalStats_ResultBreakdownValidationError) Error

Error satisfies the builtin error interface

func (SummarizeRunsResponse_IntervalStats_ResultBreakdownValidationError) ErrorName

ErrorName returns error name.

func (SummarizeRunsResponse_IntervalStats_ResultBreakdownValidationError) Field

Field function returns field value.

func (SummarizeRunsResponse_IntervalStats_ResultBreakdownValidationError) Key

Key function returns key value.

func (SummarizeRunsResponse_IntervalStats_ResultBreakdownValidationError) Reason

Reason function returns reason value.

type SummarizeRunsResponse_IntervalStats_TestBreakdown

type SummarizeRunsResponse_IntervalStats_TestBreakdown struct {
	TestId      string                                                 `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	TestName    string                                                 `protobuf:"bytes,2,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"`
	ResultCount []*SummarizeRunsResponse_IntervalStats_ResultBreakdown `protobuf:"bytes,3,rep,name=result_count,json=resultCount,proto3" json:"result_count,omitempty"`
	// contains filtered or unexported fields
}

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) Descriptor deprecated

Deprecated: Use SummarizeRunsResponse_IntervalStats_TestBreakdown.ProtoReflect.Descriptor instead.

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) GetResultCount

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) GetTestId

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) GetTestName

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) ProtoMessage

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) ProtoReflect

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) Reset

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) String

func (*SummarizeRunsResponse_IntervalStats_TestBreakdown) Validate

Validate checks the field values on SummarizeRunsResponse_IntervalStats_TestBreakdown 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 (*SummarizeRunsResponse_IntervalStats_TestBreakdown) ValidateAll

ValidateAll checks the field values on SummarizeRunsResponse_IntervalStats_TestBreakdown 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 SummarizeRunsResponse_IntervalStats_TestBreakdownMultiError, or nil if none found.

type SummarizeRunsResponse_IntervalStats_TestBreakdownMultiError

type SummarizeRunsResponse_IntervalStats_TestBreakdownMultiError []error

SummarizeRunsResponse_IntervalStats_TestBreakdownMultiError is an error wrapping multiple validation errors returned by SummarizeRunsResponse_IntervalStats_TestBreakdown.ValidateAll() if the designated constraints aren't met.

func (SummarizeRunsResponse_IntervalStats_TestBreakdownMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SummarizeRunsResponse_IntervalStats_TestBreakdownMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SummarizeRunsResponse_IntervalStats_TestBreakdownValidationError

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

SummarizeRunsResponse_IntervalStats_TestBreakdownValidationError is the validation error returned by SummarizeRunsResponse_IntervalStats_TestBreakdown.Validate if the designated constraints aren't met.

func (SummarizeRunsResponse_IntervalStats_TestBreakdownValidationError) Cause

Cause function returns cause value.

func (SummarizeRunsResponse_IntervalStats_TestBreakdownValidationError) Error

Error satisfies the builtin error interface

func (SummarizeRunsResponse_IntervalStats_TestBreakdownValidationError) ErrorName

ErrorName returns error name.

func (SummarizeRunsResponse_IntervalStats_TestBreakdownValidationError) Field

Field function returns field value.

func (SummarizeRunsResponse_IntervalStats_TestBreakdownValidationError) Key

Key function returns key value.

func (SummarizeRunsResponse_IntervalStats_TestBreakdownValidationError) Reason

Reason function returns reason value.

type UnimplementedDataServiceServer

type UnimplementedDataServiceServer struct {
}

UnimplementedDataServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDataServiceServer) GetRun

func (UnimplementedDataServiceServer) GetRunner

func (UnimplementedDataServiceServer) GetTest

func (UnimplementedDataServiceServer) QueryRunners

func (UnimplementedDataServiceServer) QueryRuns

func (UnimplementedDataServiceServer) QueryTests

func (UnimplementedDataServiceServer) SummarizeRuns

type UnsafeDataServiceServer

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

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

Jump to

Keyboard shortcuts

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