client

package
v2.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1

type V1 interface {
	// Train models of scheduler using dataset.
	Train(context.Context, ...grpc.CallOption) (trainerv1.Trainer_TrainClient, error)

	// Close tears down the ClientConn and all underlying connections.
	Close() error
}

V1 is the interface for v1 version of the grpc client.

func GetV1ByAddr

func GetV1ByAddr(ctx context.Context, target string, opts ...grpc.DialOption) (V1, error)

GetV1ByAddr returns v1 version of the trainer client by address.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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