runner

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerProto_SendTask_FullMethodName   = "/runner.ServerProto/SendTask"
	ServerProto_SendGlance_FullMethodName = "/runner.ServerProto/SendGlance"
	ServerProto_SendMaint_FullMethodName  = "/runner.ServerProto/SendMaint"
	ServerProto_SendConfig_FullMethodName = "/runner.ServerProto/SendConfig"
)

Variables

View Source
var File_runner_proto_runner_proto protoreflect.FileDescriptor
View Source
var ServerProto_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "runner.ServerProto",
	HandlerType: (*ServerProtoServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SendTask",
			Handler:       _ServerProto_SendTask_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SendGlance",
			Handler:       _ServerProto_SendGlance_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SendMaint",
			Handler:       _ServerProto_SendMaint_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SendConfig",
			Handler:       _ServerProto_SendConfig_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "runner/proto/runner.proto",
}

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

Functions

func RegisterServerProtoServer

func RegisterServerProtoServer(s grpc.ServiceRegistrar, srv ServerProtoServer)

Types

type Config added in v1.37.0

type Config struct {
	Version bool `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated added in v1.37.0

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetVersion added in v1.37.0

func (x *Config) GetVersion() bool

func (*Config) ProtoMessage added in v1.37.0

func (*Config) ProtoMessage()

func (*Config) ProtoReflect added in v1.37.0

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

func (*Config) Reset added in v1.37.0

func (x *Config) Reset()

func (*Config) String added in v1.37.0

func (x *Config) String() string

type ConfigMetadata added in v1.37.0

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

func (*ConfigMetadata) Descriptor deprecated added in v1.37.0

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

Deprecated: Use ConfigMetadata.ProtoReflect.Descriptor instead.

func (*ConfigMetadata) GetName added in v1.37.0

func (x *ConfigMetadata) GetName() string

func (*ConfigMetadata) ProtoMessage added in v1.37.0

func (*ConfigMetadata) ProtoMessage()

func (*ConfigMetadata) ProtoReflect added in v1.37.0

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

func (*ConfigMetadata) Reset added in v1.37.0

func (x *ConfigMetadata) Reset()

func (*ConfigMetadata) String added in v1.37.0

func (x *ConfigMetadata) String() string

type ConfigReply added in v1.37.0

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

func (*ConfigReply) Descriptor deprecated added in v1.37.0

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

Deprecated: Use ConfigReply.ProtoReflect.Descriptor instead.

func (*ConfigReply) GetVersion added in v1.37.0

func (x *ConfigReply) GetVersion() string

func (*ConfigReply) ProtoMessage added in v1.37.0

func (*ConfigReply) ProtoMessage()

func (*ConfigReply) ProtoReflect added in v1.37.0

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

func (*ConfigReply) Reset added in v1.37.0

func (x *ConfigReply) Reset()

func (*ConfigReply) String added in v1.37.0

func (x *ConfigReply) String() string

type ConfigRequest added in v1.37.0

type ConfigRequest struct {
	ApiVersion string          `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string          `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *ConfigMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *ConfigSpec     `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigRequest) Descriptor deprecated added in v1.37.0

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

Deprecated: Use ConfigRequest.ProtoReflect.Descriptor instead.

func (*ConfigRequest) GetApiVersion added in v1.37.0

func (x *ConfigRequest) GetApiVersion() string

func (*ConfigRequest) GetKind added in v1.37.0

func (x *ConfigRequest) GetKind() string

func (*ConfigRequest) GetMetadata added in v1.37.0

func (x *ConfigRequest) GetMetadata() *ConfigMetadata

func (*ConfigRequest) GetSpec added in v1.37.0

func (x *ConfigRequest) GetSpec() *ConfigSpec

func (*ConfigRequest) ProtoMessage added in v1.37.0

func (*ConfigRequest) ProtoMessage()

func (*ConfigRequest) ProtoReflect added in v1.37.0

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

func (*ConfigRequest) Reset added in v1.37.0

func (x *ConfigRequest) Reset()

func (*ConfigRequest) String added in v1.37.0

func (x *ConfigRequest) String() string

type ConfigSpec added in v1.37.0

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

func (*ConfigSpec) Descriptor deprecated added in v1.37.0

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

Deprecated: Use ConfigSpec.ProtoReflect.Descriptor instead.

func (*ConfigSpec) GetConfig added in v1.37.0

func (x *ConfigSpec) GetConfig() *Config

func (*ConfigSpec) ProtoMessage added in v1.37.0

func (*ConfigSpec) ProtoMessage()

func (*ConfigSpec) ProtoReflect added in v1.37.0

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

func (*ConfigSpec) Reset added in v1.37.0

func (x *ConfigSpec) Reset()

func (*ConfigSpec) String added in v1.37.0

func (x *ConfigSpec) String() string

type Glance added in v1.28.0

type Glance struct {
	Dir  *GlanceDirReq  `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
	File *GlanceFileReq `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	Sys  *GlanceSysReq  `protobuf:"bytes,3,opt,name=sys,proto3" json:"sys,omitempty"`
	// contains filtered or unexported fields
}

func (*Glance) Descriptor deprecated added in v1.28.0

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

Deprecated: Use Glance.ProtoReflect.Descriptor instead.

func (*Glance) GetDir added in v1.28.0

func (x *Glance) GetDir() *GlanceDirReq

func (*Glance) GetFile added in v1.28.0

func (x *Glance) GetFile() *GlanceFileReq

func (*Glance) GetSys added in v1.28.0

func (x *Glance) GetSys() *GlanceSysReq

func (*Glance) ProtoMessage added in v1.28.0

func (*Glance) ProtoMessage()

func (*Glance) ProtoReflect added in v1.28.0

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

func (*Glance) Reset added in v1.28.0

func (x *Glance) Reset()

func (*Glance) String added in v1.28.0

func (x *Glance) String() string

type GlanceAllocatable added in v1.28.0

type GlanceAllocatable struct {
	MilliCPU int64 `protobuf:"varint,1,opt,name=milliCPU,proto3" json:"milliCPU,omitempty"`
	Memory   int64 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Storage  int64 `protobuf:"varint,3,opt,name=storage,proto3" json:"storage,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceAllocatable) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceAllocatable.ProtoReflect.Descriptor instead.

func (*GlanceAllocatable) GetMemory added in v1.28.0

func (x *GlanceAllocatable) GetMemory() int64

func (*GlanceAllocatable) GetMilliCPU added in v1.28.0

func (x *GlanceAllocatable) GetMilliCPU() int64

func (*GlanceAllocatable) GetStorage added in v1.28.0

func (x *GlanceAllocatable) GetStorage() int64

func (*GlanceAllocatable) ProtoMessage added in v1.28.0

func (*GlanceAllocatable) ProtoMessage()

func (*GlanceAllocatable) ProtoReflect added in v1.28.0

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

func (*GlanceAllocatable) Reset added in v1.28.0

func (x *GlanceAllocatable) Reset()

func (*GlanceAllocatable) String added in v1.28.0

func (x *GlanceAllocatable) String() string

type GlanceCPU added in v1.28.0

type GlanceCPU struct {
	Total string `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"`
	Used  string `protobuf:"bytes,2,opt,name=used,proto3" json:"used,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceCPU) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceCPU.ProtoReflect.Descriptor instead.

func (*GlanceCPU) GetTotal added in v1.28.0

func (x *GlanceCPU) GetTotal() string

func (*GlanceCPU) GetUsed added in v1.28.0

func (x *GlanceCPU) GetUsed() string

func (*GlanceCPU) ProtoMessage added in v1.28.0

func (*GlanceCPU) ProtoMessage()

func (*GlanceCPU) ProtoReflect added in v1.28.0

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

func (*GlanceCPU) Reset added in v1.28.0

func (x *GlanceCPU) Reset()

func (*GlanceCPU) String added in v1.28.0

func (x *GlanceCPU) String() string

type GlanceDirRep added in v1.28.0

type GlanceDirRep struct {
	Entries []*GlanceEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceDirRep) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceDirRep.ProtoReflect.Descriptor instead.

func (*GlanceDirRep) GetEntries added in v1.28.0

func (x *GlanceDirRep) GetEntries() []*GlanceEntry

func (*GlanceDirRep) ProtoMessage added in v1.28.0

func (*GlanceDirRep) ProtoMessage()

func (*GlanceDirRep) ProtoReflect added in v1.28.0

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

func (*GlanceDirRep) Reset added in v1.28.0

func (x *GlanceDirRep) Reset()

func (*GlanceDirRep) String added in v1.28.0

func (x *GlanceDirRep) String() string

type GlanceDirReq added in v1.28.0

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

func (*GlanceDirReq) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceDirReq.ProtoReflect.Descriptor instead.

func (*GlanceDirReq) GetPath added in v1.28.0

func (x *GlanceDirReq) GetPath() string

func (*GlanceDirReq) ProtoMessage added in v1.28.0

func (*GlanceDirReq) ProtoMessage()

func (*GlanceDirReq) ProtoReflect added in v1.28.0

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

func (*GlanceDirReq) Reset added in v1.28.0

func (x *GlanceDirReq) Reset()

func (*GlanceDirReq) String added in v1.28.0

func (x *GlanceDirReq) String() string

type GlanceEntry added in v1.28.0

type GlanceEntry struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	IsDir bool   `protobuf:"varint,2,opt,name=isDir,proto3" json:"isDir,omitempty"`
	Size  int64  `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Time  string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	User  string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	Group string `protobuf:"bytes,6,opt,name=group,proto3" json:"group,omitempty"`
	Mode  string `protobuf:"bytes,7,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceEntry) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceEntry.ProtoReflect.Descriptor instead.

func (*GlanceEntry) GetGroup added in v1.28.0

func (x *GlanceEntry) GetGroup() string

func (*GlanceEntry) GetIsDir added in v1.28.0

func (x *GlanceEntry) GetIsDir() bool

func (*GlanceEntry) GetMode added in v1.28.0

func (x *GlanceEntry) GetMode() string

func (*GlanceEntry) GetName added in v1.28.0

func (x *GlanceEntry) GetName() string

func (*GlanceEntry) GetSize added in v1.28.0

func (x *GlanceEntry) GetSize() int64

func (*GlanceEntry) GetTime added in v1.28.0

func (x *GlanceEntry) GetTime() string

func (*GlanceEntry) GetUser added in v1.28.0

func (x *GlanceEntry) GetUser() string

func (*GlanceEntry) ProtoMessage added in v1.28.0

func (*GlanceEntry) ProtoMessage()

func (*GlanceEntry) ProtoReflect added in v1.28.0

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

func (*GlanceEntry) Reset added in v1.28.0

func (x *GlanceEntry) Reset()

func (*GlanceEntry) String added in v1.28.0

func (x *GlanceEntry) String() string

type GlanceFileRep added in v1.28.0

type GlanceFileRep struct {
	Content  string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Readable bool   `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceFileRep) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceFileRep.ProtoReflect.Descriptor instead.

func (*GlanceFileRep) GetContent added in v1.28.0

func (x *GlanceFileRep) GetContent() string

func (*GlanceFileRep) GetReadable added in v1.28.0

func (x *GlanceFileRep) GetReadable() bool

func (*GlanceFileRep) ProtoMessage added in v1.28.0

func (*GlanceFileRep) ProtoMessage()

func (*GlanceFileRep) ProtoReflect added in v1.28.0

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

func (*GlanceFileRep) Reset added in v1.28.0

func (x *GlanceFileRep) Reset()

func (*GlanceFileRep) String added in v1.28.0

func (x *GlanceFileRep) String() string

type GlanceFileReq added in v1.28.0

type GlanceFileReq struct {
	Path    string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	MaxSize int64  `protobuf:"varint,2,opt,name=maxSize,proto3" json:"maxSize,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceFileReq) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceFileReq.ProtoReflect.Descriptor instead.

func (*GlanceFileReq) GetMaxSize added in v1.28.0

func (x *GlanceFileReq) GetMaxSize() int64

func (*GlanceFileReq) GetPath added in v1.28.0

func (x *GlanceFileReq) GetPath() string

func (*GlanceFileReq) ProtoMessage added in v1.28.0

func (*GlanceFileReq) ProtoMessage()

func (*GlanceFileReq) ProtoReflect added in v1.28.0

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

func (*GlanceFileReq) Reset added in v1.28.0

func (x *GlanceFileReq) Reset()

func (*GlanceFileReq) String added in v1.28.0

func (x *GlanceFileReq) String() string

type GlanceMemory added in v1.28.0

type GlanceMemory struct {
	Total string `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"`
	Used  string `protobuf:"bytes,2,opt,name=used,proto3" json:"used,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceMemory) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceMemory.ProtoReflect.Descriptor instead.

func (*GlanceMemory) GetTotal added in v1.28.0

func (x *GlanceMemory) GetTotal() string

func (*GlanceMemory) GetUsed added in v1.28.0

func (x *GlanceMemory) GetUsed() string

func (*GlanceMemory) ProtoMessage added in v1.28.0

func (*GlanceMemory) ProtoMessage()

func (*GlanceMemory) ProtoReflect added in v1.28.0

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

func (*GlanceMemory) Reset added in v1.28.0

func (x *GlanceMemory) Reset()

func (*GlanceMemory) String added in v1.28.0

func (x *GlanceMemory) String() string

type GlanceMetadata added in v1.28.0

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

func (*GlanceMetadata) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceMetadata.ProtoReflect.Descriptor instead.

func (*GlanceMetadata) GetName added in v1.28.0

func (x *GlanceMetadata) GetName() string

func (*GlanceMetadata) ProtoMessage added in v1.28.0

func (*GlanceMetadata) ProtoMessage()

func (*GlanceMetadata) ProtoReflect added in v1.28.0

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

func (*GlanceMetadata) Reset added in v1.28.0

func (x *GlanceMetadata) Reset()

func (*GlanceMetadata) String added in v1.28.0

func (x *GlanceMetadata) String() string

type GlanceProcess added in v1.31.0

type GlanceProcess struct {
	Process *GlanceThread   `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
	Threads []*GlanceThread `protobuf:"bytes,2,rep,name=threads,proto3" json:"threads,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceProcess) Descriptor deprecated added in v1.31.0

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

Deprecated: Use GlanceProcess.ProtoReflect.Descriptor instead.

func (*GlanceProcess) GetProcess added in v1.32.0

func (x *GlanceProcess) GetProcess() *GlanceThread

func (*GlanceProcess) GetThreads added in v1.32.0

func (x *GlanceProcess) GetThreads() []*GlanceThread

func (*GlanceProcess) ProtoMessage added in v1.31.0

func (*GlanceProcess) ProtoMessage()

func (*GlanceProcess) ProtoReflect added in v1.31.0

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

func (*GlanceProcess) Reset added in v1.31.0

func (x *GlanceProcess) Reset()

func (*GlanceProcess) String added in v1.31.0

func (x *GlanceProcess) String() string

type GlanceReply added in v1.28.0

type GlanceReply struct {
	Dir   *GlanceDirRep  `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
	File  *GlanceFileRep `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	Sys   *GlanceSysRep  `protobuf:"bytes,3,opt,name=sys,proto3" json:"sys,omitempty"`
	Error string         `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceReply) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceReply.ProtoReflect.Descriptor instead.

func (*GlanceReply) GetDir added in v1.28.0

func (x *GlanceReply) GetDir() *GlanceDirRep

func (*GlanceReply) GetError added in v1.28.0

func (x *GlanceReply) GetError() string

func (*GlanceReply) GetFile added in v1.28.0

func (x *GlanceReply) GetFile() *GlanceFileRep

func (*GlanceReply) GetSys added in v1.28.0

func (x *GlanceReply) GetSys() *GlanceSysRep

func (*GlanceReply) ProtoMessage added in v1.28.0

func (*GlanceReply) ProtoMessage()

func (*GlanceReply) ProtoReflect added in v1.28.0

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

func (*GlanceReply) Reset added in v1.28.0

func (x *GlanceReply) Reset()

func (*GlanceReply) String added in v1.28.0

func (x *GlanceReply) String() string

type GlanceRequest added in v1.28.0

type GlanceRequest struct {
	ApiVersion string          `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string          `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *GlanceMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *GlanceSpec     `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceRequest) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceRequest.ProtoReflect.Descriptor instead.

func (*GlanceRequest) GetApiVersion added in v1.28.0

func (x *GlanceRequest) GetApiVersion() string

func (*GlanceRequest) GetKind added in v1.28.0

func (x *GlanceRequest) GetKind() string

func (*GlanceRequest) GetMetadata added in v1.28.0

func (x *GlanceRequest) GetMetadata() *GlanceMetadata

func (*GlanceRequest) GetSpec added in v1.28.0

func (x *GlanceRequest) GetSpec() *GlanceSpec

func (*GlanceRequest) ProtoMessage added in v1.28.0

func (*GlanceRequest) ProtoMessage()

func (*GlanceRequest) ProtoReflect added in v1.28.0

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

func (*GlanceRequest) Reset added in v1.28.0

func (x *GlanceRequest) Reset()

func (*GlanceRequest) String added in v1.28.0

func (x *GlanceRequest) String() string

type GlanceRequested added in v1.28.0

type GlanceRequested struct {
	MilliCPU int64 `protobuf:"varint,1,opt,name=milliCPU,proto3" json:"milliCPU,omitempty"`
	Memory   int64 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Storage  int64 `protobuf:"varint,3,opt,name=storage,proto3" json:"storage,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceRequested) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceRequested.ProtoReflect.Descriptor instead.

func (*GlanceRequested) GetMemory added in v1.28.0

func (x *GlanceRequested) GetMemory() int64

func (*GlanceRequested) GetMilliCPU added in v1.28.0

func (x *GlanceRequested) GetMilliCPU() int64

func (*GlanceRequested) GetStorage added in v1.28.0

func (x *GlanceRequested) GetStorage() int64

func (*GlanceRequested) ProtoMessage added in v1.28.0

func (*GlanceRequested) ProtoMessage()

func (*GlanceRequested) ProtoReflect added in v1.28.0

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

func (*GlanceRequested) Reset added in v1.28.0

func (x *GlanceRequested) Reset()

func (*GlanceRequested) String added in v1.28.0

func (x *GlanceRequested) String() string

type GlanceResource added in v1.28.0

type GlanceResource struct {
	Allocatable *GlanceAllocatable `protobuf:"bytes,1,opt,name=allocatable,proto3" json:"allocatable,omitempty"`
	Requested   *GlanceRequested   `protobuf:"bytes,2,opt,name=requested,proto3" json:"requested,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceResource) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceResource.ProtoReflect.Descriptor instead.

func (*GlanceResource) GetAllocatable added in v1.28.0

func (x *GlanceResource) GetAllocatable() *GlanceAllocatable

func (*GlanceResource) GetRequested added in v1.28.0

func (x *GlanceResource) GetRequested() *GlanceRequested

func (*GlanceResource) ProtoMessage added in v1.28.0

func (*GlanceResource) ProtoMessage()

func (*GlanceResource) ProtoReflect added in v1.28.0

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

func (*GlanceResource) Reset added in v1.28.0

func (x *GlanceResource) Reset()

func (*GlanceResource) String added in v1.28.0

func (x *GlanceResource) String() string

type GlanceSpec added in v1.28.0

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

func (*GlanceSpec) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceSpec.ProtoReflect.Descriptor instead.

func (*GlanceSpec) GetGlance added in v1.28.0

func (x *GlanceSpec) GetGlance() *Glance

func (*GlanceSpec) ProtoMessage added in v1.28.0

func (*GlanceSpec) ProtoMessage()

func (*GlanceSpec) ProtoReflect added in v1.28.0

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

func (*GlanceSpec) Reset added in v1.28.0

func (x *GlanceSpec) Reset()

func (*GlanceSpec) String added in v1.28.0

func (x *GlanceSpec) String() string

type GlanceStats added in v1.28.0

type GlanceStats struct {
	Cpu       *GlanceCPU       `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Host      string           `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Memory    *GlanceMemory    `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"`
	Os        string           `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
	Storage   *GlanceStorage   `protobuf:"bytes,5,opt,name=storage,proto3" json:"storage,omitempty"`
	Processes []*GlanceProcess `protobuf:"bytes,6,rep,name=processes,proto3" json:"processes,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceStats) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceStats.ProtoReflect.Descriptor instead.

func (*GlanceStats) GetCpu added in v1.28.0

func (x *GlanceStats) GetCpu() *GlanceCPU

func (*GlanceStats) GetHost added in v1.28.0

func (x *GlanceStats) GetHost() string

func (*GlanceStats) GetMemory added in v1.28.0

func (x *GlanceStats) GetMemory() *GlanceMemory

func (*GlanceStats) GetOs added in v1.28.0

func (x *GlanceStats) GetOs() string

func (*GlanceStats) GetProcesses added in v1.31.0

func (x *GlanceStats) GetProcesses() []*GlanceProcess

func (*GlanceStats) GetStorage added in v1.28.0

func (x *GlanceStats) GetStorage() *GlanceStorage

func (*GlanceStats) ProtoMessage added in v1.28.0

func (*GlanceStats) ProtoMessage()

func (*GlanceStats) ProtoReflect added in v1.28.0

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

func (*GlanceStats) Reset added in v1.28.0

func (x *GlanceStats) Reset()

func (*GlanceStats) String added in v1.28.0

func (x *GlanceStats) String() string

type GlanceStorage added in v1.28.0

type GlanceStorage struct {
	Total string `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"`
	Used  string `protobuf:"bytes,2,opt,name=used,proto3" json:"used,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceStorage) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceStorage.ProtoReflect.Descriptor instead.

func (*GlanceStorage) GetTotal added in v1.28.0

func (x *GlanceStorage) GetTotal() string

func (*GlanceStorage) GetUsed added in v1.28.0

func (x *GlanceStorage) GetUsed() string

func (*GlanceStorage) ProtoMessage added in v1.28.0

func (*GlanceStorage) ProtoMessage()

func (*GlanceStorage) ProtoReflect added in v1.28.0

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

func (*GlanceStorage) Reset added in v1.28.0

func (x *GlanceStorage) Reset()

func (*GlanceStorage) String added in v1.28.0

func (x *GlanceStorage) String() string

type GlanceSysRep added in v1.28.0

type GlanceSysRep struct {
	Resource *GlanceResource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Stats    *GlanceStats    `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceSysRep) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceSysRep.ProtoReflect.Descriptor instead.

func (*GlanceSysRep) GetResource added in v1.28.0

func (x *GlanceSysRep) GetResource() *GlanceResource

func (*GlanceSysRep) GetStats added in v1.28.0

func (x *GlanceSysRep) GetStats() *GlanceStats

func (*GlanceSysRep) ProtoMessage added in v1.28.0

func (*GlanceSysRep) ProtoMessage()

func (*GlanceSysRep) ProtoReflect added in v1.28.0

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

func (*GlanceSysRep) Reset added in v1.28.0

func (x *GlanceSysRep) Reset()

func (*GlanceSysRep) String added in v1.28.0

func (x *GlanceSysRep) String() string

type GlanceSysReq added in v1.28.0

type GlanceSysReq struct {
	Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceSysReq) Descriptor deprecated added in v1.28.0

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

Deprecated: Use GlanceSysReq.ProtoReflect.Descriptor instead.

func (*GlanceSysReq) GetEnable added in v1.28.0

func (x *GlanceSysReq) GetEnable() bool

func (*GlanceSysReq) ProtoMessage added in v1.28.0

func (*GlanceSysReq) ProtoMessage()

func (*GlanceSysReq) ProtoReflect added in v1.28.0

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

func (*GlanceSysReq) Reset added in v1.28.0

func (x *GlanceSysReq) Reset()

func (*GlanceSysReq) String added in v1.28.0

func (x *GlanceSysReq) String() string

type GlanceThread added in v1.32.0

type GlanceThread struct {
	Name    string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Cmdline string  `protobuf:"bytes,2,opt,name=cmdline,proto3" json:"cmdline,omitempty"`
	Memory  int64   `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"`
	Time    float64 `protobuf:"fixed64,4,opt,name=time,proto3" json:"time,omitempty"`
	Pid     int64   `protobuf:"varint,5,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

func (*GlanceThread) Descriptor deprecated added in v1.32.0

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

Deprecated: Use GlanceThread.ProtoReflect.Descriptor instead.

func (*GlanceThread) GetCmdline added in v1.32.0

func (x *GlanceThread) GetCmdline() string

func (*GlanceThread) GetMemory added in v1.32.0

func (x *GlanceThread) GetMemory() int64

func (*GlanceThread) GetName added in v1.32.0

func (x *GlanceThread) GetName() string

func (*GlanceThread) GetPid added in v1.32.0

func (x *GlanceThread) GetPid() int64

func (*GlanceThread) GetTime added in v1.32.0

func (x *GlanceThread) GetTime() float64

func (*GlanceThread) ProtoMessage added in v1.32.0

func (*GlanceThread) ProtoMessage()

func (*GlanceThread) ProtoReflect added in v1.32.0

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

func (*GlanceThread) Reset added in v1.32.0

func (x *GlanceThread) Reset()

func (*GlanceThread) String added in v1.32.0

func (x *GlanceThread) String() string

type Maint added in v1.33.0

type Maint struct {
	Clock *MaintClockReq `protobuf:"bytes,1,opt,name=clock,proto3" json:"clock,omitempty"`
	// contains filtered or unexported fields
}

func (*Maint) Descriptor deprecated added in v1.33.0

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

Deprecated: Use Maint.ProtoReflect.Descriptor instead.

func (*Maint) GetClock added in v1.33.0

func (x *Maint) GetClock() *MaintClockReq

func (*Maint) ProtoMessage added in v1.33.0

func (*Maint) ProtoMessage()

func (*Maint) ProtoReflect added in v1.33.0

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

func (*Maint) Reset added in v1.33.0

func (x *Maint) Reset()

func (*Maint) String added in v1.33.0

func (x *Maint) String() string

type MaintClockDiff added in v1.33.0

type MaintClockDiff struct {
	Time      int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	Dangerous bool  `protobuf:"varint,2,opt,name=dangerous,proto3" json:"dangerous,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintClockDiff) Descriptor deprecated added in v1.33.0

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

Deprecated: Use MaintClockDiff.ProtoReflect.Descriptor instead.

func (*MaintClockDiff) GetDangerous added in v1.33.0

func (x *MaintClockDiff) GetDangerous() bool

func (*MaintClockDiff) GetTime added in v1.33.0

func (x *MaintClockDiff) GetTime() int64

func (*MaintClockDiff) ProtoMessage added in v1.33.0

func (*MaintClockDiff) ProtoMessage()

func (*MaintClockDiff) ProtoReflect added in v1.33.0

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

func (*MaintClockDiff) Reset added in v1.33.0

func (x *MaintClockDiff) Reset()

func (*MaintClockDiff) String added in v1.33.0

func (x *MaintClockDiff) String() string

type MaintClockRep added in v1.33.0

type MaintClockRep struct {
	Sync *MaintClockSync `protobuf:"bytes,1,opt,name=sync,proto3" json:"sync,omitempty"`
	Diff *MaintClockDiff `protobuf:"bytes,2,opt,name=diff,proto3" json:"diff,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintClockRep) Descriptor deprecated added in v1.33.0

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

Deprecated: Use MaintClockRep.ProtoReflect.Descriptor instead.

func (*MaintClockRep) GetDiff added in v1.33.0

func (x *MaintClockRep) GetDiff() *MaintClockDiff

func (*MaintClockRep) GetSync added in v1.33.0

func (x *MaintClockRep) GetSync() *MaintClockSync

func (*MaintClockRep) ProtoMessage added in v1.33.0

func (*MaintClockRep) ProtoMessage()

func (*MaintClockRep) ProtoReflect added in v1.33.0

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

func (*MaintClockRep) Reset added in v1.33.0

func (x *MaintClockRep) Reset()

func (*MaintClockRep) String added in v1.33.0

func (x *MaintClockRep) String() string

type MaintClockReq added in v1.33.0

type MaintClockReq struct {
	Sync bool  `protobuf:"varint,1,opt,name=sync,proto3" json:"sync,omitempty"`
	Time int64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintClockReq) Descriptor deprecated added in v1.33.0

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

Deprecated: Use MaintClockReq.ProtoReflect.Descriptor instead.

func (*MaintClockReq) GetSync added in v1.33.0

func (x *MaintClockReq) GetSync() bool

func (*MaintClockReq) GetTime added in v1.33.0

func (x *MaintClockReq) GetTime() int64

func (*MaintClockReq) ProtoMessage added in v1.33.0

func (*MaintClockReq) ProtoMessage()

func (*MaintClockReq) ProtoReflect added in v1.33.0

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

func (*MaintClockReq) Reset added in v1.33.0

func (x *MaintClockReq) Reset()

func (*MaintClockReq) String added in v1.33.0

func (x *MaintClockReq) String() string

type MaintClockSync added in v1.33.0

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

func (*MaintClockSync) Descriptor deprecated added in v1.33.0

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

Deprecated: Use MaintClockSync.ProtoReflect.Descriptor instead.

func (*MaintClockSync) GetStatus added in v1.33.0

func (x *MaintClockSync) GetStatus() string

func (*MaintClockSync) ProtoMessage added in v1.33.0

func (*MaintClockSync) ProtoMessage()

func (*MaintClockSync) ProtoReflect added in v1.33.0

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

func (*MaintClockSync) Reset added in v1.33.0

func (x *MaintClockSync) Reset()

func (*MaintClockSync) String added in v1.33.0

func (x *MaintClockSync) String() string

type MaintMetadata added in v1.33.0

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

func (*MaintMetadata) Descriptor deprecated added in v1.33.0

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

Deprecated: Use MaintMetadata.ProtoReflect.Descriptor instead.

func (*MaintMetadata) GetName added in v1.33.0

func (x *MaintMetadata) GetName() string

func (*MaintMetadata) ProtoMessage added in v1.33.0

func (*MaintMetadata) ProtoMessage()

func (*MaintMetadata) ProtoReflect added in v1.33.0

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

func (*MaintMetadata) Reset added in v1.33.0

func (x *MaintMetadata) Reset()

func (*MaintMetadata) String added in v1.33.0

func (x *MaintMetadata) String() string

type MaintReply added in v1.33.0

type MaintReply struct {
	Clock *MaintClockRep `protobuf:"bytes,1,opt,name=clock,proto3" json:"clock,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintReply) Descriptor deprecated added in v1.33.0

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

Deprecated: Use MaintReply.ProtoReflect.Descriptor instead.

func (*MaintReply) GetClock added in v1.33.0

func (x *MaintReply) GetClock() *MaintClockRep

func (*MaintReply) ProtoMessage added in v1.33.0

func (*MaintReply) ProtoMessage()

func (*MaintReply) ProtoReflect added in v1.33.0

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

func (*MaintReply) Reset added in v1.33.0

func (x *MaintReply) Reset()

func (*MaintReply) String added in v1.33.0

func (x *MaintReply) String() string

type MaintRequest added in v1.33.0

type MaintRequest struct {
	ApiVersion string         `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string         `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *MaintMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *MaintSpec     `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintRequest) Descriptor deprecated added in v1.33.0

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

Deprecated: Use MaintRequest.ProtoReflect.Descriptor instead.

func (*MaintRequest) GetApiVersion added in v1.33.0

func (x *MaintRequest) GetApiVersion() string

func (*MaintRequest) GetKind added in v1.33.0

func (x *MaintRequest) GetKind() string

func (*MaintRequest) GetMetadata added in v1.33.0

func (x *MaintRequest) GetMetadata() *MaintMetadata

func (*MaintRequest) GetSpec added in v1.33.0

func (x *MaintRequest) GetSpec() *MaintSpec

func (*MaintRequest) ProtoMessage added in v1.33.0

func (*MaintRequest) ProtoMessage()

func (*MaintRequest) ProtoReflect added in v1.33.0

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

func (*MaintRequest) Reset added in v1.33.0

func (x *MaintRequest) Reset()

func (*MaintRequest) String added in v1.33.0

func (x *MaintRequest) String() string

type MaintSpec added in v1.33.0

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

func (*MaintSpec) Descriptor deprecated added in v1.33.0

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

Deprecated: Use MaintSpec.ProtoReflect.Descriptor instead.

func (*MaintSpec) GetMaint added in v1.33.0

func (x *MaintSpec) GetMaint() *Maint

func (*MaintSpec) ProtoMessage added in v1.33.0

func (*MaintSpec) ProtoMessage()

func (*MaintSpec) ProtoReflect added in v1.33.0

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

func (*MaintSpec) Reset added in v1.33.0

func (x *MaintSpec) Reset()

func (*MaintSpec) String added in v1.33.0

func (x *MaintSpec) String() string

type ServerProtoClient

type ServerProtoClient interface {
	SendTask(ctx context.Context, opts ...grpc.CallOption) (ServerProto_SendTaskClient, error)
	SendGlance(ctx context.Context, opts ...grpc.CallOption) (ServerProto_SendGlanceClient, error)
	SendMaint(ctx context.Context, opts ...grpc.CallOption) (ServerProto_SendMaintClient, error)
	SendConfig(ctx context.Context, opts ...grpc.CallOption) (ServerProto_SendConfigClient, error)
}

ServerProtoClient is the client API for ServerProto 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.

type ServerProtoServer

type ServerProtoServer interface {
	SendTask(ServerProto_SendTaskServer) error
	SendGlance(ServerProto_SendGlanceServer) error
	SendMaint(ServerProto_SendMaintServer) error
	SendConfig(ServerProto_SendConfigServer) error
	// contains filtered or unexported methods
}

ServerProtoServer is the server API for ServerProto service. All implementations must embed UnimplementedServerProtoServer for forward compatibility

type ServerProto_SendConfigClient added in v1.37.0

type ServerProto_SendConfigClient interface {
	Send(*ConfigRequest) error
	Recv() (*ConfigReply, error)
	grpc.ClientStream
}

type ServerProto_SendConfigServer added in v1.37.0

type ServerProto_SendConfigServer interface {
	Send(*ConfigReply) error
	Recv() (*ConfigRequest, error)
	grpc.ServerStream
}

type ServerProto_SendGlanceClient added in v1.28.0

type ServerProto_SendGlanceClient interface {
	Send(*GlanceRequest) error
	Recv() (*GlanceReply, error)
	grpc.ClientStream
}

type ServerProto_SendGlanceServer added in v1.28.0

type ServerProto_SendGlanceServer interface {
	Send(*GlanceReply) error
	Recv() (*GlanceRequest, error)
	grpc.ServerStream
}

type ServerProto_SendMaintClient added in v1.33.0

type ServerProto_SendMaintClient interface {
	Send(*MaintRequest) error
	Recv() (*MaintReply, error)
	grpc.ClientStream
}

type ServerProto_SendMaintServer added in v1.33.0

type ServerProto_SendMaintServer interface {
	Send(*MaintReply) error
	Recv() (*MaintRequest, error)
	grpc.ServerStream
}

type ServerProto_SendTaskClient added in v1.28.0

type ServerProto_SendTaskClient interface {
	Send(*TaskRequest) error
	Recv() (*TaskReply, error)
	grpc.ClientStream
}

type ServerProto_SendTaskServer added in v1.28.0

type ServerProto_SendTaskServer interface {
	Send(*TaskReply) error
	Recv() (*TaskRequest, error)
	grpc.ServerStream
}

type Task

type Task struct {
	Name     string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	File     *TaskFile     `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	Params   []*TaskParam  `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
	Commands []string      `protobuf:"bytes,4,rep,name=commands,proto3" json:"commands,omitempty"`
	Log      *TaskLog      `protobuf:"bytes,5,opt,name=log,proto3" json:"log,omitempty"`
	Language *TaskLanguage `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetCommands

func (x *Task) GetCommands() []string

func (*Task) GetFile added in v1.20.0

func (x *Task) GetFile() *TaskFile

func (*Task) GetLanguage added in v1.35.0

func (x *Task) GetLanguage() *TaskLanguage

func (*Task) GetLog added in v1.30.0

func (x *Task) GetLog() *TaskLog

func (*Task) GetName

func (x *Task) GetName() string

func (*Task) GetParams added in v1.27.0

func (x *Task) GetParams() []*TaskParam

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

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

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

type TaskArtifact added in v1.36.0

type TaskArtifact struct {
	Image   string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	User    string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Pass    string `protobuf:"bytes,3,opt,name=pass,proto3" json:"pass,omitempty"`
	Cleanup bool   `protobuf:"varint,4,opt,name=cleanup,proto3" json:"cleanup,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskArtifact) Descriptor deprecated added in v1.36.0

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

Deprecated: Use TaskArtifact.ProtoReflect.Descriptor instead.

func (*TaskArtifact) GetCleanup added in v1.36.0

func (x *TaskArtifact) GetCleanup() bool

func (*TaskArtifact) GetImage added in v1.36.0

func (x *TaskArtifact) GetImage() string

func (*TaskArtifact) GetPass added in v1.36.0

func (x *TaskArtifact) GetPass() string

func (*TaskArtifact) GetUser added in v1.36.0

func (x *TaskArtifact) GetUser() string

func (*TaskArtifact) ProtoMessage added in v1.36.0

func (*TaskArtifact) ProtoMessage()

func (*TaskArtifact) ProtoReflect added in v1.36.0

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

func (*TaskArtifact) Reset added in v1.36.0

func (x *TaskArtifact) Reset()

func (*TaskArtifact) String added in v1.36.0

func (x *TaskArtifact) String() string

type TaskFile added in v1.28.0

type TaskFile struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Gzip    bool   `protobuf:"varint,2,opt,name=gzip,proto3" json:"gzip,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskFile) Descriptor deprecated added in v1.28.0

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

Deprecated: Use TaskFile.ProtoReflect.Descriptor instead.

func (*TaskFile) GetContent added in v1.28.0

func (x *TaskFile) GetContent() []byte

func (*TaskFile) GetGzip added in v1.28.0

func (x *TaskFile) GetGzip() bool

func (*TaskFile) ProtoMessage added in v1.28.0

func (*TaskFile) ProtoMessage()

func (*TaskFile) ProtoReflect added in v1.28.0

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

func (*TaskFile) Reset added in v1.28.0

func (x *TaskFile) Reset()

func (*TaskFile) String added in v1.28.0

func (x *TaskFile) String() string

type TaskLanguage added in v1.35.0

type TaskLanguage struct {
	Name     string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Artifact *TaskArtifact `protobuf:"bytes,2,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskLanguage) Descriptor deprecated added in v1.35.0

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

Deprecated: Use TaskLanguage.ProtoReflect.Descriptor instead.

func (*TaskLanguage) GetArtifact added in v1.36.0

func (x *TaskLanguage) GetArtifact() *TaskArtifact

func (*TaskLanguage) GetName added in v1.35.0

func (x *TaskLanguage) GetName() string

func (*TaskLanguage) ProtoMessage added in v1.35.0

func (*TaskLanguage) ProtoMessage()

func (*TaskLanguage) ProtoReflect added in v1.35.0

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

func (*TaskLanguage) Reset added in v1.35.0

func (x *TaskLanguage) Reset()

func (*TaskLanguage) String added in v1.35.0

func (x *TaskLanguage) String() string

type TaskLog added in v1.30.0

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

func (*TaskLog) Descriptor deprecated added in v1.30.0

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

Deprecated: Use TaskLog.ProtoReflect.Descriptor instead.

func (*TaskLog) GetWidth added in v1.30.0

func (x *TaskLog) GetWidth() int64

func (*TaskLog) ProtoMessage added in v1.30.0

func (*TaskLog) ProtoMessage()

func (*TaskLog) ProtoReflect added in v1.30.0

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

func (*TaskLog) Reset added in v1.30.0

func (x *TaskLog) Reset()

func (*TaskLog) String added in v1.30.0

func (x *TaskLog) String() string

type TaskMetadata added in v1.28.0

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

func (*TaskMetadata) Descriptor deprecated added in v1.28.0

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

Deprecated: Use TaskMetadata.ProtoReflect.Descriptor instead.

func (*TaskMetadata) GetName added in v1.28.0

func (x *TaskMetadata) GetName() string

func (*TaskMetadata) ProtoMessage added in v1.28.0

func (*TaskMetadata) ProtoMessage()

func (*TaskMetadata) ProtoReflect added in v1.28.0

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

func (*TaskMetadata) Reset added in v1.28.0

func (x *TaskMetadata) Reset()

func (*TaskMetadata) String added in v1.28.0

func (x *TaskMetadata) String() string

type TaskOutput added in v1.28.0

type TaskOutput struct {
	Pos     int64  `protobuf:"varint,1,opt,name=pos,proto3" json:"pos,omitempty"`
	Time    int64  `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskOutput) Descriptor deprecated added in v1.28.0

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

Deprecated: Use TaskOutput.ProtoReflect.Descriptor instead.

func (*TaskOutput) GetMessage added in v1.28.0

func (x *TaskOutput) GetMessage() string

func (*TaskOutput) GetPos added in v1.28.0

func (x *TaskOutput) GetPos() int64

func (*TaskOutput) GetTime added in v1.28.0

func (x *TaskOutput) GetTime() int64

func (*TaskOutput) ProtoMessage added in v1.28.0

func (*TaskOutput) ProtoMessage()

func (*TaskOutput) ProtoReflect added in v1.28.0

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

func (*TaskOutput) Reset added in v1.28.0

func (x *TaskOutput) Reset()

func (*TaskOutput) String added in v1.28.0

func (x *TaskOutput) String() string

type TaskParam added in v1.28.0

type TaskParam struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskParam) Descriptor deprecated added in v1.28.0

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

Deprecated: Use TaskParam.ProtoReflect.Descriptor instead.

func (*TaskParam) GetName added in v1.28.0

func (x *TaskParam) GetName() string

func (*TaskParam) GetValue added in v1.28.0

func (x *TaskParam) GetValue() string

func (*TaskParam) ProtoMessage added in v1.28.0

func (*TaskParam) ProtoMessage()

func (*TaskParam) ProtoReflect added in v1.28.0

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

func (*TaskParam) Reset added in v1.28.0

func (x *TaskParam) Reset()

func (*TaskParam) String added in v1.28.0

func (x *TaskParam) String() string

type TaskReply added in v1.28.0

type TaskReply struct {
	Output *TaskOutput `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	Error  string      `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskReply) Descriptor deprecated added in v1.28.0

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

Deprecated: Use TaskReply.ProtoReflect.Descriptor instead.

func (*TaskReply) GetError added in v1.28.0

func (x *TaskReply) GetError() string

func (*TaskReply) GetOutput added in v1.28.0

func (x *TaskReply) GetOutput() *TaskOutput

func (*TaskReply) ProtoMessage added in v1.28.0

func (*TaskReply) ProtoMessage()

func (*TaskReply) ProtoReflect added in v1.28.0

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

func (*TaskReply) Reset added in v1.28.0

func (x *TaskReply) Reset()

func (*TaskReply) String added in v1.28.0

func (x *TaskReply) String() string

type TaskRequest added in v1.28.0

type TaskRequest struct {
	ApiVersion string        `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string        `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *TaskMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec       *TaskSpec     `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskRequest) Descriptor deprecated added in v1.28.0

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

Deprecated: Use TaskRequest.ProtoReflect.Descriptor instead.

func (*TaskRequest) GetApiVersion added in v1.28.0

func (x *TaskRequest) GetApiVersion() string

func (*TaskRequest) GetKind added in v1.28.0

func (x *TaskRequest) GetKind() string

func (*TaskRequest) GetMetadata added in v1.28.0

func (x *TaskRequest) GetMetadata() *TaskMetadata

func (*TaskRequest) GetSpec added in v1.28.0

func (x *TaskRequest) GetSpec() *TaskSpec

func (*TaskRequest) ProtoMessage added in v1.28.0

func (*TaskRequest) ProtoMessage()

func (*TaskRequest) ProtoReflect added in v1.28.0

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

func (*TaskRequest) Reset added in v1.28.0

func (x *TaskRequest) Reset()

func (*TaskRequest) String added in v1.28.0

func (x *TaskRequest) String() string

type TaskSpec added in v1.28.0

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

func (*TaskSpec) Descriptor deprecated added in v1.28.0

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

Deprecated: Use TaskSpec.ProtoReflect.Descriptor instead.

func (*TaskSpec) GetTask added in v1.28.0

func (x *TaskSpec) GetTask() *Task

func (*TaskSpec) ProtoMessage added in v1.28.0

func (*TaskSpec) ProtoMessage()

func (*TaskSpec) ProtoReflect added in v1.28.0

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

func (*TaskSpec) Reset added in v1.28.0

func (x *TaskSpec) Reset()

func (*TaskSpec) String added in v1.28.0

func (x *TaskSpec) String() string

type UnimplementedServerProtoServer

type UnimplementedServerProtoServer struct {
}

UnimplementedServerProtoServer must be embedded to have forward compatible implementations.

func (UnimplementedServerProtoServer) SendConfig added in v1.37.0

func (UnimplementedServerProtoServer) SendGlance added in v1.28.0

func (UnimplementedServerProtoServer) SendMaint added in v1.33.0

func (UnimplementedServerProtoServer) SendTask added in v1.28.0

type UnsafeServerProtoServer

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

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

Jump to

Keyboard shortcuts

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