Documentation ¶
Index ¶
- Variables
- type AccessToken
- func (*AccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *AccessToken) GetExpiresAt() *timestamppb.Timestamp
- func (x *AccessToken) GetId() string
- func (x *AccessToken) GetIssuedAt() *timestamppb.Timestamp
- func (x *AccessToken) GetName() string
- func (x *AccessToken) GetNamespaceSelectors() []string
- func (x *AccessToken) GetRevokedAt() *timestamppb.Timestamp
- func (x *AccessToken) GetScopes() []AccessToken_Scope
- func (x *AccessToken) GetToken() string
- func (*AccessToken) ProtoMessage()
- func (x *AccessToken) ProtoReflect() protoreflect.Message
- func (x *AccessToken) Reset()
- func (x *AccessToken) String() string
- func (m *AccessToken) Validate() error
- func (m *AccessToken) ValidateAll() error
- type AccessTokenMultiError
- type AccessTokenValidationError
- func (e AccessTokenValidationError) Cause() error
- func (e AccessTokenValidationError) Error() string
- func (e AccessTokenValidationError) ErrorName() string
- func (e AccessTokenValidationError) Field() string
- func (e AccessTokenValidationError) Key() bool
- func (e AccessTokenValidationError) Reason() string
- type AccessToken_Scope
- func (AccessToken_Scope) Descriptor() protoreflect.EnumDescriptor
- func (x AccessToken_Scope) Enum() *AccessToken_Scope
- func (AccessToken_Scope) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccessToken_Scope) Number() protoreflect.EnumNumber
- func (x AccessToken_Scope) String() string
- func (AccessToken_Scope) Type() protoreflect.EnumType
- type Run
- func (*Run) Descriptor() ([]byte, []int)deprecated
- func (x *Run) GetFinishedAt() *timestamppb.Timestamp
- func (x *Run) GetId() string
- func (x *Run) GetLabels() map[string]string
- func (x *Run) GetLogs() []*Run_Log
- func (x *Run) GetResult() Run_Result
- func (x *Run) GetResultData() map[string]string
- func (x *Run) GetRunnerId() string
- func (x *Run) GetScheduledAt() *timestamppb.Timestamp
- func (x *Run) GetStartedAt() *timestamppb.Timestamp
- func (x *Run) GetTestId() string
- func (x *Run) GetTestMatrixId() string
- func (x *Run) GetTestRunConfig() *Test_RunConfig
- func (*Run) ProtoMessage()
- func (x *Run) ProtoReflect() protoreflect.Message
- func (x *Run) Reset()
- func (x *Run) String() string
- func (m *Run) Validate() error
- func (m *Run) ValidateAll() error
- type RunMultiError
- type RunValidationError
- type Run_Log
- func (*Run_Log) Descriptor() ([]byte, []int)deprecated
- func (x *Run_Log) GetData() []byte
- func (x *Run_Log) GetOutputType() Run_Log_Output
- func (x *Run_Log) GetTime() string
- func (*Run_Log) ProtoMessage()
- func (x *Run_Log) ProtoReflect() protoreflect.Message
- func (x *Run_Log) Reset()
- func (x *Run_Log) String() string
- func (m *Run_Log) Validate() error
- func (m *Run_Log) ValidateAll() error
- type Run_LogMultiError
- type Run_LogValidationError
- type Run_Log_Output
- func (Run_Log_Output) Descriptor() protoreflect.EnumDescriptor
- func (x Run_Log_Output) Enum() *Run_Log_Output
- func (Run_Log_Output) EnumDescriptor() ([]byte, []int)deprecated
- func (x Run_Log_Output) Number() protoreflect.EnumNumber
- func (x Run_Log_Output) String() string
- func (Run_Log_Output) Type() protoreflect.EnumType
- type Run_Result
- type Runner
- func (*Runner) Descriptor() ([]byte, []int)deprecated
- func (x *Runner) GetAcceptTestLabelSelectors() map[string]string
- func (x *Runner) GetId() string
- func (x *Runner) GetLastHeartbeatAt() *timestamppb.Timestamp
- func (x *Runner) GetName() string
- func (x *Runner) GetNamespaceSelectors() []string
- func (x *Runner) GetRegisteredAt() *timestamppb.Timestamp
- func (x *Runner) GetRejectTestLabelSelectors() map[string]string
- func (*Runner) ProtoMessage()
- func (x *Runner) ProtoReflect() protoreflect.Message
- func (x *Runner) Reset()
- func (x *Runner) String() string
- func (m *Runner) Validate() error
- func (m *Runner) ValidateAll() error
- type RunnerMultiError
- type RunnerValidationError
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (x *Test) GetCronSchedule() string
- func (x *Test) GetId() string
- func (x *Test) GetLabels() map[string]string
- func (x *Test) GetMatrix() *Test_Matrix
- func (x *Test) GetName() string
- func (x *Test) GetNamespace() string
- func (x *Test) GetNextRunAt() *timestamppb.Timestamp
- func (x *Test) GetRegisteredAt() *timestamppb.Timestamp
- func (x *Test) GetRunConfig() *Test_RunConfig
- func (x *Test) GetUpdatedAt() *timestamppb.Timestamp
- func (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (x *Test) String() string
- func (m *Test) Validate() error
- func (m *Test) ValidateAll() error
- type TestMultiError
- type TestValidationError
- type Test_Matrix
- func (*Test_Matrix) Descriptor() ([]byte, []int)deprecated
- func (x *Test_Matrix) GetLabels() map[string]*Test_Matrix_LabelValues
- func (*Test_Matrix) ProtoMessage()
- func (x *Test_Matrix) ProtoReflect() protoreflect.Message
- func (x *Test_Matrix) Reset()
- func (x *Test_Matrix) String() string
- func (m *Test_Matrix) Validate() error
- func (m *Test_Matrix) ValidateAll() error
- type Test_MatrixMultiError
- type Test_MatrixValidationError
- func (e Test_MatrixValidationError) Cause() error
- func (e Test_MatrixValidationError) Error() string
- func (e Test_MatrixValidationError) ErrorName() string
- func (e Test_MatrixValidationError) Field() string
- func (e Test_MatrixValidationError) Key() bool
- func (e Test_MatrixValidationError) Reason() string
- type Test_Matrix_LabelValues
- func (*Test_Matrix_LabelValues) Descriptor() ([]byte, []int)deprecated
- func (x *Test_Matrix_LabelValues) GetValues() []string
- func (*Test_Matrix_LabelValues) ProtoMessage()
- func (x *Test_Matrix_LabelValues) ProtoReflect() protoreflect.Message
- func (x *Test_Matrix_LabelValues) Reset()
- func (x *Test_Matrix_LabelValues) String() string
- func (m *Test_Matrix_LabelValues) Validate() error
- func (m *Test_Matrix_LabelValues) ValidateAll() error
- type Test_Matrix_LabelValuesMultiError
- type Test_Matrix_LabelValuesValidationError
- func (e Test_Matrix_LabelValuesValidationError) Cause() error
- func (e Test_Matrix_LabelValuesValidationError) Error() string
- func (e Test_Matrix_LabelValuesValidationError) ErrorName() string
- func (e Test_Matrix_LabelValuesValidationError) Field() string
- func (e Test_Matrix_LabelValuesValidationError) Key() bool
- func (e Test_Matrix_LabelValuesValidationError) Reason() string
- type Test_RunConfig
- func (*Test_RunConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Test_RunConfig) GetArgs() []string
- func (x *Test_RunConfig) GetCommand() string
- func (x *Test_RunConfig) GetContainerImage() string
- func (x *Test_RunConfig) GetEnv() map[string]string
- func (x *Test_RunConfig) GetTimeout() *durationpb.Duration
- func (*Test_RunConfig) ProtoMessage()
- func (x *Test_RunConfig) ProtoReflect() protoreflect.Message
- func (x *Test_RunConfig) Reset()
- func (x *Test_RunConfig) String() string
- func (m *Test_RunConfig) Validate() error
- func (m *Test_RunConfig) ValidateAll() error
- type Test_RunConfigMultiError
- type Test_RunConfigValidationError
- func (e Test_RunConfigValidationError) Cause() error
- func (e Test_RunConfigValidationError) Error() string
- func (e Test_RunConfigValidationError) ErrorName() string
- func (e Test_RunConfigValidationError) Field() string
- func (e Test_RunConfigValidationError) Key() bool
- func (e Test_RunConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( Run_Result_name = map[int32]string{ 0: "UNKNOWN", 1: "PASS", 2: "FAIL", 3: "ERROR", } Run_Result_value = map[string]int32{ "UNKNOWN": 0, "PASS": 1, "FAIL": 2, "ERROR": 3, } )
Enum value maps for Run_Result.
var ( Run_Log_Output_name = map[int32]string{ 0: "UNKNOWN", 1: "STDOUT", 2: "STDERR", 3: "TSTR", } Run_Log_Output_value = map[string]int32{ "UNKNOWN": 0, "STDOUT": 1, "STDERR": 2, "TSTR": 3, } )
Enum value maps for Run_Log_Output.
var ( AccessToken_Scope_name = map[int32]string{ 0: "UNKNOWN", 1: "ADMIN", 2: "CONTROL", 3: "DATA", 4: "RUNNER", } AccessToken_Scope_value = map[string]int32{ "UNKNOWN": 0, "ADMIN": 1, "CONTROL": 2, "DATA": 3, "RUNNER": 4, } )
Enum value maps for AccessToken_Scope.
var File_common_v1_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required (generated) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // required Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // required (generated) will be present only on issuance, empty otherwise NamespaceSelectors []string `protobuf:"bytes,4,rep,name=namespace_selectors,json=namespaceSelectors,proto3" json:"namespace_selectors,omitempty"` // required Scopes []AccessToken_Scope `protobuf:"varint,5,rep,packed,name=scopes,proto3,enum=tstr.common.v1.AccessToken_Scope" json:"scopes,omitempty"` // required IssuedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` // required ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` RevokedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"` // contains filtered or unexported fields }
func (*AccessToken) Descriptor
deprecated
func (*AccessToken) Descriptor() ([]byte, []int)
Deprecated: Use AccessToken.ProtoReflect.Descriptor instead.
func (*AccessToken) GetExpiresAt ¶
func (x *AccessToken) GetExpiresAt() *timestamppb.Timestamp
func (*AccessToken) GetId ¶
func (x *AccessToken) GetId() string
func (*AccessToken) GetIssuedAt ¶
func (x *AccessToken) GetIssuedAt() *timestamppb.Timestamp
func (*AccessToken) GetName ¶
func (x *AccessToken) GetName() string
func (*AccessToken) GetNamespaceSelectors ¶
func (x *AccessToken) GetNamespaceSelectors() []string
func (*AccessToken) GetRevokedAt ¶
func (x *AccessToken) GetRevokedAt() *timestamppb.Timestamp
func (*AccessToken) GetScopes ¶
func (x *AccessToken) GetScopes() []AccessToken_Scope
func (*AccessToken) GetToken ¶
func (x *AccessToken) GetToken() string
func (*AccessToken) ProtoMessage ¶
func (*AccessToken) ProtoMessage()
func (*AccessToken) ProtoReflect ¶
func (x *AccessToken) ProtoReflect() protoreflect.Message
func (*AccessToken) Reset ¶
func (x *AccessToken) Reset()
func (*AccessToken) String ¶
func (x *AccessToken) String() string
func (*AccessToken) Validate ¶
func (m *AccessToken) Validate() error
Validate checks the field values on AccessToken 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 (*AccessToken) ValidateAll ¶
func (m *AccessToken) ValidateAll() error
ValidateAll checks the field values on AccessToken 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 AccessTokenMultiError, or nil if none found.
type AccessTokenMultiError ¶
type AccessTokenMultiError []error
AccessTokenMultiError is an error wrapping multiple validation errors returned by AccessToken.ValidateAll() if the designated constraints aren't met.
func (AccessTokenMultiError) AllErrors ¶
func (m AccessTokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessTokenMultiError) Error ¶
func (m AccessTokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessTokenValidationError ¶
type AccessTokenValidationError struct {
// contains filtered or unexported fields
}
AccessTokenValidationError is the validation error returned by AccessToken.Validate if the designated constraints aren't met.
func (AccessTokenValidationError) Cause ¶
func (e AccessTokenValidationError) Cause() error
Cause function returns cause value.
func (AccessTokenValidationError) Error ¶
func (e AccessTokenValidationError) Error() string
Error satisfies the builtin error interface
func (AccessTokenValidationError) ErrorName ¶
func (e AccessTokenValidationError) ErrorName() string
ErrorName returns error name.
func (AccessTokenValidationError) Field ¶
func (e AccessTokenValidationError) Field() string
Field function returns field value.
func (AccessTokenValidationError) Key ¶
func (e AccessTokenValidationError) Key() bool
Key function returns key value.
func (AccessTokenValidationError) Reason ¶
func (e AccessTokenValidationError) Reason() string
Reason function returns reason value.
type AccessToken_Scope ¶
type AccessToken_Scope int32
const ( AccessToken_UNKNOWN AccessToken_Scope = 0 AccessToken_ADMIN AccessToken_Scope = 1 AccessToken_CONTROL AccessToken_Scope = 2 AccessToken_DATA AccessToken_Scope = 3 AccessToken_RUNNER AccessToken_Scope = 4 )
func (AccessToken_Scope) Descriptor ¶
func (AccessToken_Scope) Descriptor() protoreflect.EnumDescriptor
func (AccessToken_Scope) Enum ¶
func (x AccessToken_Scope) Enum() *AccessToken_Scope
func (AccessToken_Scope) EnumDescriptor
deprecated
func (AccessToken_Scope) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessToken_Scope.Descriptor instead.
func (AccessToken_Scope) Number ¶
func (x AccessToken_Scope) Number() protoreflect.EnumNumber
func (AccessToken_Scope) String ¶
func (x AccessToken_Scope) String() string
func (AccessToken_Scope) Type ¶
func (AccessToken_Scope) Type() protoreflect.EnumType
type Run ¶
type Run struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required (generated) TestId string `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"` // required TestRunConfig *Test_RunConfig `protobuf:"bytes,3,opt,name=test_run_config,json=testRunConfig,proto3" json:"test_run_config,omitempty"` // required TestMatrixId string `protobuf:"bytes,4,opt,name=test_matrix_id,json=testMatrixId,proto3" json:"test_matrix_id,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 Run_Result `protobuf:"varint,7,opt,name=result,proto3,enum=tstr.common.v1.Run_Result" json:"result,omitempty"` Logs []*Run_Log `protobuf:"bytes,8,rep,name=logs,proto3" json:"logs,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"` // required 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 (*Run) Descriptor
deprecated
func (*Run) GetFinishedAt ¶
func (x *Run) GetFinishedAt() *timestamppb.Timestamp
func (*Run) GetResult ¶
func (x *Run) GetResult() Run_Result
func (*Run) GetResultData ¶
func (*Run) GetRunnerId ¶
func (*Run) GetScheduledAt ¶
func (x *Run) GetScheduledAt() *timestamppb.Timestamp
func (*Run) GetStartedAt ¶
func (x *Run) GetStartedAt() *timestamppb.Timestamp
func (*Run) GetTestMatrixId ¶
func (*Run) GetTestRunConfig ¶
func (x *Run) GetTestRunConfig() *Test_RunConfig
func (*Run) ProtoMessage ¶
func (*Run) ProtoMessage()
func (*Run) ProtoReflect ¶
func (x *Run) ProtoReflect() protoreflect.Message
func (*Run) Validate ¶
Validate checks the field values on Run 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 (*Run) ValidateAll ¶
ValidateAll checks the field values on Run 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 RunMultiError, or nil if none found.
type RunMultiError ¶
type RunMultiError []error
RunMultiError is an error wrapping multiple validation errors returned by Run.ValidateAll() if the designated constraints aren't met.
func (RunMultiError) AllErrors ¶
func (m RunMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RunMultiError) Error ¶
func (m RunMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RunValidationError ¶
type RunValidationError struct {
// contains filtered or unexported fields
}
RunValidationError is the validation error returned by Run.Validate if the designated constraints aren't met.
func (RunValidationError) Cause ¶
func (e RunValidationError) Cause() error
Cause function returns cause value.
func (RunValidationError) Error ¶
func (e RunValidationError) Error() string
Error satisfies the builtin error interface
func (RunValidationError) ErrorName ¶
func (e RunValidationError) ErrorName() string
ErrorName returns error name.
func (RunValidationError) Field ¶
func (e RunValidationError) Field() string
Field function returns field value.
func (RunValidationError) Key ¶
func (e RunValidationError) Key() bool
Key function returns key value.
func (RunValidationError) Reason ¶
func (e RunValidationError) Reason() string
Reason function returns reason value.
type Run_Log ¶
type Run_Log struct { Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // required OutputType Run_Log_Output `` // required /* 127-byte string literal not displayed */ Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // required // contains filtered or unexported fields }
func (*Run_Log) Descriptor
deprecated
func (*Run_Log) GetOutputType ¶
func (x *Run_Log) GetOutputType() Run_Log_Output
func (*Run_Log) ProtoMessage ¶
func (*Run_Log) ProtoMessage()
func (*Run_Log) ProtoReflect ¶
func (x *Run_Log) ProtoReflect() protoreflect.Message
func (*Run_Log) Validate ¶
Validate checks the field values on Run_Log 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 (*Run_Log) ValidateAll ¶
ValidateAll checks the field values on Run_Log 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 Run_LogMultiError, or nil if none found.
type Run_LogMultiError ¶
type Run_LogMultiError []error
Run_LogMultiError is an error wrapping multiple validation errors returned by Run_Log.ValidateAll() if the designated constraints aren't met.
func (Run_LogMultiError) AllErrors ¶
func (m Run_LogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Run_LogMultiError) Error ¶
func (m Run_LogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Run_LogValidationError ¶
type Run_LogValidationError struct {
// contains filtered or unexported fields
}
Run_LogValidationError is the validation error returned by Run_Log.Validate if the designated constraints aren't met.
func (Run_LogValidationError) Cause ¶
func (e Run_LogValidationError) Cause() error
Cause function returns cause value.
func (Run_LogValidationError) Error ¶
func (e Run_LogValidationError) Error() string
Error satisfies the builtin error interface
func (Run_LogValidationError) ErrorName ¶
func (e Run_LogValidationError) ErrorName() string
ErrorName returns error name.
func (Run_LogValidationError) Field ¶
func (e Run_LogValidationError) Field() string
Field function returns field value.
func (Run_LogValidationError) Key ¶
func (e Run_LogValidationError) Key() bool
Key function returns key value.
func (Run_LogValidationError) Reason ¶
func (e Run_LogValidationError) Reason() string
Reason function returns reason value.
type Run_Log_Output ¶
type Run_Log_Output int32
const ( Run_Log_UNKNOWN Run_Log_Output = 0 Run_Log_STDOUT Run_Log_Output = 1 Run_Log_STDERR Run_Log_Output = 2 Run_Log_TSTR Run_Log_Output = 3 )
func (Run_Log_Output) Descriptor ¶
func (Run_Log_Output) Descriptor() protoreflect.EnumDescriptor
func (Run_Log_Output) Enum ¶
func (x Run_Log_Output) Enum() *Run_Log_Output
func (Run_Log_Output) EnumDescriptor
deprecated
func (Run_Log_Output) EnumDescriptor() ([]byte, []int)
Deprecated: Use Run_Log_Output.Descriptor instead.
func (Run_Log_Output) Number ¶
func (x Run_Log_Output) Number() protoreflect.EnumNumber
func (Run_Log_Output) String ¶
func (x Run_Log_Output) String() string
func (Run_Log_Output) Type ¶
func (Run_Log_Output) Type() protoreflect.EnumType
type Run_Result ¶
type Run_Result int32
const ( Run_UNKNOWN Run_Result = 0 Run_PASS Run_Result = 1 Run_FAIL Run_Result = 2 Run_ERROR Run_Result = 3 )
func (Run_Result) Descriptor ¶
func (Run_Result) Descriptor() protoreflect.EnumDescriptor
func (Run_Result) Enum ¶
func (x Run_Result) Enum() *Run_Result
func (Run_Result) EnumDescriptor
deprecated
func (Run_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use Run_Result.Descriptor instead.
func (Run_Result) Number ¶
func (x Run_Result) Number() protoreflect.EnumNumber
func (Run_Result) String ¶
func (x Run_Result) String() string
func (Run_Result) Type ¶
func (Run_Result) Type() protoreflect.EnumType
type Runner ¶
type Runner struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required (generated) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // required NamespaceSelectors []string `protobuf:"bytes,3,rep,name=namespace_selectors,json=namespaceSelectors,proto3" json:"namespace_selectors,omitempty"` // required AcceptTestLabelSelectors map[string]string `` /* 225-byte string literal not displayed */ RejectTestLabelSelectors map[string]string `` /* 225-byte string literal not displayed */ RegisteredAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"` // required LastHeartbeatAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_heartbeat_at,json=lastHeartbeatAt,proto3" json:"last_heartbeat_at,omitempty"` // contains filtered or unexported fields }
func (*Runner) Descriptor
deprecated
func (*Runner) GetAcceptTestLabelSelectors ¶
func (*Runner) GetLastHeartbeatAt ¶
func (x *Runner) GetLastHeartbeatAt() *timestamppb.Timestamp
func (*Runner) GetNamespaceSelectors ¶
func (*Runner) GetRegisteredAt ¶
func (x *Runner) GetRegisteredAt() *timestamppb.Timestamp
func (*Runner) GetRejectTestLabelSelectors ¶
func (*Runner) ProtoMessage ¶
func (*Runner) ProtoMessage()
func (*Runner) ProtoReflect ¶
func (x *Runner) ProtoReflect() protoreflect.Message
func (*Runner) Validate ¶
Validate checks the field values on Runner 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 (*Runner) ValidateAll ¶
ValidateAll checks the field values on Runner 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 RunnerMultiError, or nil if none found.
type RunnerMultiError ¶
type RunnerMultiError []error
RunnerMultiError is an error wrapping multiple validation errors returned by Runner.ValidateAll() if the designated constraints aren't met.
func (RunnerMultiError) AllErrors ¶
func (m RunnerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RunnerMultiError) Error ¶
func (m RunnerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RunnerValidationError ¶
type RunnerValidationError struct {
// contains filtered or unexported fields
}
RunnerValidationError is the validation error returned by Runner.Validate if the designated constraints aren't met.
func (RunnerValidationError) Cause ¶
func (e RunnerValidationError) Cause() error
Cause function returns cause value.
func (RunnerValidationError) Error ¶
func (e RunnerValidationError) Error() string
Error satisfies the builtin error interface
func (RunnerValidationError) ErrorName ¶
func (e RunnerValidationError) ErrorName() string
ErrorName returns error name.
func (RunnerValidationError) Field ¶
func (e RunnerValidationError) Field() string
Field function returns field value.
func (RunnerValidationError) Key ¶
func (e RunnerValidationError) Key() bool
Key function returns key value.
func (RunnerValidationError) Reason ¶
func (e RunnerValidationError) Reason() string
Reason function returns reason value.
type Test ¶
type Test struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required (generated) Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // required Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // required RunConfig *Test_RunConfig `protobuf:"bytes,4,opt,name=run_config,json=runConfig,proto3" json:"run_config,omitempty"` // required 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"` NextRunAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=next_run_at,json=nextRunAt,proto3" json:"next_run_at,omitempty"` Matrix *Test_Matrix `protobuf:"bytes,8,opt,name=matrix,proto3" json:"matrix,omitempty"` RegisteredAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"` // required UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // required // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
func (*Test) GetCronSchedule ¶
func (*Test) GetMatrix ¶
func (x *Test) GetMatrix() *Test_Matrix
func (*Test) GetNamespace ¶
func (*Test) GetNextRunAt ¶
func (x *Test) GetNextRunAt() *timestamppb.Timestamp
func (*Test) GetRegisteredAt ¶
func (x *Test) GetRegisteredAt() *timestamppb.Timestamp
func (*Test) GetRunConfig ¶
func (x *Test) GetRunConfig() *Test_RunConfig
func (*Test) GetUpdatedAt ¶
func (x *Test) GetUpdatedAt() *timestamppb.Timestamp
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
func (*Test) Validate ¶
Validate checks the field values on Test 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 (*Test) ValidateAll ¶
ValidateAll checks the field values on Test 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 TestMultiError, or nil if none found.
type TestMultiError ¶
type TestMultiError []error
TestMultiError is an error wrapping multiple validation errors returned by Test.ValidateAll() if the designated constraints aren't met.
func (TestMultiError) AllErrors ¶
func (m TestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TestMultiError) Error ¶
func (m TestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TestValidationError ¶
type TestValidationError struct {
// contains filtered or unexported fields
}
TestValidationError is the validation error returned by Test.Validate if the designated constraints aren't met.
func (TestValidationError) Cause ¶
func (e TestValidationError) Cause() error
Cause function returns cause value.
func (TestValidationError) Error ¶
func (e TestValidationError) Error() string
Error satisfies the builtin error interface
func (TestValidationError) ErrorName ¶
func (e TestValidationError) ErrorName() string
ErrorName returns error name.
func (TestValidationError) Field ¶
func (e TestValidationError) Field() string
Field function returns field value.
func (TestValidationError) Key ¶
func (e TestValidationError) Key() bool
Key function returns key value.
func (TestValidationError) Reason ¶
func (e TestValidationError) Reason() string
Reason function returns reason value.
type Test_Matrix ¶
type Test_Matrix struct { Labels map[string]*Test_Matrix_LabelValues `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Test_Matrix) Descriptor
deprecated
func (*Test_Matrix) Descriptor() ([]byte, []int)
Deprecated: Use Test_Matrix.ProtoReflect.Descriptor instead.
func (*Test_Matrix) GetLabels ¶
func (x *Test_Matrix) GetLabels() map[string]*Test_Matrix_LabelValues
func (*Test_Matrix) ProtoMessage ¶
func (*Test_Matrix) ProtoMessage()
func (*Test_Matrix) ProtoReflect ¶
func (x *Test_Matrix) ProtoReflect() protoreflect.Message
func (*Test_Matrix) Reset ¶
func (x *Test_Matrix) Reset()
func (*Test_Matrix) String ¶
func (x *Test_Matrix) String() string
func (*Test_Matrix) Validate ¶
func (m *Test_Matrix) Validate() error
Validate checks the field values on Test_Matrix 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 (*Test_Matrix) ValidateAll ¶
func (m *Test_Matrix) ValidateAll() error
ValidateAll checks the field values on Test_Matrix 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 Test_MatrixMultiError, or nil if none found.
type Test_MatrixMultiError ¶
type Test_MatrixMultiError []error
Test_MatrixMultiError is an error wrapping multiple validation errors returned by Test_Matrix.ValidateAll() if the designated constraints aren't met.
func (Test_MatrixMultiError) AllErrors ¶
func (m Test_MatrixMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Test_MatrixMultiError) Error ¶
func (m Test_MatrixMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Test_MatrixValidationError ¶
type Test_MatrixValidationError struct {
// contains filtered or unexported fields
}
Test_MatrixValidationError is the validation error returned by Test_Matrix.Validate if the designated constraints aren't met.
func (Test_MatrixValidationError) Cause ¶
func (e Test_MatrixValidationError) Cause() error
Cause function returns cause value.
func (Test_MatrixValidationError) Error ¶
func (e Test_MatrixValidationError) Error() string
Error satisfies the builtin error interface
func (Test_MatrixValidationError) ErrorName ¶
func (e Test_MatrixValidationError) ErrorName() string
ErrorName returns error name.
func (Test_MatrixValidationError) Field ¶
func (e Test_MatrixValidationError) Field() string
Field function returns field value.
func (Test_MatrixValidationError) Key ¶
func (e Test_MatrixValidationError) Key() bool
Key function returns key value.
func (Test_MatrixValidationError) Reason ¶
func (e Test_MatrixValidationError) Reason() string
Reason function returns reason value.
type Test_Matrix_LabelValues ¶
type Test_Matrix_LabelValues struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*Test_Matrix_LabelValues) Descriptor
deprecated
func (*Test_Matrix_LabelValues) Descriptor() ([]byte, []int)
Deprecated: Use Test_Matrix_LabelValues.ProtoReflect.Descriptor instead.
func (*Test_Matrix_LabelValues) GetValues ¶
func (x *Test_Matrix_LabelValues) GetValues() []string
func (*Test_Matrix_LabelValues) ProtoMessage ¶
func (*Test_Matrix_LabelValues) ProtoMessage()
func (*Test_Matrix_LabelValues) ProtoReflect ¶
func (x *Test_Matrix_LabelValues) ProtoReflect() protoreflect.Message
func (*Test_Matrix_LabelValues) Reset ¶
func (x *Test_Matrix_LabelValues) Reset()
func (*Test_Matrix_LabelValues) String ¶
func (x *Test_Matrix_LabelValues) String() string
func (*Test_Matrix_LabelValues) Validate ¶
func (m *Test_Matrix_LabelValues) Validate() error
Validate checks the field values on Test_Matrix_LabelValues 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 (*Test_Matrix_LabelValues) ValidateAll ¶
func (m *Test_Matrix_LabelValues) ValidateAll() error
ValidateAll checks the field values on Test_Matrix_LabelValues 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 Test_Matrix_LabelValuesMultiError, or nil if none found.
type Test_Matrix_LabelValuesMultiError ¶
type Test_Matrix_LabelValuesMultiError []error
Test_Matrix_LabelValuesMultiError is an error wrapping multiple validation errors returned by Test_Matrix_LabelValues.ValidateAll() if the designated constraints aren't met.
func (Test_Matrix_LabelValuesMultiError) AllErrors ¶
func (m Test_Matrix_LabelValuesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Test_Matrix_LabelValuesMultiError) Error ¶
func (m Test_Matrix_LabelValuesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Test_Matrix_LabelValuesValidationError ¶
type Test_Matrix_LabelValuesValidationError struct {
// contains filtered or unexported fields
}
Test_Matrix_LabelValuesValidationError is the validation error returned by Test_Matrix_LabelValues.Validate if the designated constraints aren't met.
func (Test_Matrix_LabelValuesValidationError) Cause ¶
func (e Test_Matrix_LabelValuesValidationError) Cause() error
Cause function returns cause value.
func (Test_Matrix_LabelValuesValidationError) Error ¶
func (e Test_Matrix_LabelValuesValidationError) Error() string
Error satisfies the builtin error interface
func (Test_Matrix_LabelValuesValidationError) ErrorName ¶
func (e Test_Matrix_LabelValuesValidationError) ErrorName() string
ErrorName returns error name.
func (Test_Matrix_LabelValuesValidationError) Field ¶
func (e Test_Matrix_LabelValuesValidationError) Field() string
Field function returns field value.
func (Test_Matrix_LabelValuesValidationError) Key ¶
func (e Test_Matrix_LabelValuesValidationError) Key() bool
Key function returns key value.
func (Test_Matrix_LabelValuesValidationError) Reason ¶
func (e Test_Matrix_LabelValuesValidationError) Reason() string
Reason function returns reason value.
type Test_RunConfig ¶
type Test_RunConfig struct { ContainerImage string `protobuf:"bytes,2,opt,name=container_image,json=containerImage,proto3" json:"container_image,omitempty"` // required Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` Env map[string]string `` /* 147-byte string literal not displayed */ Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Test_RunConfig) Descriptor
deprecated
func (*Test_RunConfig) Descriptor() ([]byte, []int)
Deprecated: Use Test_RunConfig.ProtoReflect.Descriptor instead.
func (*Test_RunConfig) GetArgs ¶
func (x *Test_RunConfig) GetArgs() []string
func (*Test_RunConfig) GetCommand ¶
func (x *Test_RunConfig) GetCommand() string
func (*Test_RunConfig) GetContainerImage ¶
func (x *Test_RunConfig) GetContainerImage() string
func (*Test_RunConfig) GetEnv ¶
func (x *Test_RunConfig) GetEnv() map[string]string
func (*Test_RunConfig) GetTimeout ¶
func (x *Test_RunConfig) GetTimeout() *durationpb.Duration
func (*Test_RunConfig) ProtoMessage ¶
func (*Test_RunConfig) ProtoMessage()
func (*Test_RunConfig) ProtoReflect ¶
func (x *Test_RunConfig) ProtoReflect() protoreflect.Message
func (*Test_RunConfig) Reset ¶
func (x *Test_RunConfig) Reset()
func (*Test_RunConfig) String ¶
func (x *Test_RunConfig) String() string
func (*Test_RunConfig) Validate ¶
func (m *Test_RunConfig) Validate() error
Validate checks the field values on Test_RunConfig 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 (*Test_RunConfig) ValidateAll ¶
func (m *Test_RunConfig) ValidateAll() error
ValidateAll checks the field values on Test_RunConfig 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 Test_RunConfigMultiError, or nil if none found.
type Test_RunConfigMultiError ¶
type Test_RunConfigMultiError []error
Test_RunConfigMultiError is an error wrapping multiple validation errors returned by Test_RunConfig.ValidateAll() if the designated constraints aren't met.
func (Test_RunConfigMultiError) AllErrors ¶
func (m Test_RunConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Test_RunConfigMultiError) Error ¶
func (m Test_RunConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Test_RunConfigValidationError ¶
type Test_RunConfigValidationError struct {
// contains filtered or unexported fields
}
Test_RunConfigValidationError is the validation error returned by Test_RunConfig.Validate if the designated constraints aren't met.
func (Test_RunConfigValidationError) Cause ¶
func (e Test_RunConfigValidationError) Cause() error
Cause function returns cause value.
func (Test_RunConfigValidationError) Error ¶
func (e Test_RunConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Test_RunConfigValidationError) ErrorName ¶
func (e Test_RunConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Test_RunConfigValidationError) Field ¶
func (e Test_RunConfigValidationError) Field() string
Field function returns field value.
func (Test_RunConfigValidationError) Key ¶
func (e Test_RunConfigValidationError) Key() bool
Key function returns key value.
func (Test_RunConfigValidationError) Reason ¶
func (e Test_RunConfigValidationError) Reason() string
Reason function returns reason value.