Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCreatingDatastore = errors.New("error creating datastore") ErrUnsupportedDatastore = errors.New("unsupported datastore type") )
View Source
var ( ErrMLMDConnectionStart = errors.New("error dialing connection to mlmd service") ErrMLMDTypeCreation = errors.New("error creating MLMD types") ErrMLMDCoreCreation = errors.New("error creating core service") ErrMLMDConnectionClose = errors.New("error closing connection to mlmd service") )
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector interface {
Connect() (api.ModelRegistryApi, error)
Teardown() error
}
func NewConnector ¶
type Datastore ¶
type Datastore struct {
MLMD MLMDConfig
Type string
}
type MLMDConfig ¶
func (*MLMDConfig) Validate ¶
func (c *MLMDConfig) Validate() error
type MLMDService ¶
type MLMDService struct {
*MLMDConfig
// contains filtered or unexported fields
}
func NewMLMDService ¶
func NewMLMDService(cfg *MLMDConfig) *MLMDService
func (*MLMDService) Connect ¶
func (s *MLMDService) Connect() (api.ModelRegistryApi, error)
func (*MLMDService) Teardown ¶
func (s *MLMDService) Teardown() error
type TeardownFunc ¶
type TeardownFunc func() error
Click to show internal directories.
Click to hide internal directories.