Versions in this module Expand all Collapse all v1 v1.0.0 Sep 23, 2020 Changes in this version + const ComponentAPP + const ComponentDiscovery + const ComponentLock + const ComponentMetadata + const ComponentRest + const ComponentService + const ComponentServing + const ComponentStorage + const MaxModelNameLength + const MaxProjectLength + const MaxTeamLength + const PrevStableLabel + const RequestFieldStatus + const StableLabel + const StatusPending + const StatusReady + const StatusRunning + var ErrCLIUsage error = errors.New("cli usage") + type AnswerStatusInfo struct + Endpoint string + ErrorToLog string + type Archive struct + Data []byte + Name string + type Config struct + App ConfigApp + Discovery ConfigDiscovery + Metadata ConfigMetadata + Storage ConfigStorage + func NewConfig() *Config + func NewConfigCLI(ctx context.Context) (*Config, error) + func NewConfigDefaults(ctx context.Context) (*Config, error) + func NewConfigENV(ctx context.Context, prefix string) (*Config, error) + func NewConfigYAML(ctx context.Context, file string) (*Config, error) + func (c *Config) Validate(ctx context.Context) error + type ConfigApp struct + AllowLabelsForUnavailableModels *bool + ConfigFile *string + DefaultModelLabel *string + Discovery *string + ListenHost *string + ListenPort *uint16 + MaxAutoReloadDurationInSec *int + Metadata *string + ReloadIntervalInSec *int + Storage *string + UploadTimeoutInSec *int + func (a *ConfigApp) Listen() string + type ConfigDiscovery struct + DNS ConfigDiscoveryDNS + Plaintext ConfigDiscoveryPlaintext + type ConfigDiscoveryDNS struct + DefaultInstancePort *uint16 + ServiceSuffix *string + type ConfigDiscoveryPlaintext struct + HostsPath *string + type ConfigMetadata struct + SQLDB ConfigMetadataSQLDB + type ConfigMetadataSQLDB struct + DSN *string + Driver *string + type ConfigStorage struct + Filesystem ConfigStorageFilesystem + type ConfigStorageFilesystem struct + Base ConfigStorageFilesystemBase + Model ConfigStorageFilesystemModel + Module ConfigStorageFilesystemModule + func (ConfigStorageFilesystem) ConvertPerms(perms string) (os.FileMode, error) + type ConfigStorageFilesystemBase struct + BasePath *string + type ConfigStorageFilesystemModel struct + ArchiveName *string + BasePath *string + ConfigName *string + DirectoryPermissions *string + EmptyConfigName *string + FilePermissions *string + IncomingArchivePath *string + type ConfigStorageFilesystemModule struct + ArchiveName *string + BasePath *string + DirectoryPermissions *string + FilePermissions *string + IncomingArchivePath *string + type ErrorBody struct + Error ErrorDetails + type ErrorDetails struct + ErrorCode string + ErrorMessage string + type LabelChanged struct + Label string + NewVersion int64 + PreviousVersion int64 + type ModelData struct + Created string + ID int64 + Status string + Updated string + type ModelID struct + Label string + Version int64 + func (m ModelID) IsVersionSet() bool + type ModuleData struct + Created string + ID int64 + Updated string + type ModuleID struct + Version int64 + func (m ModuleID) IsVersionSet() bool + type QueryParameters map[string]interface + type ReloadResponse struct + type Response struct + ResponseData interface{} + type ResponseModel struct + Label string + Model string + Version int64 + type ResponseModule struct + Module string + Version int64 + type ResponseStatus struct + Code int + Error string + InstanceErrorList *[]string + Status string + type ServableID struct + Name string + Project string + Team string + func (s ServableID) ArchiveName(prefix string, version int64) string + func (s ServableID) InstanceHost(suffix string) string + func (s ServableID) InstanceName() string + type ServableInstances struct + Instances []string