Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Ak
- type AkApiService
- func (a *AkApiService) AkAkIdGet(ctx context.Context, akId int64) (GetAkResponse, error)
- func (a *AkApiService) AkAkIdPost(ctx context.Context, body Ak, akId int64) (ModelApiResponse, *http.Response, error)
- func (a *AkApiService) AkAllGet(ctx context.Context) (InlineResponse20057, *http.Response, error)
- func (a *AkApiService) AkPost(ctx context.Context, body Ak) (Response, *http.Response, error)
- type BaseResponse
- type BasicAuth
- type Configuration
- type Datasource
- type DatasourceApiDatasourceDatasourceIdPostOpts
- type DatasourceApiService
- func (a *DatasourceApiService) DatasourceAllGet(ctx context.Context) (InlineResponse20060, *http.Response, error)
- func (a *DatasourceApiService) DatasourceDatasourceIdGet(ctx context.Context, datasourceId int64) (GetDatasourceResponse, error)
- func (a *DatasourceApiService) DatasourceDatasourceIdPost(ctx context.Context, datasourceId int64, ...) (ModelApiResponse, *http.Response, error)
- func (a *DatasourceApiService) DatasourcePost(ctx context.Context, body Datasource) (Response, *http.Response, error)
- type FeatureEntity
- type FeatureEntityApiService
- func (a *FeatureEntityApiService) AddFeatureEntity(ctx context.Context, body FeatureEntity) (ModelApiResponse, *http.Response, error)
- func (a *FeatureEntityApiService) DeleteFeatureEntityById(ctx context.Context, featureEntityId string) (ModelApiResponse, *http.Response, error)
- func (a *FeatureEntityApiService) GetFeatureEntityById(ctx context.Context, featureEntityId int32) (GetFeatureEntityResponse, error)
- func (a *FeatureEntityApiService) ListFeatureEntities(ctx context.Context) (ListFeatureEntitiesResponse, error)
- type FeatureView
- type FeatureViewApiListFeatureViewsOpts
- type FeatureViewApiService
- func (a *FeatureViewApiService) AddFeatureView(ctx context.Context, body FeatureView) (ModelApiResponse, *http.Response, error)
- func (a *FeatureViewApiService) AppendFeatureViewFeatures(ctx context.Context, body FeatureView, featureViewId string) (ModelApiResponse, *http.Response, error)
- func (a *FeatureViewApiService) DeleteFeatureViewByID(ctx context.Context, featureViewId string) (ModelApiResponse, *http.Response, error)
- func (a *FeatureViewApiService) GetFeatureViewByID(ctx context.Context, featureViewId string) (GetFeatureViewResponse, error)
- func (a *FeatureViewApiService) GetFeatureViewOnlineFeatures(ctx context.Context, body OnlineFeaturesBody, featureViewId string) (InlineResponse20081, *http.Response, error)
- func (a *FeatureViewApiService) GetFeatureViewOwners(ctx context.Context) (InlineResponse20082, *http.Response, error)
- func (a *FeatureViewApiService) GetFeatureViewTags(ctx context.Context) (InlineResponse20083, *http.Response, error)
- func (a *FeatureViewApiService) ListFeatureViews(ctx context.Context, localVarOptionals *FeatureViewApiListFeatureViewsOpts) (ListFeatureViewsResponse, error)
- func (a *FeatureViewApiService) PublishFeatureViewTable(ctx context.Context, body PublishTableRequest, featureViewId string) (ModelApiResponse, *http.Response, error)
- func (a *FeatureViewApiService) WriteFeatureViewTable(ctx context.Context, body WriteTableRequest, featureViewId string) (ModelApiResponse, *http.Response, error)
- type FeatureViewFields
- type FsModelApiListModelsOpts
- type FsModelApiService
- func (a *FsModelApiService) AddFSModel(ctx context.Context, body Model) (ModelApiResponse, *http.Response, error)
- func (a *FsModelApiService) CreateTrainingSetTable(ctx context.Context, body ModelsTrainningSetTablesBody) (ModelApiResponse, *http.Response, error)
- func (a *FsModelApiService) DeleteModelByID(ctx context.Context, modelId string) (ModelApiResponse, *http.Response, error)
- func (a *FsModelApiService) ExportTrainingSetTable(ctx context.Context, body TrainningSetTablesExportBody, modelId string) (InlineResponse20088, *http.Response, error)
- func (a *FsModelApiService) GetModelByID(ctx context.Context, modelId string) (GetModelResponse, error)
- func (a *FsModelApiService) GetOnlineFeaturesByModelId(ctx context.Context, body OnlineFeaturesBody1, modelId string) (InlineResponse20081, *http.Response, error)
- func (a *FsModelApiService) ListModels(ctx context.Context, localVarOptionals *FsModelApiListModelsOpts) (ListModelsResponse, error)
- func (a *FsModelApiService) PreveiwTrainingSetTable(ctx context.Context, body TrainningSetTablesPreviewBody) (InlineResponse20087, *http.Response, error)
- func (a *FsModelApiService) UpdateModelByID(ctx context.Context, body Model, modelId string) (ModelApiResponse, *http.Response, error)
- type FsProjectApiService
- func (a *FsProjectApiService) AddProject(ctx context.Context, body Project) (ModelApiResponse, *http.Response, error)
- func (a *FsProjectApiService) DeleteProjectById(ctx context.Context, projectId int64) (ModelApiResponse, *http.Response, error)
- func (a *FsProjectApiService) GetFeaturesByProjectId(ctx context.Context, projectId int64) (InlineResponse20078, *http.Response, error)
- func (a *FsProjectApiService) GetOfflineTableNamesByProjectId(ctx context.Context, projectId int64) (InlineResponse20076, *http.Response, error)
- func (a *FsProjectApiService) GetOfflineTableSchemaByProjectIdAndTableName(ctx context.Context, projectId int64, tableName string) (InlineResponse20077, *http.Response, error)
- func (a *FsProjectApiService) GetProjectById(ctx context.Context, projectId int64) (Response, error)
- func (a *FsProjectApiService) ListProjects(ctx context.Context) (ListProjectsResponse, error)
- type FsTaskApiListTasksBySubjectOpts
- type FsTaskApiListTasksOpts
- type FsTaskApiService
- func (a *FsTaskApiService) GetTaskById(ctx context.Context, taskId int32) (InlineResponse20091, *http.Response, error)
- func (a *FsTaskApiService) ListTasks(ctx context.Context, limit int32, localVarOptionals *FsTaskApiListTasksOpts) (InlineResponse20089, *http.Response, error)
- func (a *FsTaskApiService) ListTasksBySubject(ctx context.Context, taskSubjectType string, taskSubject string, ...) (InlineResponse20090, *http.Response, error)
- type GenericSwaggerError
- type GetAkResponse
- type GetDatasourceResponse
- type GetFeatureEntityResponse
- type GetFeatureViewResponse
- type GetModelResponse
- type GetModelResponseData
- type InlineResponse200
- type InlineResponse2001
- type InlineResponse20014
- type InlineResponse20014Data
- type InlineResponse20015
- type InlineResponse20015Data
- type InlineResponse20016
- type InlineResponse20016Data
- type InlineResponse20019
- type InlineResponse20019Data
- type InlineResponse20019DataFields
- type InlineResponse20019DataItemData
- type InlineResponse2001Data
- type InlineResponse20047
- type InlineResponse20047Data
- type InlineResponse20047DataMeta
- type InlineResponse20057
- type InlineResponse20057Data
- type InlineResponse20059DataDatasource
- type InlineResponse20060
- type InlineResponse20060Data
- type InlineResponse20060DataDatasources
- type InlineResponse20076
- type InlineResponse20076Data
- type InlineResponse20077
- type InlineResponse20077Data
- type InlineResponse20077DataFields
- type InlineResponse20078
- type InlineResponse20078Data
- type InlineResponse20078DataFeatureViews
- type InlineResponse20078DataFeatures
- type InlineResponse20080Data
- type InlineResponse20081
- type InlineResponse20081Data
- type InlineResponse20082
- type InlineResponse20082Data
- type InlineResponse20083
- type InlineResponse20083Data
- type InlineResponse20085Data
- type InlineResponse20087
- type InlineResponse20087Data
- type InlineResponse20088
- type InlineResponse20088Data
- type InlineResponse20089
- type InlineResponse20089Data
- type InlineResponse20090
- type InlineResponse20090Data
- type InlineResponse20091
- type InlineResponse20091Data
- type ListFeatureEntitiesResponse
- type ListFeatureViewsResponse
- type ListFeatureViewsResponseData
- type ListModelsResponse
- type ListModelsResponseData
- type ListProjectsResponse
- type Model
- type ModelApiResponse
- type ModelFeatures
- type ModelRelations
- type ModelRelationsLinks
- type ModelsTrainningSetTablesBody
- type ModelsmodelIdonlinefeaturesFeatureSelectors
- type ModelsmodelIdtrainningSetTablesexportLabelInputConfig
- type ModelsmodelIdtrainningSetTablesexportTrainningSetConfig
- type ModelstrainningSetTablespreviewFeatures
- type OnlineFeaturesBody
- type OnlineFeaturesBody1
- type Project
- type PublishTableRequest
- type Response
- type Scene
- type SceneApiService
- func (a *SceneApiService) AddScene(ctx context.Context, body Scene) (InlineResponse200, *http.Response, error)
- func (a *SceneApiService) DeleteSceneById(ctx context.Context, sceneId int64) (ModelApiResponse, *http.Response, error)
- func (a *SceneApiService) GetSceneById(ctx context.Context, sceneId int64) (InlineResponse2001, *http.Response, error)
- func (a *SceneApiService) ListAllScenes(ctx context.Context) (InlineResponse2001, *http.Response, error)
- func (a *SceneApiService) UpdateScene(ctx context.Context, body Scene, sceneId int64) (ModelApiResponse, *http.Response, error)
- type TableMeta
- type TableMetaApiListTableMetaFieldsOpts
- type TableMetaApiListTableMetasOpts
- type TableMetaApiService
- func (a *TableMetaApiService) AddTableMeta(ctx context.Context, body TableMeta) (InlineResponse20014, *http.Response, error)
- func (a *TableMetaApiService) GetTableMetaById(ctx context.Context, tableMetaId int64) (InlineResponse20015, *http.Response, error)
- func (a *TableMetaApiService) ListTableMetaFields(ctx context.Context, dsn string, ...) (InlineResponse20016, *http.Response, error)
- func (a *TableMetaApiService) ListTableMetas(ctx context.Context, localVarOptionals *TableMetaApiListTableMetasOpts) (InlineResponse20015, *http.Response, error)
- func (a *TableMetaApiService) UpdateTableMeta(ctx context.Context, body TableMeta, tableMetaId int64) (ModelApiResponse, *http.Response, error)
- type TableMetaField
- type Task
- type TrainningSetTablesExportBody
- type TrainningSetTablesPreviewBody
- type WriteTableRequest
- type WriteTableRequestOssdatasource
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { AkApi *AkApiService DatasourceApi *DatasourceApiService FeatureEntityApi *FeatureEntityApiService FeatureViewApi *FeatureViewApiService FsModelApi *FsModelApiService FsProjectApi *FsProjectApiService FsTaskApi *FsTaskApiService SceneApi *SceneApiService TableMetaApi *TableMetaApiService // contains filtered or unexported fields }
APIClient manages communication with the Pairec Experiment Restful Api API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AkApiService ¶
type AkApiService service
func (*AkApiService) AkAkIdGet ¶
func (a *AkApiService) AkAkIdGet(ctx context.Context, akId int64) (GetAkResponse, error)
AkApiService Get Ak By ak_id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param akId Ak Id to get ak info
@return InlineResponse20056
func (*AkApiService) AkAkIdPost ¶
func (a *AkApiService) AkAkIdPost(ctx context.Context, body Ak, akId int64) (ModelApiResponse, *http.Response, error)
AkApiService update ak data
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body ak object that needs to be update
- @param akId ID of ak to update
@return ModelApiResponse
func (*AkApiService) AkAllGet ¶
func (a *AkApiService) AkAllGet(ctx context.Context) (InlineResponse20057, *http.Response, error)
AkApiService Get all ak
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse20057
type BaseResponse ¶
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Token string `json:"token,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration(host, token string) *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type Datasource ¶
type Datasource struct { DatasourceId int32 `json:"datasource_id,omitempty"` AkId int32 `json:"ak_id,omitempty"` Type_ string `json:"type"` Name string `json:"name"` Region string `json:"region,omitempty"` VpcAddress string `json:"vpc_address,omitempty"` Project string `json:"project,omitempty"` Database string `json:"database,omitempty"` Token string `json:"token,omitempty"` MysqlUser string `json:"mysql_user,omitempty"` MysqlPwd string `json:"mysql_pwd,omitempty"` Pwd string `json:"pwd,omitempty"` RdsInstanceId string `json:"rds_instance_id,omitempty"` Ak Ak `json:"-"` }
func (*Datasource) GenerateDSN ¶
func (d *Datasource) GenerateDSN(datasourceType string) (DSN string)
func (*Datasource) NewOTSClient ¶ added in v1.0.1
func (d *Datasource) NewOTSClient() (client *tablestore.TableStoreClient)
type DatasourceApiService ¶
type DatasourceApiService service
func (*DatasourceApiService) DatasourceAllGet ¶
func (a *DatasourceApiService) DatasourceAllGet(ctx context.Context) (InlineResponse20060, *http.Response, error)
DatasourceApiService Get all datasource Get all datasource
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse20060
func (*DatasourceApiService) DatasourceDatasourceIdGet ¶
func (a *DatasourceApiService) DatasourceDatasourceIdGet(ctx context.Context, datasourceId int64) (GetDatasourceResponse, error)
DatasourceApiService Get datasource By datasource_id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param datasourceId
@return InlineResponse20059
func (*DatasourceApiService) DatasourceDatasourceIdPost ¶
func (a *DatasourceApiService) DatasourceDatasourceIdPost(ctx context.Context, datasourceId int64, localVarOptionals *DatasourceApiDatasourceDatasourceIdPostOpts) (ModelApiResponse, *http.Response, error)
func (*DatasourceApiService) DatasourcePost ¶
func (a *DatasourceApiService) DatasourcePost(ctx context.Context, body Datasource) (Response, *http.Response, error)
DatasourceApiService Create a new datasource
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Datasource object that needs to be added
@return InlineResponse20058
type FeatureEntity ¶
type FeatureEntityApiService ¶
type FeatureEntityApiService service
func (*FeatureEntityApiService) AddFeatureEntity ¶
func (a *FeatureEntityApiService) AddFeatureEntity(ctx context.Context, body FeatureEntity) (ModelApiResponse, *http.Response, error)
FeatureEntityApiService Create a new FeatureEntity
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body FeatureEntity object that needs to be added
@return ModelApiResponse
func (*FeatureEntityApiService) DeleteFeatureEntityById ¶
func (a *FeatureEntityApiService) DeleteFeatureEntityById(ctx context.Context, featureEntityId string) (ModelApiResponse, *http.Response, error)
FeatureEntityApiService Delete featureentity By id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param featureEntityId
@return ModelApiResponse
func (*FeatureEntityApiService) GetFeatureEntityById ¶
func (a *FeatureEntityApiService) GetFeatureEntityById(ctx context.Context, featureEntityId int32) (GetFeatureEntityResponse, error)
FeatureEntityApiService Get FeatureEntity By id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param featureEntityId
@return InlineResponse20079
func (*FeatureEntityApiService) ListFeatureEntities ¶
func (a *FeatureEntityApiService) ListFeatureEntities(ctx context.Context) (ListFeatureEntitiesResponse, error)
FeatureEntityApiService List FeatureEntities
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse20079
type FeatureView ¶
type FeatureView struct { FeatureViewId int64 `json:"feature_view_id"` ProjectId int64 `json:"project_id"` ProjectName string `json:"project_name,omitempty"` Name string `json:"name,omitempty"` FeatureEntityId int32 `json:"feature_entity_id,omitempty"` FeatureEntityName string `json:"feature_entity_name,omitempty"` Owner string `json:"owner"` Type_ string `json:"type"` Online bool `json:"online"` IsRegister bool `json:"is_register"` RegisterTable string `json:"register_table"` Ttl int32 `json:"ttl"` Tags []string `json:"tags"` Config string `json:"config"` Fields []FeatureViewFields `json:"fields"` }
type FeatureViewApiService ¶
type FeatureViewApiService service
func (*FeatureViewApiService) AddFeatureView ¶
func (a *FeatureViewApiService) AddFeatureView(ctx context.Context, body FeatureView) (ModelApiResponse, *http.Response, error)
FeatureViewApiService Create a new FeatureView
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body FeatureView object that needs to be added
@return ModelApiResponse
func (*FeatureViewApiService) AppendFeatureViewFeatures ¶
func (a *FeatureViewApiService) AppendFeatureViewFeatures(ctx context.Context, body FeatureView, featureViewId string) (ModelApiResponse, *http.Response, error)
FeatureViewApiService FeatureView 追加特征
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body FeatureViewFeatures object that needs to be added
- @param featureViewId
@return ModelApiResponse
func (*FeatureViewApiService) DeleteFeatureViewByID ¶
func (a *FeatureViewApiService) DeleteFeatureViewByID(ctx context.Context, featureViewId string) (ModelApiResponse, *http.Response, error)
FeatureViewApiService Delete featureview By ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param featureViewId
@return ModelApiResponse
func (*FeatureViewApiService) GetFeatureViewByID ¶
func (a *FeatureViewApiService) GetFeatureViewByID(ctx context.Context, featureViewId string) (GetFeatureViewResponse, error)
FeatureViewApiService Get FeatureView By ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param featureViewId
@return InlineResponse20084
func (*FeatureViewApiService) GetFeatureViewOnlineFeatures ¶
func (a *FeatureViewApiService) GetFeatureViewOnlineFeatures(ctx context.Context, body OnlineFeaturesBody, featureViewId string) (InlineResponse20081, *http.Response, error)
FeatureViewApiService 获取 FeatureView 在线特征
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body 请求的特征名称列表
- @param featureViewId
@return InlineResponse20081
func (*FeatureViewApiService) GetFeatureViewOwners ¶
func (a *FeatureViewApiService) GetFeatureViewOwners(ctx context.Context) (InlineResponse20082, *http.Response, error)
FeatureViewApiService 获取FeatureView下所有的创建人
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse20082
func (*FeatureViewApiService) GetFeatureViewTags ¶
func (a *FeatureViewApiService) GetFeatureViewTags(ctx context.Context) (InlineResponse20083, *http.Response, error)
FeatureViewApiService 获取FeatureView下所有标签列表
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse20083
func (*FeatureViewApiService) ListFeatureViews ¶
func (a *FeatureViewApiService) ListFeatureViews(ctx context.Context, localVarOptionals *FeatureViewApiListFeatureViewsOpts) (ListFeatureViewsResponse, error)
func (*FeatureViewApiService) PublishFeatureViewTable ¶
func (a *FeatureViewApiService) PublishFeatureViewTable(ctx context.Context, body PublishTableRequest, featureViewId string) (ModelApiResponse, *http.Response, error)
FeatureViewApiService FeatureView把 offline 数据同步到 online 上
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body FeatureView同步数据请求body
- @param featureViewId
@return ModelApiResponse
func (*FeatureViewApiService) WriteFeatureViewTable ¶
func (a *FeatureViewApiService) WriteFeatureViewTable(ctx context.Context, body WriteTableRequest, featureViewId string) (ModelApiResponse, *http.Response, error)
FeatureViewApiService FeatureView写入数据,离线特征非注册类型时调用
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body FeatureView写入数据请求body
- @param featureViewId
@return ModelApiResponse
type FeatureViewFields ¶
type FsModelApiService ¶
type FsModelApiService service
func (*FsModelApiService) AddFSModel ¶
func (a *FsModelApiService) AddFSModel(ctx context.Context, body Model) (ModelApiResponse, *http.Response, error)
FsModelApiService Create a new Model
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Model object that needs to be added
@return ModelApiResponse
func (*FsModelApiService) CreateTrainingSetTable ¶
func (a *FsModelApiService) CreateTrainingSetTable(ctx context.Context, body ModelsTrainningSetTablesBody) (ModelApiResponse, *http.Response, error)
FsModelApiService 样本表建表
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ModelApiResponse
func (*FsModelApiService) DeleteModelByID ¶
func (a *FsModelApiService) DeleteModelByID(ctx context.Context, modelId string) (ModelApiResponse, *http.Response, error)
FsModelApiService Delete model By ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param modelId
@return ModelApiResponse
func (*FsModelApiService) ExportTrainingSetTable ¶
func (a *FsModelApiService) ExportTrainingSetTable(ctx context.Context, body TrainningSetTablesExportBody, modelId string) (InlineResponse20088, *http.Response, error)
FsModelApiService 导出训练样本
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param modelId
@return InlineResponse20088
func (*FsModelApiService) GetModelByID ¶
func (a *FsModelApiService) GetModelByID(ctx context.Context, modelId string) (GetModelResponse, error)
FsModelApiService Get Model By ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param modelId
@return InlineResponse20086
func (*FsModelApiService) GetOnlineFeaturesByModelId ¶
func (a *FsModelApiService) GetOnlineFeaturesByModelId(ctx context.Context, body OnlineFeaturesBody1, modelId string) (InlineResponse20081, *http.Response, error)
FsModelApiService Get online features by model
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body 请求的特征名称列表
- @param modelId
@return InlineResponse20081
func (*FsModelApiService) ListModels ¶
func (a *FsModelApiService) ListModels(ctx context.Context, localVarOptionals *FsModelApiListModelsOpts) (ListModelsResponse, error)
func (*FsModelApiService) PreveiwTrainingSetTable ¶
func (a *FsModelApiService) PreveiwTrainingSetTable(ctx context.Context, body TrainningSetTablesPreviewBody) (InlineResponse20087, *http.Response, error)
FsModelApiService 预览样本表建表语句
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return InlineResponse20087
func (*FsModelApiService) UpdateModelByID ¶
func (a *FsModelApiService) UpdateModelByID(ctx context.Context, body Model, modelId string) (ModelApiResponse, *http.Response, error)
FsModelApiService Update model By ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Model object that needs to be Update
- @param modelId
@return ModelApiResponse
type FsProjectApiService ¶
type FsProjectApiService service
func (*FsProjectApiService) AddProject ¶
func (a *FsProjectApiService) AddProject(ctx context.Context, body Project) (ModelApiResponse, *http.Response, error)
FsProjectApiService Create a new FeatureStore Project
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body FS Project object that needs to be added
@return ModelApiResponse
func (*FsProjectApiService) DeleteProjectById ¶
func (a *FsProjectApiService) DeleteProjectById(ctx context.Context, projectId int64) (ModelApiResponse, *http.Response, error)
FsProjectApiService Delete project By project ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId ProjectId to get project info
@return ModelApiResponse
func (*FsProjectApiService) GetFeaturesByProjectId ¶
func (a *FsProjectApiService) GetFeaturesByProjectId(ctx context.Context, projectId int64) (InlineResponse20078, *http.Response, error)
FsProjectApiService 获取项目下, 所有的featureview 和 features 信息
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId ProjectId to get project info
@return InlineResponse20078
func (*FsProjectApiService) GetOfflineTableNamesByProjectId ¶
func (a *FsProjectApiService) GetOfflineTableNamesByProjectId(ctx context.Context, projectId int64) (InlineResponse20076, *http.Response, error)
FsProjectApiService 获取项目下, offline 中的所有表名称
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId ProjectId to get project info
@return InlineResponse20076
func (*FsProjectApiService) GetOfflineTableSchemaByProjectIdAndTableName ¶
func (a *FsProjectApiService) GetOfflineTableSchemaByProjectIdAndTableName(ctx context.Context, projectId int64, tableName string) (InlineResponse20077, *http.Response, error)
FsProjectApiService 获取项目下,offline 中 table_name 的 schema
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId ProjectId to get project info
- @param tableName 表名称
@return InlineResponse20077
func (*FsProjectApiService) GetProjectById ¶
func (a *FsProjectApiService) GetProjectById(ctx context.Context, projectId int64) (Response, error)
FsProjectApiService Get Project By project ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId ProjectId to get project info
@return InlineResponse20075
func (*FsProjectApiService) ListProjects ¶
func (a *FsProjectApiService) ListProjects(ctx context.Context) (ListProjectsResponse, error)
FsProjectApiService List Projects
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse20075
type FsTaskApiListTasksOpts ¶
type FsTaskApiService ¶
type FsTaskApiService service
func (*FsTaskApiService) GetTaskById ¶
func (a *FsTaskApiService) GetTaskById(ctx context.Context, taskId int32) (InlineResponse20091, *http.Response, error)
FsTaskApiService Get Task by ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId
@return InlineResponse20091
func (*FsTaskApiService) ListTasks ¶
func (a *FsTaskApiService) ListTasks(ctx context.Context, limit int32, localVarOptionals *FsTaskApiListTasksOpts) (InlineResponse20089, *http.Response, error)
func (*FsTaskApiService) ListTasksBySubject ¶
func (a *FsTaskApiService) ListTasksBySubject(ctx context.Context, taskSubjectType string, taskSubject string, localVarOptionals *FsTaskApiListTasksBySubjectOpts) (InlineResponse20090, *http.Response, error)
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type GetAkResponse ¶
type GetDatasourceResponse ¶
type GetDatasourceResponse struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data map[string]*Datasource `json:"data,omitempty"` }
type GetFeatureEntityResponse ¶
type GetFeatureEntityResponse struct { BaseResponse Data map[string][]FeatureEntity `json:"data,omitempty"` }
type GetFeatureViewResponse ¶
type GetFeatureViewResponse struct { BaseResponse Data map[string][]FeatureView `json:"data,omitempty"` }
type GetModelResponse ¶
type GetModelResponse struct { BaseResponse Data *GetModelResponseData `json:"data,omitempty"` }
type GetModelResponseData ¶
type GetModelResponseData struct { Models []Model `json:"models,omitempty"` Relations *ModelRelations `json:"relations,omitempty"` }
type InlineResponse200 ¶
type InlineResponse2001 ¶
type InlineResponse2001 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse2001Data `json:"data,omitempty"` }
type InlineResponse20014 ¶
type InlineResponse20014 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20014Data `json:"data,omitempty"` }
type InlineResponse20014Data ¶
type InlineResponse20014Data struct {
TableMetaId int32 `json:"table_meta_id,omitempty"`
}
type InlineResponse20015 ¶
type InlineResponse20015 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20015Data `json:"data,omitempty"` }
type InlineResponse20015Data ¶
type InlineResponse20015Data struct {
TableMetas []TableMeta `json:"table_metas,omitempty"`
}
type InlineResponse20016 ¶
type InlineResponse20016 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20016Data `json:"data,omitempty"` }
type InlineResponse20016Data ¶
type InlineResponse20016Data struct {
Fields []string `json:"fields,omitempty"`
}
type InlineResponse20019 ¶
type InlineResponse20019 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20019Data `json:"data,omitempty"` }
type InlineResponse20019Data ¶
type InlineResponse20019Data struct { // recommend api response RecommendResponse *interface{} `json:"recommend_response,omitempty"` ItemData []InlineResponse20019DataItemData `json:"item_data,omitempty"` }
type InlineResponse20019DataItemData ¶
type InlineResponse20019DataItemData struct {
Fields []InlineResponse20019DataFields `json:"fields,omitempty"`
}
type InlineResponse2001Data ¶
type InlineResponse2001Data struct {
Scenes []Scene `json:"scenes,omitempty"`
}
type InlineResponse20047 ¶
type InlineResponse20047 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20047Data `json:"data,omitempty"` }
type InlineResponse20047Data ¶
type InlineResponse20047Data struct {
Meta []InlineResponse20047DataMeta `json:"meta,omitempty"`
}
type InlineResponse20057 ¶
type InlineResponse20057 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20057Data `json:"data,omitempty"` }
type InlineResponse20057Data ¶
type InlineResponse20057Data struct {
Aks []Ak `json:"aks,omitempty"`
}
type InlineResponse20060 ¶
type InlineResponse20060 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20060Data `json:"data,omitempty"` }
type InlineResponse20060Data ¶
type InlineResponse20060Data struct {
Datasources []InlineResponse20060DataDatasources `json:"datasources,omitempty"`
}
type InlineResponse20076 ¶
type InlineResponse20076 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20076Data `json:"data,omitempty"` }
type InlineResponse20076Data ¶
type InlineResponse20076Data struct {
Tables []string `json:"tables,omitempty"`
}
type InlineResponse20077 ¶
type InlineResponse20077 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20077Data `json:"data,omitempty"` }
type InlineResponse20077Data ¶
type InlineResponse20077Data struct {
Fields []InlineResponse20077DataFields `json:"fields,omitempty"`
}
type InlineResponse20078 ¶
type InlineResponse20078 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20078Data `json:"data,omitempty"` }
type InlineResponse20078Data ¶
type InlineResponse20078Data struct {
FeatureViews []InlineResponse20078DataFeatureViews `json:"feature_views,omitempty"`
}
type InlineResponse20078DataFeatureViews ¶
type InlineResponse20078DataFeatureViews struct { FeatureViewId string `json:"feature_view_id,omitempty"` FeatureViewName string `json:"feature_view_name,omitempty"` Features []InlineResponse20078DataFeatures `json:"features,omitempty"` }
type InlineResponse20080Data ¶
type InlineResponse20080Data struct { TotalCount int32 `json:"total_count,omitempty"` FeatureViews []FeatureView `json:"feature_views,omitempty"` }
type InlineResponse20081 ¶
type InlineResponse20081 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20081Data `json:"data,omitempty"` }
type InlineResponse20081Data ¶
type InlineResponse20081Data struct {
OnlineFeatures []interface{} `json:"online_features,omitempty"`
}
type InlineResponse20082 ¶
type InlineResponse20082 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20082Data `json:"data,omitempty"` }
type InlineResponse20082Data ¶
type InlineResponse20082Data struct {
Owners []string `json:"owners,omitempty"`
}
type InlineResponse20083 ¶
type InlineResponse20083 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20083Data `json:"data,omitempty"` }
type InlineResponse20083Data ¶
type InlineResponse20083Data struct {
Tags []string `json:"tags,omitempty"`
}
type InlineResponse20085Data ¶
type InlineResponse20087 ¶
type InlineResponse20087 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20087Data `json:"data,omitempty"` }
type InlineResponse20087Data ¶
type InlineResponse20088 ¶
type InlineResponse20088 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20088Data `json:"data,omitempty"` }
type InlineResponse20088Data ¶
type InlineResponse20088Data struct {
TaskId int32 `json:"task_id,omitempty"`
}
type InlineResponse20089 ¶
type InlineResponse20089 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20089Data `json:"data,omitempty"` }
type InlineResponse20089Data ¶
type InlineResponse20089Data struct {
FeatureViews []Task `json:"feature_views,omitempty"`
}
type InlineResponse20090 ¶
type InlineResponse20090 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20090Data `json:"data,omitempty"` }
type InlineResponse20090Data ¶
type InlineResponse20090Data struct {
Tasks []Task `json:"tasks,omitempty"`
}
type InlineResponse20091 ¶
type InlineResponse20091 struct { RequestId string `json:"request_id,omitempty"` Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Data *InlineResponse20091Data `json:"data,omitempty"` }
type InlineResponse20091Data ¶
type InlineResponse20091Data struct {
Tasks []Task `json:"tasks,omitempty"`
}
type ListFeatureEntitiesResponse ¶
type ListFeatureEntitiesResponse struct { BaseResponse Data map[string][]FeatureEntity `json:"data,omitempty"` }
type ListFeatureViewsResponse ¶
type ListFeatureViewsResponse struct { BaseResponse Data ListFeatureViewsResponseData `json:"data,omitempty"` }
type ListFeatureViewsResponseData ¶
type ListFeatureViewsResponseData struct { TotalCount int `json:"total_count"` FeatureViews []*FeatureView `json:"feature_views"` }
type ListModelsResponse ¶
type ListModelsResponse struct { BaseResponse Data *ListModelsResponseData `json:"data,omitempty"` }
type ListModelsResponseData ¶
type ListProjectsResponse ¶
type ListProjectsResponse struct { BaseResponse Data map[string][]*Project `json:"data,omitempty"` }
type Model ¶
type Model struct { ModelId int `json:"model_id"` ProjectId int64 `json:"project_id"` ProjectName string `json:"project_name,omitempty"` Name string `json:"name"` Owner string `json:"owner"` LabelDatasourceId int32 `json:"label_datasource_id,omitempty"` LabelDatasourceTable string `json:"label_datasource_table"` LabelEventTime string `json:"label_event_time"` TrainningSetTable string `json:"trainning_set_table"` Features []ModelFeatures `json:"features"` Relations *ModelRelations `json:"relations,omitempty"` }
type ModelApiResponse ¶
type ModelFeatures ¶
type ModelFeatures struct { FeatureViewId int32 `json:"feature_view_id,omitempty"` FeatureViewName string `json:"feature_view_name,omitempty"` Name string `json:"name,omitempty"` AliasName string `json:"alias_name,omitempty"` Type_ int32 `json:"type,omitempty"` TypeStr string `json:"type_str,omitempty"` }
type ModelRelations ¶
type ModelRelations struct { Domains *interface{} `json:"domains,omitempty"` Links []ModelRelationsLinks `json:"links,omitempty"` }
type ModelRelationsLinks ¶
type ModelsmodelIdtrainningSetTablesexportLabelInputConfig ¶
type ModelsmodelIdtrainningSetTablesexportLabelInputConfig struct { Partitions *interface{} `json:"partitions,omitempty"` EventTime string `json:"event_time,omitempty"` }
type ModelsmodelIdtrainningSetTablesexportTrainningSetConfig ¶
type ModelsmodelIdtrainningSetTablesexportTrainningSetConfig struct {
Partitions *interface{} `json:"partitions,omitempty"`
}
type OnlineFeaturesBody ¶
type OnlineFeaturesBody struct { JoinIds *interface{} `json:"join_ids,omitempty"` Features []string `json:"features,omitempty"` Alias *interface{} `json:"alias,omitempty"` }
type OnlineFeaturesBody1 ¶
type OnlineFeaturesBody1 struct { JoinIds *interface{} `json:"join_ids,omitempty"` FeatureSelectors []ModelsmodelIdonlinefeaturesFeatureSelectors `json:"feature_selectors,omitempty"` }
type Project ¶
type Project struct { ProjectId int64 `json:"project_id,omitempty"` ProjectName string `json:"project_name"` Description string `json:"description"` OfflineDatasourceType string `json:"offline_datasource_type"` OfflineDatasourceId int64 `json:"offline_datasource_id"` OnlineDatasourceType string `json:"online_datasource_type"` OnlineDatasourceId int64 `json:"online_datasource_id"` OfflineLifecycle int32 `json:"offline_lifecycle"` FeatureEntityCount int32 `json:"feature_entity_count,omitempty"` FeatureViewCount int32 `json:"feature_view_count,omitempty"` ModelCount int32 `json:"model_count,omitempty"` OfflineDataSource *Datasource `json:"-"` OnlineDataSource *Datasource `json:"-"` }
type PublishTableRequest ¶
type PublishTableRequest struct { Partitions *interface{} `json:"partitions,omitempty"` Mode string `json:"mode,omitempty"` }
type Response ¶
type Response struct { BaseResponse Data map[string]interface{} `json:"data,omitempty"` }
type SceneApiService ¶
type SceneApiService service
func (*SceneApiService) AddScene ¶
func (a *SceneApiService) AddScene(ctx context.Context, body Scene) (InlineResponse200, *http.Response, error)
SceneApiService Create a new scene
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Scene object that needs to be added
@return InlineResponse200
func (*SceneApiService) DeleteSceneById ¶
func (a *SceneApiService) DeleteSceneById(ctx context.Context, sceneId int64) (ModelApiResponse, *http.Response, error)
SceneApiService Delete scene By scene ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param sceneId Scene Id to get scene info
@return ModelApiResponse
func (*SceneApiService) GetSceneById ¶
func (a *SceneApiService) GetSceneById(ctx context.Context, sceneId int64) (InlineResponse2001, *http.Response, error)
SceneApiService Get Scene By scene ID Get Scene By scene ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param sceneId Scene Id to get scene info
@return InlineResponse2001
func (*SceneApiService) ListAllScenes ¶
func (a *SceneApiService) ListAllScenes(ctx context.Context) (InlineResponse2001, *http.Response, error)
SceneApiService Get all scenes Get all scenes
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse2001
func (*SceneApiService) UpdateScene ¶
func (a *SceneApiService) UpdateScene(ctx context.Context, body Scene, sceneId int64) (ModelApiResponse, *http.Response, error)
SceneApiService update scene data
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Scene object that needs to be update
- @param sceneId ID of scene to update
@return ModelApiResponse
type TableMetaApiService ¶
type TableMetaApiService service
func (*TableMetaApiService) AddTableMeta ¶
func (a *TableMetaApiService) AddTableMeta(ctx context.Context, body TableMeta) (InlineResponse20014, *http.Response, error)
TableMetaApiService Create new table meta info
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body TableMeta object that needs to be added
@return InlineResponse20014
func (*TableMetaApiService) GetTableMetaById ¶
func (a *TableMetaApiService) GetTableMetaById(ctx context.Context, tableMetaId int64) (InlineResponse20015, *http.Response, error)
TableMetaApiService Get TableMeta By table_meta_id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tableMetaId table meta Id
@return InlineResponse20015
func (*TableMetaApiService) ListTableMetaFields ¶
func (a *TableMetaApiService) ListTableMetaFields(ctx context.Context, dsn string, localVarOptionals *TableMetaApiListTableMetaFieldsOpts) (InlineResponse20016, *http.Response, error)
func (*TableMetaApiService) ListTableMetas ¶
func (a *TableMetaApiService) ListTableMetas(ctx context.Context, localVarOptionals *TableMetaApiListTableMetasOpts) (InlineResponse20015, *http.Response, error)
func (*TableMetaApiService) UpdateTableMeta ¶
func (a *TableMetaApiService) UpdateTableMeta(ctx context.Context, body TableMeta, tableMetaId int64) (ModelApiResponse, *http.Response, error)
TableMetaApiService update table meta data
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body TableMeta object that needs to be update
- @param tableMetaId table meta Id
@return ModelApiResponse
type TableMetaField ¶
type Task ¶
type Task struct { TaskId int64 `json:"task_id,omitempty"` ProjectId int64 `json:"project_id"` TaskName string `json:"task_name,omitempty"` TaskNameStr string `json:"task_name_str,omitempty"` TaskSubject string `json:"task_subject,omitempty"` TaskSubjectType string `json:"task_subject_type,omitempty"` State int32 `json:"state,omitempty"` CreateTime string `json:"create_time,omitempty"` ExecuteTime string `json:"execute_time,omitempty"` FinishTime string `json:"finish_time,omitempty"` TaskConfig string `json:"task_config,omitempty"` TaskRunningConfig string `json:"task_running_config,omitempty"` TaskLog string `json:"task_log,omitempty"` }
type TrainningSetTablesExportBody ¶
type TrainningSetTablesExportBody struct { LabelInputConfig *ModelsmodelIdtrainningSetTablesexportLabelInputConfig `json:"label_input_config,omitempty"` FeatureViewConfig *interface{} `json:"feature_view_config,omitempty"` TrainningSetConfig *ModelsmodelIdtrainningSetTablesexportTrainningSetConfig `json:"trainning_set_config,omitempty"` }
type TrainningSetTablesPreviewBody ¶
type TrainningSetTablesPreviewBody struct { ProjectId int32 `json:"project_id,omitempty"` ModelName string `json:"model_name,omitempty"` LabelDatasourceTable string `json:"label_datasource_table,omitempty"` Features []ModelstrainningSetTablespreviewFeatures `json:"features,omitempty"` }
type WriteTableRequest ¶
type WriteTableRequest struct { Partitions *interface{} `json:"partitions,omitempty"` Ossdatasource *WriteTableRequestOssdatasource `json:"ossdatasource,omitempty"` Mode string `json:"mode,omitempty"` }
type WriteTableRequestOssdatasource ¶
type WriteTableRequestOssdatasource struct { AccessId string `json:"access_id,omitempty"` AccessKey string `json:"access_key,omitempty"` Endpoint string `json:"endpoint,omitempty"` Path string `json:"path,omitempty"` Delimiter string `json:"delimiter,omitempty"` OmitHeader bool `json:"omit_header,omitempty"` }
Source Files ¶
- api_ak.go
- api_datasource.go
- api_feature_entity.go
- api_feature_view.go
- api_fs_model.go
- api_fs_project.go
- api_fs_task.go
- api_scene.go
- api_table_meta.go
- client.go
- configuration.go
- model_ak.go
- model_api_response.go
- model_datasource.go
- model_feature_entity.go
- model_feature_view.go
- model_feature_view_fields.go
- model_inline_response_200.go
- model_inline_response_200_1.go
- model_inline_response_200_14.go
- model_inline_response_200_14_data.go
- model_inline_response_200_15.go
- model_inline_response_200_15_data.go
- model_inline_response_200_16.go
- model_inline_response_200_16_data.go
- model_inline_response_200_19.go
- model_inline_response_200_19_data.go
- model_inline_response_200_19_data_fields.go
- model_inline_response_200_19_data_item_data.go
- model_inline_response_200_1_data.go
- model_inline_response_200_47.go
- model_inline_response_200_47_data.go
- model_inline_response_200_47_data_meta.go
- model_inline_response_200_57.go
- model_inline_response_200_57_data.go
- model_inline_response_200_59_data_datasource.go
- model_inline_response_200_60.go
- model_inline_response_200_60_data.go
- model_inline_response_200_60_data_datasources.go
- model_inline_response_200_76.go
- model_inline_response_200_76_data.go
- model_inline_response_200_77.go
- model_inline_response_200_77_data.go
- model_inline_response_200_77_data_fields.go
- model_inline_response_200_78.go
- model_inline_response_200_78_data.go
- model_inline_response_200_78_data_feature_views.go
- model_inline_response_200_78_data_features.go
- model_inline_response_200_80_data.go
- model_inline_response_200_81.go
- model_inline_response_200_81_data.go
- model_inline_response_200_82.go
- model_inline_response_200_82_data.go
- model_inline_response_200_83.go
- model_inline_response_200_83_data.go
- model_inline_response_200_85_data.go
- model_inline_response_200_87.go
- model_inline_response_200_87_data.go
- model_inline_response_200_88.go
- model_inline_response_200_88_data.go
- model_inline_response_200_89.go
- model_inline_response_200_89_data.go
- model_inline_response_200_90.go
- model_inline_response_200_90_data.go
- model_inline_response_200_91.go
- model_inline_response_200_91_data.go
- model_model.go
- model_model_features.go
- model_model_relations.go
- model_model_relations_links.go
- model_models_trainning_set_tables_body.go
- model_modelsmodel_idonlinefeatures_feature_selectors.go
- model_modelsmodel_idtrainning_set_tablesexport_label_input_config.go
- model_modelsmodel_idtrainning_set_tablesexport_trainning_set_config.go
- model_modelstrainning_set_tablespreview_features.go
- model_online_features_body.go
- model_online_features_body_1.go
- model_project.go
- model_publish_table_request.go
- model_scene.go
- model_table_meta.go
- model_table_meta_field.go
- model_task.go
- model_trainning_set_tables_export_body.go
- model_trainning_set_tables_preview_body.go
- model_write_table_request.go
- model_write_table_request_ossdatasource.go
- response.go
- response_ak.go
- response_datasource.go
- response_feature_entity.go
- response_feature_view.go
- response_model.go
- response_project.go