diagnosticv1alpha1

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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

Cause function returns cause value.

func (AllDiagnosticsValidationError) Error added in v1.32.1

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

Field function returns field value.

func (AllDiagnosticsValidationError) Key added in v1.32.1

Key function returns key value.

func (AllDiagnosticsValidationError) Reason added in v1.32.1

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

Cause function returns cause value.

func (AttemptErrorValidationError) Error added in v1.32.1

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

Field function returns field value.

func (AttemptErrorValidationError) Key added in v1.32.1

Key function returns key value.

func (AttemptErrorValidationError) Reason added in v1.32.1

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 (*GetOAuthTokenMetadataRequest) Reset

func (x *GetOAuthTokenMetadataRequest) Reset()

func (*GetOAuthTokenMetadataRequest) 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

AllErrors returns a list of validation violation errors.

func (GetOAuthTokenMetadataRequestMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (GetOAuthTokenMetadataRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetOAuthTokenMetadataRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetOAuthTokenMetadataRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (GetOAuthTokenMetadataRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (GetOAuthTokenMetadataRequestValidationError) Reason added in v1.32.1

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 (*GetOAuthTokenMetadataResponse) ProtoMessage

func (*GetOAuthTokenMetadataResponse) ProtoMessage()

func (*GetOAuthTokenMetadataResponse) ProtoReflect

func (*GetOAuthTokenMetadataResponse) Reset

func (x *GetOAuthTokenMetadataResponse) Reset()

func (*GetOAuthTokenMetadataResponse) 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

AllErrors returns a list of validation violation errors.

func (GetOAuthTokenMetadataResponseMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (GetOAuthTokenMetadataResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetOAuthTokenMetadataResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetOAuthTokenMetadataResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (GetOAuthTokenMetadataResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (GetOAuthTokenMetadataResponseValidationError) Reason added in v1.32.1

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) Descriptor() ([]byte, []int)

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetAttempt added in v1.11.0

func (x *Job) GetAttempt() int64

func (*Job) GetAttemptedAt added in v1.11.0

func (x *Job) GetAttemptedAt() *timestamppb.Timestamp

func (*Job) GetAttemptedBy added in v1.11.0

func (x *Job) GetAttemptedBy() []string

func (*Job) GetCreatedAt added in v1.11.0

func (x *Job) GetCreatedAt() *timestamppb.Timestamp

func (*Job) GetEncodedArgs added in v1.11.0

func (x *Job) GetEncodedArgs() []byte

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) GetId added in v1.11.0

func (x *Job) GetId() int64

func (*Job) GetKind added in v1.11.0

func (x *Job) GetKind() string

func (*Job) GetMaxAttempts added in v1.11.0

func (x *Job) GetMaxAttempts() int64

func (*Job) GetMetadata added in v1.11.0

func (x *Job) GetMetadata() []byte

func (*Job) GetPriority added in v1.11.0

func (x *Job) GetPriority() int64

func (*Job) GetQueue added in v1.11.0

func (x *Job) GetQueue() string

func (*Job) GetScheduledAt added in v1.11.0

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

func (*Job) GetState added in v1.11.0

func (x *Job) GetState() string

func (*Job) GetTags added in v1.11.0

func (x *Job) GetTags() []string

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) Reset added in v1.11.0

func (x *Job) Reset()

func (*Job) String added in v1.11.0

func (x *Job) String() string

func (*Job) Validate added in v1.32.1

func (m *Job) Validate() error

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

func (m *Job) ValidateAll() error

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) Enum added in v1.11.0

func (x JobState) Enum() *JobState

func (JobState) EnumDescriptor deprecated added in v1.11.0

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

Deprecated: Use JobState.Descriptor instead.

func (JobState) Number added in v1.11.0

func (x JobState) Number() protoreflect.EnumNumber

func (JobState) String added in v1.11.0

func (x JobState) String() string

func (JobState) Type added in v1.11.0

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

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

Field function returns field value.

func (JobSummaryValidationError) Key added in v1.32.1

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 (*ListBackgroundJobKindSummaryRequest) Reset added in v1.22.0

func (*ListBackgroundJobKindSummaryRequest) String added in v1.22.0

func (*ListBackgroundJobKindSummaryRequest) Validate added in v1.32.1

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

AllErrors returns a list of validation violation errors.

func (ListBackgroundJobKindSummaryRequestMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (ListBackgroundJobKindSummaryRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListBackgroundJobKindSummaryRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListBackgroundJobKindSummaryRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ListBackgroundJobKindSummaryRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ListBackgroundJobKindSummaryRequestValidationError) Reason added in v1.32.1

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 (*ListBackgroundJobKindSummaryResponse) ProtoMessage added in v1.22.0

func (*ListBackgroundJobKindSummaryResponse) ProtoMessage()

func (*ListBackgroundJobKindSummaryResponse) ProtoReflect added in v1.22.0

func (*ListBackgroundJobKindSummaryResponse) Reset added in v1.22.0

func (*ListBackgroundJobKindSummaryResponse) String added in v1.22.0

func (*ListBackgroundJobKindSummaryResponse) Validate added in v1.32.1

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

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

AllErrors returns a list of validation violation errors.

func (ListBackgroundJobKindSummaryResponseMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (ListBackgroundJobKindSummaryResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListBackgroundJobKindSummaryResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListBackgroundJobKindSummaryResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ListBackgroundJobKindSummaryResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ListBackgroundJobKindSummaryResponseValidationError) Reason added in v1.32.1

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 (*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

AllErrors returns a list of validation violation errors.

func (ListBackgroundJobsRequestMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (ListBackgroundJobsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListBackgroundJobsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListBackgroundJobsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ListBackgroundJobsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ListBackgroundJobsRequestValidationError) Reason added in v1.32.1

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 (*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

AllErrors returns a list of validation violation errors.

func (ListBackgroundJobsResponseMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (ListBackgroundJobsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListBackgroundJobsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListBackgroundJobsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ListBackgroundJobsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ListBackgroundJobsResponseValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (OAuthTokenMetadataValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (OAuthTokenMetadataValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (OAuthTokenMetadataValidationError) Field added in v1.32.1

Field function returns field value.

func (OAuthTokenMetadataValidationError) Key added in v1.32.1

Key function returns key value.

func (OAuthTokenMetadataValidationError) Reason added in v1.32.1

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

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

Field function returns field value.

func (RiverErrorValidationError) Key added in v1.32.1

Key function returns key value.

func (RiverErrorValidationError) Reason added in v1.32.1

func (e RiverErrorValidationError) Reason() string

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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