Documentation
¶
Index ¶
- Variables
- func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer)
- type ControlServiceClient
- type ControlServiceServer
- type DeleteTestRequest
- func (*DeleteTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTestRequest) GetId() string
- func (*DeleteTestRequest) ProtoMessage()
- func (x *DeleteTestRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTestRequest) Reset()
- func (x *DeleteTestRequest) String() string
- func (m *DeleteTestRequest) Validate() error
- func (m *DeleteTestRequest) ValidateAll() error
- type DeleteTestRequestMultiError
- type DeleteTestRequestValidationError
- func (e DeleteTestRequestValidationError) Cause() error
- func (e DeleteTestRequestValidationError) Error() string
- func (e DeleteTestRequestValidationError) ErrorName() string
- func (e DeleteTestRequestValidationError) Field() string
- func (e DeleteTestRequestValidationError) Key() bool
- func (e DeleteTestRequestValidationError) Reason() string
- type DeleteTestResponse
- func (*DeleteTestResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTestResponse) ProtoMessage()
- func (x *DeleteTestResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTestResponse) Reset()
- func (x *DeleteTestResponse) String() string
- func (m *DeleteTestResponse) Validate() error
- func (m *DeleteTestResponse) ValidateAll() error
- type DeleteTestResponseMultiError
- type DeleteTestResponseValidationError
- func (e DeleteTestResponseValidationError) Cause() error
- func (e DeleteTestResponseValidationError) Error() string
- func (e DeleteTestResponseValidationError) ErrorName() string
- func (e DeleteTestResponseValidationError) Field() string
- func (e DeleteTestResponseValidationError) Key() bool
- func (e DeleteTestResponseValidationError) Reason() string
- type RegisterTestRequest
- func (*RegisterTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterTestRequest) GetCronSchedule() string
- func (x *RegisterTestRequest) GetLabels() map[string]string
- func (x *RegisterTestRequest) GetMatrix() *v1.Test_Matrix
- func (x *RegisterTestRequest) GetName() string
- func (x *RegisterTestRequest) GetRunConfig() *v1.Test_RunConfig
- func (*RegisterTestRequest) ProtoMessage()
- func (x *RegisterTestRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterTestRequest) Reset()
- func (x *RegisterTestRequest) String() string
- func (m *RegisterTestRequest) Validate() error
- func (m *RegisterTestRequest) ValidateAll() error
- type RegisterTestRequestMultiError
- type RegisterTestRequestValidationError
- func (e RegisterTestRequestValidationError) Cause() error
- func (e RegisterTestRequestValidationError) Error() string
- func (e RegisterTestRequestValidationError) ErrorName() string
- func (e RegisterTestRequestValidationError) Field() string
- func (e RegisterTestRequestValidationError) Key() bool
- func (e RegisterTestRequestValidationError) Reason() string
- type RegisterTestResponse
- func (*RegisterTestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterTestResponse) GetTest() *v1.Test
- func (*RegisterTestResponse) ProtoMessage()
- func (x *RegisterTestResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterTestResponse) Reset()
- func (x *RegisterTestResponse) String() string
- func (m *RegisterTestResponse) Validate() error
- func (m *RegisterTestResponse) ValidateAll() error
- type RegisterTestResponseMultiError
- type RegisterTestResponseValidationError
- func (e RegisterTestResponseValidationError) Cause() error
- func (e RegisterTestResponseValidationError) Error() string
- func (e RegisterTestResponseValidationError) ErrorName() string
- func (e RegisterTestResponseValidationError) Field() string
- func (e RegisterTestResponseValidationError) Key() bool
- func (e RegisterTestResponseValidationError) Reason() string
- type ScheduleRunRequest
- func (*ScheduleRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleRunRequest) GetLabels() map[string]string
- func (x *ScheduleRunRequest) GetTestId() string
- func (x *ScheduleRunRequest) GetTestMatrix() *v1.Test_Matrix
- func (*ScheduleRunRequest) ProtoMessage()
- func (x *ScheduleRunRequest) ProtoReflect() protoreflect.Message
- func (x *ScheduleRunRequest) Reset()
- func (x *ScheduleRunRequest) String() string
- func (m *ScheduleRunRequest) Validate() error
- func (m *ScheduleRunRequest) ValidateAll() error
- type ScheduleRunRequestMultiError
- type ScheduleRunRequestValidationError
- func (e ScheduleRunRequestValidationError) Cause() error
- func (e ScheduleRunRequestValidationError) Error() string
- func (e ScheduleRunRequestValidationError) ErrorName() string
- func (e ScheduleRunRequestValidationError) Field() string
- func (e ScheduleRunRequestValidationError) Key() bool
- func (e ScheduleRunRequestValidationError) Reason() string
- type ScheduleRunResponse
- func (*ScheduleRunResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleRunResponse) GetRuns() []*v1.Run
- func (*ScheduleRunResponse) ProtoMessage()
- func (x *ScheduleRunResponse) ProtoReflect() protoreflect.Message
- func (x *ScheduleRunResponse) Reset()
- func (x *ScheduleRunResponse) String() string
- func (m *ScheduleRunResponse) Validate() error
- func (m *ScheduleRunResponse) ValidateAll() error
- type ScheduleRunResponseMultiError
- type ScheduleRunResponseValidationError
- func (e ScheduleRunResponseValidationError) Cause() error
- func (e ScheduleRunResponseValidationError) Error() string
- func (e ScheduleRunResponseValidationError) ErrorName() string
- func (e ScheduleRunResponseValidationError) Field() string
- func (e ScheduleRunResponseValidationError) Key() bool
- func (e ScheduleRunResponseValidationError) Reason() string
- type UnimplementedControlServiceServer
- func (UnimplementedControlServiceServer) DeleteTest(context.Context, *DeleteTestRequest) (*DeleteTestResponse, error)
- func (UnimplementedControlServiceServer) RegisterTest(context.Context, *RegisterTestRequest) (*RegisterTestResponse, error)
- func (UnimplementedControlServiceServer) ScheduleRun(context.Context, *ScheduleRunRequest) (*ScheduleRunResponse, error)
- func (UnimplementedControlServiceServer) UpdateTest(context.Context, *UpdateTestRequest) (*UpdateTestResponse, error)
- type UnsafeControlServiceServer
- type UpdateTestRequest
- func (*UpdateTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTestRequest) GetCronSchedule() string
- func (x *UpdateTestRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *UpdateTestRequest) GetId() string
- func (x *UpdateTestRequest) GetLabels() map[string]string
- func (x *UpdateTestRequest) GetMatrix() *v1.Test_Matrix
- func (x *UpdateTestRequest) GetName() string
- func (x *UpdateTestRequest) GetRunConfig() *v1.Test_RunConfig
- func (*UpdateTestRequest) ProtoMessage()
- func (x *UpdateTestRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTestRequest) Reset()
- func (x *UpdateTestRequest) String() string
- func (m *UpdateTestRequest) Validate() error
- func (m *UpdateTestRequest) ValidateAll() error
- type UpdateTestRequestMultiError
- type UpdateTestRequestValidationError
- func (e UpdateTestRequestValidationError) Cause() error
- func (e UpdateTestRequestValidationError) Error() string
- func (e UpdateTestRequestValidationError) ErrorName() string
- func (e UpdateTestRequestValidationError) Field() string
- func (e UpdateTestRequestValidationError) Key() bool
- func (e UpdateTestRequestValidationError) Reason() string
- type UpdateTestResponse
- func (*UpdateTestResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTestResponse) ProtoMessage()
- func (x *UpdateTestResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTestResponse) Reset()
- func (x *UpdateTestResponse) String() string
- func (m *UpdateTestResponse) Validate() error
- func (m *UpdateTestResponse) ValidateAll() error
- type UpdateTestResponseMultiError
- type UpdateTestResponseValidationError
- func (e UpdateTestResponseValidationError) Cause() error
- func (e UpdateTestResponseValidationError) Error() string
- func (e UpdateTestResponseValidationError) ErrorName() string
- func (e UpdateTestResponseValidationError) Field() string
- func (e UpdateTestResponseValidationError) Key() bool
- func (e UpdateTestResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ControlService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tstr.control.v1.ControlService", HandlerType: (*ControlServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterTest", Handler: _ControlService_RegisterTest_Handler, }, { MethodName: "UpdateTest", Handler: _ControlService_UpdateTest_Handler, }, { MethodName: "DeleteTest", Handler: _ControlService_DeleteTest_Handler, }, { MethodName: "ScheduleRun", Handler: _ControlService_ScheduleRun_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "control/v1/control.proto", }
ControlService_ServiceDesc is the grpc.ServiceDesc for ControlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_control_v1_control_proto protoreflect.FileDescriptor
Functions ¶
func RegisterControlServiceServer ¶
func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer)
Types ¶
type ControlServiceClient ¶
type ControlServiceClient interface { RegisterTest(ctx context.Context, in *RegisterTestRequest, opts ...grpc.CallOption) (*RegisterTestResponse, error) UpdateTest(ctx context.Context, in *UpdateTestRequest, opts ...grpc.CallOption) (*UpdateTestResponse, error) DeleteTest(ctx context.Context, in *DeleteTestRequest, opts ...grpc.CallOption) (*DeleteTestResponse, error) ScheduleRun(ctx context.Context, in *ScheduleRunRequest, opts ...grpc.CallOption) (*ScheduleRunResponse, error) }
ControlServiceClient is the client API for ControlService 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 NewControlServiceClient ¶
func NewControlServiceClient(cc grpc.ClientConnInterface) ControlServiceClient
type ControlServiceServer ¶
type ControlServiceServer interface { RegisterTest(context.Context, *RegisterTestRequest) (*RegisterTestResponse, error) UpdateTest(context.Context, *UpdateTestRequest) (*UpdateTestResponse, error) DeleteTest(context.Context, *DeleteTestRequest) (*DeleteTestResponse, error) ScheduleRun(context.Context, *ScheduleRunRequest) (*ScheduleRunResponse, error) // contains filtered or unexported methods }
ControlServiceServer is the server API for ControlService service. All implementations must embed UnimplementedControlServiceServer for forward compatibility
type DeleteTestRequest ¶
type DeleteTestRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required // contains filtered or unexported fields }
func (*DeleteTestRequest) Descriptor
deprecated
func (*DeleteTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTestRequest.ProtoReflect.Descriptor instead.
func (*DeleteTestRequest) GetId ¶
func (x *DeleteTestRequest) GetId() string
func (*DeleteTestRequest) ProtoMessage ¶
func (*DeleteTestRequest) ProtoMessage()
func (*DeleteTestRequest) ProtoReflect ¶
func (x *DeleteTestRequest) ProtoReflect() protoreflect.Message
func (*DeleteTestRequest) Reset ¶
func (x *DeleteTestRequest) Reset()
func (*DeleteTestRequest) String ¶
func (x *DeleteTestRequest) String() string
func (*DeleteTestRequest) Validate ¶
func (m *DeleteTestRequest) Validate() error
Validate checks the field values on DeleteTestRequest 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 (*DeleteTestRequest) ValidateAll ¶
func (m *DeleteTestRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTestRequest 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 DeleteTestRequestMultiError, or nil if none found.
type DeleteTestRequestMultiError ¶
type DeleteTestRequestMultiError []error
DeleteTestRequestMultiError is an error wrapping multiple validation errors returned by DeleteTestRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTestRequestMultiError) AllErrors ¶
func (m DeleteTestRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTestRequestMultiError) Error ¶
func (m DeleteTestRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTestRequestValidationError ¶
type DeleteTestRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTestRequestValidationError is the validation error returned by DeleteTestRequest.Validate if the designated constraints aren't met.
func (DeleteTestRequestValidationError) Cause ¶
func (e DeleteTestRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTestRequestValidationError) Error ¶
func (e DeleteTestRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTestRequestValidationError) ErrorName ¶
func (e DeleteTestRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTestRequestValidationError) Field ¶
func (e DeleteTestRequestValidationError) Field() string
Field function returns field value.
func (DeleteTestRequestValidationError) Key ¶
func (e DeleteTestRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTestRequestValidationError) Reason ¶
func (e DeleteTestRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTestResponse ¶
type DeleteTestResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTestResponse) Descriptor
deprecated
func (*DeleteTestResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTestResponse.ProtoReflect.Descriptor instead.
func (*DeleteTestResponse) ProtoMessage ¶
func (*DeleteTestResponse) ProtoMessage()
func (*DeleteTestResponse) ProtoReflect ¶
func (x *DeleteTestResponse) ProtoReflect() protoreflect.Message
func (*DeleteTestResponse) Reset ¶
func (x *DeleteTestResponse) Reset()
func (*DeleteTestResponse) String ¶
func (x *DeleteTestResponse) String() string
func (*DeleteTestResponse) Validate ¶
func (m *DeleteTestResponse) Validate() error
Validate checks the field values on DeleteTestResponse 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 (*DeleteTestResponse) ValidateAll ¶
func (m *DeleteTestResponse) ValidateAll() error
ValidateAll checks the field values on DeleteTestResponse 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 DeleteTestResponseMultiError, or nil if none found.
type DeleteTestResponseMultiError ¶
type DeleteTestResponseMultiError []error
DeleteTestResponseMultiError is an error wrapping multiple validation errors returned by DeleteTestResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteTestResponseMultiError) AllErrors ¶
func (m DeleteTestResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTestResponseMultiError) Error ¶
func (m DeleteTestResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTestResponseValidationError ¶
type DeleteTestResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteTestResponseValidationError is the validation error returned by DeleteTestResponse.Validate if the designated constraints aren't met.
func (DeleteTestResponseValidationError) Cause ¶
func (e DeleteTestResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteTestResponseValidationError) Error ¶
func (e DeleteTestResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTestResponseValidationError) ErrorName ¶
func (e DeleteTestResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTestResponseValidationError) Field ¶
func (e DeleteTestResponseValidationError) Field() string
Field function returns field value.
func (DeleteTestResponseValidationError) Key ¶
func (e DeleteTestResponseValidationError) Key() bool
Key function returns key value.
func (DeleteTestResponseValidationError) Reason ¶
func (e DeleteTestResponseValidationError) Reason() string
Reason function returns reason value.
type RegisterTestRequest ¶
type RegisterTestRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ RunConfig *v1.Test_RunConfig `protobuf:"bytes,3,opt,name=run_config,proto3" json:"run_config,omitempty"` CronSchedule string `protobuf:"bytes,4,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` Matrix *v1.Test_Matrix `protobuf:"bytes,5,opt,name=matrix,proto3" json:"matrix,omitempty"` // contains filtered or unexported fields }
func (*RegisterTestRequest) Descriptor
deprecated
func (*RegisterTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterTestRequest.ProtoReflect.Descriptor instead.
func (*RegisterTestRequest) GetCronSchedule ¶
func (x *RegisterTestRequest) GetCronSchedule() string
func (*RegisterTestRequest) GetLabels ¶
func (x *RegisterTestRequest) GetLabels() map[string]string
func (*RegisterTestRequest) GetMatrix ¶
func (x *RegisterTestRequest) GetMatrix() *v1.Test_Matrix
func (*RegisterTestRequest) GetName ¶
func (x *RegisterTestRequest) GetName() string
func (*RegisterTestRequest) GetRunConfig ¶
func (x *RegisterTestRequest) GetRunConfig() *v1.Test_RunConfig
func (*RegisterTestRequest) ProtoMessage ¶
func (*RegisterTestRequest) ProtoMessage()
func (*RegisterTestRequest) ProtoReflect ¶
func (x *RegisterTestRequest) ProtoReflect() protoreflect.Message
func (*RegisterTestRequest) Reset ¶
func (x *RegisterTestRequest) Reset()
func (*RegisterTestRequest) String ¶
func (x *RegisterTestRequest) String() string
func (*RegisterTestRequest) Validate ¶
func (m *RegisterTestRequest) Validate() error
Validate checks the field values on RegisterTestRequest 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 (*RegisterTestRequest) ValidateAll ¶
func (m *RegisterTestRequest) ValidateAll() error
ValidateAll checks the field values on RegisterTestRequest 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 RegisterTestRequestMultiError, or nil if none found.
type RegisterTestRequestMultiError ¶
type RegisterTestRequestMultiError []error
RegisterTestRequestMultiError is an error wrapping multiple validation errors returned by RegisterTestRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterTestRequestMultiError) AllErrors ¶
func (m RegisterTestRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterTestRequestMultiError) Error ¶
func (m RegisterTestRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterTestRequestValidationError ¶
type RegisterTestRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterTestRequestValidationError is the validation error returned by RegisterTestRequest.Validate if the designated constraints aren't met.
func (RegisterTestRequestValidationError) Cause ¶
func (e RegisterTestRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterTestRequestValidationError) Error ¶
func (e RegisterTestRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterTestRequestValidationError) ErrorName ¶
func (e RegisterTestRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterTestRequestValidationError) Field ¶
func (e RegisterTestRequestValidationError) Field() string
Field function returns field value.
func (RegisterTestRequestValidationError) Key ¶
func (e RegisterTestRequestValidationError) Key() bool
Key function returns key value.
func (RegisterTestRequestValidationError) Reason ¶
func (e RegisterTestRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterTestResponse ¶
type RegisterTestResponse struct { Test *v1.Test `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"` // required // contains filtered or unexported fields }
func (*RegisterTestResponse) Descriptor
deprecated
func (*RegisterTestResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterTestResponse.ProtoReflect.Descriptor instead.
func (*RegisterTestResponse) GetTest ¶
func (x *RegisterTestResponse) GetTest() *v1.Test
func (*RegisterTestResponse) ProtoMessage ¶
func (*RegisterTestResponse) ProtoMessage()
func (*RegisterTestResponse) ProtoReflect ¶
func (x *RegisterTestResponse) ProtoReflect() protoreflect.Message
func (*RegisterTestResponse) Reset ¶
func (x *RegisterTestResponse) Reset()
func (*RegisterTestResponse) String ¶
func (x *RegisterTestResponse) String() string
func (*RegisterTestResponse) Validate ¶
func (m *RegisterTestResponse) Validate() error
Validate checks the field values on RegisterTestResponse 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 (*RegisterTestResponse) ValidateAll ¶
func (m *RegisterTestResponse) ValidateAll() error
ValidateAll checks the field values on RegisterTestResponse 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 RegisterTestResponseMultiError, or nil if none found.
type RegisterTestResponseMultiError ¶
type RegisterTestResponseMultiError []error
RegisterTestResponseMultiError is an error wrapping multiple validation errors returned by RegisterTestResponse.ValidateAll() if the designated constraints aren't met.
func (RegisterTestResponseMultiError) AllErrors ¶
func (m RegisterTestResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterTestResponseMultiError) Error ¶
func (m RegisterTestResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterTestResponseValidationError ¶
type RegisterTestResponseValidationError struct {
// contains filtered or unexported fields
}
RegisterTestResponseValidationError is the validation error returned by RegisterTestResponse.Validate if the designated constraints aren't met.
func (RegisterTestResponseValidationError) Cause ¶
func (e RegisterTestResponseValidationError) Cause() error
Cause function returns cause value.
func (RegisterTestResponseValidationError) Error ¶
func (e RegisterTestResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterTestResponseValidationError) ErrorName ¶
func (e RegisterTestResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterTestResponseValidationError) Field ¶
func (e RegisterTestResponseValidationError) Field() string
Field function returns field value.
func (RegisterTestResponseValidationError) Key ¶
func (e RegisterTestResponseValidationError) Key() bool
Key function returns key value.
func (RegisterTestResponseValidationError) Reason ¶
func (e RegisterTestResponseValidationError) Reason() string
Reason function returns reason value.
type ScheduleRunRequest ¶
type ScheduleRunRequest struct { TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"` // required Labels map[string]string `` /* 153-byte string literal not displayed */ TestMatrix *v1.Test_Matrix `protobuf:"bytes,3,opt,name=test_matrix,json=testMatrix,proto3" json:"test_matrix,omitempty"` // contains filtered or unexported fields }
func (*ScheduleRunRequest) Descriptor
deprecated
func (*ScheduleRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleRunRequest.ProtoReflect.Descriptor instead.
func (*ScheduleRunRequest) GetLabels ¶
func (x *ScheduleRunRequest) GetLabels() map[string]string
func (*ScheduleRunRequest) GetTestId ¶
func (x *ScheduleRunRequest) GetTestId() string
func (*ScheduleRunRequest) GetTestMatrix ¶
func (x *ScheduleRunRequest) GetTestMatrix() *v1.Test_Matrix
func (*ScheduleRunRequest) ProtoMessage ¶
func (*ScheduleRunRequest) ProtoMessage()
func (*ScheduleRunRequest) ProtoReflect ¶
func (x *ScheduleRunRequest) ProtoReflect() protoreflect.Message
func (*ScheduleRunRequest) Reset ¶
func (x *ScheduleRunRequest) Reset()
func (*ScheduleRunRequest) String ¶
func (x *ScheduleRunRequest) String() string
func (*ScheduleRunRequest) Validate ¶
func (m *ScheduleRunRequest) Validate() error
Validate checks the field values on ScheduleRunRequest 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 (*ScheduleRunRequest) ValidateAll ¶
func (m *ScheduleRunRequest) ValidateAll() error
ValidateAll checks the field values on ScheduleRunRequest 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 ScheduleRunRequestMultiError, or nil if none found.
type ScheduleRunRequestMultiError ¶
type ScheduleRunRequestMultiError []error
ScheduleRunRequestMultiError is an error wrapping multiple validation errors returned by ScheduleRunRequest.ValidateAll() if the designated constraints aren't met.
func (ScheduleRunRequestMultiError) AllErrors ¶
func (m ScheduleRunRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScheduleRunRequestMultiError) Error ¶
func (m ScheduleRunRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScheduleRunRequestValidationError ¶
type ScheduleRunRequestValidationError struct {
// contains filtered or unexported fields
}
ScheduleRunRequestValidationError is the validation error returned by ScheduleRunRequest.Validate if the designated constraints aren't met.
func (ScheduleRunRequestValidationError) Cause ¶
func (e ScheduleRunRequestValidationError) Cause() error
Cause function returns cause value.
func (ScheduleRunRequestValidationError) Error ¶
func (e ScheduleRunRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ScheduleRunRequestValidationError) ErrorName ¶
func (e ScheduleRunRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ScheduleRunRequestValidationError) Field ¶
func (e ScheduleRunRequestValidationError) Field() string
Field function returns field value.
func (ScheduleRunRequestValidationError) Key ¶
func (e ScheduleRunRequestValidationError) Key() bool
Key function returns key value.
func (ScheduleRunRequestValidationError) Reason ¶
func (e ScheduleRunRequestValidationError) Reason() string
Reason function returns reason value.
type ScheduleRunResponse ¶
type ScheduleRunResponse struct { Runs []*v1.Run `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"` // required // contains filtered or unexported fields }
func (*ScheduleRunResponse) Descriptor
deprecated
func (*ScheduleRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleRunResponse.ProtoReflect.Descriptor instead.
func (*ScheduleRunResponse) GetRuns ¶
func (x *ScheduleRunResponse) GetRuns() []*v1.Run
func (*ScheduleRunResponse) ProtoMessage ¶
func (*ScheduleRunResponse) ProtoMessage()
func (*ScheduleRunResponse) ProtoReflect ¶
func (x *ScheduleRunResponse) ProtoReflect() protoreflect.Message
func (*ScheduleRunResponse) Reset ¶
func (x *ScheduleRunResponse) Reset()
func (*ScheduleRunResponse) String ¶
func (x *ScheduleRunResponse) String() string
func (*ScheduleRunResponse) Validate ¶
func (m *ScheduleRunResponse) Validate() error
Validate checks the field values on ScheduleRunResponse 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 (*ScheduleRunResponse) ValidateAll ¶
func (m *ScheduleRunResponse) ValidateAll() error
ValidateAll checks the field values on ScheduleRunResponse 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 ScheduleRunResponseMultiError, or nil if none found.
type ScheduleRunResponseMultiError ¶
type ScheduleRunResponseMultiError []error
ScheduleRunResponseMultiError is an error wrapping multiple validation errors returned by ScheduleRunResponse.ValidateAll() if the designated constraints aren't met.
func (ScheduleRunResponseMultiError) AllErrors ¶
func (m ScheduleRunResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScheduleRunResponseMultiError) Error ¶
func (m ScheduleRunResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScheduleRunResponseValidationError ¶
type ScheduleRunResponseValidationError struct {
// contains filtered or unexported fields
}
ScheduleRunResponseValidationError is the validation error returned by ScheduleRunResponse.Validate if the designated constraints aren't met.
func (ScheduleRunResponseValidationError) Cause ¶
func (e ScheduleRunResponseValidationError) Cause() error
Cause function returns cause value.
func (ScheduleRunResponseValidationError) Error ¶
func (e ScheduleRunResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ScheduleRunResponseValidationError) ErrorName ¶
func (e ScheduleRunResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ScheduleRunResponseValidationError) Field ¶
func (e ScheduleRunResponseValidationError) Field() string
Field function returns field value.
func (ScheduleRunResponseValidationError) Key ¶
func (e ScheduleRunResponseValidationError) Key() bool
Key function returns key value.
func (ScheduleRunResponseValidationError) Reason ¶
func (e ScheduleRunResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedControlServiceServer ¶
type UnimplementedControlServiceServer struct { }
UnimplementedControlServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedControlServiceServer) DeleteTest ¶
func (UnimplementedControlServiceServer) DeleteTest(context.Context, *DeleteTestRequest) (*DeleteTestResponse, error)
func (UnimplementedControlServiceServer) RegisterTest ¶
func (UnimplementedControlServiceServer) RegisterTest(context.Context, *RegisterTestRequest) (*RegisterTestResponse, error)
func (UnimplementedControlServiceServer) ScheduleRun ¶
func (UnimplementedControlServiceServer) ScheduleRun(context.Context, *ScheduleRunRequest) (*ScheduleRunResponse, error)
func (UnimplementedControlServiceServer) UpdateTest ¶
func (UnimplementedControlServiceServer) UpdateTest(context.Context, *UpdateTestRequest) (*UpdateTestResponse, error)
type UnsafeControlServiceServer ¶
type UnsafeControlServiceServer interface {
// contains filtered or unexported methods
}
UnsafeControlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ControlServiceServer will result in compilation errors.
type UpdateTestRequest ¶
type UpdateTestRequest struct { FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // required Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` RunConfig *v1.Test_RunConfig `protobuf:"bytes,4,opt,name=run_config,json=runConfig,proto3" json:"run_config,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ CronSchedule string `protobuf:"bytes,6,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` Matrix *v1.Test_Matrix `protobuf:"bytes,7,opt,name=matrix,proto3" json:"matrix,omitempty"` // contains filtered or unexported fields }
func (*UpdateTestRequest) Descriptor
deprecated
func (*UpdateTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTestRequest.ProtoReflect.Descriptor instead.
func (*UpdateTestRequest) GetCronSchedule ¶
func (x *UpdateTestRequest) GetCronSchedule() string
func (*UpdateTestRequest) GetFieldMask ¶
func (x *UpdateTestRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateTestRequest) GetId ¶
func (x *UpdateTestRequest) GetId() string
func (*UpdateTestRequest) GetLabels ¶
func (x *UpdateTestRequest) GetLabels() map[string]string
func (*UpdateTestRequest) GetMatrix ¶
func (x *UpdateTestRequest) GetMatrix() *v1.Test_Matrix
func (*UpdateTestRequest) GetName ¶
func (x *UpdateTestRequest) GetName() string
func (*UpdateTestRequest) GetRunConfig ¶
func (x *UpdateTestRequest) GetRunConfig() *v1.Test_RunConfig
func (*UpdateTestRequest) ProtoMessage ¶
func (*UpdateTestRequest) ProtoMessage()
func (*UpdateTestRequest) ProtoReflect ¶
func (x *UpdateTestRequest) ProtoReflect() protoreflect.Message
func (*UpdateTestRequest) Reset ¶
func (x *UpdateTestRequest) Reset()
func (*UpdateTestRequest) String ¶
func (x *UpdateTestRequest) String() string
func (*UpdateTestRequest) Validate ¶
func (m *UpdateTestRequest) Validate() error
Validate checks the field values on UpdateTestRequest 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 (*UpdateTestRequest) ValidateAll ¶
func (m *UpdateTestRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTestRequest 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 UpdateTestRequestMultiError, or nil if none found.
type UpdateTestRequestMultiError ¶
type UpdateTestRequestMultiError []error
UpdateTestRequestMultiError is an error wrapping multiple validation errors returned by UpdateTestRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTestRequestMultiError) AllErrors ¶
func (m UpdateTestRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTestRequestMultiError) Error ¶
func (m UpdateTestRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTestRequestValidationError ¶
type UpdateTestRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTestRequestValidationError is the validation error returned by UpdateTestRequest.Validate if the designated constraints aren't met.
func (UpdateTestRequestValidationError) Cause ¶
func (e UpdateTestRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTestRequestValidationError) Error ¶
func (e UpdateTestRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTestRequestValidationError) ErrorName ¶
func (e UpdateTestRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTestRequestValidationError) Field ¶
func (e UpdateTestRequestValidationError) Field() string
Field function returns field value.
func (UpdateTestRequestValidationError) Key ¶
func (e UpdateTestRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTestRequestValidationError) Reason ¶
func (e UpdateTestRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateTestResponse ¶
type UpdateTestResponse struct {
// contains filtered or unexported fields
}
func (*UpdateTestResponse) Descriptor
deprecated
func (*UpdateTestResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTestResponse.ProtoReflect.Descriptor instead.
func (*UpdateTestResponse) ProtoMessage ¶
func (*UpdateTestResponse) ProtoMessage()
func (*UpdateTestResponse) ProtoReflect ¶
func (x *UpdateTestResponse) ProtoReflect() protoreflect.Message
func (*UpdateTestResponse) Reset ¶
func (x *UpdateTestResponse) Reset()
func (*UpdateTestResponse) String ¶
func (x *UpdateTestResponse) String() string
func (*UpdateTestResponse) Validate ¶
func (m *UpdateTestResponse) Validate() error
Validate checks the field values on UpdateTestResponse 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 (*UpdateTestResponse) ValidateAll ¶
func (m *UpdateTestResponse) ValidateAll() error
ValidateAll checks the field values on UpdateTestResponse 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 UpdateTestResponseMultiError, or nil if none found.
type UpdateTestResponseMultiError ¶
type UpdateTestResponseMultiError []error
UpdateTestResponseMultiError is an error wrapping multiple validation errors returned by UpdateTestResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateTestResponseMultiError) AllErrors ¶
func (m UpdateTestResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTestResponseMultiError) Error ¶
func (m UpdateTestResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTestResponseValidationError ¶
type UpdateTestResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateTestResponseValidationError is the validation error returned by UpdateTestResponse.Validate if the designated constraints aren't met.
func (UpdateTestResponseValidationError) Cause ¶
func (e UpdateTestResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateTestResponseValidationError) Error ¶
func (e UpdateTestResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTestResponseValidationError) ErrorName ¶
func (e UpdateTestResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTestResponseValidationError) Field ¶
func (e UpdateTestResponseValidationError) Field() string
Field function returns field value.
func (UpdateTestResponseValidationError) Key ¶
func (e UpdateTestResponseValidationError) Key() bool
Key function returns key value.
func (UpdateTestResponseValidationError) Reason ¶
func (e UpdateTestResponseValidationError) Reason() string
Reason function returns reason value.