v1

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConcurrencyPolicy_name = map[int32]string{
		0: "ForbidConcurrent",
		1: "AllowConcurrent",
		2: "ReplaceConcurren",
	}
	ConcurrencyPolicy_value = map[string]int32{
		"ForbidConcurrent": 0,
		"AllowConcurrent":  1,
		"ReplaceConcurren": 2,
	}
)

Enum value maps for ConcurrencyPolicy.

View Source
var File_nightwatch_v1_cronjob_proto protoreflect.FileDescriptor
View Source
var File_nightwatch_v1_job_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConcurrencyPolicy

type ConcurrencyPolicy int32

ConcurrencyPolicy 描述了作业的处理方式。只能指定以下并发策略中的一个。 如果未指定以下任何策略,则默认策略为 ForbidConcurrent

const (
	// ForbidConcurrent 禁止并发运行,如果先前的作业尚未完成,则跳过下一个运行。
	ConcurrencyPolicy_ForbidConcurrent ConcurrencyPolicy = 0
	// AllowConcurrent 允许 CronJobs 并发运行。
	ConcurrencyPolicy_AllowConcurrent ConcurrencyPolicy = 1
	// ReplaceConcurrent 取消当前正在运行的作业,并用一个新的作业替代它。
	ConcurrencyPolicy_ReplaceConcurren ConcurrencyPolicy = 2
)

func (ConcurrencyPolicy) Descriptor

func (ConcurrencyPolicy) Enum

func (ConcurrencyPolicy) EnumDescriptor deprecated

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

Deprecated: Use ConcurrencyPolicy.Descriptor instead.

func (ConcurrencyPolicy) Number

func (ConcurrencyPolicy) String

func (x ConcurrencyPolicy) String() string

func (ConcurrencyPolicy) Type

type CreateCronJobRequest

type CreateCronJobRequest struct {
	CronJob *CronJob `protobuf:"bytes,1,opt,name=cronJob,proto3" json:"cronJob,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCronJobRequest) Descriptor deprecated

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

Deprecated: Use CreateCronJobRequest.ProtoReflect.Descriptor instead.

func (*CreateCronJobRequest) GetCronJob

func (x *CreateCronJobRequest) GetCronJob() *CronJob

func (*CreateCronJobRequest) ProtoMessage

func (*CreateCronJobRequest) ProtoMessage()

func (*CreateCronJobRequest) ProtoReflect

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

func (*CreateCronJobRequest) Reset

func (x *CreateCronJobRequest) Reset()

func (*CreateCronJobRequest) String

func (x *CreateCronJobRequest) String() string

func (*CreateCronJobRequest) Validate

func (m *CreateCronJobRequest) Validate() error

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

func (m *CreateCronJobRequest) ValidateAll() error

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

type CreateCronJobRequestMultiError

type CreateCronJobRequestMultiError []error

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

func (CreateCronJobRequestMultiError) AllErrors

func (m CreateCronJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateCronJobRequestMultiError) Error

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

type CreateCronJobRequestValidationError

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

CreateCronJobRequestValidationError is the validation error returned by CreateCronJobRequest.Validate if the designated constraints aren't met.

func (CreateCronJobRequestValidationError) Cause

Cause function returns cause value.

func (CreateCronJobRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateCronJobRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateCronJobRequestValidationError) Field

Field function returns field value.

func (CreateCronJobRequestValidationError) Key

Key function returns key value.

func (CreateCronJobRequestValidationError) Reason

Reason function returns reason value.

type CreateCronJobResponse

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

func (*CreateCronJobResponse) Descriptor deprecated

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

Deprecated: Use CreateCronJobResponse.ProtoReflect.Descriptor instead.

func (*CreateCronJobResponse) GetCronJobID

func (x *CreateCronJobResponse) GetCronJobID() string

func (*CreateCronJobResponse) ProtoMessage

func (*CreateCronJobResponse) ProtoMessage()

func (*CreateCronJobResponse) ProtoReflect

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

func (*CreateCronJobResponse) Reset

func (x *CreateCronJobResponse) Reset()

func (*CreateCronJobResponse) String

func (x *CreateCronJobResponse) String() string

func (*CreateCronJobResponse) Validate

func (m *CreateCronJobResponse) Validate() error

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

func (m *CreateCronJobResponse) ValidateAll() error

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

type CreateCronJobResponseMultiError

type CreateCronJobResponseMultiError []error

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

func (CreateCronJobResponseMultiError) AllErrors

func (m CreateCronJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateCronJobResponseMultiError) Error

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

type CreateCronJobResponseValidationError

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

CreateCronJobResponseValidationError is the validation error returned by CreateCronJobResponse.Validate if the designated constraints aren't met.

func (CreateCronJobResponseValidationError) Cause

Cause function returns cause value.

func (CreateCronJobResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateCronJobResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateCronJobResponseValidationError) Field

Field function returns field value.

func (CreateCronJobResponseValidationError) Key

Key function returns key value.

func (CreateCronJobResponseValidationError) Reason

Reason function returns reason value.

type CreateJobRequest

type CreateJobRequest struct {
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateJobRequest) Descriptor deprecated

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

Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.

func (*CreateJobRequest) GetJob

func (x *CreateJobRequest) GetJob() *Job

func (*CreateJobRequest) ProtoMessage

func (*CreateJobRequest) ProtoMessage()

func (*CreateJobRequest) ProtoReflect

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

func (*CreateJobRequest) Reset

func (x *CreateJobRequest) Reset()

func (*CreateJobRequest) String

func (x *CreateJobRequest) String() string

func (*CreateJobRequest) Validate

func (m *CreateJobRequest) Validate() error

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

func (m *CreateJobRequest) ValidateAll() error

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

type CreateJobRequestMultiError

type CreateJobRequestMultiError []error

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

func (CreateJobRequestMultiError) AllErrors

func (m CreateJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateJobRequestMultiError) Error

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

type CreateJobRequestValidationError

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

CreateJobRequestValidationError is the validation error returned by CreateJobRequest.Validate if the designated constraints aren't met.

func (CreateJobRequestValidationError) Cause

Cause function returns cause value.

func (CreateJobRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateJobRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateJobRequestValidationError) Field

Field function returns field value.

func (CreateJobRequestValidationError) Key

Key function returns key value.

func (CreateJobRequestValidationError) Reason

Reason function returns reason value.

type CreateJobResponse

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

func (*CreateJobResponse) Descriptor deprecated

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

Deprecated: Use CreateJobResponse.ProtoReflect.Descriptor instead.

func (*CreateJobResponse) GetJobID

func (x *CreateJobResponse) GetJobID() string

func (*CreateJobResponse) ProtoMessage

func (*CreateJobResponse) ProtoMessage()

func (*CreateJobResponse) ProtoReflect

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

func (*CreateJobResponse) Reset

func (x *CreateJobResponse) Reset()

func (*CreateJobResponse) String

func (x *CreateJobResponse) String() string

func (*CreateJobResponse) Validate

func (m *CreateJobResponse) Validate() error

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

func (m *CreateJobResponse) ValidateAll() error

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

type CreateJobResponseMultiError

type CreateJobResponseMultiError []error

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

func (CreateJobResponseMultiError) AllErrors

func (m CreateJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateJobResponseMultiError) Error

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

type CreateJobResponseValidationError

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

CreateJobResponseValidationError is the validation error returned by CreateJobResponse.Validate if the designated constraints aren't met.

func (CreateJobResponseValidationError) Cause

Cause function returns cause value.

func (CreateJobResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateJobResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateJobResponseValidationError) Field

Field function returns field value.

func (CreateJobResponseValidationError) Key

Key function returns key value.

func (CreateJobResponseValidationError) Reason

Reason function returns reason value.

type CronJob

type CronJob struct {

	// CronJob 名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// CronJob ID
	CronJobID string `protobuf:"bytes,2,opt,name=cronJobID,proto3" json:"cronJobID,omitempty"`
	// 创建人
	UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
	// CronJob 作用域
	Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// CronJob 描述
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Quartz 格式的调度时间描述。http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/tutorial-lesson-06.html
	Schedule string `protobuf:"bytes,6,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// CronJob 任务状态,例如:{"active":[1,2],"lastScheduleTime":1234,"lastSuccessfulTime":1234, "lastJobID": 1234}
	Status *CronJobStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	// 作业处理方式(1 串行,2 并行,3 替换,默认 1)
	ConcurrencyPolicy ConcurrencyPolicy `protobuf:"varint,8,opt,name=concurrencyPolicy,proto3,enum=cronjob.ConcurrencyPolicy" json:"concurrencyPolicy,omitempty"`
	// 是否挂起(1 挂起,0 不挂起, 默认 0)
	Suspend int32 `protobuf:"varint,9,opt,name=suspend,proto3" json:"suspend,omitempty"`
	// Job 模版
	JobTemplate *Job `protobuf:"bytes,10,opt,name=jobTemplate,proto3" json:"jobTemplate,omitempty"`
	// 要保留的成功完成作业的数量。值必须是非负整数。默认值为 10。
	SuccessHistoryLimit int32 `protobuf:"varint,11,opt,name=successHistoryLimit,proto3" json:"successHistoryLimit,omitempty"`
	// 要保留的失败完成作业的数量。值必须是非负整数。  默认值为 5。
	FailedHistoryLimit int32 `protobuf:"varint,12,opt,name=failedHistoryLimit,proto3" json:"failedHistoryLimit,omitempty"`
	// 创建时间
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// 更新时间
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

CronJob 表示单个 Cron 作业的配置。

func (*CronJob) Descriptor deprecated

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

Deprecated: Use CronJob.ProtoReflect.Descriptor instead.

func (*CronJob) GetConcurrencyPolicy

func (x *CronJob) GetConcurrencyPolicy() ConcurrencyPolicy

func (*CronJob) GetCreatedAt

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

func (*CronJob) GetCronJobID

func (x *CronJob) GetCronJobID() string

func (*CronJob) GetDescription

func (x *CronJob) GetDescription() string

func (*CronJob) GetFailedHistoryLimit

func (x *CronJob) GetFailedHistoryLimit() int32

func (*CronJob) GetJobTemplate

func (x *CronJob) GetJobTemplate() *Job

func (*CronJob) GetName

func (x *CronJob) GetName() string

func (*CronJob) GetSchedule

func (x *CronJob) GetSchedule() string

func (*CronJob) GetScope

func (x *CronJob) GetScope() string

func (*CronJob) GetStatus

func (x *CronJob) GetStatus() *CronJobStatus

func (*CronJob) GetSuccessHistoryLimit

func (x *CronJob) GetSuccessHistoryLimit() int32

func (*CronJob) GetSuspend

func (x *CronJob) GetSuspend() int32

func (*CronJob) GetUpdatedAt

func (x *CronJob) GetUpdatedAt() *timestamppb.Timestamp

func (*CronJob) GetUserID

func (x *CronJob) GetUserID() string

func (*CronJob) ProtoMessage

func (*CronJob) ProtoMessage()

func (*CronJob) ProtoReflect

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

func (*CronJob) Reset

func (x *CronJob) Reset()

func (*CronJob) String

func (x *CronJob) String() string

func (*CronJob) Validate

func (m *CronJob) Validate() error

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

func (m *CronJob) ValidateAll() error

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

type CronJobMultiError

type CronJobMultiError []error

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

func (CronJobMultiError) AllErrors

func (m CronJobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CronJobMultiError) Error

func (m CronJobMultiError) Error() string

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

type CronJobStatus

type CronJobStatus struct {
	Active             []int64 `protobuf:"varint,1,rep,packed,name=active,proto3" json:"active,omitempty"`
	LastScheduleTime   int64   `protobuf:"varint,2,opt,name=lastScheduleTime,proto3" json:"lastScheduleTime,omitempty"`
	LastSuccessfulTime int64   `protobuf:"varint,3,opt,name=lastSuccessfulTime,proto3" json:"lastSuccessfulTime,omitempty"`
	LastJobID          string  `protobuf:"bytes,4,opt,name=lastJobID,proto3" json:"lastJobID,omitempty"`
	// contains filtered or unexported fields
}

func (*CronJobStatus) Descriptor deprecated

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

Deprecated: Use CronJobStatus.ProtoReflect.Descriptor instead.

func (*CronJobStatus) GetActive

func (x *CronJobStatus) GetActive() []int64

func (*CronJobStatus) GetLastJobID

func (x *CronJobStatus) GetLastJobID() string

func (*CronJobStatus) GetLastScheduleTime

func (x *CronJobStatus) GetLastScheduleTime() int64

func (*CronJobStatus) GetLastSuccessfulTime

func (x *CronJobStatus) GetLastSuccessfulTime() int64

func (*CronJobStatus) ProtoMessage

func (*CronJobStatus) ProtoMessage()

func (*CronJobStatus) ProtoReflect

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

func (*CronJobStatus) Reset

func (x *CronJobStatus) Reset()

func (*CronJobStatus) String

func (x *CronJobStatus) String() string

func (*CronJobStatus) Validate

func (m *CronJobStatus) Validate() error

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

func (m *CronJobStatus) ValidateAll() error

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

type CronJobStatusMultiError

type CronJobStatusMultiError []error

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

func (CronJobStatusMultiError) AllErrors

func (m CronJobStatusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CronJobStatusMultiError) Error

func (m CronJobStatusMultiError) Error() string

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

type CronJobStatusValidationError

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

CronJobStatusValidationError is the validation error returned by CronJobStatus.Validate if the designated constraints aren't met.

func (CronJobStatusValidationError) Cause

Cause function returns cause value.

func (CronJobStatusValidationError) Error

Error satisfies the builtin error interface

func (CronJobStatusValidationError) ErrorName

func (e CronJobStatusValidationError) ErrorName() string

ErrorName returns error name.

func (CronJobStatusValidationError) Field

Field function returns field value.

func (CronJobStatusValidationError) Key

Key function returns key value.

func (CronJobStatusValidationError) Reason

Reason function returns reason value.

type CronJobValidationError

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

CronJobValidationError is the validation error returned by CronJob.Validate if the designated constraints aren't met.

func (CronJobValidationError) Cause

func (e CronJobValidationError) Cause() error

Cause function returns cause value.

func (CronJobValidationError) Error

func (e CronJobValidationError) Error() string

Error satisfies the builtin error interface

func (CronJobValidationError) ErrorName

func (e CronJobValidationError) ErrorName() string

ErrorName returns error name.

func (CronJobValidationError) Field

func (e CronJobValidationError) Field() string

Field function returns field value.

func (CronJobValidationError) Key

func (e CronJobValidationError) Key() bool

Key function returns key value.

func (CronJobValidationError) Reason

func (e CronJobValidationError) Reason() string

Reason function returns reason value.

type DeleteCronJobRequest

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

func (*DeleteCronJobRequest) Descriptor deprecated

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

Deprecated: Use DeleteCronJobRequest.ProtoReflect.Descriptor instead.

func (*DeleteCronJobRequest) GetCronJobIDs

func (x *DeleteCronJobRequest) GetCronJobIDs() []string

func (*DeleteCronJobRequest) ProtoMessage

func (*DeleteCronJobRequest) ProtoMessage()

func (*DeleteCronJobRequest) ProtoReflect

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

func (*DeleteCronJobRequest) Reset

func (x *DeleteCronJobRequest) Reset()

func (*DeleteCronJobRequest) String

func (x *DeleteCronJobRequest) String() string

func (*DeleteCronJobRequest) Validate

func (m *DeleteCronJobRequest) Validate() error

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

func (m *DeleteCronJobRequest) ValidateAll() error

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

type DeleteCronJobRequestMultiError

type DeleteCronJobRequestMultiError []error

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

func (DeleteCronJobRequestMultiError) AllErrors

func (m DeleteCronJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCronJobRequestMultiError) Error

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

type DeleteCronJobRequestValidationError

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

DeleteCronJobRequestValidationError is the validation error returned by DeleteCronJobRequest.Validate if the designated constraints aren't met.

func (DeleteCronJobRequestValidationError) Cause

Cause function returns cause value.

func (DeleteCronJobRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteCronJobRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteCronJobRequestValidationError) Field

Field function returns field value.

func (DeleteCronJobRequestValidationError) Key

Key function returns key value.

func (DeleteCronJobRequestValidationError) Reason

Reason function returns reason value.

type DeleteCronJobResponse

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

func (*DeleteCronJobResponse) Descriptor deprecated

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

Deprecated: Use DeleteCronJobResponse.ProtoReflect.Descriptor instead.

func (*DeleteCronJobResponse) ProtoMessage

func (*DeleteCronJobResponse) ProtoMessage()

func (*DeleteCronJobResponse) ProtoReflect

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

func (*DeleteCronJobResponse) Reset

func (x *DeleteCronJobResponse) Reset()

func (*DeleteCronJobResponse) String

func (x *DeleteCronJobResponse) String() string

func (*DeleteCronJobResponse) Validate

func (m *DeleteCronJobResponse) Validate() error

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

func (m *DeleteCronJobResponse) ValidateAll() error

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

type DeleteCronJobResponseMultiError

type DeleteCronJobResponseMultiError []error

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

func (DeleteCronJobResponseMultiError) AllErrors

func (m DeleteCronJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCronJobResponseMultiError) Error

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

type DeleteCronJobResponseValidationError

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

DeleteCronJobResponseValidationError is the validation error returned by DeleteCronJobResponse.Validate if the designated constraints aren't met.

func (DeleteCronJobResponseValidationError) Cause

Cause function returns cause value.

func (DeleteCronJobResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteCronJobResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteCronJobResponseValidationError) Field

Field function returns field value.

func (DeleteCronJobResponseValidationError) Key

Key function returns key value.

func (DeleteCronJobResponseValidationError) Reason

Reason function returns reason value.

type DeleteJobRequest

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

func (*DeleteJobRequest) Descriptor deprecated

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

Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.

func (*DeleteJobRequest) GetJobIDs

func (x *DeleteJobRequest) GetJobIDs() []string

func (*DeleteJobRequest) ProtoMessage

func (*DeleteJobRequest) ProtoMessage()

func (*DeleteJobRequest) ProtoReflect

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

func (*DeleteJobRequest) Reset

func (x *DeleteJobRequest) Reset()

func (*DeleteJobRequest) String

func (x *DeleteJobRequest) String() string

func (*DeleteJobRequest) Validate

func (m *DeleteJobRequest) Validate() error

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

func (m *DeleteJobRequest) ValidateAll() error

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

type DeleteJobRequestMultiError

type DeleteJobRequestMultiError []error

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

func (DeleteJobRequestMultiError) AllErrors

func (m DeleteJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteJobRequestMultiError) Error

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

type DeleteJobRequestValidationError

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

DeleteJobRequestValidationError is the validation error returned by DeleteJobRequest.Validate if the designated constraints aren't met.

func (DeleteJobRequestValidationError) Cause

Cause function returns cause value.

func (DeleteJobRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteJobRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteJobRequestValidationError) Field

Field function returns field value.

func (DeleteJobRequestValidationError) Key

Key function returns key value.

func (DeleteJobRequestValidationError) Reason

Reason function returns reason value.

type DeleteJobResponse

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

func (*DeleteJobResponse) Descriptor deprecated

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

Deprecated: Use DeleteJobResponse.ProtoReflect.Descriptor instead.

func (*DeleteJobResponse) ProtoMessage

func (*DeleteJobResponse) ProtoMessage()

func (*DeleteJobResponse) ProtoReflect

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

func (*DeleteJobResponse) Reset

func (x *DeleteJobResponse) Reset()

func (*DeleteJobResponse) String

func (x *DeleteJobResponse) String() string

func (*DeleteJobResponse) Validate

func (m *DeleteJobResponse) Validate() error

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

func (m *DeleteJobResponse) ValidateAll() error

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

type DeleteJobResponseMultiError

type DeleteJobResponseMultiError []error

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

func (DeleteJobResponseMultiError) AllErrors

func (m DeleteJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteJobResponseMultiError) Error

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

type DeleteJobResponseValidationError

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

DeleteJobResponseValidationError is the validation error returned by DeleteJobResponse.Validate if the designated constraints aren't met.

func (DeleteJobResponseValidationError) Cause

Cause function returns cause value.

func (DeleteJobResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteJobResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteJobResponseValidationError) Field

Field function returns field value.

func (DeleteJobResponseValidationError) Key

Key function returns key value.

func (DeleteJobResponseValidationError) Reason

Reason function returns reason value.

type GetCronJobRequest

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

func (*GetCronJobRequest) Descriptor deprecated

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

Deprecated: Use GetCronJobRequest.ProtoReflect.Descriptor instead.

func (*GetCronJobRequest) GetCronJobID

func (x *GetCronJobRequest) GetCronJobID() string

func (*GetCronJobRequest) ProtoMessage

func (*GetCronJobRequest) ProtoMessage()

func (*GetCronJobRequest) ProtoReflect

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

func (*GetCronJobRequest) Reset

func (x *GetCronJobRequest) Reset()

func (*GetCronJobRequest) String

func (x *GetCronJobRequest) String() string

func (*GetCronJobRequest) Validate

func (m *GetCronJobRequest) Validate() error

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

func (m *GetCronJobRequest) ValidateAll() error

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

type GetCronJobRequestMultiError

type GetCronJobRequestMultiError []error

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

func (GetCronJobRequestMultiError) AllErrors

func (m GetCronJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCronJobRequestMultiError) Error

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

type GetCronJobRequestValidationError

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

GetCronJobRequestValidationError is the validation error returned by GetCronJobRequest.Validate if the designated constraints aren't met.

func (GetCronJobRequestValidationError) Cause

Cause function returns cause value.

func (GetCronJobRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCronJobRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCronJobRequestValidationError) Field

Field function returns field value.

func (GetCronJobRequestValidationError) Key

Key function returns key value.

func (GetCronJobRequestValidationError) Reason

Reason function returns reason value.

type GetCronJobResponse

type GetCronJobResponse struct {
	CronJob *CronJob `protobuf:"bytes,1,opt,name=cronJob,proto3" json:"cronJob,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCronJobResponse) Descriptor deprecated

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

Deprecated: Use GetCronJobResponse.ProtoReflect.Descriptor instead.

func (*GetCronJobResponse) GetCronJob

func (x *GetCronJobResponse) GetCronJob() *CronJob

func (*GetCronJobResponse) ProtoMessage

func (*GetCronJobResponse) ProtoMessage()

func (*GetCronJobResponse) ProtoReflect

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

func (*GetCronJobResponse) Reset

func (x *GetCronJobResponse) Reset()

func (*GetCronJobResponse) String

func (x *GetCronJobResponse) String() string

func (*GetCronJobResponse) Validate

func (m *GetCronJobResponse) Validate() error

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

func (m *GetCronJobResponse) ValidateAll() error

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

type GetCronJobResponseMultiError

type GetCronJobResponseMultiError []error

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

func (GetCronJobResponseMultiError) AllErrors

func (m GetCronJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCronJobResponseMultiError) Error

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

type GetCronJobResponseValidationError

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

GetCronJobResponseValidationError is the validation error returned by GetCronJobResponse.Validate if the designated constraints aren't met.

func (GetCronJobResponseValidationError) Cause

Cause function returns cause value.

func (GetCronJobResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCronJobResponseValidationError) ErrorName

ErrorName returns error name.

func (GetCronJobResponseValidationError) Field

Field function returns field value.

func (GetCronJobResponseValidationError) Key

Key function returns key value.

func (GetCronJobResponseValidationError) Reason

Reason function returns reason value.

type GetJobRequest

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

func (*GetJobRequest) Descriptor deprecated

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

Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.

func (*GetJobRequest) GetJobID

func (x *GetJobRequest) GetJobID() string

func (*GetJobRequest) ProtoMessage

func (*GetJobRequest) ProtoMessage()

func (*GetJobRequest) ProtoReflect

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

func (*GetJobRequest) Reset

func (x *GetJobRequest) Reset()

func (*GetJobRequest) String

func (x *GetJobRequest) String() string

func (*GetJobRequest) Validate

func (m *GetJobRequest) Validate() error

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

func (m *GetJobRequest) ValidateAll() error

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

type GetJobRequestMultiError

type GetJobRequestMultiError []error

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

func (GetJobRequestMultiError) AllErrors

func (m GetJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetJobRequestMultiError) Error

func (m GetJobRequestMultiError) Error() string

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

type GetJobRequestValidationError

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

GetJobRequestValidationError is the validation error returned by GetJobRequest.Validate if the designated constraints aren't met.

func (GetJobRequestValidationError) Cause

Cause function returns cause value.

func (GetJobRequestValidationError) Error

Error satisfies the builtin error interface

func (GetJobRequestValidationError) ErrorName

func (e GetJobRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetJobRequestValidationError) Field

Field function returns field value.

func (GetJobRequestValidationError) Key

Key function returns key value.

func (GetJobRequestValidationError) Reason

Reason function returns reason value.

type GetJobResponse

type GetJobResponse struct {
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*GetJobResponse) Descriptor deprecated

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

Deprecated: Use GetJobResponse.ProtoReflect.Descriptor instead.

func (*GetJobResponse) GetJob

func (x *GetJobResponse) GetJob() *Job

func (*GetJobResponse) ProtoMessage

func (*GetJobResponse) ProtoMessage()

func (*GetJobResponse) ProtoReflect

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

func (*GetJobResponse) Reset

func (x *GetJobResponse) Reset()

func (*GetJobResponse) String

func (x *GetJobResponse) String() string

func (*GetJobResponse) Validate

func (m *GetJobResponse) Validate() error

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

func (m *GetJobResponse) ValidateAll() error

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

type GetJobResponseMultiError

type GetJobResponseMultiError []error

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

func (GetJobResponseMultiError) AllErrors

func (m GetJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetJobResponseMultiError) Error

func (m GetJobResponseMultiError) Error() string

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

type GetJobResponseValidationError

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

GetJobResponseValidationError is the validation error returned by GetJobResponse.Validate if the designated constraints aren't met.

func (GetJobResponseValidationError) Cause

Cause function returns cause value.

func (GetJobResponseValidationError) Error

Error satisfies the builtin error interface

func (GetJobResponseValidationError) ErrorName

func (e GetJobResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetJobResponseValidationError) Field

Field function returns field value.

func (GetJobResponseValidationError) Key

Key function returns key value.

func (GetJobResponseValidationError) Reason

Reason function returns reason value.

type Job

type Job struct {

	// Job 名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Job ID
	JobID string `protobuf:"bytes,2,opt,name=jobID,proto3" json:"jobID,omitempty"`
	// 创建人
	UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
	// CronJob ID
	CronJobID string `protobuf:"bytes,4,opt,name=cronJobID,proto3" json:"cronJobID,omitempty"`
	// Job 作用域
	Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	// Job 描述
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	Watcher     string `protobuf:"bytes,7,opt,name=watcher,proto3" json:"watcher,omitempty"`
	// Job 参数
	Params *JobParams `protobuf:"bytes,8,opt,name=params,proto3" json:"params,omitempty"`
	// Job 执行结果
	Results *JobResults `protobuf:"bytes,9,opt,name=results,proto3" json:"results,omitempty"`
	// Job 状态:Pending、Running、Succeeded、Failed
	Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	// Job 状态:Pending、Running、Succeeded、Failed
	Conditions []*JobCondition `protobuf:"bytes,11,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// Job 开始时间
	StartedAt int64 `protobuf:"varint,12,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
	// Job 结束时间
	EndedAt int64 `protobuf:"varint,13,opt,name=endedAt,proto3" json:"endedAt,omitempty"`
	// 创建时间
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// 更新时间
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*Job) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetConditions

func (x *Job) GetConditions() []*JobCondition

func (*Job) GetCreatedAt

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

func (*Job) GetCronJobID

func (x *Job) GetCronJobID() string

func (*Job) GetDescription

func (x *Job) GetDescription() string

func (*Job) GetEndedAt

func (x *Job) GetEndedAt() int64

func (*Job) GetJobID

func (x *Job) GetJobID() string

func (*Job) GetName

func (x *Job) GetName() string

func (*Job) GetParams

func (x *Job) GetParams() *JobParams

func (*Job) GetResults

func (x *Job) GetResults() *JobResults

func (*Job) GetScope

func (x *Job) GetScope() string

func (*Job) GetStartedAt

func (x *Job) GetStartedAt() int64

func (*Job) GetStatus

func (x *Job) GetStatus() string

func (*Job) GetUpdatedAt

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

func (*Job) GetUserID

func (x *Job) GetUserID() string

func (*Job) GetWatcher

func (x *Job) GetWatcher() string

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

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

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

func (*Job) Validate

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

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 JobCondition

type JobCondition struct {

	// Type of the condition (e.g., "Downloaed", "Embedded", "Evaluated")
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Status of the condition (True, False, Unknown)
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// Message provides additional information when the condition is false
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime string `protobuf:"bytes,4,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"`
	// contains filtered or unexported fields
}

func (*JobCondition) Descriptor deprecated

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

Deprecated: Use JobCondition.ProtoReflect.Descriptor instead.

func (*JobCondition) GetLastTransitionTime

func (x *JobCondition) GetLastTransitionTime() string

func (*JobCondition) GetMessage

func (x *JobCondition) GetMessage() string

func (*JobCondition) GetStatus

func (x *JobCondition) GetStatus() string

func (*JobCondition) GetType

func (x *JobCondition) GetType() string

func (*JobCondition) ProtoMessage

func (*JobCondition) ProtoMessage()

func (*JobCondition) ProtoReflect

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

func (*JobCondition) Reset

func (x *JobCondition) Reset()

func (*JobCondition) String

func (x *JobCondition) String() string

func (*JobCondition) Validate

func (m *JobCondition) Validate() error

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

func (m *JobCondition) ValidateAll() error

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

type JobConditionMultiError

type JobConditionMultiError []error

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

func (JobConditionMultiError) AllErrors

func (m JobConditionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobConditionMultiError) Error

func (m JobConditionMultiError) Error() string

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

type JobConditionValidationError

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

JobConditionValidationError is the validation error returned by JobCondition.Validate if the designated constraints aren't met.

func (JobConditionValidationError) Cause

Cause function returns cause value.

func (JobConditionValidationError) Error

Error satisfies the builtin error interface

func (JobConditionValidationError) ErrorName

func (e JobConditionValidationError) ErrorName() string

ErrorName returns error name.

func (JobConditionValidationError) Field

Field function returns field value.

func (JobConditionValidationError) Key

Key function returns key value.

func (JobConditionValidationError) Reason

Reason function returns reason value.

type JobMultiError

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

func (m JobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobMultiError) Error

func (m JobMultiError) Error() string

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

type JobParams

type JobParams struct {
	Train *TrainParams `protobuf:"bytes,1,opt,name=train,proto3" json:"train,omitempty"`
	// contains filtered or unexported fields
}

func (*JobParams) Descriptor deprecated

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

Deprecated: Use JobParams.ProtoReflect.Descriptor instead.

func (*JobParams) GetTrain

func (x *JobParams) GetTrain() *TrainParams

func (*JobParams) ProtoMessage

func (*JobParams) ProtoMessage()

func (*JobParams) ProtoReflect

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

func (*JobParams) Reset

func (x *JobParams) Reset()

func (*JobParams) String

func (x *JobParams) String() string

func (*JobParams) Validate

func (m *JobParams) Validate() error

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

func (m *JobParams) ValidateAll() error

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

type JobParamsMultiError

type JobParamsMultiError []error

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

func (JobParamsMultiError) AllErrors

func (m JobParamsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobParamsMultiError) Error

func (m JobParamsMultiError) Error() string

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

type JobParamsValidationError

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

JobParamsValidationError is the validation error returned by JobParams.Validate if the designated constraints aren't met.

func (JobParamsValidationError) Cause

func (e JobParamsValidationError) Cause() error

Cause function returns cause value.

func (JobParamsValidationError) Error

func (e JobParamsValidationError) Error() string

Error satisfies the builtin error interface

func (JobParamsValidationError) ErrorName

func (e JobParamsValidationError) ErrorName() string

ErrorName returns error name.

func (JobParamsValidationError) Field

func (e JobParamsValidationError) Field() string

Field function returns field value.

func (JobParamsValidationError) Key

Key function returns key value.

func (JobParamsValidationError) Reason

func (e JobParamsValidationError) Reason() string

Reason function returns reason value.

type JobResults

type JobResults struct {
	Train *TrainResults `protobuf:"bytes,1,opt,name=train,proto3" json:"train,omitempty"`
	// contains filtered or unexported fields
}

func (*JobResults) Descriptor deprecated

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

Deprecated: Use JobResults.ProtoReflect.Descriptor instead.

func (*JobResults) GetTrain

func (x *JobResults) GetTrain() *TrainResults

func (*JobResults) ProtoMessage

func (*JobResults) ProtoMessage()

func (*JobResults) ProtoReflect

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

func (*JobResults) Reset

func (x *JobResults) Reset()

func (*JobResults) String

func (x *JobResults) String() string

func (*JobResults) Validate

func (m *JobResults) Validate() error

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

func (m *JobResults) ValidateAll() error

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

type JobResultsMultiError

type JobResultsMultiError []error

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

func (JobResultsMultiError) AllErrors

func (m JobResultsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobResultsMultiError) Error

func (m JobResultsMultiError) Error() string

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

type JobResultsValidationError

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

JobResultsValidationError is the validation error returned by JobResults.Validate if the designated constraints aren't met.

func (JobResultsValidationError) Cause

func (e JobResultsValidationError) Cause() error

Cause function returns cause value.

func (JobResultsValidationError) Error

Error satisfies the builtin error interface

func (JobResultsValidationError) ErrorName

func (e JobResultsValidationError) ErrorName() string

ErrorName returns error name.

func (JobResultsValidationError) Field

Field function returns field value.

func (JobResultsValidationError) Key

Key function returns key value.

func (JobResultsValidationError) Reason

func (e JobResultsValidationError) Reason() string

Reason function returns reason value.

type JobValidationError

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

func (e JobValidationError) Cause() error

Cause function returns cause value.

func (JobValidationError) Error

func (e JobValidationError) Error() string

Error satisfies the builtin error interface

func (JobValidationError) ErrorName

func (e JobValidationError) ErrorName() string

ErrorName returns error name.

func (JobValidationError) Field

func (e JobValidationError) Field() string

Field function returns field value.

func (JobValidationError) Key

func (e JobValidationError) Key() bool

Key function returns key value.

func (JobValidationError) Reason

func (e JobValidationError) Reason() string

Reason function returns reason value.

type ListCronJobRequest

type ListCronJobRequest struct {
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCronJobRequest) Descriptor deprecated

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

Deprecated: Use ListCronJobRequest.ProtoReflect.Descriptor instead.

func (*ListCronJobRequest) GetLimit

func (x *ListCronJobRequest) GetLimit() int32

func (*ListCronJobRequest) GetOffset

func (x *ListCronJobRequest) GetOffset() int32

func (*ListCronJobRequest) ProtoMessage

func (*ListCronJobRequest) ProtoMessage()

func (*ListCronJobRequest) ProtoReflect

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

func (*ListCronJobRequest) Reset

func (x *ListCronJobRequest) Reset()

func (*ListCronJobRequest) String

func (x *ListCronJobRequest) String() string

func (*ListCronJobRequest) Validate

func (m *ListCronJobRequest) Validate() error

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

func (m *ListCronJobRequest) ValidateAll() error

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

type ListCronJobRequestMultiError

type ListCronJobRequestMultiError []error

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

func (ListCronJobRequestMultiError) AllErrors

func (m ListCronJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListCronJobRequestMultiError) Error

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

type ListCronJobRequestValidationError

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

ListCronJobRequestValidationError is the validation error returned by ListCronJobRequest.Validate if the designated constraints aren't met.

func (ListCronJobRequestValidationError) Cause

Cause function returns cause value.

func (ListCronJobRequestValidationError) Error

Error satisfies the builtin error interface

func (ListCronJobRequestValidationError) ErrorName

ErrorName returns error name.

func (ListCronJobRequestValidationError) Field

Field function returns field value.

func (ListCronJobRequestValidationError) Key

Key function returns key value.

func (ListCronJobRequestValidationError) Reason

Reason function returns reason value.

type ListCronJobResponse

type ListCronJobResponse struct {
	TotalCount int64      `protobuf:"varint,1,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	CronJobs   []*CronJob `protobuf:"bytes,2,rep,name=cronJobs,proto3" json:"cronJobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCronJobResponse) Descriptor deprecated

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

Deprecated: Use ListCronJobResponse.ProtoReflect.Descriptor instead.

func (*ListCronJobResponse) GetCronJobs

func (x *ListCronJobResponse) GetCronJobs() []*CronJob

func (*ListCronJobResponse) GetTotalCount

func (x *ListCronJobResponse) GetTotalCount() int64

func (*ListCronJobResponse) ProtoMessage

func (*ListCronJobResponse) ProtoMessage()

func (*ListCronJobResponse) ProtoReflect

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

func (*ListCronJobResponse) Reset

func (x *ListCronJobResponse) Reset()

func (*ListCronJobResponse) String

func (x *ListCronJobResponse) String() string

func (*ListCronJobResponse) Validate

func (m *ListCronJobResponse) Validate() error

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

func (m *ListCronJobResponse) ValidateAll() error

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

type ListCronJobResponseMultiError

type ListCronJobResponseMultiError []error

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

func (ListCronJobResponseMultiError) AllErrors

func (m ListCronJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListCronJobResponseMultiError) Error

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

type ListCronJobResponseValidationError

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

ListCronJobResponseValidationError is the validation error returned by ListCronJobResponse.Validate if the designated constraints aren't met.

func (ListCronJobResponseValidationError) Cause

Cause function returns cause value.

func (ListCronJobResponseValidationError) Error

Error satisfies the builtin error interface

func (ListCronJobResponseValidationError) ErrorName

ErrorName returns error name.

func (ListCronJobResponseValidationError) Field

Field function returns field value.

func (ListCronJobResponseValidationError) Key

Key function returns key value.

func (ListCronJobResponseValidationError) Reason

Reason function returns reason value.

type ListJobRequest

type ListJobRequest struct {
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobRequest) Descriptor deprecated

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

Deprecated: Use ListJobRequest.ProtoReflect.Descriptor instead.

func (*ListJobRequest) GetLimit

func (x *ListJobRequest) GetLimit() int32

func (*ListJobRequest) GetOffset

func (x *ListJobRequest) GetOffset() int32

func (*ListJobRequest) ProtoMessage

func (*ListJobRequest) ProtoMessage()

func (*ListJobRequest) ProtoReflect

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

func (*ListJobRequest) Reset

func (x *ListJobRequest) Reset()

func (*ListJobRequest) String

func (x *ListJobRequest) String() string

func (*ListJobRequest) Validate

func (m *ListJobRequest) Validate() error

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

func (m *ListJobRequest) ValidateAll() error

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

type ListJobRequestMultiError

type ListJobRequestMultiError []error

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

func (ListJobRequestMultiError) AllErrors

func (m ListJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListJobRequestMultiError) Error

func (m ListJobRequestMultiError) Error() string

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

type ListJobRequestValidationError

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

ListJobRequestValidationError is the validation error returned by ListJobRequest.Validate if the designated constraints aren't met.

func (ListJobRequestValidationError) Cause

Cause function returns cause value.

func (ListJobRequestValidationError) Error

Error satisfies the builtin error interface

func (ListJobRequestValidationError) ErrorName

func (e ListJobRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListJobRequestValidationError) Field

Field function returns field value.

func (ListJobRequestValidationError) Key

Key function returns key value.

func (ListJobRequestValidationError) Reason

Reason function returns reason value.

type ListJobResponse

type ListJobResponse struct {
	TotalCount int64  `protobuf:"varint,1,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	Jobs       []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobResponse) Descriptor deprecated

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

Deprecated: Use ListJobResponse.ProtoReflect.Descriptor instead.

func (*ListJobResponse) GetJobs

func (x *ListJobResponse) GetJobs() []*Job

func (*ListJobResponse) GetTotalCount

func (x *ListJobResponse) GetTotalCount() int64

func (*ListJobResponse) ProtoMessage

func (*ListJobResponse) ProtoMessage()

func (*ListJobResponse) ProtoReflect

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

func (*ListJobResponse) Reset

func (x *ListJobResponse) Reset()

func (*ListJobResponse) String

func (x *ListJobResponse) String() string

func (*ListJobResponse) Validate

func (m *ListJobResponse) Validate() error

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

func (m *ListJobResponse) ValidateAll() error

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

type ListJobResponseMultiError

type ListJobResponseMultiError []error

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

func (ListJobResponseMultiError) AllErrors

func (m ListJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListJobResponseMultiError) Error

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

type ListJobResponseValidationError

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

ListJobResponseValidationError is the validation error returned by ListJobResponse.Validate if the designated constraints aren't met.

func (ListJobResponseValidationError) Cause

Cause function returns cause value.

func (ListJobResponseValidationError) Error

Error satisfies the builtin error interface

func (ListJobResponseValidationError) ErrorName

func (e ListJobResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ListJobResponseValidationError) Field

Field function returns field value.

func (ListJobResponseValidationError) Key

Key function returns key value.

func (ListJobResponseValidationError) Reason

Reason function returns reason value.

type TrainParams

type TrainParams struct {
	IdempotentExecution int64 `protobuf:"varint,1,opt,name=idempotentExecution,proto3" json:"idempotentExecution,omitempty"`
	JobTimeout          int64 `protobuf:"varint,2,opt,name=jobTimeout,proto3" json:"jobTimeout,omitempty"`
	BatchSize           int64 `protobuf:"varint,3,opt,name=batchSize,proto3" json:"batchSize,omitempty"`
	// contains filtered or unexported fields
}

func (*TrainParams) Descriptor deprecated

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

Deprecated: Use TrainParams.ProtoReflect.Descriptor instead.

func (*TrainParams) GetBatchSize

func (x *TrainParams) GetBatchSize() int64

func (*TrainParams) GetIdempotentExecution

func (x *TrainParams) GetIdempotentExecution() int64

func (*TrainParams) GetJobTimeout

func (x *TrainParams) GetJobTimeout() int64

func (*TrainParams) ProtoMessage

func (*TrainParams) ProtoMessage()

func (*TrainParams) ProtoReflect

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

func (*TrainParams) Reset

func (x *TrainParams) Reset()

func (*TrainParams) String

func (x *TrainParams) String() string

func (*TrainParams) Validate

func (m *TrainParams) Validate() error

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

func (m *TrainParams) ValidateAll() error

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

type TrainParamsMultiError

type TrainParamsMultiError []error

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

func (TrainParamsMultiError) AllErrors

func (m TrainParamsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TrainParamsMultiError) Error

func (m TrainParamsMultiError) Error() string

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

type TrainParamsValidationError

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

TrainParamsValidationError is the validation error returned by TrainParams.Validate if the designated constraints aren't met.

func (TrainParamsValidationError) Cause

Cause function returns cause value.

func (TrainParamsValidationError) Error

Error satisfies the builtin error interface

func (TrainParamsValidationError) ErrorName

func (e TrainParamsValidationError) ErrorName() string

ErrorName returns error name.

func (TrainParamsValidationError) Field

Field function returns field value.

func (TrainParamsValidationError) Key

Key function returns key value.

func (TrainParamsValidationError) Reason

Reason function returns reason value.

type TrainResults

type TrainResults struct {
	EmbeddedDataPath *string `protobuf:"bytes,1,opt,name=embeddedDataPath,proto3,oneof" json:"embeddedDataPath,omitempty"`
	TaskID           *string `protobuf:"bytes,2,opt,name=taskID,proto3,oneof" json:"taskID,omitempty"`
	DataPath         *string `protobuf:"bytes,4,opt,name=dataPath,proto3,oneof" json:"dataPath,omitempty"`
	ResultPath       *string `protobuf:"bytes,3,opt,name=resultPath,proto3,oneof" json:"resultPath,omitempty"`
	// contains filtered or unexported fields
}

func (*TrainResults) Descriptor deprecated

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

Deprecated: Use TrainResults.ProtoReflect.Descriptor instead.

func (*TrainResults) GetDataPath

func (x *TrainResults) GetDataPath() string

func (*TrainResults) GetEmbeddedDataPath

func (x *TrainResults) GetEmbeddedDataPath() string

func (*TrainResults) GetResultPath

func (x *TrainResults) GetResultPath() string

func (*TrainResults) GetTaskID

func (x *TrainResults) GetTaskID() string

func (*TrainResults) ProtoMessage

func (*TrainResults) ProtoMessage()

func (*TrainResults) ProtoReflect

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

func (*TrainResults) Reset

func (x *TrainResults) Reset()

func (*TrainResults) String

func (x *TrainResults) String() string

func (*TrainResults) Validate

func (m *TrainResults) Validate() error

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

func (m *TrainResults) ValidateAll() error

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

type TrainResultsMultiError

type TrainResultsMultiError []error

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

func (TrainResultsMultiError) AllErrors

func (m TrainResultsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TrainResultsMultiError) Error

func (m TrainResultsMultiError) Error() string

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

type TrainResultsValidationError

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

TrainResultsValidationError is the validation error returned by TrainResults.Validate if the designated constraints aren't met.

func (TrainResultsValidationError) Cause

Cause function returns cause value.

func (TrainResultsValidationError) Error

Error satisfies the builtin error interface

func (TrainResultsValidationError) ErrorName

func (e TrainResultsValidationError) ErrorName() string

ErrorName returns error name.

func (TrainResultsValidationError) Field

Field function returns field value.

func (TrainResultsValidationError) Key

Key function returns key value.

func (TrainResultsValidationError) Reason

Reason function returns reason value.

type UpdateCronJobRequest

type UpdateCronJobRequest struct {
	CronJobID           string             `protobuf:"bytes,1,opt,name=cronJobID,proto3" json:"cronJobID,omitempty"`
	Name                *string            `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Description         *string            `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Schedule            *string            `protobuf:"bytes,6,opt,name=schedule,proto3,oneof" json:"schedule,omitempty"`
	ConcurrencyPolicy   *ConcurrencyPolicy `protobuf:"varint,8,opt,name=concurrencyPolicy,proto3,enum=cronjob.ConcurrencyPolicy,oneof" json:"concurrencyPolicy,omitempty"`
	Suspend             *int32             `protobuf:"varint,9,opt,name=suspend,proto3,oneof" json:"suspend,omitempty"`
	SuccessHistoryLimit *int32             `protobuf:"varint,11,opt,name=successHistoryLimit,proto3,oneof" json:"successHistoryLimit,omitempty"`
	FailedHistoryLimit  *int32             `protobuf:"varint,12,opt,name=failedHistoryLimit,proto3,oneof" json:"failedHistoryLimit,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCronJobRequest) Descriptor deprecated

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

Deprecated: Use UpdateCronJobRequest.ProtoReflect.Descriptor instead.

func (*UpdateCronJobRequest) GetConcurrencyPolicy

func (x *UpdateCronJobRequest) GetConcurrencyPolicy() ConcurrencyPolicy

func (*UpdateCronJobRequest) GetCronJobID

func (x *UpdateCronJobRequest) GetCronJobID() string

func (*UpdateCronJobRequest) GetDescription

func (x *UpdateCronJobRequest) GetDescription() string

func (*UpdateCronJobRequest) GetFailedHistoryLimit

func (x *UpdateCronJobRequest) GetFailedHistoryLimit() int32

func (*UpdateCronJobRequest) GetName

func (x *UpdateCronJobRequest) GetName() string

func (*UpdateCronJobRequest) GetSchedule

func (x *UpdateCronJobRequest) GetSchedule() string

func (*UpdateCronJobRequest) GetSuccessHistoryLimit

func (x *UpdateCronJobRequest) GetSuccessHistoryLimit() int32

func (*UpdateCronJobRequest) GetSuspend

func (x *UpdateCronJobRequest) GetSuspend() int32

func (*UpdateCronJobRequest) ProtoMessage

func (*UpdateCronJobRequest) ProtoMessage()

func (*UpdateCronJobRequest) ProtoReflect

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

func (*UpdateCronJobRequest) Reset

func (x *UpdateCronJobRequest) Reset()

func (*UpdateCronJobRequest) String

func (x *UpdateCronJobRequest) String() string

func (*UpdateCronJobRequest) Validate

func (m *UpdateCronJobRequest) Validate() error

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

func (m *UpdateCronJobRequest) ValidateAll() error

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

type UpdateCronJobRequestMultiError

type UpdateCronJobRequestMultiError []error

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

func (UpdateCronJobRequestMultiError) AllErrors

func (m UpdateCronJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCronJobRequestMultiError) Error

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

type UpdateCronJobRequestValidationError

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

UpdateCronJobRequestValidationError is the validation error returned by UpdateCronJobRequest.Validate if the designated constraints aren't met.

func (UpdateCronJobRequestValidationError) Cause

Cause function returns cause value.

func (UpdateCronJobRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCronJobRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCronJobRequestValidationError) Field

Field function returns field value.

func (UpdateCronJobRequestValidationError) Key

Key function returns key value.

func (UpdateCronJobRequestValidationError) Reason

Reason function returns reason value.

type UpdateCronJobResponse

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

func (*UpdateCronJobResponse) Descriptor deprecated

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

Deprecated: Use UpdateCronJobResponse.ProtoReflect.Descriptor instead.

func (*UpdateCronJobResponse) ProtoMessage

func (*UpdateCronJobResponse) ProtoMessage()

func (*UpdateCronJobResponse) ProtoReflect

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

func (*UpdateCronJobResponse) Reset

func (x *UpdateCronJobResponse) Reset()

func (*UpdateCronJobResponse) String

func (x *UpdateCronJobResponse) String() string

func (*UpdateCronJobResponse) Validate

func (m *UpdateCronJobResponse) Validate() error

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

func (m *UpdateCronJobResponse) ValidateAll() error

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

type UpdateCronJobResponseMultiError

type UpdateCronJobResponseMultiError []error

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

func (UpdateCronJobResponseMultiError) AllErrors

func (m UpdateCronJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCronJobResponseMultiError) Error

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

type UpdateCronJobResponseValidationError

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

UpdateCronJobResponseValidationError is the validation error returned by UpdateCronJobResponse.Validate if the designated constraints aren't met.

func (UpdateCronJobResponseValidationError) Cause

Cause function returns cause value.

func (UpdateCronJobResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateCronJobResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateCronJobResponseValidationError) Field

Field function returns field value.

func (UpdateCronJobResponseValidationError) Key

Key function returns key value.

func (UpdateCronJobResponseValidationError) Reason

Reason function returns reason value.

type UpdateJobRequest

type UpdateJobRequest struct {
	JobID       string      `protobuf:"bytes,1,opt,name=jobID,proto3" json:"jobID,omitempty"`
	Name        *string     `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Description *string     `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Params      *JobParams  `protobuf:"bytes,4,opt,name=params,proto3,oneof" json:"params,omitempty"`
	Results     *JobResults `protobuf:"bytes,5,opt,name=results,proto3,oneof" json:"results,omitempty"`
	Status      *string     `protobuf:"bytes,6,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateJobRequest) Descriptor deprecated

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

Deprecated: Use UpdateJobRequest.ProtoReflect.Descriptor instead.

func (*UpdateJobRequest) GetDescription

func (x *UpdateJobRequest) GetDescription() string

func (*UpdateJobRequest) GetJobID

func (x *UpdateJobRequest) GetJobID() string

func (*UpdateJobRequest) GetName

func (x *UpdateJobRequest) GetName() string

func (*UpdateJobRequest) GetParams

func (x *UpdateJobRequest) GetParams() *JobParams

func (*UpdateJobRequest) GetResults

func (x *UpdateJobRequest) GetResults() *JobResults

func (*UpdateJobRequest) GetStatus

func (x *UpdateJobRequest) GetStatus() string

func (*UpdateJobRequest) ProtoMessage

func (*UpdateJobRequest) ProtoMessage()

func (*UpdateJobRequest) ProtoReflect

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

func (*UpdateJobRequest) Reset

func (x *UpdateJobRequest) Reset()

func (*UpdateJobRequest) String

func (x *UpdateJobRequest) String() string

func (*UpdateJobRequest) Validate

func (m *UpdateJobRequest) Validate() error

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

func (m *UpdateJobRequest) ValidateAll() error

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

type UpdateJobRequestMultiError

type UpdateJobRequestMultiError []error

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

func (UpdateJobRequestMultiError) AllErrors

func (m UpdateJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateJobRequestMultiError) Error

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

type UpdateJobRequestValidationError

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

UpdateJobRequestValidationError is the validation error returned by UpdateJobRequest.Validate if the designated constraints aren't met.

func (UpdateJobRequestValidationError) Cause

Cause function returns cause value.

func (UpdateJobRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateJobRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateJobRequestValidationError) Field

Field function returns field value.

func (UpdateJobRequestValidationError) Key

Key function returns key value.

func (UpdateJobRequestValidationError) Reason

Reason function returns reason value.

type UpdateJobResponse

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

func (*UpdateJobResponse) Descriptor deprecated

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

Deprecated: Use UpdateJobResponse.ProtoReflect.Descriptor instead.

func (*UpdateJobResponse) ProtoMessage

func (*UpdateJobResponse) ProtoMessage()

func (*UpdateJobResponse) ProtoReflect

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

func (*UpdateJobResponse) Reset

func (x *UpdateJobResponse) Reset()

func (*UpdateJobResponse) String

func (x *UpdateJobResponse) String() string

func (*UpdateJobResponse) Validate

func (m *UpdateJobResponse) Validate() error

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

func (m *UpdateJobResponse) ValidateAll() error

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

type UpdateJobResponseMultiError

type UpdateJobResponseMultiError []error

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

func (UpdateJobResponseMultiError) AllErrors

func (m UpdateJobResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateJobResponseMultiError) Error

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

type UpdateJobResponseValidationError

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

UpdateJobResponseValidationError is the validation error returned by UpdateJobResponse.Validate if the designated constraints aren't met.

func (UpdateJobResponseValidationError) Cause

Cause function returns cause value.

func (UpdateJobResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateJobResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateJobResponseValidationError) Field

Field function returns field value.

func (UpdateJobResponseValidationError) Key

Key function returns key value.

func (UpdateJobResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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