protogen

package
v5.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Code generated by mobyextgen. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var ClientPoint = clientpoint.Registration{Point: jobsv0.Point.ID(), Provider: ClientProvider, Single: true}

ClientPoint registers ClientProvider for the Jobs point with a host. Single carries the contract's cardinality: the point admits one provider.

View Source
var File_extpoints_jobs_api_v0_jobs_proto protoreflect.FileDescriptor
View Source
var ServerPoint = serverpoint.Registration{
	Point: jobsv0.Point.ID(),
	Register: func(r grpc.ServiceRegistrar, impl any) {
		r.RegisterService(&serviceDesc, &grpcServer{impl: impl.(jobsv0.Jobs)})
	},
}

ServerPoint serves the Jobs point: it registers the point's gRPC service for a provider with an SDK server. A binary passes it to (*sdk.Server).Register.

Functions

func ClientProvider

func ClientProvider(conn grpc.ClientConnInterface) extensions.Provider

ClientProvider builds a broker provider for the Jobs point from an out-of-process gRPC connection.

func NewClient

func NewClient(conn grpc.ClientConnInterface) jobsv0.Jobs

NewClient returns a jobsv0.Jobs that calls the Jobs point over conn.

Types

type CancelReply

type CancelReply struct {
	RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelReply) Descriptor deprecated

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

Deprecated: Use CancelReply.ProtoReflect.Descriptor instead.

func (*CancelReply) GetRunId

func (x *CancelReply) GetRunId() string

func (*CancelReply) ProtoMessage

func (*CancelReply) ProtoMessage()

func (*CancelReply) ProtoReflect

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

func (*CancelReply) Reset

func (x *CancelReply) Reset()

func (*CancelReply) String

func (x *CancelReply) String() string

type CancelRequest

type CancelRequest struct {
	JobRef string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelRequest) Descriptor deprecated

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

Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.

func (*CancelRequest) GetJobRef

func (x *CancelRequest) GetJobRef() string

func (*CancelRequest) ProtoMessage

func (*CancelRequest) ProtoMessage()

func (*CancelRequest) ProtoReflect

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

func (*CancelRequest) Reset

func (x *CancelRequest) Reset()

func (*CancelRequest) String

func (x *CancelRequest) String() string

type CreateAndRunReply

type CreateAndRunReply struct {
	Job     *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	Run     *Run `protobuf:"bytes,2,opt,name=run,proto3" json:"run,omitempty"`
	Created bool `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAndRunReply) Descriptor deprecated

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

Deprecated: Use CreateAndRunReply.ProtoReflect.Descriptor instead.

func (*CreateAndRunReply) GetCreated

func (x *CreateAndRunReply) GetCreated() bool

func (*CreateAndRunReply) GetJob

func (x *CreateAndRunReply) GetJob() *Job

func (*CreateAndRunReply) GetRun

func (x *CreateAndRunReply) GetRun() *Run

func (*CreateAndRunReply) ProtoMessage

func (*CreateAndRunReply) ProtoMessage()

func (*CreateAndRunReply) ProtoReflect

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

func (*CreateAndRunReply) Reset

func (x *CreateAndRunReply) Reset()

func (*CreateAndRunReply) String

func (x *CreateAndRunReply) String() string

type CreateAndRunRequest

type CreateAndRunRequest struct {
	Name string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Spec *JobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAndRunRequest) Descriptor deprecated

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

Deprecated: Use CreateAndRunRequest.ProtoReflect.Descriptor instead.

func (*CreateAndRunRequest) GetName

func (x *CreateAndRunRequest) GetName() string

func (*CreateAndRunRequest) GetSpec

func (x *CreateAndRunRequest) GetSpec() *JobSpec

func (*CreateAndRunRequest) ProtoMessage

func (*CreateAndRunRequest) ProtoMessage()

func (*CreateAndRunRequest) ProtoReflect

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

func (*CreateAndRunRequest) Reset

func (x *CreateAndRunRequest) Reset()

func (*CreateAndRunRequest) String

func (x *CreateAndRunRequest) String() string

type CreateReply

type CreateReply struct {
	Job     *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateReply) Descriptor deprecated

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

Deprecated: Use CreateReply.ProtoReflect.Descriptor instead.

func (*CreateReply) GetCreated

func (x *CreateReply) GetCreated() bool

func (*CreateReply) GetJob

func (x *CreateReply) GetJob() *Job

func (*CreateReply) ProtoMessage

func (*CreateReply) ProtoMessage()

func (*CreateReply) ProtoReflect

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

func (*CreateReply) Reset

func (x *CreateReply) Reset()

func (*CreateReply) String

func (x *CreateReply) String() string

type CreateRequest

type CreateRequest struct {
	Name string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Spec *JobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetName

func (x *CreateRequest) GetName() string

func (*CreateRequest) GetSpec

func (x *CreateRequest) GetSpec() *JobSpec

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

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

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type ExitCode

type ExitCode struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ExitCode) Descriptor deprecated

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

Deprecated: Use ExitCode.ProtoReflect.Descriptor instead.

func (*ExitCode) GetValue

func (x *ExitCode) GetValue() int64

func (*ExitCode) ProtoMessage

func (*ExitCode) ProtoMessage()

func (*ExitCode) ProtoReflect

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

func (*ExitCode) Reset

func (x *ExitCode) Reset()

func (*ExitCode) String

func (x *ExitCode) String() string

type InspectReply

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

func (*InspectReply) Descriptor deprecated

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

Deprecated: Use InspectReply.ProtoReflect.Descriptor instead.

func (*InspectReply) GetJob

func (x *InspectReply) GetJob() *Job

func (*InspectReply) ProtoMessage

func (*InspectReply) ProtoMessage()

func (*InspectReply) ProtoReflect

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

func (*InspectReply) Reset

func (x *InspectReply) Reset()

func (*InspectReply) String

func (x *InspectReply) String() string

type InspectRequest

type InspectRequest struct {
	JobRef string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*InspectRequest) Descriptor deprecated

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

Deprecated: Use InspectRequest.ProtoReflect.Descriptor instead.

func (*InspectRequest) GetJobRef

func (x *InspectRequest) GetJobRef() string

func (*InspectRequest) ProtoMessage

func (*InspectRequest) ProtoMessage()

func (*InspectRequest) ProtoReflect

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

func (*InspectRequest) Reset

func (x *InspectRequest) Reset()

func (*InspectRequest) String

func (x *InspectRequest) String() string

type InspectRunReply

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

func (*InspectRunReply) Descriptor deprecated

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

Deprecated: Use InspectRunReply.ProtoReflect.Descriptor instead.

func (*InspectRunReply) GetRun

func (x *InspectRunReply) GetRun() *Run

func (*InspectRunReply) ProtoMessage

func (*InspectRunReply) ProtoMessage()

func (*InspectRunReply) ProtoReflect

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

func (*InspectRunReply) Reset

func (x *InspectRunReply) Reset()

func (*InspectRunReply) String

func (x *InspectRunReply) String() string

type InspectRunRequest

type InspectRunRequest struct {
	JobRef string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	RunRef string `protobuf:"bytes,2,opt,name=run_ref,json=runRef,proto3" json:"run_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*InspectRunRequest) Descriptor deprecated

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

Deprecated: Use InspectRunRequest.ProtoReflect.Descriptor instead.

func (*InspectRunRequest) GetJobRef

func (x *InspectRunRequest) GetJobRef() string

func (*InspectRunRequest) GetRunRef

func (x *InspectRunRequest) GetRunRef() string

func (*InspectRunRequest) ProtoMessage

func (*InspectRunRequest) ProtoMessage()

func (*InspectRunRequest) ProtoReflect

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

func (*InspectRunRequest) Reset

func (x *InspectRunRequest) Reset()

func (*InspectRunRequest) String

func (x *InspectRunRequest) String() string

type Job

type Job struct {
	Id             string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Spec           *JobSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	SpecHash       string   `protobuf:"bytes,4,opt,name=spec_hash,json=specHash,proto3" json:"spec_hash,omitempty"`
	State          string   `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	Paused         bool     `protobuf:"varint,6,opt,name=paused,proto3" json:"paused,omitempty"`
	NextFireAtNano int64    `protobuf:"varint,7,opt,name=next_fire_at_nano,json=nextFireAtNano,proto3" json:"next_fire_at_nano,omitempty"`
	CreatedAtNano  int64    `protobuf:"varint,8,opt,name=created_at_nano,json=createdAtNano,proto3" json:"created_at_nano,omitempty"`
	UpdatedAtNano  int64    `protobuf:"varint,9,opt,name=updated_at_nano,json=updatedAtNano,proto3" json:"updated_at_nano,omitempty"`
	LatestRun      *Run     `protobuf:"bytes,10,opt,name=latest_run,json=latestRun,proto3" json:"latest_run,omitempty"`
	// contains filtered or unexported fields
}

func (*Job) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetCreatedAtNano

func (x *Job) GetCreatedAtNano() int64

func (*Job) GetId

func (x *Job) GetId() string

func (*Job) GetLatestRun

func (x *Job) GetLatestRun() *Run

func (*Job) GetName

func (x *Job) GetName() string

func (*Job) GetNextFireAtNano

func (x *Job) GetNextFireAtNano() int64

func (*Job) GetPaused

func (x *Job) GetPaused() bool

func (*Job) GetSpec

func (x *Job) GetSpec() *JobSpec

func (*Job) GetSpecHash

func (x *Job) GetSpecHash() string

func (*Job) GetState

func (x *Job) GetState() string

func (*Job) GetUpdatedAtNano

func (x *Job) GetUpdatedAtNano() int64

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

type JobSpec

type JobSpec struct {
	ContainerSpec   []byte            `protobuf:"bytes,1,opt,name=container_spec,json=containerSpec,proto3" json:"container_spec,omitempty"`
	Trigger         *Trigger          `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"`
	Labels          map[string]string `` /* 139-byte string literal not displayed */
	TimeoutSeconds  int64             `protobuf:"varint,4,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
	RemoveOnSuccess bool              `protobuf:"varint,5,opt,name=remove_on_success,json=removeOnSuccess,proto3" json:"remove_on_success,omitempty"`
	RemoveOnFailure bool              `protobuf:"varint,6,opt,name=remove_on_failure,json=removeOnFailure,proto3" json:"remove_on_failure,omitempty"`
	RunHistoryLimit uint32            `protobuf:"varint,7,opt,name=run_history_limit,json=runHistoryLimit,proto3" json:"run_history_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*JobSpec) Descriptor deprecated

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

Deprecated: Use JobSpec.ProtoReflect.Descriptor instead.

func (*JobSpec) GetContainerSpec

func (x *JobSpec) GetContainerSpec() []byte

func (*JobSpec) GetLabels

func (x *JobSpec) GetLabels() map[string]string

func (*JobSpec) GetRemoveOnFailure

func (x *JobSpec) GetRemoveOnFailure() bool

func (*JobSpec) GetRemoveOnSuccess

func (x *JobSpec) GetRemoveOnSuccess() bool

func (*JobSpec) GetRunHistoryLimit

func (x *JobSpec) GetRunHistoryLimit() uint32

func (*JobSpec) GetTimeoutSeconds

func (x *JobSpec) GetTimeoutSeconds() int64

func (*JobSpec) GetTrigger

func (x *JobSpec) GetTrigger() *Trigger

func (*JobSpec) ProtoMessage

func (*JobSpec) ProtoMessage()

func (*JobSpec) ProtoReflect

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

func (*JobSpec) Reset

func (x *JobSpec) Reset()

func (*JobSpec) String

func (x *JobSpec) String() string

type JobsClient

type JobsClient interface {
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateReply, error)
	Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunReply, error)
	CreateAndRun(ctx context.Context, in *CreateAndRunRequest, opts ...grpc.CallOption) (*CreateAndRunReply, error)
	Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectReply, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListReply, error)
	Pause(ctx context.Context, in *PauseRequest, opts ...grpc.CallOption) (*PauseResponse, error)
	Resume(ctx context.Context, in *ResumeRequest, opts ...grpc.CallOption) (*ResumeResponse, error)
	Cancel(ctx context.Context, in *CancelRequest, opts ...grpc.CallOption) (*CancelReply, error)
	Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error)
	Prune(ctx context.Context, in *PruneRequest, opts ...grpc.CallOption) (*PruneReply, error)
	ListRuns(ctx context.Context, in *ListRunsRequest, opts ...grpc.CallOption) (*ListRunsReply, error)
	InspectRun(ctx context.Context, in *InspectRunRequest, opts ...grpc.CallOption) (*InspectRunReply, error)
	Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*WaitReply, error)
}

JobsClient calls the point's gRPC service. It is exported so a client outside the framework - one calling a service an extension publishes on the API socket - can reach it with a plain gRPC client.

func NewJobsClient

func NewJobsClient(cc grpc.ClientConnInterface) JobsClient

NewJobsClient returns a client for the point's gRPC service on cc.

type JobsServer

JobsServer is the server side of the point's gRPC service. It is the proto-level shape of the point, not the point's Go interface: a contract method returning a bare error returns an empty response message here.

type ListReply

type ListReply struct {
	Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReply) Descriptor deprecated

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

Deprecated: Use ListReply.ProtoReflect.Descriptor instead.

func (*ListReply) GetJobs

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

func (*ListReply) ProtoMessage

func (*ListReply) ProtoMessage()

func (*ListReply) ProtoReflect

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

func (*ListReply) Reset

func (x *ListReply) Reset()

func (*ListReply) String

func (x *ListReply) String() string

type ListRequest

type ListRequest struct {
	Names           []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	Labels          []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	States          []string `protobuf:"bytes,3,rep,name=states,proto3" json:"states,omitempty"`
	TriggerKinds    []string `protobuf:"bytes,4,rep,name=trigger_kinds,json=triggerKinds,proto3" json:"trigger_kinds,omitempty"`
	Paused          string   `protobuf:"bytes,5,opt,name=paused,proto3" json:"paused,omitempty"`
	LatestRunStates []string `protobuf:"bytes,6,rep,name=latest_run_states,json=latestRunStates,proto3" json:"latest_run_states,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetLabels

func (x *ListRequest) GetLabels() []string

func (*ListRequest) GetLatestRunStates

func (x *ListRequest) GetLatestRunStates() []string

func (*ListRequest) GetNames

func (x *ListRequest) GetNames() []string

func (*ListRequest) GetPaused

func (x *ListRequest) GetPaused() string

func (*ListRequest) GetStates

func (x *ListRequest) GetStates() []string

func (*ListRequest) GetTriggerKinds

func (x *ListRequest) GetTriggerKinds() []string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListRunsReply

type ListRunsReply struct {
	Runs        []*Run `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	NextCursor  string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	CursorStale bool   `protobuf:"varint,3,opt,name=cursor_stale,json=cursorStale,proto3" json:"cursor_stale,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRunsReply) Descriptor deprecated

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

Deprecated: Use ListRunsReply.ProtoReflect.Descriptor instead.

func (*ListRunsReply) GetCursorStale

func (x *ListRunsReply) GetCursorStale() bool

func (*ListRunsReply) GetNextCursor

func (x *ListRunsReply) GetNextCursor() string

func (*ListRunsReply) GetRuns

func (x *ListRunsReply) GetRuns() []*Run

func (*ListRunsReply) ProtoMessage

func (*ListRunsReply) ProtoMessage()

func (*ListRunsReply) ProtoReflect

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

func (*ListRunsReply) Reset

func (x *ListRunsReply) Reset()

func (*ListRunsReply) String

func (x *ListRunsReply) String() string

type ListRunsRequest

type ListRunsRequest struct {
	JobRef string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	Limit  int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Before string `protobuf:"bytes,3,opt,name=before,proto3" json:"before,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRunsRequest) Descriptor deprecated

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

Deprecated: Use ListRunsRequest.ProtoReflect.Descriptor instead.

func (*ListRunsRequest) GetBefore

func (x *ListRunsRequest) GetBefore() string

func (*ListRunsRequest) GetJobRef

func (x *ListRunsRequest) GetJobRef() string

func (*ListRunsRequest) GetLimit

func (x *ListRunsRequest) GetLimit() int32

func (*ListRunsRequest) ProtoMessage

func (*ListRunsRequest) ProtoMessage()

func (*ListRunsRequest) ProtoReflect

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

func (*ListRunsRequest) Reset

func (x *ListRunsRequest) Reset()

func (*ListRunsRequest) String

func (x *ListRunsRequest) String() string

type PauseRequest

type PauseRequest struct {
	JobRef string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseRequest) Descriptor deprecated

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

Deprecated: Use PauseRequest.ProtoReflect.Descriptor instead.

func (*PauseRequest) GetJobRef

func (x *PauseRequest) GetJobRef() string

func (*PauseRequest) ProtoMessage

func (*PauseRequest) ProtoMessage()

func (*PauseRequest) ProtoReflect

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

func (*PauseRequest) Reset

func (x *PauseRequest) Reset()

func (*PauseRequest) String

func (x *PauseRequest) String() string

type PauseResponse

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

func (*PauseResponse) Descriptor deprecated

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

Deprecated: Use PauseResponse.ProtoReflect.Descriptor instead.

func (*PauseResponse) ProtoMessage

func (*PauseResponse) ProtoMessage()

func (*PauseResponse) ProtoReflect

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

func (*PauseResponse) Reset

func (x *PauseResponse) Reset()

func (*PauseResponse) String

func (x *PauseResponse) String() string

type PruneReply

type PruneReply struct {
	RemovedJobIds []string `protobuf:"bytes,1,rep,name=removed_job_ids,json=removedJobIds,proto3" json:"removed_job_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*PruneReply) Descriptor deprecated

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

Deprecated: Use PruneReply.ProtoReflect.Descriptor instead.

func (*PruneReply) GetRemovedJobIds

func (x *PruneReply) GetRemovedJobIds() []string

func (*PruneReply) ProtoMessage

func (*PruneReply) ProtoMessage()

func (*PruneReply) ProtoReflect

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

func (*PruneReply) Reset

func (x *PruneReply) Reset()

func (*PruneReply) String

func (x *PruneReply) String() string

type PruneRequest

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

func (*PruneRequest) Descriptor deprecated

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

Deprecated: Use PruneRequest.ProtoReflect.Descriptor instead.

func (*PruneRequest) GetLabels

func (x *PruneRequest) GetLabels() []string

func (*PruneRequest) ProtoMessage

func (*PruneRequest) ProtoMessage()

func (*PruneRequest) ProtoReflect

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

func (*PruneRequest) Reset

func (x *PruneRequest) Reset()

func (*PruneRequest) String

func (x *PruneRequest) String() string

type RemoveRequest

type RemoveRequest struct {
	JobRef      string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	RunsRemoval string `protobuf:"bytes,2,opt,name=runs_removal,json=runsRemoval,proto3" json:"runs_removal,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRequest) Descriptor deprecated

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

Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.

func (*RemoveRequest) GetJobRef

func (x *RemoveRequest) GetJobRef() string

func (*RemoveRequest) GetRunsRemoval

func (x *RemoveRequest) GetRunsRemoval() string

func (*RemoveRequest) ProtoMessage

func (*RemoveRequest) ProtoMessage()

func (*RemoveRequest) ProtoReflect

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

func (*RemoveRequest) Reset

func (x *RemoveRequest) Reset()

func (*RemoveRequest) String

func (x *RemoveRequest) String() string

type RemoveResponse

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

func (*RemoveResponse) Descriptor deprecated

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

Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.

func (*RemoveResponse) ProtoMessage

func (*RemoveResponse) ProtoMessage()

func (*RemoveResponse) ProtoReflect

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

func (*RemoveResponse) Reset

func (x *RemoveResponse) Reset()

func (*RemoveResponse) String

func (x *RemoveResponse) String() string

type ResumeRequest

type ResumeRequest struct {
	JobRef string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeRequest) Descriptor deprecated

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

Deprecated: Use ResumeRequest.ProtoReflect.Descriptor instead.

func (*ResumeRequest) GetJobRef

func (x *ResumeRequest) GetJobRef() string

func (*ResumeRequest) ProtoMessage

func (*ResumeRequest) ProtoMessage()

func (*ResumeRequest) ProtoReflect

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

func (*ResumeRequest) Reset

func (x *ResumeRequest) Reset()

func (*ResumeRequest) String

func (x *ResumeRequest) String() string

type ResumeResponse

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

func (*ResumeResponse) Descriptor deprecated

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

Deprecated: Use ResumeResponse.ProtoReflect.Descriptor instead.

func (*ResumeResponse) ProtoMessage

func (*ResumeResponse) ProtoMessage()

func (*ResumeResponse) ProtoReflect

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

func (*ResumeResponse) Reset

func (x *ResumeResponse) Reset()

func (*ResumeResponse) String

func (x *ResumeResponse) String() string

type Run

type Run struct {
	Id             string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	JobId          string           `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Iteration      uint64           `protobuf:"varint,3,opt,name=iteration,proto3" json:"iteration,omitempty"`
	ContainerId    string           `protobuf:"bytes,4,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ContainerGone  bool             `protobuf:"varint,5,opt,name=container_gone,json=containerGone,proto3" json:"container_gone,omitempty"`
	State          string           `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
	CreatedAtNano  int64            `protobuf:"varint,7,opt,name=created_at_nano,json=createdAtNano,proto3" json:"created_at_nano,omitempty"`
	StartedAtNano  int64            `protobuf:"varint,8,opt,name=started_at_nano,json=startedAtNano,proto3" json:"started_at_nano,omitempty"`
	FinishedAtNano int64            `protobuf:"varint,9,opt,name=finished_at_nano,json=finishedAtNano,proto3" json:"finished_at_nano,omitempty"`
	ExitCode       *ExitCode        `protobuf:"bytes,10,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	Error          string           `protobuf:"bytes,11,opt,name=error,proto3" json:"error,omitempty"`
	Trigger        *TriggerEvidence `protobuf:"bytes,12,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// contains filtered or unexported fields
}

func (*Run) Descriptor deprecated

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

Deprecated: Use Run.ProtoReflect.Descriptor instead.

func (*Run) GetContainerGone

func (x *Run) GetContainerGone() bool

func (*Run) GetContainerId

func (x *Run) GetContainerId() string

func (*Run) GetCreatedAtNano

func (x *Run) GetCreatedAtNano() int64

func (*Run) GetError

func (x *Run) GetError() string

func (*Run) GetExitCode

func (x *Run) GetExitCode() *ExitCode

func (*Run) GetFinishedAtNano

func (x *Run) GetFinishedAtNano() int64

func (*Run) GetId

func (x *Run) GetId() string

func (*Run) GetIteration

func (x *Run) GetIteration() uint64

func (*Run) GetJobId

func (x *Run) GetJobId() string

func (*Run) GetStartedAtNano

func (x *Run) GetStartedAtNano() int64

func (*Run) GetState

func (x *Run) GetState() string

func (*Run) GetTrigger

func (x *Run) GetTrigger() *TriggerEvidence

func (*Run) ProtoMessage

func (*Run) ProtoMessage()

func (*Run) ProtoReflect

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

func (*Run) Reset

func (x *Run) Reset()

func (*Run) String

func (x *Run) String() string

type RunReply

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

func (*RunReply) Descriptor deprecated

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

Deprecated: Use RunReply.ProtoReflect.Descriptor instead.

func (*RunReply) GetRun

func (x *RunReply) GetRun() *Run

func (*RunReply) ProtoMessage

func (*RunReply) ProtoMessage()

func (*RunReply) ProtoReflect

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

func (*RunReply) Reset

func (x *RunReply) Reset()

func (*RunReply) String

func (x *RunReply) String() string

type RunRequest

type RunRequest struct {
	JobRef     string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	Reschedule bool   `protobuf:"varint,2,opt,name=reschedule,proto3" json:"reschedule,omitempty"`
	// contains filtered or unexported fields
}

func (*RunRequest) Descriptor deprecated

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

Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.

func (*RunRequest) GetJobRef

func (x *RunRequest) GetJobRef() string

func (*RunRequest) GetReschedule

func (x *RunRequest) GetReschedule() bool

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) ProtoReflect

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

func (*RunRequest) Reset

func (x *RunRequest) Reset()

func (*RunRequest) String

func (x *RunRequest) String() string

type ScheduleTrigger

type ScheduleTrigger struct {
	Cron        string `protobuf:"bytes,1,opt,name=cron,proto3" json:"cron,omitempty"`
	Timezone    string `protobuf:"bytes,2,opt,name=timezone,proto3" json:"timezone,omitempty"`
	Concurrency string `protobuf:"bytes,3,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
	MissedFires string `protobuf:"bytes,4,opt,name=missed_fires,json=missedFires,proto3" json:"missed_fires,omitempty"`
	// contains filtered or unexported fields
}

func (*ScheduleTrigger) Descriptor deprecated

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

Deprecated: Use ScheduleTrigger.ProtoReflect.Descriptor instead.

func (*ScheduleTrigger) GetConcurrency

func (x *ScheduleTrigger) GetConcurrency() string

func (*ScheduleTrigger) GetCron

func (x *ScheduleTrigger) GetCron() string

func (*ScheduleTrigger) GetMissedFires

func (x *ScheduleTrigger) GetMissedFires() string

func (*ScheduleTrigger) GetTimezone

func (x *ScheduleTrigger) GetTimezone() string

func (*ScheduleTrigger) ProtoMessage

func (*ScheduleTrigger) ProtoMessage()

func (*ScheduleTrigger) ProtoReflect

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

func (*ScheduleTrigger) Reset

func (x *ScheduleTrigger) Reset()

func (*ScheduleTrigger) String

func (x *ScheduleTrigger) String() string

type Trigger

type Trigger struct {
	Manual   bool             `protobuf:"varint,1,opt,name=manual,proto3" json:"manual,omitempty"`
	Schedule *ScheduleTrigger `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// contains filtered or unexported fields
}

func (*Trigger) Descriptor deprecated

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

Deprecated: Use Trigger.ProtoReflect.Descriptor instead.

func (*Trigger) GetManual

func (x *Trigger) GetManual() bool

func (*Trigger) GetSchedule

func (x *Trigger) GetSchedule() *ScheduleTrigger

func (*Trigger) ProtoMessage

func (*Trigger) ProtoMessage()

func (*Trigger) ProtoReflect

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

func (*Trigger) Reset

func (x *Trigger) Reset()

func (*Trigger) String

func (x *Trigger) String() string

type TriggerEvidence

type TriggerEvidence struct {
	Kind            string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	ScheduledAtNano int64  `protobuf:"varint,2,opt,name=scheduled_at_nano,json=scheduledAtNano,proto3" json:"scheduled_at_nano,omitempty"`
	FiredAtNano     int64  `protobuf:"varint,3,opt,name=fired_at_nano,json=firedAtNano,proto3" json:"fired_at_nano,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerEvidence) Descriptor deprecated

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

Deprecated: Use TriggerEvidence.ProtoReflect.Descriptor instead.

func (*TriggerEvidence) GetFiredAtNano

func (x *TriggerEvidence) GetFiredAtNano() int64

func (*TriggerEvidence) GetKind

func (x *TriggerEvidence) GetKind() string

func (*TriggerEvidence) GetScheduledAtNano

func (x *TriggerEvidence) GetScheduledAtNano() int64

func (*TriggerEvidence) ProtoMessage

func (*TriggerEvidence) ProtoMessage()

func (*TriggerEvidence) ProtoReflect

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

func (*TriggerEvidence) Reset

func (x *TriggerEvidence) Reset()

func (*TriggerEvidence) String

func (x *TriggerEvidence) String() string

type WaitReply

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

func (*WaitReply) Descriptor deprecated

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

Deprecated: Use WaitReply.ProtoReflect.Descriptor instead.

func (*WaitReply) GetRun

func (x *WaitReply) GetRun() *Run

func (*WaitReply) ProtoMessage

func (*WaitReply) ProtoMessage()

func (*WaitReply) ProtoReflect

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

func (*WaitReply) Reset

func (x *WaitReply) Reset()

func (*WaitReply) String

func (x *WaitReply) String() string

type WaitRequest

type WaitRequest struct {
	JobRef    string `protobuf:"bytes,1,opt,name=job_ref,json=jobRef,proto3" json:"job_ref,omitempty"`
	RunRef    string `protobuf:"bytes,2,opt,name=run_ref,json=runRef,proto3" json:"run_ref,omitempty"`
	Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitRequest) Descriptor deprecated

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

Deprecated: Use WaitRequest.ProtoReflect.Descriptor instead.

func (*WaitRequest) GetCondition

func (x *WaitRequest) GetCondition() string

func (*WaitRequest) GetJobRef

func (x *WaitRequest) GetJobRef() string

func (*WaitRequest) GetRunRef

func (x *WaitRequest) GetRunRef() string

func (*WaitRequest) ProtoMessage

func (*WaitRequest) ProtoMessage()

func (*WaitRequest) ProtoReflect

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

func (*WaitRequest) Reset

func (x *WaitRequest) Reset()

func (*WaitRequest) String

func (x *WaitRequest) String() string

Jump to

Keyboard shortcuts

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