Documentation ¶
Index ¶
- Variables
- func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
- type CheckoutCheckpointReply
- type CheckoutCheckpointRequest
- func (*CheckoutCheckpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckoutCheckpointRequest) GetCheckpointIDPrefix() string
- func (x *CheckoutCheckpointRequest) GetOutputDirectory() string
- func (x *CheckoutCheckpointRequest) GetQuiet() bool
- func (*CheckoutCheckpointRequest) ProtoMessage()
- func (x *CheckoutCheckpointRequest) ProtoReflect() protoreflect.Message
- func (x *CheckoutCheckpointRequest) Reset()
- func (x *CheckoutCheckpointRequest) String() string
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Checkpoint) GetCreated() *timestamppb.Timestamp
- func (x *Checkpoint) GetId() string
- func (x *Checkpoint) GetMetrics() map[string]*ParamType
- func (x *Checkpoint) GetPath() string
- func (x *Checkpoint) GetPrimaryMetric() *PrimaryMetric
- func (x *Checkpoint) GetStep() int64
- func (*Checkpoint) ProtoMessage()
- func (x *Checkpoint) ProtoReflect() protoreflect.Message
- func (x *Checkpoint) Reset()
- func (x *Checkpoint) String() string
- type Config
- type CreateCheckpointReply
- func (*CreateCheckpointReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCheckpointReply) GetCheckpoint() *Checkpoint
- func (*CreateCheckpointReply) ProtoMessage()
- func (x *CreateCheckpointReply) ProtoReflect() protoreflect.Message
- func (x *CreateCheckpointReply) Reset()
- func (x *CreateCheckpointReply) String() string
- type CreateCheckpointRequest
- func (*CreateCheckpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCheckpointRequest) GetCheckpoint() *Checkpoint
- func (x *CreateCheckpointRequest) GetQuiet() bool
- func (*CreateCheckpointRequest) ProtoMessage()
- func (x *CreateCheckpointRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCheckpointRequest) Reset()
- func (x *CreateCheckpointRequest) String() string
- type CreateExperimentReply
- func (*CreateExperimentReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExperimentReply) GetExperiment() *Experiment
- func (*CreateExperimentReply) ProtoMessage()
- func (x *CreateExperimentReply) ProtoReflect() protoreflect.Message
- func (x *CreateExperimentReply) Reset()
- func (x *CreateExperimentReply) String() string
- type CreateExperimentRequest
- func (*CreateExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExperimentRequest) GetDisableHeartbeat() bool
- func (x *CreateExperimentRequest) GetExperiment() *Experiment
- func (x *CreateExperimentRequest) GetQuiet() bool
- func (*CreateExperimentRequest) ProtoMessage()
- func (x *CreateExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateExperimentRequest) Reset()
- func (x *CreateExperimentRequest) String() string
- type DaemonClient
- type DaemonServer
- type DeleteExperimentReply
- type DeleteExperimentRequest
- func (*DeleteExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteExperimentRequest) GetExperimentID() string
- func (*DeleteExperimentRequest) ProtoMessage()
- func (x *DeleteExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteExperimentRequest) Reset()
- func (x *DeleteExperimentRequest) String() string
- type Experiment
- func (*Experiment) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment) GetCheckpoints() []*Checkpoint
- func (x *Experiment) GetCommand() string
- func (x *Experiment) GetConfig() *Config
- func (x *Experiment) GetCreated() *timestamppb.Timestamp
- func (x *Experiment) GetHost() string
- func (x *Experiment) GetId() string
- func (x *Experiment) GetKeepsakeVersion() string
- func (x *Experiment) GetParams() map[string]*ParamType
- func (x *Experiment) GetPath() string
- func (x *Experiment) GetPythonPackages() map[string]string
- func (x *Experiment) GetPythonVersion() string
- func (x *Experiment) GetUser() string
- func (*Experiment) ProtoMessage()
- func (x *Experiment) ProtoReflect() protoreflect.Message
- func (x *Experiment) Reset()
- func (x *Experiment) String() string
- type GetExperimentReply
- func (*GetExperimentReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentReply) GetExperiment() *Experiment
- func (*GetExperimentReply) ProtoMessage()
- func (x *GetExperimentReply) ProtoReflect() protoreflect.Message
- func (x *GetExperimentReply) Reset()
- func (x *GetExperimentReply) String() string
- type GetExperimentRequest
- func (*GetExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentRequest) GetExperimentIDPrefix() string
- func (*GetExperimentRequest) ProtoMessage()
- func (x *GetExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *GetExperimentRequest) Reset()
- func (x *GetExperimentRequest) String() string
- type GetExperimentStatusReply
- func (*GetExperimentStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentStatusReply) GetStatus() GetExperimentStatusReply_Status
- func (*GetExperimentStatusReply) ProtoMessage()
- func (x *GetExperimentStatusReply) ProtoReflect() protoreflect.Message
- func (x *GetExperimentStatusReply) Reset()
- func (x *GetExperimentStatusReply) String() string
- type GetExperimentStatusReply_Status
- func (GetExperimentStatusReply_Status) Descriptor() protoreflect.EnumDescriptor
- func (x GetExperimentStatusReply_Status) Enum() *GetExperimentStatusReply_Status
- func (GetExperimentStatusReply_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetExperimentStatusReply_Status) Number() protoreflect.EnumNumber
- func (x GetExperimentStatusReply_Status) String() string
- func (GetExperimentStatusReply_Status) Type() protoreflect.EnumType
- type GetExperimentStatusRequest
- func (*GetExperimentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentStatusRequest) GetExperimentID() string
- func (*GetExperimentStatusRequest) ProtoMessage()
- func (x *GetExperimentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetExperimentStatusRequest) Reset()
- func (x *GetExperimentStatusRequest) String() string
- type ListExperimentsReply
- func (*ListExperimentsReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListExperimentsReply) GetExperiments() []*Experiment
- func (*ListExperimentsReply) ProtoMessage()
- func (x *ListExperimentsReply) ProtoReflect() protoreflect.Message
- func (x *ListExperimentsReply) Reset()
- func (x *ListExperimentsReply) String() string
- type ListExperimentsRequest
- type ParamType
- func (*ParamType) Descriptor() ([]byte, []int)deprecated
- func (x *ParamType) GetBoolValue() bool
- func (x *ParamType) GetFloatValue() float64
- func (x *ParamType) GetIntValue() int64
- func (x *ParamType) GetObjectValueJson() string
- func (x *ParamType) GetStringValue() string
- func (m *ParamType) GetValue() isParamType_Value
- func (*ParamType) ProtoMessage()
- func (x *ParamType) ProtoReflect() protoreflect.Message
- func (x *ParamType) Reset()
- func (x *ParamType) String() string
- type ParamType_BoolValue
- type ParamType_FloatValue
- type ParamType_IntValue
- type ParamType_ObjectValueJson
- type ParamType_StringValue
- type PrimaryMetric
- func (*PrimaryMetric) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryMetric) GetGoal() PrimaryMetric_Goal
- func (x *PrimaryMetric) GetName() string
- func (*PrimaryMetric) ProtoMessage()
- func (x *PrimaryMetric) ProtoReflect() protoreflect.Message
- func (x *PrimaryMetric) Reset()
- func (x *PrimaryMetric) String() string
- type PrimaryMetric_Goal
- func (PrimaryMetric_Goal) Descriptor() protoreflect.EnumDescriptor
- func (x PrimaryMetric_Goal) Enum() *PrimaryMetric_Goal
- func (PrimaryMetric_Goal) EnumDescriptor() ([]byte, []int)deprecated
- func (x PrimaryMetric_Goal) Number() protoreflect.EnumNumber
- func (x PrimaryMetric_Goal) String() string
- func (PrimaryMetric_Goal) Type() protoreflect.EnumType
- type SaveExperimentReply
- func (*SaveExperimentReply) Descriptor() ([]byte, []int)deprecated
- func (x *SaveExperimentReply) GetExperiment() *Experiment
- func (*SaveExperimentReply) ProtoMessage()
- func (x *SaveExperimentReply) ProtoReflect() protoreflect.Message
- func (x *SaveExperimentReply) Reset()
- func (x *SaveExperimentReply) String() string
- type SaveExperimentRequest
- func (*SaveExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveExperimentRequest) GetExperiment() *Experiment
- func (x *SaveExperimentRequest) GetQuiet() bool
- func (*SaveExperimentRequest) ProtoMessage()
- func (x *SaveExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *SaveExperimentRequest) Reset()
- func (x *SaveExperimentRequest) String() string
- type StopExperimentReply
- type StopExperimentRequest
- func (*StopExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopExperimentRequest) GetExperimentID() string
- func (*StopExperimentRequest) ProtoMessage()
- func (x *StopExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *StopExperimentRequest) Reset()
- func (x *StopExperimentRequest) String() string
- type UnimplementedDaemonServer
- func (UnimplementedDaemonServer) CheckoutCheckpoint(context.Context, *CheckoutCheckpointRequest) (*CheckoutCheckpointReply, error)
- func (UnimplementedDaemonServer) CreateCheckpoint(context.Context, *CreateCheckpointRequest) (*CreateCheckpointReply, error)
- func (UnimplementedDaemonServer) CreateExperiment(context.Context, *CreateExperimentRequest) (*CreateExperimentReply, error)
- func (UnimplementedDaemonServer) DeleteExperiment(context.Context, *DeleteExperimentRequest) (*DeleteExperimentReply, error)
- func (UnimplementedDaemonServer) GetExperiment(context.Context, *GetExperimentRequest) (*GetExperimentReply, error)
- func (UnimplementedDaemonServer) GetExperimentStatus(context.Context, *GetExperimentStatusRequest) (*GetExperimentStatusReply, error)
- func (UnimplementedDaemonServer) ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsReply, error)
- func (UnimplementedDaemonServer) SaveExperiment(context.Context, *SaveExperimentRequest) (*SaveExperimentReply, error)
- func (UnimplementedDaemonServer) StopExperiment(context.Context, *StopExperimentRequest) (*StopExperimentReply, error)
- type UnsafeDaemonServer
Constants ¶
This section is empty.
Variables ¶
var ( GetExperimentStatusReply_Status_name = map[int32]string{ 0: "RUNNING", 1: "STOPPED", } GetExperimentStatusReply_Status_value = map[string]int32{ "RUNNING": 0, "STOPPED": 1, } )
Enum value maps for GetExperimentStatusReply_Status.
var ( PrimaryMetric_Goal_name = map[int32]string{ 0: "MAXIMIZE", 1: "MINIMIZE", } PrimaryMetric_Goal_value = map[string]int32{ "MAXIMIZE": 0, "MINIMIZE": 1, } )
Enum value maps for PrimaryMetric_Goal.
var File_keepsake_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDaemonServer ¶
func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
Types ¶
type CheckoutCheckpointReply ¶
type CheckoutCheckpointReply struct {
// contains filtered or unexported fields
}
func (*CheckoutCheckpointReply) Descriptor
deprecated
func (*CheckoutCheckpointReply) Descriptor() ([]byte, []int)
Deprecated: Use CheckoutCheckpointReply.ProtoReflect.Descriptor instead.
func (*CheckoutCheckpointReply) ProtoMessage ¶
func (*CheckoutCheckpointReply) ProtoMessage()
func (*CheckoutCheckpointReply) ProtoReflect ¶
func (x *CheckoutCheckpointReply) ProtoReflect() protoreflect.Message
func (*CheckoutCheckpointReply) Reset ¶
func (x *CheckoutCheckpointReply) Reset()
func (*CheckoutCheckpointReply) String ¶
func (x *CheckoutCheckpointReply) String() string
type CheckoutCheckpointRequest ¶
type CheckoutCheckpointRequest struct { CheckpointIDPrefix string `protobuf:"bytes,1,opt,name=checkpointIDPrefix,proto3" json:"checkpointIDPrefix,omitempty"` OutputDirectory string `protobuf:"bytes,2,opt,name=outputDirectory,proto3" json:"outputDirectory,omitempty"` Quiet bool `protobuf:"varint,3,opt,name=quiet,proto3" json:"quiet,omitempty"` // contains filtered or unexported fields }
func (*CheckoutCheckpointRequest) Descriptor
deprecated
func (*CheckoutCheckpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckoutCheckpointRequest.ProtoReflect.Descriptor instead.
func (*CheckoutCheckpointRequest) GetCheckpointIDPrefix ¶
func (x *CheckoutCheckpointRequest) GetCheckpointIDPrefix() string
func (*CheckoutCheckpointRequest) GetOutputDirectory ¶
func (x *CheckoutCheckpointRequest) GetOutputDirectory() string
func (*CheckoutCheckpointRequest) GetQuiet ¶
func (x *CheckoutCheckpointRequest) GetQuiet() bool
func (*CheckoutCheckpointRequest) ProtoMessage ¶
func (*CheckoutCheckpointRequest) ProtoMessage()
func (*CheckoutCheckpointRequest) ProtoReflect ¶
func (x *CheckoutCheckpointRequest) ProtoReflect() protoreflect.Message
func (*CheckoutCheckpointRequest) Reset ¶
func (x *CheckoutCheckpointRequest) Reset()
func (*CheckoutCheckpointRequest) String ¶
func (x *CheckoutCheckpointRequest) String() string
type Checkpoint ¶
type Checkpoint struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` Metrics map[string]*ParamType `` /* 155-byte string literal not displayed */ Step int64 `protobuf:"varint,4,opt,name=step,proto3" json:"step,omitempty"` Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` PrimaryMetric *PrimaryMetric `protobuf:"bytes,6,opt,name=primaryMetric,proto3" json:"primaryMetric,omitempty"` // contains filtered or unexported fields }
func (*Checkpoint) Descriptor
deprecated
func (*Checkpoint) Descriptor() ([]byte, []int)
Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead.
func (*Checkpoint) GetCreated ¶
func (x *Checkpoint) GetCreated() *timestamppb.Timestamp
func (*Checkpoint) GetId ¶
func (x *Checkpoint) GetId() string
func (*Checkpoint) GetMetrics ¶
func (x *Checkpoint) GetMetrics() map[string]*ParamType
func (*Checkpoint) GetPath ¶
func (x *Checkpoint) GetPath() string
func (*Checkpoint) GetPrimaryMetric ¶
func (x *Checkpoint) GetPrimaryMetric() *PrimaryMetric
func (*Checkpoint) GetStep ¶
func (x *Checkpoint) GetStep() int64
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) ProtoReflect ¶
func (x *Checkpoint) ProtoReflect() protoreflect.Message
func (*Checkpoint) Reset ¶
func (x *Checkpoint) Reset()
func (*Checkpoint) String ¶
func (x *Checkpoint) String() string
type Config ¶
type Config struct { Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // for backwards compatibility Storage string `protobuf:"bytes,2,opt,name=storage,proto3" json:"storage,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetRepository ¶
func (*Config) GetStorage ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type CreateCheckpointReply ¶
type CreateCheckpointReply struct { Checkpoint *Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` // contains filtered or unexported fields }
func (*CreateCheckpointReply) Descriptor
deprecated
func (*CreateCheckpointReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateCheckpointReply.ProtoReflect.Descriptor instead.
func (*CreateCheckpointReply) GetCheckpoint ¶
func (x *CreateCheckpointReply) GetCheckpoint() *Checkpoint
func (*CreateCheckpointReply) ProtoMessage ¶
func (*CreateCheckpointReply) ProtoMessage()
func (*CreateCheckpointReply) ProtoReflect ¶
func (x *CreateCheckpointReply) ProtoReflect() protoreflect.Message
func (*CreateCheckpointReply) Reset ¶
func (x *CreateCheckpointReply) Reset()
func (*CreateCheckpointReply) String ¶
func (x *CreateCheckpointReply) String() string
type CreateCheckpointRequest ¶
type CreateCheckpointRequest struct { Checkpoint *Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` Quiet bool `protobuf:"varint,2,opt,name=quiet,proto3" json:"quiet,omitempty"` // contains filtered or unexported fields }
func (*CreateCheckpointRequest) Descriptor
deprecated
func (*CreateCheckpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCheckpointRequest.ProtoReflect.Descriptor instead.
func (*CreateCheckpointRequest) GetCheckpoint ¶
func (x *CreateCheckpointRequest) GetCheckpoint() *Checkpoint
func (*CreateCheckpointRequest) GetQuiet ¶
func (x *CreateCheckpointRequest) GetQuiet() bool
func (*CreateCheckpointRequest) ProtoMessage ¶
func (*CreateCheckpointRequest) ProtoMessage()
func (*CreateCheckpointRequest) ProtoReflect ¶
func (x *CreateCheckpointRequest) ProtoReflect() protoreflect.Message
func (*CreateCheckpointRequest) Reset ¶
func (x *CreateCheckpointRequest) Reset()
func (*CreateCheckpointRequest) String ¶
func (x *CreateCheckpointRequest) String() string
type CreateExperimentReply ¶
type CreateExperimentReply struct { Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` // contains filtered or unexported fields }
func (*CreateExperimentReply) Descriptor
deprecated
func (*CreateExperimentReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateExperimentReply.ProtoReflect.Descriptor instead.
func (*CreateExperimentReply) GetExperiment ¶
func (x *CreateExperimentReply) GetExperiment() *Experiment
func (*CreateExperimentReply) ProtoMessage ¶
func (*CreateExperimentReply) ProtoMessage()
func (*CreateExperimentReply) ProtoReflect ¶
func (x *CreateExperimentReply) ProtoReflect() protoreflect.Message
func (*CreateExperimentReply) Reset ¶
func (x *CreateExperimentReply) Reset()
func (*CreateExperimentReply) String ¶
func (x *CreateExperimentReply) String() string
type CreateExperimentRequest ¶
type CreateExperimentRequest struct { Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` DisableHeartbeat bool `protobuf:"varint,2,opt,name=disableHeartbeat,proto3" json:"disableHeartbeat,omitempty"` Quiet bool `protobuf:"varint,3,opt,name=quiet,proto3" json:"quiet,omitempty"` // contains filtered or unexported fields }
func (*CreateExperimentRequest) Descriptor
deprecated
func (*CreateExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateExperimentRequest.ProtoReflect.Descriptor instead.
func (*CreateExperimentRequest) GetDisableHeartbeat ¶
func (x *CreateExperimentRequest) GetDisableHeartbeat() bool
func (*CreateExperimentRequest) GetExperiment ¶
func (x *CreateExperimentRequest) GetExperiment() *Experiment
func (*CreateExperimentRequest) GetQuiet ¶
func (x *CreateExperimentRequest) GetQuiet() bool
func (*CreateExperimentRequest) ProtoMessage ¶
func (*CreateExperimentRequest) ProtoMessage()
func (*CreateExperimentRequest) ProtoReflect ¶
func (x *CreateExperimentRequest) ProtoReflect() protoreflect.Message
func (*CreateExperimentRequest) Reset ¶
func (x *CreateExperimentRequest) Reset()
func (*CreateExperimentRequest) String ¶
func (x *CreateExperimentRequest) String() string
type DaemonClient ¶
type DaemonClient interface { CreateExperiment(ctx context.Context, in *CreateExperimentRequest, opts ...grpc.CallOption) (*CreateExperimentReply, error) CreateCheckpoint(ctx context.Context, in *CreateCheckpointRequest, opts ...grpc.CallOption) (*CreateCheckpointReply, error) SaveExperiment(ctx context.Context, in *SaveExperimentRequest, opts ...grpc.CallOption) (*SaveExperimentReply, error) StopExperiment(ctx context.Context, in *StopExperimentRequest, opts ...grpc.CallOption) (*StopExperimentReply, error) GetExperiment(ctx context.Context, in *GetExperimentRequest, opts ...grpc.CallOption) (*GetExperimentReply, error) ListExperiments(ctx context.Context, in *ListExperimentsRequest, opts ...grpc.CallOption) (*ListExperimentsReply, error) DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*DeleteExperimentReply, error) CheckoutCheckpoint(ctx context.Context, in *CheckoutCheckpointRequest, opts ...grpc.CallOption) (*CheckoutCheckpointReply, error) GetExperimentStatus(ctx context.Context, in *GetExperimentStatusRequest, opts ...grpc.CallOption) (*GetExperimentStatusReply, error) }
DaemonClient is the client API for Daemon 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 NewDaemonClient ¶
func NewDaemonClient(cc grpc.ClientConnInterface) DaemonClient
type DaemonServer ¶
type DaemonServer interface { CreateExperiment(context.Context, *CreateExperimentRequest) (*CreateExperimentReply, error) CreateCheckpoint(context.Context, *CreateCheckpointRequest) (*CreateCheckpointReply, error) SaveExperiment(context.Context, *SaveExperimentRequest) (*SaveExperimentReply, error) StopExperiment(context.Context, *StopExperimentRequest) (*StopExperimentReply, error) GetExperiment(context.Context, *GetExperimentRequest) (*GetExperimentReply, error) ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsReply, error) DeleteExperiment(context.Context, *DeleteExperimentRequest) (*DeleteExperimentReply, error) CheckoutCheckpoint(context.Context, *CheckoutCheckpointRequest) (*CheckoutCheckpointReply, error) GetExperimentStatus(context.Context, *GetExperimentStatusRequest) (*GetExperimentStatusReply, error) // contains filtered or unexported methods }
DaemonServer is the server API for Daemon service. All implementations must embed UnimplementedDaemonServer for forward compatibility
type DeleteExperimentReply ¶
type DeleteExperimentReply struct {
// contains filtered or unexported fields
}
func (*DeleteExperimentReply) Descriptor
deprecated
func (*DeleteExperimentReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExperimentReply.ProtoReflect.Descriptor instead.
func (*DeleteExperimentReply) ProtoMessage ¶
func (*DeleteExperimentReply) ProtoMessage()
func (*DeleteExperimentReply) ProtoReflect ¶
func (x *DeleteExperimentReply) ProtoReflect() protoreflect.Message
func (*DeleteExperimentReply) Reset ¶
func (x *DeleteExperimentReply) Reset()
func (*DeleteExperimentReply) String ¶
func (x *DeleteExperimentReply) String() string
type DeleteExperimentRequest ¶
type DeleteExperimentRequest struct { ExperimentID string `protobuf:"bytes,1,opt,name=experimentID,proto3" json:"experimentID,omitempty"` // contains filtered or unexported fields }
func (*DeleteExperimentRequest) Descriptor
deprecated
func (*DeleteExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExperimentRequest.ProtoReflect.Descriptor instead.
func (*DeleteExperimentRequest) GetExperimentID ¶
func (x *DeleteExperimentRequest) GetExperimentID() string
func (*DeleteExperimentRequest) ProtoMessage ¶
func (*DeleteExperimentRequest) ProtoMessage()
func (*DeleteExperimentRequest) ProtoReflect ¶
func (x *DeleteExperimentRequest) ProtoReflect() protoreflect.Message
func (*DeleteExperimentRequest) Reset ¶
func (x *DeleteExperimentRequest) Reset()
func (*DeleteExperimentRequest) String ¶
func (x *DeleteExperimentRequest) String() string
type Experiment ¶
type Experiment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` Params map[string]*ParamType `` /* 153-byte string literal not displayed */ Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Config *Config `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` Command string `protobuf:"bytes,7,opt,name=command,proto3" json:"command,omitempty"` Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` PythonPackages map[string]string `` /* 169-byte string literal not displayed */ PythonVersion string `protobuf:"bytes,10,opt,name=pythonVersion,proto3" json:"pythonVersion,omitempty"` Checkpoints []*Checkpoint `protobuf:"bytes,11,rep,name=checkpoints,proto3" json:"checkpoints,omitempty"` KeepsakeVersion string `protobuf:"bytes,12,opt,name=keepsakeVersion,proto3" json:"keepsakeVersion,omitempty"` // contains filtered or unexported fields }
func (*Experiment) Descriptor
deprecated
func (*Experiment) Descriptor() ([]byte, []int)
Deprecated: Use Experiment.ProtoReflect.Descriptor instead.
func (*Experiment) GetCheckpoints ¶
func (x *Experiment) GetCheckpoints() []*Checkpoint
func (*Experiment) GetCommand ¶
func (x *Experiment) GetCommand() string
func (*Experiment) GetConfig ¶
func (x *Experiment) GetConfig() *Config
func (*Experiment) GetCreated ¶
func (x *Experiment) GetCreated() *timestamppb.Timestamp
func (*Experiment) GetHost ¶
func (x *Experiment) GetHost() string
func (*Experiment) GetId ¶
func (x *Experiment) GetId() string
func (*Experiment) GetKeepsakeVersion ¶
func (x *Experiment) GetKeepsakeVersion() string
func (*Experiment) GetParams ¶
func (x *Experiment) GetParams() map[string]*ParamType
func (*Experiment) GetPath ¶
func (x *Experiment) GetPath() string
func (*Experiment) GetPythonPackages ¶
func (x *Experiment) GetPythonPackages() map[string]string
func (*Experiment) GetPythonVersion ¶
func (x *Experiment) GetPythonVersion() string
func (*Experiment) GetUser ¶
func (x *Experiment) GetUser() string
func (*Experiment) ProtoMessage ¶
func (*Experiment) ProtoMessage()
func (*Experiment) ProtoReflect ¶
func (x *Experiment) ProtoReflect() protoreflect.Message
func (*Experiment) Reset ¶
func (x *Experiment) Reset()
func (*Experiment) String ¶
func (x *Experiment) String() string
type GetExperimentReply ¶
type GetExperimentReply struct { Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` // contains filtered or unexported fields }
func (*GetExperimentReply) Descriptor
deprecated
func (*GetExperimentReply) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentReply.ProtoReflect.Descriptor instead.
func (*GetExperimentReply) GetExperiment ¶
func (x *GetExperimentReply) GetExperiment() *Experiment
func (*GetExperimentReply) ProtoMessage ¶
func (*GetExperimentReply) ProtoMessage()
func (*GetExperimentReply) ProtoReflect ¶
func (x *GetExperimentReply) ProtoReflect() protoreflect.Message
func (*GetExperimentReply) Reset ¶
func (x *GetExperimentReply) Reset()
func (*GetExperimentReply) String ¶
func (x *GetExperimentReply) String() string
type GetExperimentRequest ¶
type GetExperimentRequest struct { ExperimentIDPrefix string `protobuf:"bytes,1,opt,name=experimentIDPrefix,proto3" json:"experimentIDPrefix,omitempty"` // contains filtered or unexported fields }
func (*GetExperimentRequest) Descriptor
deprecated
func (*GetExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentRequest.ProtoReflect.Descriptor instead.
func (*GetExperimentRequest) GetExperimentIDPrefix ¶
func (x *GetExperimentRequest) GetExperimentIDPrefix() string
func (*GetExperimentRequest) ProtoMessage ¶
func (*GetExperimentRequest) ProtoMessage()
func (*GetExperimentRequest) ProtoReflect ¶
func (x *GetExperimentRequest) ProtoReflect() protoreflect.Message
func (*GetExperimentRequest) Reset ¶
func (x *GetExperimentRequest) Reset()
func (*GetExperimentRequest) String ¶
func (x *GetExperimentRequest) String() string
type GetExperimentStatusReply ¶
type GetExperimentStatusReply struct { Status GetExperimentStatusReply_Status `protobuf:"varint,1,opt,name=status,proto3,enum=service.GetExperimentStatusReply_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*GetExperimentStatusReply) Descriptor
deprecated
func (*GetExperimentStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentStatusReply.ProtoReflect.Descriptor instead.
func (*GetExperimentStatusReply) GetStatus ¶
func (x *GetExperimentStatusReply) GetStatus() GetExperimentStatusReply_Status
func (*GetExperimentStatusReply) ProtoMessage ¶
func (*GetExperimentStatusReply) ProtoMessage()
func (*GetExperimentStatusReply) ProtoReflect ¶
func (x *GetExperimentStatusReply) ProtoReflect() protoreflect.Message
func (*GetExperimentStatusReply) Reset ¶
func (x *GetExperimentStatusReply) Reset()
func (*GetExperimentStatusReply) String ¶
func (x *GetExperimentStatusReply) String() string
type GetExperimentStatusReply_Status ¶
type GetExperimentStatusReply_Status int32
const ( GetExperimentStatusReply_RUNNING GetExperimentStatusReply_Status = 0 GetExperimentStatusReply_STOPPED GetExperimentStatusReply_Status = 1 )
func (GetExperimentStatusReply_Status) Descriptor ¶
func (GetExperimentStatusReply_Status) Descriptor() protoreflect.EnumDescriptor
func (GetExperimentStatusReply_Status) Enum ¶
func (x GetExperimentStatusReply_Status) Enum() *GetExperimentStatusReply_Status
func (GetExperimentStatusReply_Status) EnumDescriptor
deprecated
func (GetExperimentStatusReply_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetExperimentStatusReply_Status.Descriptor instead.
func (GetExperimentStatusReply_Status) Number ¶
func (x GetExperimentStatusReply_Status) Number() protoreflect.EnumNumber
func (GetExperimentStatusReply_Status) String ¶
func (x GetExperimentStatusReply_Status) String() string
func (GetExperimentStatusReply_Status) Type ¶
func (GetExperimentStatusReply_Status) Type() protoreflect.EnumType
type GetExperimentStatusRequest ¶
type GetExperimentStatusRequest struct { ExperimentID string `protobuf:"bytes,1,opt,name=experimentID,proto3" json:"experimentID,omitempty"` // contains filtered or unexported fields }
func (*GetExperimentStatusRequest) Descriptor
deprecated
func (*GetExperimentStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentStatusRequest.ProtoReflect.Descriptor instead.
func (*GetExperimentStatusRequest) GetExperimentID ¶
func (x *GetExperimentStatusRequest) GetExperimentID() string
func (*GetExperimentStatusRequest) ProtoMessage ¶
func (*GetExperimentStatusRequest) ProtoMessage()
func (*GetExperimentStatusRequest) ProtoReflect ¶
func (x *GetExperimentStatusRequest) ProtoReflect() protoreflect.Message
func (*GetExperimentStatusRequest) Reset ¶
func (x *GetExperimentStatusRequest) Reset()
func (*GetExperimentStatusRequest) String ¶
func (x *GetExperimentStatusRequest) String() string
type ListExperimentsReply ¶
type ListExperimentsReply struct { Experiments []*Experiment `protobuf:"bytes,1,rep,name=experiments,proto3" json:"experiments,omitempty"` // contains filtered or unexported fields }
func (*ListExperimentsReply) Descriptor
deprecated
func (*ListExperimentsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListExperimentsReply.ProtoReflect.Descriptor instead.
func (*ListExperimentsReply) GetExperiments ¶
func (x *ListExperimentsReply) GetExperiments() []*Experiment
func (*ListExperimentsReply) ProtoMessage ¶
func (*ListExperimentsReply) ProtoMessage()
func (*ListExperimentsReply) ProtoReflect ¶
func (x *ListExperimentsReply) ProtoReflect() protoreflect.Message
func (*ListExperimentsReply) Reset ¶
func (x *ListExperimentsReply) Reset()
func (*ListExperimentsReply) String ¶
func (x *ListExperimentsReply) String() string
type ListExperimentsRequest ¶
type ListExperimentsRequest struct {
// contains filtered or unexported fields
}
func (*ListExperimentsRequest) Descriptor
deprecated
func (*ListExperimentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListExperimentsRequest.ProtoReflect.Descriptor instead.
func (*ListExperimentsRequest) ProtoMessage ¶
func (*ListExperimentsRequest) ProtoMessage()
func (*ListExperimentsRequest) ProtoReflect ¶
func (x *ListExperimentsRequest) ProtoReflect() protoreflect.Message
func (*ListExperimentsRequest) Reset ¶
func (x *ListExperimentsRequest) Reset()
func (*ListExperimentsRequest) String ¶
func (x *ListExperimentsRequest) String() string
type ParamType ¶
type ParamType struct { // Types that are assignable to Value: // *ParamType_BoolValue // *ParamType_IntValue // *ParamType_FloatValue // *ParamType_StringValue // *ParamType_ObjectValueJson Value isParamType_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*ParamType) Descriptor
deprecated
func (*ParamType) GetBoolValue ¶
func (*ParamType) GetFloatValue ¶
func (*ParamType) GetIntValue ¶
func (*ParamType) GetObjectValueJson ¶
func (*ParamType) GetStringValue ¶
func (*ParamType) ProtoMessage ¶
func (*ParamType) ProtoMessage()
func (*ParamType) ProtoReflect ¶
func (x *ParamType) ProtoReflect() protoreflect.Message
type ParamType_BoolValue ¶
type ParamType_BoolValue struct {
BoolValue bool `protobuf:"varint,1,opt,name=boolValue,proto3,oneof"`
}
type ParamType_FloatValue ¶
type ParamType_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,3,opt,name=floatValue,proto3,oneof"`
}
type ParamType_IntValue ¶
type ParamType_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=intValue,proto3,oneof"`
}
type ParamType_ObjectValueJson ¶
type ParamType_ObjectValueJson struct {
ObjectValueJson string `protobuf:"bytes,5,opt,name=objectValueJson,proto3,oneof"`
}
type ParamType_StringValue ¶
type ParamType_StringValue struct {
StringValue string `protobuf:"bytes,4,opt,name=stringValue,proto3,oneof"`
}
type PrimaryMetric ¶
type PrimaryMetric struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Goal PrimaryMetric_Goal `protobuf:"varint,2,opt,name=goal,proto3,enum=service.PrimaryMetric_Goal" json:"goal,omitempty"` // contains filtered or unexported fields }
func (*PrimaryMetric) Descriptor
deprecated
func (*PrimaryMetric) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryMetric.ProtoReflect.Descriptor instead.
func (*PrimaryMetric) GetGoal ¶
func (x *PrimaryMetric) GetGoal() PrimaryMetric_Goal
func (*PrimaryMetric) GetName ¶
func (x *PrimaryMetric) GetName() string
func (*PrimaryMetric) ProtoMessage ¶
func (*PrimaryMetric) ProtoMessage()
func (*PrimaryMetric) ProtoReflect ¶
func (x *PrimaryMetric) ProtoReflect() protoreflect.Message
func (*PrimaryMetric) Reset ¶
func (x *PrimaryMetric) Reset()
func (*PrimaryMetric) String ¶
func (x *PrimaryMetric) String() string
type PrimaryMetric_Goal ¶
type PrimaryMetric_Goal int32
const ( PrimaryMetric_MAXIMIZE PrimaryMetric_Goal = 0 PrimaryMetric_MINIMIZE PrimaryMetric_Goal = 1 )
func (PrimaryMetric_Goal) Descriptor ¶
func (PrimaryMetric_Goal) Descriptor() protoreflect.EnumDescriptor
func (PrimaryMetric_Goal) Enum ¶
func (x PrimaryMetric_Goal) Enum() *PrimaryMetric_Goal
func (PrimaryMetric_Goal) EnumDescriptor
deprecated
func (PrimaryMetric_Goal) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrimaryMetric_Goal.Descriptor instead.
func (PrimaryMetric_Goal) Number ¶
func (x PrimaryMetric_Goal) Number() protoreflect.EnumNumber
func (PrimaryMetric_Goal) String ¶
func (x PrimaryMetric_Goal) String() string
func (PrimaryMetric_Goal) Type ¶
func (PrimaryMetric_Goal) Type() protoreflect.EnumType
type SaveExperimentReply ¶
type SaveExperimentReply struct { Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` // contains filtered or unexported fields }
func (*SaveExperimentReply) Descriptor
deprecated
func (*SaveExperimentReply) Descriptor() ([]byte, []int)
Deprecated: Use SaveExperimentReply.ProtoReflect.Descriptor instead.
func (*SaveExperimentReply) GetExperiment ¶
func (x *SaveExperimentReply) GetExperiment() *Experiment
func (*SaveExperimentReply) ProtoMessage ¶
func (*SaveExperimentReply) ProtoMessage()
func (*SaveExperimentReply) ProtoReflect ¶
func (x *SaveExperimentReply) ProtoReflect() protoreflect.Message
func (*SaveExperimentReply) Reset ¶
func (x *SaveExperimentReply) Reset()
func (*SaveExperimentReply) String ¶
func (x *SaveExperimentReply) String() string
type SaveExperimentRequest ¶
type SaveExperimentRequest struct { Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` Quiet bool `protobuf:"varint,2,opt,name=quiet,proto3" json:"quiet,omitempty"` // contains filtered or unexported fields }
func (*SaveExperimentRequest) Descriptor
deprecated
func (*SaveExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveExperimentRequest.ProtoReflect.Descriptor instead.
func (*SaveExperimentRequest) GetExperiment ¶
func (x *SaveExperimentRequest) GetExperiment() *Experiment
func (*SaveExperimentRequest) GetQuiet ¶
func (x *SaveExperimentRequest) GetQuiet() bool
func (*SaveExperimentRequest) ProtoMessage ¶
func (*SaveExperimentRequest) ProtoMessage()
func (*SaveExperimentRequest) ProtoReflect ¶
func (x *SaveExperimentRequest) ProtoReflect() protoreflect.Message
func (*SaveExperimentRequest) Reset ¶
func (x *SaveExperimentRequest) Reset()
func (*SaveExperimentRequest) String ¶
func (x *SaveExperimentRequest) String() string
type StopExperimentReply ¶
type StopExperimentReply struct {
// contains filtered or unexported fields
}
func (*StopExperimentReply) Descriptor
deprecated
func (*StopExperimentReply) Descriptor() ([]byte, []int)
Deprecated: Use StopExperimentReply.ProtoReflect.Descriptor instead.
func (*StopExperimentReply) ProtoMessage ¶
func (*StopExperimentReply) ProtoMessage()
func (*StopExperimentReply) ProtoReflect ¶
func (x *StopExperimentReply) ProtoReflect() protoreflect.Message
func (*StopExperimentReply) Reset ¶
func (x *StopExperimentReply) Reset()
func (*StopExperimentReply) String ¶
func (x *StopExperimentReply) String() string
type StopExperimentRequest ¶
type StopExperimentRequest struct { ExperimentID string `protobuf:"bytes,1,opt,name=experimentID,proto3" json:"experimentID,omitempty"` // contains filtered or unexported fields }
func (*StopExperimentRequest) Descriptor
deprecated
func (*StopExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopExperimentRequest.ProtoReflect.Descriptor instead.
func (*StopExperimentRequest) GetExperimentID ¶
func (x *StopExperimentRequest) GetExperimentID() string
func (*StopExperimentRequest) ProtoMessage ¶
func (*StopExperimentRequest) ProtoMessage()
func (*StopExperimentRequest) ProtoReflect ¶
func (x *StopExperimentRequest) ProtoReflect() protoreflect.Message
func (*StopExperimentRequest) Reset ¶
func (x *StopExperimentRequest) Reset()
func (*StopExperimentRequest) String ¶
func (x *StopExperimentRequest) String() string
type UnimplementedDaemonServer ¶
type UnimplementedDaemonServer struct { }
UnimplementedDaemonServer must be embedded to have forward compatible implementations.
func (UnimplementedDaemonServer) CheckoutCheckpoint ¶
func (UnimplementedDaemonServer) CheckoutCheckpoint(context.Context, *CheckoutCheckpointRequest) (*CheckoutCheckpointReply, error)
func (UnimplementedDaemonServer) CreateCheckpoint ¶
func (UnimplementedDaemonServer) CreateCheckpoint(context.Context, *CreateCheckpointRequest) (*CreateCheckpointReply, error)
func (UnimplementedDaemonServer) CreateExperiment ¶
func (UnimplementedDaemonServer) CreateExperiment(context.Context, *CreateExperimentRequest) (*CreateExperimentReply, error)
func (UnimplementedDaemonServer) DeleteExperiment ¶
func (UnimplementedDaemonServer) DeleteExperiment(context.Context, *DeleteExperimentRequest) (*DeleteExperimentReply, error)
func (UnimplementedDaemonServer) GetExperiment ¶
func (UnimplementedDaemonServer) GetExperiment(context.Context, *GetExperimentRequest) (*GetExperimentReply, error)
func (UnimplementedDaemonServer) GetExperimentStatus ¶
func (UnimplementedDaemonServer) GetExperimentStatus(context.Context, *GetExperimentStatusRequest) (*GetExperimentStatusReply, error)
func (UnimplementedDaemonServer) ListExperiments ¶
func (UnimplementedDaemonServer) ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsReply, error)
func (UnimplementedDaemonServer) SaveExperiment ¶
func (UnimplementedDaemonServer) SaveExperiment(context.Context, *SaveExperimentRequest) (*SaveExperimentReply, error)
func (UnimplementedDaemonServer) StopExperiment ¶
func (UnimplementedDaemonServer) StopExperiment(context.Context, *StopExperimentRequest) (*StopExperimentReply, error)
type UnsafeDaemonServer ¶
type UnsafeDaemonServer interface {
// contains filtered or unexported methods
}
UnsafeDaemonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaemonServer will result in compilation errors.