Documentation ¶
Overview ¶
Package server is the SQLFlow grpc server which connects to database and parse, submit or execute the training and predicting codes.
To generate grpc protobuf code, run the below command:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubmitWorkflow ¶
SubmitWorkflow submits an Argo workflow
TODO(wangkuiyi): Make SubmitWorkflow return an error in addition to *pipe.Reader, and remove the calls to log.Printf.
func WaitPortReady ¶
WaitPortReady will wait until the tcp address like ip:port can be connected from client.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the instance will be used to connect to DB and execute training
func (*Server) Fetch ¶
func (s *Server) Fetch(ctx context.Context, job *pb.FetchRequest) (*pb.FetchResponse, error)
Fetch implements `rpc Fetch (Job) returns(JobStatus)`
Click to show internal directories.
Click to hide internal directories.