Documentation ¶
Index ¶
- Variables
- type AllDiagnostics
- func (*AllDiagnostics) Descriptor() ([]byte, []int)deprecated
- func (x *AllDiagnostics) GetOauthTokenMetadata() *GetOAuthTokenMetadataResponse
- func (*AllDiagnostics) ProtoMessage()
- func (x *AllDiagnostics) ProtoReflect() protoreflect.Message
- func (x *AllDiagnostics) Reset()
- func (x *AllDiagnostics) String() string
- func (m *AllDiagnostics) Validate() error
- func (m *AllDiagnostics) ValidateAll() error
- type AllDiagnosticsMultiError
- type AllDiagnosticsValidationError
- func (e AllDiagnosticsValidationError) Cause() error
- func (e AllDiagnosticsValidationError) Error() string
- func (e AllDiagnosticsValidationError) ErrorName() string
- func (e AllDiagnosticsValidationError) Field() string
- func (e AllDiagnosticsValidationError) Key() bool
- func (e AllDiagnosticsValidationError) Reason() string
- type AttemptError
- func (*AttemptError) Descriptor() ([]byte, []int)deprecated
- func (x *AttemptError) GetAt() *timestamppb.Timestamp
- func (x *AttemptError) GetAttempt() int64
- func (x *AttemptError) GetError() string
- func (x *AttemptError) GetTrace() string
- func (*AttemptError) ProtoMessage()
- func (x *AttemptError) ProtoReflect() protoreflect.Message
- func (x *AttemptError) Reset()
- func (x *AttemptError) String() string
- func (m *AttemptError) Validate() error
- func (m *AttemptError) ValidateAll() error
- type AttemptErrorMultiError
- type AttemptErrorValidationError
- func (e AttemptErrorValidationError) Cause() error
- func (e AttemptErrorValidationError) Error() string
- func (e AttemptErrorValidationError) ErrorName() string
- func (e AttemptErrorValidationError) Field() string
- func (e AttemptErrorValidationError) Key() bool
- func (e AttemptErrorValidationError) Reason() string
- type GetOAuthTokenMetadataRequest
- func (*GetOAuthTokenMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetOAuthTokenMetadataRequest) ProtoMessage()
- func (x *GetOAuthTokenMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetOAuthTokenMetadataRequest) Reset()
- func (x *GetOAuthTokenMetadataRequest) String() string
- func (m *GetOAuthTokenMetadataRequest) Validate() error
- func (m *GetOAuthTokenMetadataRequest) ValidateAll() error
- type GetOAuthTokenMetadataRequestMultiError
- type GetOAuthTokenMetadataRequestValidationError
- func (e GetOAuthTokenMetadataRequestValidationError) Cause() error
- func (e GetOAuthTokenMetadataRequestValidationError) Error() string
- func (e GetOAuthTokenMetadataRequestValidationError) ErrorName() string
- func (e GetOAuthTokenMetadataRequestValidationError) Field() string
- func (e GetOAuthTokenMetadataRequestValidationError) Key() bool
- func (e GetOAuthTokenMetadataRequestValidationError) Reason() string
- type GetOAuthTokenMetadataResponse
- func (*GetOAuthTokenMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOAuthTokenMetadataResponse) GetTokens() []*OAuthTokenMetadata
- func (*GetOAuthTokenMetadataResponse) ProtoMessage()
- func (x *GetOAuthTokenMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetOAuthTokenMetadataResponse) Reset()
- func (x *GetOAuthTokenMetadataResponse) String() string
- func (m *GetOAuthTokenMetadataResponse) Validate() error
- func (m *GetOAuthTokenMetadataResponse) ValidateAll() error
- type GetOAuthTokenMetadataResponseMultiError
- type GetOAuthTokenMetadataResponseValidationError
- func (e GetOAuthTokenMetadataResponseValidationError) Cause() error
- func (e GetOAuthTokenMetadataResponseValidationError) Error() string
- func (e GetOAuthTokenMetadataResponseValidationError) ErrorName() string
- func (e GetOAuthTokenMetadataResponseValidationError) Field() string
- func (e GetOAuthTokenMetadataResponseValidationError) Key() bool
- func (e GetOAuthTokenMetadataResponseValidationError) Reason() string
- type Job
- func (*Job) Descriptor() ([]byte, []int)deprecated
- func (x *Job) GetAttempt() int64
- func (x *Job) GetAttemptedAt() *timestamppb.Timestamp
- func (x *Job) GetAttemptedBy() []string
- func (x *Job) GetCreatedAt() *timestamppb.Timestamp
- func (x *Job) GetEncodedArgs() []byte
- func (x *Job) GetErrors() []*AttemptError
- func (x *Job) GetFinalizedAt() *timestamppb.Timestamp
- func (x *Job) GetId() int64
- func (x *Job) GetKind() string
- func (x *Job) GetMaxAttempts() int64
- func (x *Job) GetMetadata() []byte
- func (x *Job) GetPriority() int64
- func (x *Job) GetQueue() string
- func (x *Job) GetScheduledAt() *timestamppb.Timestamp
- func (x *Job) GetState() string
- func (x *Job) GetTags() []string
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (x *Job) String() string
- func (m *Job) Validate() error
- func (m *Job) ValidateAll() error
- type JobMultiError
- type JobState
- type JobSummary
- func (*JobSummary) Descriptor() ([]byte, []int)deprecated
- func (x *JobSummary) GetErrors() []*RiverError
- func (x *JobSummary) GetId() string
- func (x *JobSummary) GetKind() string
- func (x *JobSummary) GetLastRun() *timestamppb.Timestamp
- func (x *JobSummary) GetState() string
- func (x *JobSummary) GetTimeElapsed() *durationpb.Duration
- func (*JobSummary) ProtoMessage()
- func (x *JobSummary) ProtoReflect() protoreflect.Message
- func (x *JobSummary) Reset()
- func (x *JobSummary) String() string
- func (m *JobSummary) Validate() error
- func (m *JobSummary) ValidateAll() error
- type JobSummaryMultiError
- type JobSummaryValidationError
- type JobValidationError
- type ListBackgroundJobKindSummaryRequest
- func (*ListBackgroundJobKindSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListBackgroundJobKindSummaryRequest) ProtoMessage()
- func (x *ListBackgroundJobKindSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackgroundJobKindSummaryRequest) Reset()
- func (x *ListBackgroundJobKindSummaryRequest) String() string
- func (m *ListBackgroundJobKindSummaryRequest) Validate() error
- func (m *ListBackgroundJobKindSummaryRequest) ValidateAll() error
- type ListBackgroundJobKindSummaryRequestMultiError
- type ListBackgroundJobKindSummaryRequestValidationError
- func (e ListBackgroundJobKindSummaryRequestValidationError) Cause() error
- func (e ListBackgroundJobKindSummaryRequestValidationError) Error() string
- func (e ListBackgroundJobKindSummaryRequestValidationError) ErrorName() string
- func (e ListBackgroundJobKindSummaryRequestValidationError) Field() string
- func (e ListBackgroundJobKindSummaryRequestValidationError) Key() bool
- func (e ListBackgroundJobKindSummaryRequestValidationError) Reason() string
- type ListBackgroundJobKindSummaryResponse
- func (*ListBackgroundJobKindSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackgroundJobKindSummaryResponse) GetJobs() []*JobSummary
- func (*ListBackgroundJobKindSummaryResponse) ProtoMessage()
- func (x *ListBackgroundJobKindSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackgroundJobKindSummaryResponse) Reset()
- func (x *ListBackgroundJobKindSummaryResponse) String() string
- func (m *ListBackgroundJobKindSummaryResponse) Validate() error
- func (m *ListBackgroundJobKindSummaryResponse) ValidateAll() error
- type ListBackgroundJobKindSummaryResponseMultiError
- type ListBackgroundJobKindSummaryResponseValidationError
- func (e ListBackgroundJobKindSummaryResponseValidationError) Cause() error
- func (e ListBackgroundJobKindSummaryResponseValidationError) Error() string
- func (e ListBackgroundJobKindSummaryResponseValidationError) ErrorName() string
- func (e ListBackgroundJobKindSummaryResponseValidationError) Field() string
- func (e ListBackgroundJobKindSummaryResponseValidationError) Key() bool
- func (e ListBackgroundJobKindSummaryResponseValidationError) Reason() string
- type ListBackgroundJobsRequest
- func (*ListBackgroundJobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackgroundJobsRequest) GetCount() int64
- func (x *ListBackgroundJobsRequest) GetKinds() []string
- func (x *ListBackgroundJobsRequest) GetState() JobState
- func (*ListBackgroundJobsRequest) ProtoMessage()
- func (x *ListBackgroundJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackgroundJobsRequest) Reset()
- func (x *ListBackgroundJobsRequest) String() string
- func (m *ListBackgroundJobsRequest) Validate() error
- func (m *ListBackgroundJobsRequest) ValidateAll() error
- type ListBackgroundJobsRequestMultiError
- type ListBackgroundJobsRequestValidationError
- func (e ListBackgroundJobsRequestValidationError) Cause() error
- func (e ListBackgroundJobsRequestValidationError) Error() string
- func (e ListBackgroundJobsRequestValidationError) ErrorName() string
- func (e ListBackgroundJobsRequestValidationError) Field() string
- func (e ListBackgroundJobsRequestValidationError) Key() bool
- func (e ListBackgroundJobsRequestValidationError) Reason() string
- type ListBackgroundJobsResponse
- func (*ListBackgroundJobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackgroundJobsResponse) GetJobs() []*Job
- func (*ListBackgroundJobsResponse) ProtoMessage()
- func (x *ListBackgroundJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackgroundJobsResponse) Reset()
- func (x *ListBackgroundJobsResponse) String() string
- func (m *ListBackgroundJobsResponse) Validate() error
- func (m *ListBackgroundJobsResponse) ValidateAll() error
- type ListBackgroundJobsResponseMultiError
- type ListBackgroundJobsResponseValidationError
- func (e ListBackgroundJobsResponseValidationError) Cause() error
- func (e ListBackgroundJobsResponseValidationError) Error() string
- func (e ListBackgroundJobsResponseValidationError) ErrorName() string
- func (e ListBackgroundJobsResponseValidationError) Field() string
- func (e ListBackgroundJobsResponseValidationError) Key() bool
- func (e ListBackgroundJobsResponseValidationError) Reason() string
- type OAuthTokenMetadata
- func (*OAuthTokenMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthTokenMetadata) GetAppName() string
- func (x *OAuthTokenMetadata) GetExpiresAt() *timestamppb.Timestamp
- func (x *OAuthTokenMetadata) GetId() string
- func (*OAuthTokenMetadata) ProtoMessage()
- func (x *OAuthTokenMetadata) ProtoReflect() protoreflect.Message
- func (x *OAuthTokenMetadata) Reset()
- func (x *OAuthTokenMetadata) String() string
- func (m *OAuthTokenMetadata) Validate() error
- func (m *OAuthTokenMetadata) ValidateAll() error
- type OAuthTokenMetadataMultiError
- type OAuthTokenMetadataValidationError
- func (e OAuthTokenMetadataValidationError) Cause() error
- func (e OAuthTokenMetadataValidationError) Error() string
- func (e OAuthTokenMetadataValidationError) ErrorName() string
- func (e OAuthTokenMetadataValidationError) Field() string
- func (e OAuthTokenMetadataValidationError) Key() bool
- func (e OAuthTokenMetadataValidationError) Reason() string
- type RiverError
- func (*RiverError) Descriptor() ([]byte, []int)deprecated
- func (x *RiverError) GetAttempt() int64
- func (x *RiverError) GetError() string
- func (x *RiverError) GetOccuredAt() *timestamppb.Timestamp
- func (x *RiverError) GetTrace() string
- func (*RiverError) ProtoMessage()
- func (x *RiverError) ProtoReflect() protoreflect.Message
- func (x *RiverError) Reset()
- func (x *RiverError) String() string
- func (m *RiverError) Validate() error
- func (m *RiverError) ValidateAll() error
- type RiverErrorMultiError
- type RiverErrorValidationError
Constants ¶
This section is empty.
Variables ¶
var ( JobState_name = map[int32]string{ 0: "JOB_STATE_UNSPECIFIED", 1: "JOB_STATE_AVAILABLE", 2: "JOB_STATE_CANCELLED", 3: "JOB_STATE_COMPLETED", 4: "JOB_STATE_DISCARDED", 5: "JOB_STATE_RETRYABLE", 6: "JOB_STATE_RUNNING", 7: "JOB_STATE_SCHEDULED", } JobState_value = map[string]int32{ "JOB_STATE_UNSPECIFIED": 0, "JOB_STATE_AVAILABLE": 1, "JOB_STATE_CANCELLED": 2, "JOB_STATE_COMPLETED": 3, "JOB_STATE_DISCARDED": 4, "JOB_STATE_RETRYABLE": 5, "JOB_STATE_RUNNING": 6, "JOB_STATE_SCHEDULED": 7, } )
Enum value maps for JobState.
var File_commonfate_control_diagnostic_v1alpha1_diagnostic_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllDiagnostics ¶
type AllDiagnostics struct { OauthTokenMetadata *GetOAuthTokenMetadataResponse `protobuf:"bytes,1,opt,name=oauth_token_metadata,json=oauthTokenMetadata,proto3" json:"oauth_token_metadata,omitempty"` // contains filtered or unexported fields }
AllDiagnostics is used client-side to combine and serialise all collected diagnostics into a single JSON.
func (*AllDiagnostics) Descriptor
deprecated
func (*AllDiagnostics) Descriptor() ([]byte, []int)
Deprecated: Use AllDiagnostics.ProtoReflect.Descriptor instead.
func (*AllDiagnostics) GetOauthTokenMetadata ¶
func (x *AllDiagnostics) GetOauthTokenMetadata() *GetOAuthTokenMetadataResponse
func (*AllDiagnostics) ProtoMessage ¶
func (*AllDiagnostics) ProtoMessage()
func (*AllDiagnostics) ProtoReflect ¶
func (x *AllDiagnostics) ProtoReflect() protoreflect.Message
func (*AllDiagnostics) Reset ¶
func (x *AllDiagnostics) Reset()
func (*AllDiagnostics) String ¶
func (x *AllDiagnostics) String() string
func (*AllDiagnostics) Validate ¶ added in v1.32.1
func (m *AllDiagnostics) Validate() error
Validate checks the field values on AllDiagnostics 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 (*AllDiagnostics) ValidateAll ¶ added in v1.32.1
func (m *AllDiagnostics) ValidateAll() error
ValidateAll checks the field values on AllDiagnostics 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 AllDiagnosticsMultiError, or nil if none found.
type AllDiagnosticsMultiError ¶ added in v1.32.1
type AllDiagnosticsMultiError []error
AllDiagnosticsMultiError is an error wrapping multiple validation errors returned by AllDiagnostics.ValidateAll() if the designated constraints aren't met.
func (AllDiagnosticsMultiError) AllErrors ¶ added in v1.32.1
func (m AllDiagnosticsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllDiagnosticsMultiError) Error ¶ added in v1.32.1
func (m AllDiagnosticsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllDiagnosticsValidationError ¶ added in v1.32.1
type AllDiagnosticsValidationError struct {
// contains filtered or unexported fields
}
AllDiagnosticsValidationError is the validation error returned by AllDiagnostics.Validate if the designated constraints aren't met.
func (AllDiagnosticsValidationError) Cause ¶ added in v1.32.1
func (e AllDiagnosticsValidationError) Cause() error
Cause function returns cause value.
func (AllDiagnosticsValidationError) Error ¶ added in v1.32.1
func (e AllDiagnosticsValidationError) Error() string
Error satisfies the builtin error interface
func (AllDiagnosticsValidationError) ErrorName ¶ added in v1.32.1
func (e AllDiagnosticsValidationError) ErrorName() string
ErrorName returns error name.
func (AllDiagnosticsValidationError) Field ¶ added in v1.32.1
func (e AllDiagnosticsValidationError) Field() string
Field function returns field value.
func (AllDiagnosticsValidationError) Key ¶ added in v1.32.1
func (e AllDiagnosticsValidationError) Key() bool
Key function returns key value.
func (AllDiagnosticsValidationError) Reason ¶ added in v1.32.1
func (e AllDiagnosticsValidationError) Reason() string
Reason function returns reason value.
type AttemptError ¶ added in v1.11.0
type AttemptError struct { // At is the time at which the error occurred. At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"` // Attempt is the attempt number on which the error occurred (maps to // Attempt on a job row). Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"` // Error contains the stringified error of an error returned from a job or a // panic value in case of a panic. Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // Trace contains a stack trace from a job that panicked. The trace is // produced by invoking `debug.Trace()`. Trace string `protobuf:"bytes,4,opt,name=trace,proto3" json:"trace,omitempty"` // contains filtered or unexported fields }
AttemptError is an error from a single job attempt that failed due to an error or a panic.
func (*AttemptError) Descriptor
deprecated
added in
v1.11.0
func (*AttemptError) Descriptor() ([]byte, []int)
Deprecated: Use AttemptError.ProtoReflect.Descriptor instead.
func (*AttemptError) GetAt ¶ added in v1.11.0
func (x *AttemptError) GetAt() *timestamppb.Timestamp
func (*AttemptError) GetAttempt ¶ added in v1.11.0
func (x *AttemptError) GetAttempt() int64
func (*AttemptError) GetError ¶ added in v1.11.0
func (x *AttemptError) GetError() string
func (*AttemptError) GetTrace ¶ added in v1.11.0
func (x *AttemptError) GetTrace() string
func (*AttemptError) ProtoMessage ¶ added in v1.11.0
func (*AttemptError) ProtoMessage()
func (*AttemptError) ProtoReflect ¶ added in v1.11.0
func (x *AttemptError) ProtoReflect() protoreflect.Message
func (*AttemptError) Reset ¶ added in v1.11.0
func (x *AttemptError) Reset()
func (*AttemptError) String ¶ added in v1.11.0
func (x *AttemptError) String() string
func (*AttemptError) Validate ¶ added in v1.32.1
func (m *AttemptError) Validate() error
Validate checks the field values on AttemptError 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 (*AttemptError) ValidateAll ¶ added in v1.32.1
func (m *AttemptError) ValidateAll() error
ValidateAll checks the field values on AttemptError 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 AttemptErrorMultiError, or nil if none found.
type AttemptErrorMultiError ¶ added in v1.32.1
type AttemptErrorMultiError []error
AttemptErrorMultiError is an error wrapping multiple validation errors returned by AttemptError.ValidateAll() if the designated constraints aren't met.
func (AttemptErrorMultiError) AllErrors ¶ added in v1.32.1
func (m AttemptErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttemptErrorMultiError) Error ¶ added in v1.32.1
func (m AttemptErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttemptErrorValidationError ¶ added in v1.32.1
type AttemptErrorValidationError struct {
// contains filtered or unexported fields
}
AttemptErrorValidationError is the validation error returned by AttemptError.Validate if the designated constraints aren't met.
func (AttemptErrorValidationError) Cause ¶ added in v1.32.1
func (e AttemptErrorValidationError) Cause() error
Cause function returns cause value.
func (AttemptErrorValidationError) Error ¶ added in v1.32.1
func (e AttemptErrorValidationError) Error() string
Error satisfies the builtin error interface
func (AttemptErrorValidationError) ErrorName ¶ added in v1.32.1
func (e AttemptErrorValidationError) ErrorName() string
ErrorName returns error name.
func (AttemptErrorValidationError) Field ¶ added in v1.32.1
func (e AttemptErrorValidationError) Field() string
Field function returns field value.
func (AttemptErrorValidationError) Key ¶ added in v1.32.1
func (e AttemptErrorValidationError) Key() bool
Key function returns key value.
func (AttemptErrorValidationError) Reason ¶ added in v1.32.1
func (e AttemptErrorValidationError) Reason() string
Reason function returns reason value.
type GetOAuthTokenMetadataRequest ¶
type GetOAuthTokenMetadataRequest struct {
// contains filtered or unexported fields
}
func (*GetOAuthTokenMetadataRequest) Descriptor
deprecated
func (*GetOAuthTokenMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOAuthTokenMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetOAuthTokenMetadataRequest) ProtoMessage ¶
func (*GetOAuthTokenMetadataRequest) ProtoMessage()
func (*GetOAuthTokenMetadataRequest) ProtoReflect ¶
func (x *GetOAuthTokenMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetOAuthTokenMetadataRequest) Reset ¶
func (x *GetOAuthTokenMetadataRequest) Reset()
func (*GetOAuthTokenMetadataRequest) String ¶
func (x *GetOAuthTokenMetadataRequest) String() string
func (*GetOAuthTokenMetadataRequest) Validate ¶ added in v1.32.1
func (m *GetOAuthTokenMetadataRequest) Validate() error
Validate checks the field values on GetOAuthTokenMetadataRequest 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 (*GetOAuthTokenMetadataRequest) ValidateAll ¶ added in v1.32.1
func (m *GetOAuthTokenMetadataRequest) ValidateAll() error
ValidateAll checks the field values on GetOAuthTokenMetadataRequest 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 GetOAuthTokenMetadataRequestMultiError, or nil if none found.
type GetOAuthTokenMetadataRequestMultiError ¶ added in v1.32.1
type GetOAuthTokenMetadataRequestMultiError []error
GetOAuthTokenMetadataRequestMultiError is an error wrapping multiple validation errors returned by GetOAuthTokenMetadataRequest.ValidateAll() if the designated constraints aren't met.
func (GetOAuthTokenMetadataRequestMultiError) AllErrors ¶ added in v1.32.1
func (m GetOAuthTokenMetadataRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetOAuthTokenMetadataRequestMultiError) Error ¶ added in v1.32.1
func (m GetOAuthTokenMetadataRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetOAuthTokenMetadataRequestValidationError ¶ added in v1.32.1
type GetOAuthTokenMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
GetOAuthTokenMetadataRequestValidationError is the validation error returned by GetOAuthTokenMetadataRequest.Validate if the designated constraints aren't met.
func (GetOAuthTokenMetadataRequestValidationError) Cause ¶ added in v1.32.1
func (e GetOAuthTokenMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (GetOAuthTokenMetadataRequestValidationError) Error ¶ added in v1.32.1
func (e GetOAuthTokenMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetOAuthTokenMetadataRequestValidationError) ErrorName ¶ added in v1.32.1
func (e GetOAuthTokenMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetOAuthTokenMetadataRequestValidationError) Field ¶ added in v1.32.1
func (e GetOAuthTokenMetadataRequestValidationError) Field() string
Field function returns field value.
func (GetOAuthTokenMetadataRequestValidationError) Key ¶ added in v1.32.1
func (e GetOAuthTokenMetadataRequestValidationError) Key() bool
Key function returns key value.
func (GetOAuthTokenMetadataRequestValidationError) Reason ¶ added in v1.32.1
func (e GetOAuthTokenMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type GetOAuthTokenMetadataResponse ¶
type GetOAuthTokenMetadataResponse struct { Tokens []*OAuthTokenMetadata `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` // contains filtered or unexported fields }
func (*GetOAuthTokenMetadataResponse) Descriptor
deprecated
func (*GetOAuthTokenMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOAuthTokenMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetOAuthTokenMetadataResponse) GetTokens ¶
func (x *GetOAuthTokenMetadataResponse) GetTokens() []*OAuthTokenMetadata
func (*GetOAuthTokenMetadataResponse) ProtoMessage ¶
func (*GetOAuthTokenMetadataResponse) ProtoMessage()
func (*GetOAuthTokenMetadataResponse) ProtoReflect ¶
func (x *GetOAuthTokenMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetOAuthTokenMetadataResponse) Reset ¶
func (x *GetOAuthTokenMetadataResponse) Reset()
func (*GetOAuthTokenMetadataResponse) String ¶
func (x *GetOAuthTokenMetadataResponse) String() string
func (*GetOAuthTokenMetadataResponse) Validate ¶ added in v1.32.1
func (m *GetOAuthTokenMetadataResponse) Validate() error
Validate checks the field values on GetOAuthTokenMetadataResponse 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 (*GetOAuthTokenMetadataResponse) ValidateAll ¶ added in v1.32.1
func (m *GetOAuthTokenMetadataResponse) ValidateAll() error
ValidateAll checks the field values on GetOAuthTokenMetadataResponse 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 GetOAuthTokenMetadataResponseMultiError, or nil if none found.
type GetOAuthTokenMetadataResponseMultiError ¶ added in v1.32.1
type GetOAuthTokenMetadataResponseMultiError []error
GetOAuthTokenMetadataResponseMultiError is an error wrapping multiple validation errors returned by GetOAuthTokenMetadataResponse.ValidateAll() if the designated constraints aren't met.
func (GetOAuthTokenMetadataResponseMultiError) AllErrors ¶ added in v1.32.1
func (m GetOAuthTokenMetadataResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetOAuthTokenMetadataResponseMultiError) Error ¶ added in v1.32.1
func (m GetOAuthTokenMetadataResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetOAuthTokenMetadataResponseValidationError ¶ added in v1.32.1
type GetOAuthTokenMetadataResponseValidationError struct {
// contains filtered or unexported fields
}
GetOAuthTokenMetadataResponseValidationError is the validation error returned by GetOAuthTokenMetadataResponse.Validate if the designated constraints aren't met.
func (GetOAuthTokenMetadataResponseValidationError) Cause ¶ added in v1.32.1
func (e GetOAuthTokenMetadataResponseValidationError) Cause() error
Cause function returns cause value.
func (GetOAuthTokenMetadataResponseValidationError) Error ¶ added in v1.32.1
func (e GetOAuthTokenMetadataResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetOAuthTokenMetadataResponseValidationError) ErrorName ¶ added in v1.32.1
func (e GetOAuthTokenMetadataResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetOAuthTokenMetadataResponseValidationError) Field ¶ added in v1.32.1
func (e GetOAuthTokenMetadataResponseValidationError) Field() string
Field function returns field value.
func (GetOAuthTokenMetadataResponseValidationError) Key ¶ added in v1.32.1
func (e GetOAuthTokenMetadataResponseValidationError) Key() bool
Key function returns key value.
func (GetOAuthTokenMetadataResponseValidationError) Reason ¶ added in v1.32.1
func (e GetOAuthTokenMetadataResponseValidationError) Reason() string
Reason function returns reason value.
type Job ¶ added in v1.11.0
type Job struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Attempt is the attempt number of the job. Jobs are inserted at 0, the // number is incremented to 1 the first time work its worked, and may // increment further if it's either snoozed or errors. Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"` // AttemptedAt is the time that the job was last worked. Starts out as `nil` // on a new insert. AttemptedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=attempted_at,json=attemptedAt,proto3" json:"attempted_at,omitempty"` // AttemptedBy is the set of client IDs that have worked this job. AttemptedBy []string `protobuf:"bytes,4,rep,name=attempted_by,json=attemptedBy,proto3" json:"attempted_by,omitempty"` // CreatedAt is when the job record was created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // EncodedArgs is the job's JobArgs encoded as JSON. EncodedArgs []byte `protobuf:"bytes,6,opt,name=encoded_args,json=encodedArgs,proto3" json:"encoded_args,omitempty"` // Errors is a set of errors that occurred when the job was worked, one for // each attempt. Ordered from earliest error to the latest error. Errors []*AttemptError `protobuf:"bytes,7,rep,name=errors,proto3" json:"errors,omitempty"` // FinalizedAt is the time at which the job was "finalized", meaning it was // either completed successfully or errored for the last time such that // it'll no longer be retried. FinalizedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=finalized_at,json=finalizedAt,proto3" json:"finalized_at,omitempty"` // Kind uniquely identifies the type of job and instructs which worker // should work it. It is set at insertion time via `Kind()` on the // `JobArgs`. Kind string `protobuf:"bytes,9,opt,name=kind,proto3" json:"kind,omitempty"` // MaxAttempts is the maximum number of attempts that the job will be tried // before it errors for the last time and will no longer be worked. // // Extracted (in order of precedence) from job-specific InsertOpts // on Insert, from the worker level InsertOpts from JobArgsWithInsertOpts, // or from a client's default value. MaxAttempts int64 `protobuf:"varint,10,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"` // Metadata is a field for storing arbitrary metadata on a job. It should // always be a valid JSON object payload, and users should not overwrite or // remove anything stored in this field by River. Metadata []byte `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` // Priority is the priority of the job, with 1 being the highest priority and // 4 being the lowest. When fetching available jobs to work, the highest // priority jobs will always be fetched before any lower priority jobs are // fetched. Note that if your workers are swamped with more high-priority jobs // then they can handle, lower priority jobs may not be fetched. Priority int64 `protobuf:"varint,12,opt,name=priority,proto3" json:"priority,omitempty"` // Queue is the name of the queue where the job will be worked. Queues can // be configured independently and be used to isolate jobs. // // Extracted from either specific InsertOpts on Insert, or InsertOpts from // JobArgsWithInsertOpts, or a client's default value. Queue string `protobuf:"bytes,13,opt,name=queue,proto3" json:"queue,omitempty"` // ScheduledAt is when the job is scheduled to become available to be // worked. Jobs default to running immediately, but may be scheduled // for the future when they're inserted. They may also be scheduled for // later because they were snoozed or because they errored and have // additional retry attempts remaining. ScheduledAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"` // State is the state of job like `available` or `completed`. Jobs are // `available` when they're first inserted. State string `protobuf:"bytes,15,opt,name=state,proto3" json:"state,omitempty"` // Tags are an arbitrary list of keywords to add to the job. They have no // functional behavior and are meant entirely as a user-specified construct // to help group and categorize jobs. Tags []string `protobuf:"bytes,16,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Job) Descriptor
deprecated
added in
v1.11.0
func (*Job) GetAttempt ¶ added in v1.11.0
func (*Job) GetAttemptedAt ¶ added in v1.11.0
func (x *Job) GetAttemptedAt() *timestamppb.Timestamp
func (*Job) GetAttemptedBy ¶ added in v1.11.0
func (*Job) GetCreatedAt ¶ added in v1.11.0
func (x *Job) GetCreatedAt() *timestamppb.Timestamp
func (*Job) GetEncodedArgs ¶ added in v1.11.0
func (*Job) GetErrors ¶ added in v1.11.0
func (x *Job) GetErrors() []*AttemptError
func (*Job) GetFinalizedAt ¶ added in v1.11.0
func (x *Job) GetFinalizedAt() *timestamppb.Timestamp
func (*Job) GetMaxAttempts ¶ added in v1.11.0
func (*Job) GetMetadata ¶ added in v1.11.0
func (*Job) GetPriority ¶ added in v1.11.0
func (*Job) GetScheduledAt ¶ added in v1.11.0
func (x *Job) GetScheduledAt() *timestamppb.Timestamp
func (*Job) ProtoMessage ¶ added in v1.11.0
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶ added in v1.11.0
func (x *Job) ProtoReflect() protoreflect.Message
func (*Job) Validate ¶ added in v1.32.1
Validate checks the field values on Job 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 (*Job) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on Job 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 JobMultiError, or nil if none found.
type JobMultiError ¶ added in v1.32.1
type JobMultiError []error
JobMultiError is an error wrapping multiple validation errors returned by Job.ValidateAll() if the designated constraints aren't met.
func (JobMultiError) AllErrors ¶ added in v1.32.1
func (m JobMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobMultiError) Error ¶ added in v1.32.1
func (m JobMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobState ¶ added in v1.11.0
type JobState int32
const ( JobState_JOB_STATE_UNSPECIFIED JobState = 0 JobState_JOB_STATE_AVAILABLE JobState = 1 JobState_JOB_STATE_CANCELLED JobState = 2 JobState_JOB_STATE_COMPLETED JobState = 3 JobState_JOB_STATE_DISCARDED JobState = 4 JobState_JOB_STATE_RETRYABLE JobState = 5 JobState_JOB_STATE_RUNNING JobState = 6 JobState_JOB_STATE_SCHEDULED JobState = 7 )
func (JobState) Descriptor ¶ added in v1.11.0
func (JobState) Descriptor() protoreflect.EnumDescriptor
func (JobState) EnumDescriptor
deprecated
added in
v1.11.0
func (JobState) Number ¶ added in v1.11.0
func (x JobState) Number() protoreflect.EnumNumber
func (JobState) Type ¶ added in v1.11.0
func (JobState) Type() protoreflect.EnumType
type JobSummary ¶ added in v1.22.0
type JobSummary struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Errors []*RiverError `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` LastRun *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty"` TimeElapsed *durationpb.Duration `protobuf:"bytes,6,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` // contains filtered or unexported fields }
func (*JobSummary) Descriptor
deprecated
added in
v1.22.0
func (*JobSummary) Descriptor() ([]byte, []int)
Deprecated: Use JobSummary.ProtoReflect.Descriptor instead.
func (*JobSummary) GetErrors ¶ added in v1.22.0
func (x *JobSummary) GetErrors() []*RiverError
func (*JobSummary) GetId ¶ added in v1.22.0
func (x *JobSummary) GetId() string
func (*JobSummary) GetKind ¶ added in v1.22.0
func (x *JobSummary) GetKind() string
func (*JobSummary) GetLastRun ¶ added in v1.22.0
func (x *JobSummary) GetLastRun() *timestamppb.Timestamp
func (*JobSummary) GetState ¶ added in v1.22.0
func (x *JobSummary) GetState() string
func (*JobSummary) GetTimeElapsed ¶ added in v1.22.0
func (x *JobSummary) GetTimeElapsed() *durationpb.Duration
func (*JobSummary) ProtoMessage ¶ added in v1.22.0
func (*JobSummary) ProtoMessage()
func (*JobSummary) ProtoReflect ¶ added in v1.22.0
func (x *JobSummary) ProtoReflect() protoreflect.Message
func (*JobSummary) Reset ¶ added in v1.22.0
func (x *JobSummary) Reset()
func (*JobSummary) String ¶ added in v1.22.0
func (x *JobSummary) String() string
func (*JobSummary) Validate ¶ added in v1.32.1
func (m *JobSummary) Validate() error
Validate checks the field values on JobSummary 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 (*JobSummary) ValidateAll ¶ added in v1.32.1
func (m *JobSummary) ValidateAll() error
ValidateAll checks the field values on JobSummary 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 JobSummaryMultiError, or nil if none found.
type JobSummaryMultiError ¶ added in v1.32.1
type JobSummaryMultiError []error
JobSummaryMultiError is an error wrapping multiple validation errors returned by JobSummary.ValidateAll() if the designated constraints aren't met.
func (JobSummaryMultiError) AllErrors ¶ added in v1.32.1
func (m JobSummaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobSummaryMultiError) Error ¶ added in v1.32.1
func (m JobSummaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobSummaryValidationError ¶ added in v1.32.1
type JobSummaryValidationError struct {
// contains filtered or unexported fields
}
JobSummaryValidationError is the validation error returned by JobSummary.Validate if the designated constraints aren't met.
func (JobSummaryValidationError) Cause ¶ added in v1.32.1
func (e JobSummaryValidationError) Cause() error
Cause function returns cause value.
func (JobSummaryValidationError) Error ¶ added in v1.32.1
func (e JobSummaryValidationError) Error() string
Error satisfies the builtin error interface
func (JobSummaryValidationError) ErrorName ¶ added in v1.32.1
func (e JobSummaryValidationError) ErrorName() string
ErrorName returns error name.
func (JobSummaryValidationError) Field ¶ added in v1.32.1
func (e JobSummaryValidationError) Field() string
Field function returns field value.
func (JobSummaryValidationError) Key ¶ added in v1.32.1
func (e JobSummaryValidationError) Key() bool
Key function returns key value.
func (JobSummaryValidationError) Reason ¶ added in v1.32.1
func (e JobSummaryValidationError) Reason() string
Reason function returns reason value.
type JobValidationError ¶ added in v1.32.1
type JobValidationError struct {
// contains filtered or unexported fields
}
JobValidationError is the validation error returned by Job.Validate if the designated constraints aren't met.
func (JobValidationError) Cause ¶ added in v1.32.1
func (e JobValidationError) Cause() error
Cause function returns cause value.
func (JobValidationError) Error ¶ added in v1.32.1
func (e JobValidationError) Error() string
Error satisfies the builtin error interface
func (JobValidationError) ErrorName ¶ added in v1.32.1
func (e JobValidationError) ErrorName() string
ErrorName returns error name.
func (JobValidationError) Field ¶ added in v1.32.1
func (e JobValidationError) Field() string
Field function returns field value.
func (JobValidationError) Key ¶ added in v1.32.1
func (e JobValidationError) Key() bool
Key function returns key value.
func (JobValidationError) Reason ¶ added in v1.32.1
func (e JobValidationError) Reason() string
Reason function returns reason value.
type ListBackgroundJobKindSummaryRequest ¶ added in v1.22.0
type ListBackgroundJobKindSummaryRequest struct {
// contains filtered or unexported fields
}
func (*ListBackgroundJobKindSummaryRequest) Descriptor
deprecated
added in
v1.22.0
func (*ListBackgroundJobKindSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackgroundJobKindSummaryRequest.ProtoReflect.Descriptor instead.
func (*ListBackgroundJobKindSummaryRequest) ProtoMessage ¶ added in v1.22.0
func (*ListBackgroundJobKindSummaryRequest) ProtoMessage()
func (*ListBackgroundJobKindSummaryRequest) ProtoReflect ¶ added in v1.22.0
func (x *ListBackgroundJobKindSummaryRequest) ProtoReflect() protoreflect.Message
func (*ListBackgroundJobKindSummaryRequest) Reset ¶ added in v1.22.0
func (x *ListBackgroundJobKindSummaryRequest) Reset()
func (*ListBackgroundJobKindSummaryRequest) String ¶ added in v1.22.0
func (x *ListBackgroundJobKindSummaryRequest) String() string
func (*ListBackgroundJobKindSummaryRequest) Validate ¶ added in v1.32.1
func (m *ListBackgroundJobKindSummaryRequest) Validate() error
Validate checks the field values on ListBackgroundJobKindSummaryRequest 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 (*ListBackgroundJobKindSummaryRequest) ValidateAll ¶ added in v1.32.1
func (m *ListBackgroundJobKindSummaryRequest) ValidateAll() error
ValidateAll checks the field values on ListBackgroundJobKindSummaryRequest 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 ListBackgroundJobKindSummaryRequestMultiError, or nil if none found.
type ListBackgroundJobKindSummaryRequestMultiError ¶ added in v1.32.1
type ListBackgroundJobKindSummaryRequestMultiError []error
ListBackgroundJobKindSummaryRequestMultiError is an error wrapping multiple validation errors returned by ListBackgroundJobKindSummaryRequest.ValidateAll() if the designated constraints aren't met.
func (ListBackgroundJobKindSummaryRequestMultiError) AllErrors ¶ added in v1.32.1
func (m ListBackgroundJobKindSummaryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBackgroundJobKindSummaryRequestMultiError) Error ¶ added in v1.32.1
func (m ListBackgroundJobKindSummaryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBackgroundJobKindSummaryRequestValidationError ¶ added in v1.32.1
type ListBackgroundJobKindSummaryRequestValidationError struct {
// contains filtered or unexported fields
}
ListBackgroundJobKindSummaryRequestValidationError is the validation error returned by ListBackgroundJobKindSummaryRequest.Validate if the designated constraints aren't met.
func (ListBackgroundJobKindSummaryRequestValidationError) Cause ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBackgroundJobKindSummaryRequestValidationError) Error ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBackgroundJobKindSummaryRequestValidationError) ErrorName ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBackgroundJobKindSummaryRequestValidationError) Field ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryRequestValidationError) Field() string
Field function returns field value.
func (ListBackgroundJobKindSummaryRequestValidationError) Key ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryRequestValidationError) Key() bool
Key function returns key value.
func (ListBackgroundJobKindSummaryRequestValidationError) Reason ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryRequestValidationError) Reason() string
Reason function returns reason value.
type ListBackgroundJobKindSummaryResponse ¶ added in v1.22.0
type ListBackgroundJobKindSummaryResponse struct { Jobs []*JobSummary `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` // contains filtered or unexported fields }
func (*ListBackgroundJobKindSummaryResponse) Descriptor
deprecated
added in
v1.22.0
func (*ListBackgroundJobKindSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackgroundJobKindSummaryResponse.ProtoReflect.Descriptor instead.
func (*ListBackgroundJobKindSummaryResponse) GetJobs ¶ added in v1.22.0
func (x *ListBackgroundJobKindSummaryResponse) GetJobs() []*JobSummary
func (*ListBackgroundJobKindSummaryResponse) ProtoMessage ¶ added in v1.22.0
func (*ListBackgroundJobKindSummaryResponse) ProtoMessage()
func (*ListBackgroundJobKindSummaryResponse) ProtoReflect ¶ added in v1.22.0
func (x *ListBackgroundJobKindSummaryResponse) ProtoReflect() protoreflect.Message
func (*ListBackgroundJobKindSummaryResponse) Reset ¶ added in v1.22.0
func (x *ListBackgroundJobKindSummaryResponse) Reset()
func (*ListBackgroundJobKindSummaryResponse) String ¶ added in v1.22.0
func (x *ListBackgroundJobKindSummaryResponse) String() string
func (*ListBackgroundJobKindSummaryResponse) Validate ¶ added in v1.32.1
func (m *ListBackgroundJobKindSummaryResponse) Validate() error
Validate checks the field values on ListBackgroundJobKindSummaryResponse 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 (*ListBackgroundJobKindSummaryResponse) ValidateAll ¶ added in v1.32.1
func (m *ListBackgroundJobKindSummaryResponse) ValidateAll() error
ValidateAll checks the field values on ListBackgroundJobKindSummaryResponse 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 ListBackgroundJobKindSummaryResponseMultiError, or nil if none found.
type ListBackgroundJobKindSummaryResponseMultiError ¶ added in v1.32.1
type ListBackgroundJobKindSummaryResponseMultiError []error
ListBackgroundJobKindSummaryResponseMultiError is an error wrapping multiple validation errors returned by ListBackgroundJobKindSummaryResponse.ValidateAll() if the designated constraints aren't met.
func (ListBackgroundJobKindSummaryResponseMultiError) AllErrors ¶ added in v1.32.1
func (m ListBackgroundJobKindSummaryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBackgroundJobKindSummaryResponseMultiError) Error ¶ added in v1.32.1
func (m ListBackgroundJobKindSummaryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBackgroundJobKindSummaryResponseValidationError ¶ added in v1.32.1
type ListBackgroundJobKindSummaryResponseValidationError struct {
// contains filtered or unexported fields
}
ListBackgroundJobKindSummaryResponseValidationError is the validation error returned by ListBackgroundJobKindSummaryResponse.Validate if the designated constraints aren't met.
func (ListBackgroundJobKindSummaryResponseValidationError) Cause ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryResponseValidationError) Cause() error
Cause function returns cause value.
func (ListBackgroundJobKindSummaryResponseValidationError) Error ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListBackgroundJobKindSummaryResponseValidationError) ErrorName ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListBackgroundJobKindSummaryResponseValidationError) Field ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryResponseValidationError) Field() string
Field function returns field value.
func (ListBackgroundJobKindSummaryResponseValidationError) Key ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryResponseValidationError) Key() bool
Key function returns key value.
func (ListBackgroundJobKindSummaryResponseValidationError) Reason ¶ added in v1.32.1
func (e ListBackgroundJobKindSummaryResponseValidationError) Reason() string
Reason function returns reason value.
type ListBackgroundJobsRequest ¶ added in v1.11.0
type ListBackgroundJobsRequest struct { // Optionally filter jobs by kind, supplying an empty list will return jobs for all kinds Kinds []string `protobuf:"bytes,1,rep,name=kinds,proto3" json:"kinds,omitempty"` // by default requests will return upp to 100 jobs, set this between 1 and 10000 to retrieve more jobs Count *int64 `protobuf:"varint,2,opt,name=count,proto3,oneof" json:"count,omitempty"` // The job state to filter for State *JobState `protobuf:"varint,3,opt,name=state,proto3,enum=commonfate.control.diagnostic.v1alpha1.JobState,oneof" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ListBackgroundJobsRequest) Descriptor
deprecated
added in
v1.11.0
func (*ListBackgroundJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackgroundJobsRequest.ProtoReflect.Descriptor instead.
func (*ListBackgroundJobsRequest) GetCount ¶ added in v1.11.0
func (x *ListBackgroundJobsRequest) GetCount() int64
func (*ListBackgroundJobsRequest) GetKinds ¶ added in v1.11.0
func (x *ListBackgroundJobsRequest) GetKinds() []string
func (*ListBackgroundJobsRequest) GetState ¶ added in v1.11.0
func (x *ListBackgroundJobsRequest) GetState() JobState
func (*ListBackgroundJobsRequest) ProtoMessage ¶ added in v1.11.0
func (*ListBackgroundJobsRequest) ProtoMessage()
func (*ListBackgroundJobsRequest) ProtoReflect ¶ added in v1.11.0
func (x *ListBackgroundJobsRequest) ProtoReflect() protoreflect.Message
func (*ListBackgroundJobsRequest) Reset ¶ added in v1.11.0
func (x *ListBackgroundJobsRequest) Reset()
func (*ListBackgroundJobsRequest) String ¶ added in v1.11.0
func (x *ListBackgroundJobsRequest) String() string
func (*ListBackgroundJobsRequest) Validate ¶ added in v1.32.1
func (m *ListBackgroundJobsRequest) Validate() error
Validate checks the field values on ListBackgroundJobsRequest 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 (*ListBackgroundJobsRequest) ValidateAll ¶ added in v1.32.1
func (m *ListBackgroundJobsRequest) ValidateAll() error
ValidateAll checks the field values on ListBackgroundJobsRequest 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 ListBackgroundJobsRequestMultiError, or nil if none found.
type ListBackgroundJobsRequestMultiError ¶ added in v1.32.1
type ListBackgroundJobsRequestMultiError []error
ListBackgroundJobsRequestMultiError is an error wrapping multiple validation errors returned by ListBackgroundJobsRequest.ValidateAll() if the designated constraints aren't met.
func (ListBackgroundJobsRequestMultiError) AllErrors ¶ added in v1.32.1
func (m ListBackgroundJobsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBackgroundJobsRequestMultiError) Error ¶ added in v1.32.1
func (m ListBackgroundJobsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBackgroundJobsRequestValidationError ¶ added in v1.32.1
type ListBackgroundJobsRequestValidationError struct {
// contains filtered or unexported fields
}
ListBackgroundJobsRequestValidationError is the validation error returned by ListBackgroundJobsRequest.Validate if the designated constraints aren't met.
func (ListBackgroundJobsRequestValidationError) Cause ¶ added in v1.32.1
func (e ListBackgroundJobsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBackgroundJobsRequestValidationError) Error ¶ added in v1.32.1
func (e ListBackgroundJobsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBackgroundJobsRequestValidationError) ErrorName ¶ added in v1.32.1
func (e ListBackgroundJobsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBackgroundJobsRequestValidationError) Field ¶ added in v1.32.1
func (e ListBackgroundJobsRequestValidationError) Field() string
Field function returns field value.
func (ListBackgroundJobsRequestValidationError) Key ¶ added in v1.32.1
func (e ListBackgroundJobsRequestValidationError) Key() bool
Key function returns key value.
func (ListBackgroundJobsRequestValidationError) Reason ¶ added in v1.32.1
func (e ListBackgroundJobsRequestValidationError) Reason() string
Reason function returns reason value.
type ListBackgroundJobsResponse ¶ added in v1.11.0
type ListBackgroundJobsResponse struct { Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` // contains filtered or unexported fields }
func (*ListBackgroundJobsResponse) Descriptor
deprecated
added in
v1.11.0
func (*ListBackgroundJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackgroundJobsResponse.ProtoReflect.Descriptor instead.
func (*ListBackgroundJobsResponse) GetJobs ¶ added in v1.11.0
func (x *ListBackgroundJobsResponse) GetJobs() []*Job
func (*ListBackgroundJobsResponse) ProtoMessage ¶ added in v1.11.0
func (*ListBackgroundJobsResponse) ProtoMessage()
func (*ListBackgroundJobsResponse) ProtoReflect ¶ added in v1.11.0
func (x *ListBackgroundJobsResponse) ProtoReflect() protoreflect.Message
func (*ListBackgroundJobsResponse) Reset ¶ added in v1.11.0
func (x *ListBackgroundJobsResponse) Reset()
func (*ListBackgroundJobsResponse) String ¶ added in v1.11.0
func (x *ListBackgroundJobsResponse) String() string
func (*ListBackgroundJobsResponse) Validate ¶ added in v1.32.1
func (m *ListBackgroundJobsResponse) Validate() error
Validate checks the field values on ListBackgroundJobsResponse 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 (*ListBackgroundJobsResponse) ValidateAll ¶ added in v1.32.1
func (m *ListBackgroundJobsResponse) ValidateAll() error
ValidateAll checks the field values on ListBackgroundJobsResponse 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 ListBackgroundJobsResponseMultiError, or nil if none found.
type ListBackgroundJobsResponseMultiError ¶ added in v1.32.1
type ListBackgroundJobsResponseMultiError []error
ListBackgroundJobsResponseMultiError is an error wrapping multiple validation errors returned by ListBackgroundJobsResponse.ValidateAll() if the designated constraints aren't met.
func (ListBackgroundJobsResponseMultiError) AllErrors ¶ added in v1.32.1
func (m ListBackgroundJobsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBackgroundJobsResponseMultiError) Error ¶ added in v1.32.1
func (m ListBackgroundJobsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBackgroundJobsResponseValidationError ¶ added in v1.32.1
type ListBackgroundJobsResponseValidationError struct {
// contains filtered or unexported fields
}
ListBackgroundJobsResponseValidationError is the validation error returned by ListBackgroundJobsResponse.Validate if the designated constraints aren't met.
func (ListBackgroundJobsResponseValidationError) Cause ¶ added in v1.32.1
func (e ListBackgroundJobsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListBackgroundJobsResponseValidationError) Error ¶ added in v1.32.1
func (e ListBackgroundJobsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListBackgroundJobsResponseValidationError) ErrorName ¶ added in v1.32.1
func (e ListBackgroundJobsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListBackgroundJobsResponseValidationError) Field ¶ added in v1.32.1
func (e ListBackgroundJobsResponseValidationError) Field() string
Field function returns field value.
func (ListBackgroundJobsResponseValidationError) Key ¶ added in v1.32.1
func (e ListBackgroundJobsResponseValidationError) Key() bool
Key function returns key value.
func (ListBackgroundJobsResponseValidationError) Reason ¶ added in v1.32.1
func (e ListBackgroundJobsResponseValidationError) Reason() string
Reason function returns reason value.
type OAuthTokenMetadata ¶
type OAuthTokenMetadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AppName string `protobuf:"bytes,2,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*OAuthTokenMetadata) Descriptor
deprecated
func (*OAuthTokenMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OAuthTokenMetadata.ProtoReflect.Descriptor instead.
func (*OAuthTokenMetadata) GetAppName ¶
func (x *OAuthTokenMetadata) GetAppName() string
func (*OAuthTokenMetadata) GetExpiresAt ¶
func (x *OAuthTokenMetadata) GetExpiresAt() *timestamppb.Timestamp
func (*OAuthTokenMetadata) GetId ¶
func (x *OAuthTokenMetadata) GetId() string
func (*OAuthTokenMetadata) ProtoMessage ¶
func (*OAuthTokenMetadata) ProtoMessage()
func (*OAuthTokenMetadata) ProtoReflect ¶
func (x *OAuthTokenMetadata) ProtoReflect() protoreflect.Message
func (*OAuthTokenMetadata) Reset ¶
func (x *OAuthTokenMetadata) Reset()
func (*OAuthTokenMetadata) String ¶
func (x *OAuthTokenMetadata) String() string
func (*OAuthTokenMetadata) Validate ¶ added in v1.32.1
func (m *OAuthTokenMetadata) Validate() error
Validate checks the field values on OAuthTokenMetadata 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 (*OAuthTokenMetadata) ValidateAll ¶ added in v1.32.1
func (m *OAuthTokenMetadata) ValidateAll() error
ValidateAll checks the field values on OAuthTokenMetadata 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 OAuthTokenMetadataMultiError, or nil if none found.
type OAuthTokenMetadataMultiError ¶ added in v1.32.1
type OAuthTokenMetadataMultiError []error
OAuthTokenMetadataMultiError is an error wrapping multiple validation errors returned by OAuthTokenMetadata.ValidateAll() if the designated constraints aren't met.
func (OAuthTokenMetadataMultiError) AllErrors ¶ added in v1.32.1
func (m OAuthTokenMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OAuthTokenMetadataMultiError) Error ¶ added in v1.32.1
func (m OAuthTokenMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OAuthTokenMetadataValidationError ¶ added in v1.32.1
type OAuthTokenMetadataValidationError struct {
// contains filtered or unexported fields
}
OAuthTokenMetadataValidationError is the validation error returned by OAuthTokenMetadata.Validate if the designated constraints aren't met.
func (OAuthTokenMetadataValidationError) Cause ¶ added in v1.32.1
func (e OAuthTokenMetadataValidationError) Cause() error
Cause function returns cause value.
func (OAuthTokenMetadataValidationError) Error ¶ added in v1.32.1
func (e OAuthTokenMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (OAuthTokenMetadataValidationError) ErrorName ¶ added in v1.32.1
func (e OAuthTokenMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (OAuthTokenMetadataValidationError) Field ¶ added in v1.32.1
func (e OAuthTokenMetadataValidationError) Field() string
Field function returns field value.
func (OAuthTokenMetadataValidationError) Key ¶ added in v1.32.1
func (e OAuthTokenMetadataValidationError) Key() bool
Key function returns key value.
func (OAuthTokenMetadataValidationError) Reason ¶ added in v1.32.1
func (e OAuthTokenMetadataValidationError) Reason() string
Reason function returns reason value.
type RiverError ¶ added in v1.22.0
type RiverError struct { OccuredAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=occured_at,json=occuredAt,proto3" json:"occured_at,omitempty"` Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` Trace string `protobuf:"bytes,4,opt,name=trace,proto3" json:"trace,omitempty"` // contains filtered or unexported fields }
func (*RiverError) Descriptor
deprecated
added in
v1.22.0
func (*RiverError) Descriptor() ([]byte, []int)
Deprecated: Use RiverError.ProtoReflect.Descriptor instead.
func (*RiverError) GetAttempt ¶ added in v1.22.0
func (x *RiverError) GetAttempt() int64
func (*RiverError) GetError ¶ added in v1.22.0
func (x *RiverError) GetError() string
func (*RiverError) GetOccuredAt ¶ added in v1.22.0
func (x *RiverError) GetOccuredAt() *timestamppb.Timestamp
func (*RiverError) GetTrace ¶ added in v1.22.0
func (x *RiverError) GetTrace() string
func (*RiverError) ProtoMessage ¶ added in v1.22.0
func (*RiverError) ProtoMessage()
func (*RiverError) ProtoReflect ¶ added in v1.22.0
func (x *RiverError) ProtoReflect() protoreflect.Message
func (*RiverError) Reset ¶ added in v1.22.0
func (x *RiverError) Reset()
func (*RiverError) String ¶ added in v1.22.0
func (x *RiverError) String() string
func (*RiverError) Validate ¶ added in v1.32.1
func (m *RiverError) Validate() error
Validate checks the field values on RiverError 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 (*RiverError) ValidateAll ¶ added in v1.32.1
func (m *RiverError) ValidateAll() error
ValidateAll checks the field values on RiverError 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 RiverErrorMultiError, or nil if none found.
type RiverErrorMultiError ¶ added in v1.32.1
type RiverErrorMultiError []error
RiverErrorMultiError is an error wrapping multiple validation errors returned by RiverError.ValidateAll() if the designated constraints aren't met.
func (RiverErrorMultiError) AllErrors ¶ added in v1.32.1
func (m RiverErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RiverErrorMultiError) Error ¶ added in v1.32.1
func (m RiverErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RiverErrorValidationError ¶ added in v1.32.1
type RiverErrorValidationError struct {
// contains filtered or unexported fields
}
RiverErrorValidationError is the validation error returned by RiverError.Validate if the designated constraints aren't met.
func (RiverErrorValidationError) Cause ¶ added in v1.32.1
func (e RiverErrorValidationError) Cause() error
Cause function returns cause value.
func (RiverErrorValidationError) Error ¶ added in v1.32.1
func (e RiverErrorValidationError) Error() string
Error satisfies the builtin error interface
func (RiverErrorValidationError) ErrorName ¶ added in v1.32.1
func (e RiverErrorValidationError) ErrorName() string
ErrorName returns error name.
func (RiverErrorValidationError) Field ¶ added in v1.32.1
func (e RiverErrorValidationError) Field() string
Field function returns field value.
func (RiverErrorValidationError) Key ¶ added in v1.32.1
func (e RiverErrorValidationError) Key() bool
Key function returns key value.
func (RiverErrorValidationError) Reason ¶ added in v1.32.1
func (e RiverErrorValidationError) Reason() string
Reason function returns reason value.