adminpb

package
v3.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdminAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "reva.admin.v1beta1.AdminAPI",
	HandlerType: (*AdminAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RequestAdmin",
			Handler:    _AdminAPI_RequestAdmin_Handler,
		},
		{
			MethodName: "Impersonate",
			Handler:    _AdminAPI_Impersonate_Handler,
		},
		{
			MethodName: "GetServerInfo",
			Handler:    _AdminAPI_GetServerInfo_Handler,
		},
		{
			MethodName: "GetHealth",
			Handler:    _AdminAPI_GetHealth_Handler,
		},
		{
			MethodName: "ListServices",
			Handler:    _AdminAPI_ListServices_Handler,
		},
		{
			MethodName: "GetServiceConfig",
			Handler:    _AdminAPI_GetServiceConfig_Handler,
		},
		{
			MethodName: "ListInvocations",
			Handler:    _AdminAPI_ListInvocations_Handler,
		},
		{
			MethodName: "Invoke",
			Handler:    _AdminAPI_Invoke_Handler,
		},
		{
			MethodName: "InspectJobs",
			Handler:    _AdminAPI_InspectJobs_Handler,
		},
		{
			MethodName: "ListJobRuns",
			Handler:    _AdminAPI_ListJobRuns_Handler,
		},
		{
			MethodName: "GetJobRun",
			Handler:    _AdminAPI_GetJobRun_Handler,
		},
		{
			MethodName: "EnqueueJob",
			Handler:    _AdminAPI_EnqueueJob_Handler,
		},
		{
			MethodName: "TriggerJob",
			Handler:    _AdminAPI_TriggerJob_Handler,
		},
		{
			MethodName: "CancelJobRun",
			Handler:    _AdminAPI_CancelJobRun_Handler,
		},
		{
			MethodName: "CancelPeriodicJob",
			Handler:    _AdminAPI_CancelPeriodicJob_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "InvokeStream",
			Handler:       _AdminAPI_InvokeStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "admin.proto",
}

AdminAPI_ServiceDesc is the grpc.ServiceDesc for AdminAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_admin_proto protoreflect.FileDescriptor

Functions

func RegisterAdminAPIServer

func RegisterAdminAPIServer(s grpc.ServiceRegistrar, srv AdminAPIServer)

Types

type ActiveJobRun

type ActiveJobRun struct {
	RunId   string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	Job     string `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
	Started string `protobuf:"bytes,3,opt,name=started,proto3" json:"started,omitempty"` // RFC3339
	// contains filtered or unexported fields
}

ActiveJobRun is one run executing on a runner right now.

func (*ActiveJobRun) Descriptor deprecated

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

Deprecated: Use ActiveJobRun.ProtoReflect.Descriptor instead.

func (*ActiveJobRun) GetJob

func (x *ActiveJobRun) GetJob() string

func (*ActiveJobRun) GetRunId

func (x *ActiveJobRun) GetRunId() string

func (*ActiveJobRun) GetStarted

func (x *ActiveJobRun) GetStarted() string

func (*ActiveJobRun) ProtoMessage

func (*ActiveJobRun) ProtoMessage()

func (*ActiveJobRun) ProtoReflect

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

func (*ActiveJobRun) Reset

func (x *ActiveJobRun) Reset()

func (*ActiveJobRun) String

func (x *ActiveJobRun) String() string

type AdminAPIClient

type AdminAPIClient interface {
	// Access / step-up.
	RequestAdmin(ctx context.Context, in *RequestAdminRequest, opts ...grpc.CallOption) (*RequestAdminResponse, error)
	Impersonate(ctx context.Context, in *ImpersonateRequest, opts ...grpc.CallOption) (*ImpersonateResponse, error)
	// Introspection (read-only).
	GetServerInfo(ctx context.Context, in *GetServerInfoRequest, opts ...grpc.CallOption) (*GetServerInfoResponse, error)
	GetHealth(ctx context.Context, in *GetHealthRequest, opts ...grpc.CallOption) (*GetHealthResponse, error)
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*GetServiceConfigResponse, error)
	// Invocations (reads and writes via the Invokable channel).
	ListInvocations(ctx context.Context, in *ListInvocationsRequest, opts ...grpc.CallOption) (*ListInvocationsResponse, error)
	Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error)
	InvokeStream(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (AdminAPI_InvokeStreamClient, error)
	// Jobs: methods for interacting with the background job framework.
	InspectJobs(ctx context.Context, in *InspectJobsRequest, opts ...grpc.CallOption) (*InspectJobsResponse, error)
	ListJobRuns(ctx context.Context, in *ListJobRunsRequest, opts ...grpc.CallOption) (*ListJobRunsResponse, error)
	GetJobRun(ctx context.Context, in *GetJobRunRequest, opts ...grpc.CallOption) (*JobRun, error)
	EnqueueJob(ctx context.Context, in *EnqueueJobRequest, opts ...grpc.CallOption) (*EnqueueJobResponse, error)
	TriggerJob(ctx context.Context, in *TriggerJobRequest, opts ...grpc.CallOption) (*TriggerJobResponse, error)
	CancelJobRun(ctx context.Context, in *CancelJobRunRequest, opts ...grpc.CallOption) (*JobRun, error)
	CancelPeriodicJob(ctx context.Context, in *CancelPeriodicJobRequest, opts ...grpc.CallOption) (*CancelPeriodicJobResponse, error)
}

AdminAPIClient is the client API for AdminAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAdminAPIClient

func NewAdminAPIClient(cc grpc.ClientConnInterface) AdminAPIClient

type AdminAPIServer

type AdminAPIServer interface {
	// Access / step-up.
	RequestAdmin(context.Context, *RequestAdminRequest) (*RequestAdminResponse, error)
	Impersonate(context.Context, *ImpersonateRequest) (*ImpersonateResponse, error)
	// Introspection (read-only).
	GetServerInfo(context.Context, *GetServerInfoRequest) (*GetServerInfoResponse, error)
	GetHealth(context.Context, *GetHealthRequest) (*GetHealthResponse, error)
	ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	GetServiceConfig(context.Context, *GetServiceConfigRequest) (*GetServiceConfigResponse, error)
	// Invocations (reads and writes via the Invokable channel).
	ListInvocations(context.Context, *ListInvocationsRequest) (*ListInvocationsResponse, error)
	Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
	InvokeStream(*InvokeRequest, AdminAPI_InvokeStreamServer) error
	// Jobs: methods for interacting with the background job framework.
	InspectJobs(context.Context, *InspectJobsRequest) (*InspectJobsResponse, error)
	ListJobRuns(context.Context, *ListJobRunsRequest) (*ListJobRunsResponse, error)
	GetJobRun(context.Context, *GetJobRunRequest) (*JobRun, error)
	EnqueueJob(context.Context, *EnqueueJobRequest) (*EnqueueJobResponse, error)
	TriggerJob(context.Context, *TriggerJobRequest) (*TriggerJobResponse, error)
	CancelJobRun(context.Context, *CancelJobRunRequest) (*JobRun, error)
	CancelPeriodicJob(context.Context, *CancelPeriodicJobRequest) (*CancelPeriodicJobResponse, error)
	// contains filtered or unexported methods
}

AdminAPIServer is the server API for AdminAPI service. All implementations must embed UnimplementedAdminAPIServer for forward compatibility

type AdminAPI_InvokeStreamClient

type AdminAPI_InvokeStreamClient interface {
	Recv() (*InvokeStreamResponse, error)
	grpc.ClientStream
}

type AdminAPI_InvokeStreamServer

type AdminAPI_InvokeStreamServer interface {
	Send(*InvokeStreamResponse) error
	grpc.ServerStream
}

type ArgSpec

type ArgSpec struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Required    bool   `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	// contains filtered or unexported fields
}

func (*ArgSpec) Descriptor deprecated

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

Deprecated: Use ArgSpec.ProtoReflect.Descriptor instead.

func (*ArgSpec) GetDescription

func (x *ArgSpec) GetDescription() string

func (*ArgSpec) GetName

func (x *ArgSpec) GetName() string

func (*ArgSpec) GetRequired

func (x *ArgSpec) GetRequired() bool

func (*ArgSpec) ProtoMessage

func (*ArgSpec) ProtoMessage()

func (*ArgSpec) ProtoReflect

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

func (*ArgSpec) Reset

func (x *ArgSpec) Reset()

func (*ArgSpec) String

func (x *ArgSpec) String() string

type CancelJobRunRequest

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

func (*CancelJobRunRequest) Descriptor deprecated

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

Deprecated: Use CancelJobRunRequest.ProtoReflect.Descriptor instead.

func (*CancelJobRunRequest) GetRunId

func (x *CancelJobRunRequest) GetRunId() string

func (*CancelJobRunRequest) ProtoMessage

func (*CancelJobRunRequest) ProtoMessage()

func (*CancelJobRunRequest) ProtoReflect

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

func (*CancelJobRunRequest) Reset

func (x *CancelJobRunRequest) Reset()

func (*CancelJobRunRequest) String

func (x *CancelJobRunRequest) String() string

type CancelPeriodicJobRequest

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

func (*CancelPeriodicJobRequest) Descriptor deprecated

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

Deprecated: Use CancelPeriodicJobRequest.ProtoReflect.Descriptor instead.

func (*CancelPeriodicJobRequest) GetJob

func (x *CancelPeriodicJobRequest) GetJob() string

func (*CancelPeriodicJobRequest) ProtoMessage

func (*CancelPeriodicJobRequest) ProtoMessage()

func (*CancelPeriodicJobRequest) ProtoReflect

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

func (*CancelPeriodicJobRequest) Reset

func (x *CancelPeriodicJobRequest) Reset()

func (*CancelPeriodicJobRequest) String

func (x *CancelPeriodicJobRequest) String() string

type CancelPeriodicJobResponse

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

func (*CancelPeriodicJobResponse) Descriptor deprecated

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

Deprecated: Use CancelPeriodicJobResponse.ProtoReflect.Descriptor instead.

func (*CancelPeriodicJobResponse) ProtoMessage

func (*CancelPeriodicJobResponse) ProtoMessage()

func (*CancelPeriodicJobResponse) ProtoReflect

func (*CancelPeriodicJobResponse) Reset

func (x *CancelPeriodicJobResponse) Reset()

func (*CancelPeriodicJobResponse) String

func (x *CancelPeriodicJobResponse) String() string

type EnqueueJobRequest

type EnqueueJobRequest struct {
	Job    string            `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	Params map[string]string ``                                                                /* 153-byte string literal not displayed */
	Owner  string            `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // optional: attribute the run to a user
	// contains filtered or unexported fields
}

func (*EnqueueJobRequest) Descriptor deprecated

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

Deprecated: Use EnqueueJobRequest.ProtoReflect.Descriptor instead.

func (*EnqueueJobRequest) GetJob

func (x *EnqueueJobRequest) GetJob() string

func (*EnqueueJobRequest) GetOwner

func (x *EnqueueJobRequest) GetOwner() string

func (*EnqueueJobRequest) GetParams

func (x *EnqueueJobRequest) GetParams() map[string]string

func (*EnqueueJobRequest) ProtoMessage

func (*EnqueueJobRequest) ProtoMessage()

func (*EnqueueJobRequest) ProtoReflect

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

func (*EnqueueJobRequest) Reset

func (x *EnqueueJobRequest) Reset()

func (*EnqueueJobRequest) String

func (x *EnqueueJobRequest) String() string

type EnqueueJobResponse

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

func (*EnqueueJobResponse) Descriptor deprecated

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

Deprecated: Use EnqueueJobResponse.ProtoReflect.Descriptor instead.

func (*EnqueueJobResponse) GetRunId

func (x *EnqueueJobResponse) GetRunId() string

func (*EnqueueJobResponse) ProtoMessage

func (*EnqueueJobResponse) ProtoMessage()

func (*EnqueueJobResponse) ProtoReflect

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

func (*EnqueueJobResponse) Reset

func (x *EnqueueJobResponse) Reset()

func (*EnqueueJobResponse) String

func (x *EnqueueJobResponse) String() string

type GetHealthRequest

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

func (*GetHealthRequest) Descriptor deprecated

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

Deprecated: Use GetHealthRequest.ProtoReflect.Descriptor instead.

func (*GetHealthRequest) ProtoMessage

func (*GetHealthRequest) ProtoMessage()

func (*GetHealthRequest) ProtoReflect

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

func (*GetHealthRequest) Reset

func (x *GetHealthRequest) Reset()

func (*GetHealthRequest) String

func (x *GetHealthRequest) String() string

type GetHealthResponse

type GetHealthResponse struct {
	Services []*ServiceHealth `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHealthResponse) Descriptor deprecated

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

Deprecated: Use GetHealthResponse.ProtoReflect.Descriptor instead.

func (*GetHealthResponse) GetServices

func (x *GetHealthResponse) GetServices() []*ServiceHealth

func (*GetHealthResponse) ProtoMessage

func (*GetHealthResponse) ProtoMessage()

func (*GetHealthResponse) ProtoReflect

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

func (*GetHealthResponse) Reset

func (x *GetHealthResponse) Reset()

func (*GetHealthResponse) String

func (x *GetHealthResponse) String() string

type GetJobRunRequest

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

func (*GetJobRunRequest) Descriptor deprecated

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

Deprecated: Use GetJobRunRequest.ProtoReflect.Descriptor instead.

func (*GetJobRunRequest) GetRunId

func (x *GetJobRunRequest) GetRunId() string

func (*GetJobRunRequest) ProtoMessage

func (*GetJobRunRequest) ProtoMessage()

func (*GetJobRunRequest) ProtoReflect

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

func (*GetJobRunRequest) Reset

func (x *GetJobRunRequest) Reset()

func (*GetJobRunRequest) String

func (x *GetJobRunRequest) String() string

type GetServerInfoRequest

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

func (*GetServerInfoRequest) Descriptor deprecated

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

Deprecated: Use GetServerInfoRequest.ProtoReflect.Descriptor instead.

func (*GetServerInfoRequest) ProtoMessage

func (*GetServerInfoRequest) ProtoMessage()

func (*GetServerInfoRequest) ProtoReflect

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

func (*GetServerInfoRequest) Reset

func (x *GetServerInfoRequest) Reset()

func (*GetServerInfoRequest) String

func (x *GetServerInfoRequest) String() string

type GetServerInfoResponse

type GetServerInfoResponse struct {
	Info *ServerInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInfoResponse) Descriptor deprecated

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

Deprecated: Use GetServerInfoResponse.ProtoReflect.Descriptor instead.

func (*GetServerInfoResponse) GetInfo

func (x *GetServerInfoResponse) GetInfo() *ServerInfo

func (*GetServerInfoResponse) ProtoMessage

func (*GetServerInfoResponse) ProtoMessage()

func (*GetServerInfoResponse) ProtoReflect

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

func (*GetServerInfoResponse) Reset

func (x *GetServerInfoResponse) Reset()

func (*GetServerInfoResponse) String

func (x *GetServerInfoResponse) String() string

type GetServiceConfigRequest

type GetServiceConfigRequest struct {

	// service is a selector: a service name (every instance) or a node id
	// "host:port/service" (one instance).
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceConfigRequest) Descriptor deprecated

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

Deprecated: Use GetServiceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetServiceConfigRequest) GetService

func (x *GetServiceConfigRequest) GetService() string

func (*GetServiceConfigRequest) ProtoMessage

func (*GetServiceConfigRequest) ProtoMessage()

func (*GetServiceConfigRequest) ProtoReflect

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

func (*GetServiceConfigRequest) Reset

func (x *GetServiceConfigRequest) Reset()

func (*GetServiceConfigRequest) String

func (x *GetServiceConfigRequest) String() string

type GetServiceConfigResponse

type GetServiceConfigResponse struct {

	// results carries one entry per resolved instance.
	Results []*NodeResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceConfigResponse) Descriptor deprecated

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

Deprecated: Use GetServiceConfigResponse.ProtoReflect.Descriptor instead.

func (*GetServiceConfigResponse) GetResults

func (x *GetServiceConfigResponse) GetResults() []*NodeResult

func (*GetServiceConfigResponse) ProtoMessage

func (*GetServiceConfigResponse) ProtoMessage()

func (*GetServiceConfigResponse) ProtoReflect

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

func (*GetServiceConfigResponse) Reset

func (x *GetServiceConfigResponse) Reset()

func (*GetServiceConfigResponse) String

func (x *GetServiceConfigResponse) String() string

type ImpersonateRequest

type ImpersonateRequest struct {

	// user is a target selector: either a bare username or "claim:value" (claim
	// in mail|uid|username|gid|userid), matching the machine auth manager.
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// reason is recorded in the audit log.
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*ImpersonateRequest) Descriptor deprecated

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

Deprecated: Use ImpersonateRequest.ProtoReflect.Descriptor instead.

func (*ImpersonateRequest) GetReason

func (x *ImpersonateRequest) GetReason() string

func (*ImpersonateRequest) GetUser

func (x *ImpersonateRequest) GetUser() string

func (*ImpersonateRequest) ProtoMessage

func (*ImpersonateRequest) ProtoMessage()

func (*ImpersonateRequest) ProtoReflect

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

func (*ImpersonateRequest) Reset

func (x *ImpersonateRequest) Reset()

func (*ImpersonateRequest) String

func (x *ImpersonateRequest) String() string

type ImpersonateResponse

type ImpersonateResponse struct {

	// token is an ordinary user-scoped token for the target user (never
	// admin+user).
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*ImpersonateResponse) Descriptor deprecated

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

Deprecated: Use ImpersonateResponse.ProtoReflect.Descriptor instead.

func (*ImpersonateResponse) GetToken

func (x *ImpersonateResponse) GetToken() string

func (*ImpersonateResponse) ProtoMessage

func (*ImpersonateResponse) ProtoMessage()

func (*ImpersonateResponse) ProtoReflect

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

func (*ImpersonateResponse) Reset

func (x *ImpersonateResponse) Reset()

func (*ImpersonateResponse) String

func (x *ImpersonateResponse) String() string

type InspectJobsRequest

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

func (*InspectJobsRequest) Descriptor deprecated

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

Deprecated: Use InspectJobsRequest.ProtoReflect.Descriptor instead.

func (*InspectJobsRequest) ProtoMessage

func (*InspectJobsRequest) ProtoMessage()

func (*InspectJobsRequest) ProtoReflect

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

func (*InspectJobsRequest) Reset

func (x *InspectJobsRequest) Reset()

func (*InspectJobsRequest) String

func (x *InspectJobsRequest) String() string

type InspectJobsResponse

type InspectJobsResponse struct {

	// runners carries one entry per live jobs runner in the fleet.
	Runners []*JobRunnerInfo `protobuf:"bytes,1,rep,name=runners,proto3" json:"runners,omitempty"`
	// contains filtered or unexported fields
}

func (*InspectJobsResponse) Descriptor deprecated

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

Deprecated: Use InspectJobsResponse.ProtoReflect.Descriptor instead.

func (*InspectJobsResponse) GetRunners

func (x *InspectJobsResponse) GetRunners() []*JobRunnerInfo

func (*InspectJobsResponse) ProtoMessage

func (*InspectJobsResponse) ProtoMessage()

func (*InspectJobsResponse) ProtoReflect

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

func (*InspectJobsResponse) Reset

func (x *InspectJobsResponse) Reset()

func (*InspectJobsResponse) String

func (x *InspectJobsResponse) String() string

type InvocationSpec

type InvocationSpec struct {
	Name        string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string     `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Args        []*ArgSpec `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// kind is readonly|mutating|dangerous, used for audit and gating.
	Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	// streaming reports the invocation emits a stream of results (via
	// InvokeStream) rather than a single one (Invoke).
	Streaming bool `protobuf:"varint,5,opt,name=streaming,proto3" json:"streaming,omitempty"`
	// contains filtered or unexported fields
}

func (*InvocationSpec) Descriptor deprecated

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

Deprecated: Use InvocationSpec.ProtoReflect.Descriptor instead.

func (*InvocationSpec) GetArgs

func (x *InvocationSpec) GetArgs() []*ArgSpec

func (*InvocationSpec) GetDescription

func (x *InvocationSpec) GetDescription() string

func (*InvocationSpec) GetKind

func (x *InvocationSpec) GetKind() string

func (*InvocationSpec) GetName

func (x *InvocationSpec) GetName() string

func (*InvocationSpec) GetStreaming

func (x *InvocationSpec) GetStreaming() bool

func (*InvocationSpec) ProtoMessage

func (*InvocationSpec) ProtoMessage()

func (*InvocationSpec) ProtoReflect

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

func (*InvocationSpec) Reset

func (x *InvocationSpec) Reset()

func (*InvocationSpec) String

func (x *InvocationSpec) String() string

type InvokeRequest

type InvokeRequest struct {

	// service is a selector: a service name (every instance) or a node id
	// "host:port/service" (one instance).
	Service    string            `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	Invocation string            `protobuf:"bytes,2,opt,name=invocation,proto3" json:"invocation,omitempty"`
	Args       map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InvokeRequest) Descriptor deprecated

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

Deprecated: Use InvokeRequest.ProtoReflect.Descriptor instead.

func (*InvokeRequest) GetArgs

func (x *InvokeRequest) GetArgs() map[string]string

func (*InvokeRequest) GetInvocation

func (x *InvokeRequest) GetInvocation() string

func (*InvokeRequest) GetService

func (x *InvokeRequest) GetService() string

func (*InvokeRequest) ProtoMessage

func (*InvokeRequest) ProtoMessage()

func (*InvokeRequest) ProtoReflect

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

func (*InvokeRequest) Reset

func (x *InvokeRequest) Reset()

func (*InvokeRequest) String

func (x *InvokeRequest) String() string

type InvokeResponse

type InvokeResponse struct {
	Results []*NodeResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*InvokeResponse) Descriptor deprecated

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

Deprecated: Use InvokeResponse.ProtoReflect.Descriptor instead.

func (*InvokeResponse) GetResults

func (x *InvokeResponse) GetResults() []*NodeResult

func (*InvokeResponse) ProtoMessage

func (*InvokeResponse) ProtoMessage()

func (*InvokeResponse) ProtoReflect

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

func (*InvokeResponse) Reset

func (x *InvokeResponse) Reset()

func (*InvokeResponse) String

func (x *InvokeResponse) String() string

type InvokeStreamResponse

type InvokeStreamResponse struct {
	Node       string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	ResultJson string `protobuf:"bytes,2,opt,name=result_json,json=resultJson,proto3" json:"result_json,omitempty"`
	Error      string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

InvokeStreamResponse is one streamed item from one instance.

func (*InvokeStreamResponse) Descriptor deprecated

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

Deprecated: Use InvokeStreamResponse.ProtoReflect.Descriptor instead.

func (*InvokeStreamResponse) GetError

func (x *InvokeStreamResponse) GetError() string

func (*InvokeStreamResponse) GetNode

func (x *InvokeStreamResponse) GetNode() string

func (*InvokeStreamResponse) GetResultJson

func (x *InvokeStreamResponse) GetResultJson() string

func (*InvokeStreamResponse) ProtoMessage

func (*InvokeStreamResponse) ProtoMessage()

func (*InvokeStreamResponse) ProtoReflect

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

func (*InvokeStreamResponse) Reset

func (x *InvokeStreamResponse) Reset()

func (*InvokeStreamResponse) String

func (x *InvokeStreamResponse) String() string

type JobDefinition

type JobDefinition struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Kind     string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`         // "periodic" | "on-demand"
	Schedule string `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"` // periodic only
	Scope    string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`       // periodic only: "leader" | "all-nodes"
	Overlap  string `protobuf:"bytes,5,opt,name=overlap,proto3" json:"overlap,omitempty"`   // periodic only: "skip" | "allow"
	// contains filtered or unexported fields
}

JobDefinition is a registered job.

func (*JobDefinition) Descriptor deprecated

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

Deprecated: Use JobDefinition.ProtoReflect.Descriptor instead.

func (*JobDefinition) GetKind

func (x *JobDefinition) GetKind() string

func (*JobDefinition) GetName

func (x *JobDefinition) GetName() string

func (*JobDefinition) GetOverlap

func (x *JobDefinition) GetOverlap() string

func (*JobDefinition) GetSchedule

func (x *JobDefinition) GetSchedule() string

func (*JobDefinition) GetScope

func (x *JobDefinition) GetScope() string

func (*JobDefinition) ProtoMessage

func (*JobDefinition) ProtoMessage()

func (*JobDefinition) ProtoReflect

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

func (*JobDefinition) Reset

func (x *JobDefinition) Reset()

func (*JobDefinition) String

func (x *JobDefinition) String() string

type JobRun

type JobRun struct {
	RunId           string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	Job             string `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
	State           string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // queued|running|succeeded|failed|cancelling|cancelled
	Attempt         int32  `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"`
	Owner           string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`                             // empty for internal runs
	EnqueuedAt      string `protobuf:"bytes,6,opt,name=enqueued_at,json=enqueuedAt,proto3" json:"enqueued_at,omitempty"` // RFC3339
	StartedAt       string `protobuf:"bytes,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`    // RFC3339, empty while queued
	FinishedAt      string `protobuf:"bytes,8,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` // RFC3339, empty while queued/running
	LastError       string `protobuf:"bytes,9,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
	CancelRequested bool   `protobuf:"varint,10,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
	ResultJson      string `protobuf:"bytes,11,opt,name=result_json,json=resultJson,proto3" json:"result_json,omitempty"` // the job's result payload as JSON
	// contains filtered or unexported fields
}

JobRun is one run's persisted status from the durable ledger.

func (*JobRun) Descriptor deprecated

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

Deprecated: Use JobRun.ProtoReflect.Descriptor instead.

func (*JobRun) GetAttempt

func (x *JobRun) GetAttempt() int32

func (*JobRun) GetCancelRequested

func (x *JobRun) GetCancelRequested() bool

func (*JobRun) GetEnqueuedAt

func (x *JobRun) GetEnqueuedAt() string

func (*JobRun) GetFinishedAt

func (x *JobRun) GetFinishedAt() string

func (*JobRun) GetJob

func (x *JobRun) GetJob() string

func (*JobRun) GetLastError

func (x *JobRun) GetLastError() string

func (*JobRun) GetOwner

func (x *JobRun) GetOwner() string

func (*JobRun) GetResultJson

func (x *JobRun) GetResultJson() string

func (*JobRun) GetRunId

func (x *JobRun) GetRunId() string

func (*JobRun) GetStartedAt

func (x *JobRun) GetStartedAt() string

func (*JobRun) GetState

func (x *JobRun) GetState() string

func (*JobRun) ProtoMessage

func (*JobRun) ProtoMessage()

func (*JobRun) ProtoReflect

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

func (*JobRun) Reset

func (x *JobRun) Reset()

func (*JobRun) String

func (x *JobRun) String() string

type JobRunnerInfo

type JobRunnerInfo struct {
	Node              string           `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	Error             string           `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Workers           int32            `protobuf:"varint,3,opt,name=workers,proto3" json:"workers,omitempty"`
	Busy              int32            `protobuf:"varint,4,opt,name=busy,proto3" json:"busy,omitempty"`
	StoreWired        bool             `protobuf:"varint,5,opt,name=store_wired,json=storeWired,proto3" json:"store_wired,omitempty"`
	Jobs              []*JobDefinition `protobuf:"bytes,6,rep,name=jobs,proto3" json:"jobs,omitempty"`
	InFlightPeriodics []string         `protobuf:"bytes,7,rep,name=in_flight_periodics,json=inFlightPeriodics,proto3" json:"in_flight_periodics,omitempty"`
	ActiveRuns        []*ActiveJobRun  `protobuf:"bytes,8,rep,name=active_runs,json=activeRuns,proto3" json:"active_runs,omitempty"`
	// contains filtered or unexported fields
}

JobRunnerInfo is one runner's live self-report; error is set instead of the payload when the runner could not be reached.

func (*JobRunnerInfo) Descriptor deprecated

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

Deprecated: Use JobRunnerInfo.ProtoReflect.Descriptor instead.

func (*JobRunnerInfo) GetActiveRuns

func (x *JobRunnerInfo) GetActiveRuns() []*ActiveJobRun

func (*JobRunnerInfo) GetBusy

func (x *JobRunnerInfo) GetBusy() int32

func (*JobRunnerInfo) GetError

func (x *JobRunnerInfo) GetError() string

func (*JobRunnerInfo) GetInFlightPeriodics

func (x *JobRunnerInfo) GetInFlightPeriodics() []string

func (*JobRunnerInfo) GetJobs

func (x *JobRunnerInfo) GetJobs() []*JobDefinition

func (*JobRunnerInfo) GetNode

func (x *JobRunnerInfo) GetNode() string

func (*JobRunnerInfo) GetStoreWired

func (x *JobRunnerInfo) GetStoreWired() bool

func (*JobRunnerInfo) GetWorkers

func (x *JobRunnerInfo) GetWorkers() int32

func (*JobRunnerInfo) ProtoMessage

func (*JobRunnerInfo) ProtoMessage()

func (*JobRunnerInfo) ProtoReflect

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

func (*JobRunnerInfo) Reset

func (x *JobRunnerInfo) Reset()

func (*JobRunnerInfo) String

func (x *JobRunnerInfo) String() string

type ListInvocationsRequest

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

func (*ListInvocationsRequest) Descriptor deprecated

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

Deprecated: Use ListInvocationsRequest.ProtoReflect.Descriptor instead.

func (*ListInvocationsRequest) GetService

func (x *ListInvocationsRequest) GetService() string

func (*ListInvocationsRequest) ProtoMessage

func (*ListInvocationsRequest) ProtoMessage()

func (*ListInvocationsRequest) ProtoReflect

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

func (*ListInvocationsRequest) Reset

func (x *ListInvocationsRequest) Reset()

func (*ListInvocationsRequest) String

func (x *ListInvocationsRequest) String() string

type ListInvocationsResponse

type ListInvocationsResponse struct {
	Invocations []*InvocationSpec `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvocationsResponse) Descriptor deprecated

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

Deprecated: Use ListInvocationsResponse.ProtoReflect.Descriptor instead.

func (*ListInvocationsResponse) GetInvocations

func (x *ListInvocationsResponse) GetInvocations() []*InvocationSpec

func (*ListInvocationsResponse) ProtoMessage

func (*ListInvocationsResponse) ProtoMessage()

func (*ListInvocationsResponse) ProtoReflect

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

func (*ListInvocationsResponse) Reset

func (x *ListInvocationsResponse) Reset()

func (*ListInvocationsResponse) String

func (x *ListInvocationsResponse) String() string

type ListJobRunsRequest

type ListJobRunsRequest struct {
	Job      string   `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	Owner    string   `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	States   []string `protobuf:"bytes,3,rep,name=states,proto3" json:"states,omitempty"`
	Internal bool     `protobuf:"varint,4,opt,name=internal,proto3" json:"internal,omitempty"`
	Limit    int32    `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset   int32    `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobRunsRequest) Descriptor deprecated

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

Deprecated: Use ListJobRunsRequest.ProtoReflect.Descriptor instead.

func (*ListJobRunsRequest) GetInternal

func (x *ListJobRunsRequest) GetInternal() bool

func (*ListJobRunsRequest) GetJob

func (x *ListJobRunsRequest) GetJob() string

func (*ListJobRunsRequest) GetLimit

func (x *ListJobRunsRequest) GetLimit() int32

func (*ListJobRunsRequest) GetOffset

func (x *ListJobRunsRequest) GetOffset() int32

func (*ListJobRunsRequest) GetOwner

func (x *ListJobRunsRequest) GetOwner() string

func (*ListJobRunsRequest) GetStates

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

func (*ListJobRunsRequest) ProtoMessage

func (*ListJobRunsRequest) ProtoMessage()

func (*ListJobRunsRequest) ProtoReflect

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

func (*ListJobRunsRequest) Reset

func (x *ListJobRunsRequest) Reset()

func (*ListJobRunsRequest) String

func (x *ListJobRunsRequest) String() string

type ListJobRunsResponse

type ListJobRunsResponse struct {
	Runs []*JobRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobRunsResponse) Descriptor deprecated

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

Deprecated: Use ListJobRunsResponse.ProtoReflect.Descriptor instead.

func (*ListJobRunsResponse) GetRuns

func (x *ListJobRunsResponse) GetRuns() []*JobRun

func (*ListJobRunsResponse) ProtoMessage

func (*ListJobRunsResponse) ProtoMessage()

func (*ListJobRunsResponse) ProtoReflect

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

func (*ListJobRunsResponse) Reset

func (x *ListJobRunsResponse) Reset()

func (*ListJobRunsResponse) String

func (x *ListJobRunsResponse) String() string

type ListServicesRequest

type ListServicesRequest struct {

	// service optionally filters to a single service name.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServicesRequest) Descriptor deprecated

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

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetService

func (x *ListServicesRequest) GetService() string

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect

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

func (*ListServicesRequest) Reset

func (x *ListServicesRequest) Reset()

func (*ListServicesRequest) String

func (x *ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServicesResponse) Descriptor deprecated

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

Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetServices

func (x *ListServicesResponse) GetServices() []*Service

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect

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

func (*ListServicesResponse) Reset

func (x *ListServicesResponse) Reset()

func (*ListServicesResponse) String

func (x *ListServicesResponse) String() string

type Node

type Node struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// state is one of ready|degraded|offline|draining.
	State    string            `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAddress

func (x *Node) GetAddress() string

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetMetadata

func (x *Node) GetMetadata() map[string]string

func (*Node) GetState

func (x *Node) GetState() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeResult

type NodeResult struct {

	// node is the id of the node that produced this result.
	Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// result_json is the invocation's redacted, serializable result as JSON.
	ResultJson string `protobuf:"bytes,2,opt,name=result_json,json=resultJson,proto3" json:"result_json,omitempty"`
	// error is set (per node) when the invocation failed on that node.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeResult) Descriptor deprecated

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

Deprecated: Use NodeResult.ProtoReflect.Descriptor instead.

func (*NodeResult) GetError

func (x *NodeResult) GetError() string

func (*NodeResult) GetNode

func (x *NodeResult) GetNode() string

func (*NodeResult) GetResultJson

func (x *NodeResult) GetResultJson() string

func (*NodeResult) ProtoMessage

func (*NodeResult) ProtoMessage()

func (*NodeResult) ProtoReflect

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

func (*NodeResult) Reset

func (x *NodeResult) Reset()

func (*NodeResult) String

func (x *NodeResult) String() string

type RequestAdminRequest

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

func (*RequestAdminRequest) Descriptor deprecated

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

Deprecated: Use RequestAdminRequest.ProtoReflect.Descriptor instead.

func (*RequestAdminRequest) ProtoMessage

func (*RequestAdminRequest) ProtoMessage()

func (*RequestAdminRequest) ProtoReflect

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

func (*RequestAdminRequest) Reset

func (x *RequestAdminRequest) Reset()

func (*RequestAdminRequest) String

func (x *RequestAdminRequest) String() string

type RequestAdminResponse

type RequestAdminResponse struct {

	// token is a short-TTL, admin-only token (scope map {admin}, no user key).
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// expires_at is the token expiry, in seconds since the Unix epoch.
	ExpiresAt int64 `protobuf:"varint,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestAdminResponse) Descriptor deprecated

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

Deprecated: Use RequestAdminResponse.ProtoReflect.Descriptor instead.

func (*RequestAdminResponse) GetExpiresAt

func (x *RequestAdminResponse) GetExpiresAt() int64

func (*RequestAdminResponse) GetToken

func (x *RequestAdminResponse) GetToken() string

func (*RequestAdminResponse) ProtoMessage

func (*RequestAdminResponse) ProtoMessage()

func (*RequestAdminResponse) ProtoReflect

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

func (*RequestAdminResponse) Reset

func (x *RequestAdminResponse) Reset()

func (*RequestAdminResponse) String

func (x *RequestAdminResponse) String() string

type ServerInfo

type ServerInfo struct {
	Version       string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Build         string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"`
	GoVersion     string `protobuf:"bytes,3,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	UptimeSeconds int64  `protobuf:"varint,4,opt,name=uptime_seconds,json=uptimeSeconds,proto3" json:"uptime_seconds,omitempty"`
	Host          string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
	Pid           int32  `protobuf:"varint,6,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerInfo) Descriptor deprecated

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

Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.

func (*ServerInfo) GetBuild

func (x *ServerInfo) GetBuild() string

func (*ServerInfo) GetGoVersion

func (x *ServerInfo) GetGoVersion() string

func (*ServerInfo) GetHost

func (x *ServerInfo) GetHost() string

func (*ServerInfo) GetPid

func (x *ServerInfo) GetPid() int32

func (*ServerInfo) GetUptimeSeconds

func (x *ServerInfo) GetUptimeSeconds() int64

func (*ServerInfo) GetVersion

func (x *ServerInfo) GetVersion() string

func (*ServerInfo) ProtoMessage

func (*ServerInfo) ProtoMessage()

func (*ServerInfo) ProtoReflect

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

func (*ServerInfo) Reset

func (x *ServerInfo) Reset()

func (*ServerInfo) String

func (x *ServerInfo) String() string

type Service

type Service struct {
	Name  string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Nodes []*Node `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetNodes

func (x *Service) GetNodes() []*Node

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceHealth

type ServiceHealth struct {
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// state is the roll-up across the service's nodes.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Ready int32  `protobuf:"varint,3,opt,name=ready,proto3" json:"ready,omitempty"`
	Total int32  `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceHealth) Descriptor deprecated

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

Deprecated: Use ServiceHealth.ProtoReflect.Descriptor instead.

func (*ServiceHealth) GetReady

func (x *ServiceHealth) GetReady() int32

func (*ServiceHealth) GetService

func (x *ServiceHealth) GetService() string

func (*ServiceHealth) GetState

func (x *ServiceHealth) GetState() string

func (*ServiceHealth) GetTotal

func (x *ServiceHealth) GetTotal() int32

func (*ServiceHealth) ProtoMessage

func (*ServiceHealth) ProtoMessage()

func (*ServiceHealth) ProtoReflect

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

func (*ServiceHealth) Reset

func (x *ServiceHealth) Reset()

func (*ServiceHealth) String

func (x *ServiceHealth) String() string

type TriggerJobRequest

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

func (*TriggerJobRequest) Descriptor deprecated

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

Deprecated: Use TriggerJobRequest.ProtoReflect.Descriptor instead.

func (*TriggerJobRequest) GetJob

func (x *TriggerJobRequest) GetJob() string

func (*TriggerJobRequest) ProtoMessage

func (*TriggerJobRequest) ProtoMessage()

func (*TriggerJobRequest) ProtoReflect

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

func (*TriggerJobRequest) Reset

func (x *TriggerJobRequest) Reset()

func (*TriggerJobRequest) String

func (x *TriggerJobRequest) String() string

type TriggerJobResponse

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

func (*TriggerJobResponse) Descriptor deprecated

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

Deprecated: Use TriggerJobResponse.ProtoReflect.Descriptor instead.

func (*TriggerJobResponse) ProtoMessage

func (*TriggerJobResponse) ProtoMessage()

func (*TriggerJobResponse) ProtoReflect

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

func (*TriggerJobResponse) Reset

func (x *TriggerJobResponse) Reset()

func (*TriggerJobResponse) String

func (x *TriggerJobResponse) String() string

type UnimplementedAdminAPIServer

type UnimplementedAdminAPIServer struct {
}

UnimplementedAdminAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedAdminAPIServer) CancelJobRun

func (UnimplementedAdminAPIServer) CancelPeriodicJob

func (UnimplementedAdminAPIServer) EnqueueJob

func (UnimplementedAdminAPIServer) GetHealth

func (UnimplementedAdminAPIServer) GetJobRun

func (UnimplementedAdminAPIServer) GetServerInfo

func (UnimplementedAdminAPIServer) GetServiceConfig

func (UnimplementedAdminAPIServer) Impersonate

func (UnimplementedAdminAPIServer) InspectJobs

func (UnimplementedAdminAPIServer) Invoke

func (UnimplementedAdminAPIServer) InvokeStream

func (UnimplementedAdminAPIServer) ListInvocations

func (UnimplementedAdminAPIServer) ListJobRuns

func (UnimplementedAdminAPIServer) ListServices

func (UnimplementedAdminAPIServer) RequestAdmin

func (UnimplementedAdminAPIServer) TriggerJob

type UnsafeAdminAPIServer

type UnsafeAdminAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeAdminAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminAPIServer will result in compilation errors.

Jump to

Keyboard shortcuts

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