web

package
v0.0.0-...-8150c2d Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2019 License: AGPL-3.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateIdentityIn

type ActivateIdentityIn struct {
	IdentityId int64 `json:"identity_id"`
}

type ActivateIdentityOut

type ActivateIdentityOut struct {
}

type Az

type Az interface {
	Identify(r *http.Request) (az.Principal, error)
}

type BinomialModel

type BinomialModel struct {
	Id                  int64   `json:"id"`
	TrainingDatasetId   int64   `json:"training_dataset_id"`
	ValidationDatasetId int64   `json:"validation_dataset_id"`
	Name                string  `json:"name"`
	ClusterName         string  `json:"cluster_name"`
	ModelKey            string  `json:"model_key"`
	Algorithm           string  `json:"algorithm"`
	ModelCategory       string  `json:"model_category"`
	DatasetName         string  `json:"dataset_name"`
	ResponseColumnName  string  `json:"response_column_name"`
	LogicalName         string  `json:"logical_name"`
	Location            string  `json:"location"`
	ModelObjectType     string  `json:"model_object_type"`
	MaxRuntime          int     `json:"max_runtime"`
	JSONMetrics         string  `json:"json_metrics"`
	CreatedAt           int64   `json:"created_at"`
	LabelId             int64   `json:"label_id"`
	LabelName           string  `json:"label_name"`
	Mse                 float64 `json:"mse"`
	RSquared            float64 `json:"r_squared"`
	Logloss             float64 `json:"logloss"`
	Auc                 float64 `json:"auc"`
	Gini                float64 `json:"gini"`
}

type BuildModelAutoIn

type BuildModelAutoIn struct {
	ClusterId  int64  `json:"cluster_id"`
	Dataset    string `json:"dataset"`
	TargetName string `json:"target_name"`
	MaxRunTime int    `json:"max_run_time"`
}

type BuildModelAutoOut

type BuildModelAutoOut struct {
	Model *Model `json:"model"`
}

type BuildModelIn

type BuildModelIn struct {
	ClusterId int64  `json:"cluster_id"`
	DatasetId int64  `json:"dataset_id"`
	Algorithm string `json:"algorithm"`
}

type BuildModelOut

type BuildModelOut struct {
	ModelId int64 `json:"model_id"`
}

type CheckMojoIn

type CheckMojoIn struct {
	Algo string `json:"algo"`
}

type CheckMojoOut

type CheckMojoOut struct {
	CanMojo bool `json:"can_mojo"`
}

type Cluster

type Cluster struct {
	Id        int64  `json:"id"`
	Name      string `json:"name"`
	TypeId    int64  `json:"type_id"`
	DetailId  int64  `json:"detail_id"`
	Address   string `json:"address"`
	State     string `json:"state"`
	CreatedAt int64  `json:"created_at"`
}

type ClusterStatus

type ClusterStatus struct {
	Version              string `json:"version"`
	Status               string `json:"status"`
	MaxMemory            string `json:"max_memory"`
	TotalCpuCount        int    `json:"total_cpu_count"`
	TotalAllowedCpuCount int    `json:"total_allowed_cpu_count"`
}

type ClusterType

type ClusterType struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

type Config

type Config struct {
	KerberosEnabled     bool   `json:"kerberos_enabled"`
	ClusterProxyAddress string `json:"cluster_proxy_address"`
}

type CreateDatasetIn

type CreateDatasetIn struct {
	ClusterId          int64  `json:"cluster_id"`
	DatasourceId       int64  `json:"datasource_id"`
	Name               string `json:"name"`
	Description        string `json:"description"`
	ResponseColumnName string `json:"response_column_name"`
}

type CreateDatasetOut

type CreateDatasetOut struct {
	DatasetId int64 `json:"dataset_id"`
}

type CreateDatasourceIn

type CreateDatasourceIn struct {
	ProjectId   int64  `json:"project_id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Path        string `json:"path"`
}

type CreateDatasourceOut

type CreateDatasourceOut struct {
	DatasourceId int64 `json:"datasource_id"`
}

type CreateIdentityIn

type CreateIdentityIn struct {
	Name     string `json:"name"`
	Password string `json:"password"`
}

type CreateIdentityOut

type CreateIdentityOut struct {
	IdentityId int64 `json:"identity_id"`
}

type CreateLabelIn

type CreateLabelIn struct {
	ProjectId   int64  `json:"project_id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type CreateLabelOut

type CreateLabelOut struct {
	LabelId int64 `json:"label_id"`
}

type CreatePackageIn

type CreatePackageIn struct {
	ProjectId int64  `json:"project_id"`
	Name      string `json:"name"`
}

type CreatePackageOut

type CreatePackageOut struct {
}

type CreateProjectIn

type CreateProjectIn struct {
	Name          string `json:"name"`
	Description   string `json:"description"`
	ModelCategory string `json:"model_category"`
}

type CreateProjectOut

type CreateProjectOut struct {
	ProjectId int64 `json:"project_id"`
}

type CreateRoleIn

type CreateRoleIn struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type CreateRoleOut

type CreateRoleOut struct {
	RoleId int64 `json:"role_id"`
}

type CreateWorkgroupIn

type CreateWorkgroupIn struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type CreateWorkgroupOut

type CreateWorkgroupOut struct {
	WorkgroupId int64 `json:"workgroup_id"`
}

type Dataset

type Dataset struct {
	Id                 int64  `json:"id"`
	DatasourceId       int64  `json:"datasource_id"`
	Name               string `json:"name"`
	Description        string `json:"description"`
	FrameName          string `json:"frame_name"`
	ResponseColumnName string `json:"response_column_name"`
	JSONProperties     string `json:"json_properties"`
	CreatedAt          int64  `json:"created_at"`
}

type Datasource

type Datasource struct {
	Id            int64  `json:"id"`
	ProjectId     int64  `json:"project_id"`
	Name          string `json:"name"`
	Description   string `json:"description"`
	Kind          string `json:"kind"`
	Configuration string `json:"configuration"`
	CreatedAt     int64  `json:"created_at"`
}

type DeactivateIdentityIn

type DeactivateIdentityIn struct {
	IdentityId int64 `json:"identity_id"`
}

type DeactivateIdentityOut

type DeactivateIdentityOut struct {
}

type DeleteClusterIn

type DeleteClusterIn struct {
	ClusterId int64 `json:"cluster_id"`
}

type DeleteClusterOut

type DeleteClusterOut struct {
}

type DeleteDatasetIn

type DeleteDatasetIn struct {
	DatasetId int64 `json:"dataset_id"`
}

type DeleteDatasetOut

type DeleteDatasetOut struct {
}

type DeleteDatasourceIn

type DeleteDatasourceIn struct {
	DatasourceId int64 `json:"datasource_id"`
}

type DeleteDatasourceOut

type DeleteDatasourceOut struct {
}

type DeleteEngineIn

type DeleteEngineIn struct {
	EngineId int64 `json:"engine_id"`
}

type DeleteEngineOut

type DeleteEngineOut struct {
}

type DeleteLabelIn

type DeleteLabelIn struct {
	LabelId int64 `json:"label_id"`
}

type DeleteLabelOut

type DeleteLabelOut struct {
}

type DeleteModelIn

type DeleteModelIn struct {
	ModelId int64 `json:"model_id"`
}

type DeleteModelOut

type DeleteModelOut struct {
}

type DeletePackageDirectoryIn

type DeletePackageDirectoryIn struct {
	ProjectId    int64  `json:"project_id"`
	PackageName  string `json:"package_name"`
	RelativePath string `json:"relative_path"`
}

type DeletePackageDirectoryOut

type DeletePackageDirectoryOut struct {
}

type DeletePackageFileIn

type DeletePackageFileIn struct {
	ProjectId    int64  `json:"project_id"`
	PackageName  string `json:"package_name"`
	RelativePath string `json:"relative_path"`
}

type DeletePackageFileOut

type DeletePackageFileOut struct {
}

type DeletePackageIn

type DeletePackageIn struct {
	ProjectId int64  `json:"project_id"`
	Name      string `json:"name"`
}

type DeletePackageOut

type DeletePackageOut struct {
}

type DeleteProjectIn

type DeleteProjectIn struct {
	ProjectId int64 `json:"project_id"`
}

type DeleteProjectOut

type DeleteProjectOut struct {
}

type DeleteRoleIn

type DeleteRoleIn struct {
	RoleId int64 `json:"role_id"`
}

type DeleteRoleOut

type DeleteRoleOut struct {
}

type DeleteServiceIn

type DeleteServiceIn struct {
	ServiceId int64 `json:"service_id"`
}

type DeleteServiceOut

type DeleteServiceOut struct {
}

type DeleteWorkgroupIn

type DeleteWorkgroupIn struct {
	WorkgroupId int64 `json:"workgroup_id"`
}

type DeleteWorkgroupOut

type DeleteWorkgroupOut struct {
}

type Engine

type Engine struct {
	Id        int64  `json:"id"`
	Name      string `json:"name"`
	Location  string `json:"location"`
	CreatedAt int64  `json:"created_at"`
}

type EntityHistory

type EntityHistory struct {
	IdentityId  int64  `json:"identity_id"`
	Action      string `json:"action"`
	Description string `json:"description"`
	CreatedAt   int64  `json:"created_at"`
}

type EntityPrivilege

type EntityPrivilege struct {
	Kind                 string `json:"kind"`
	WorkgroupId          int64  `json:"workgroup_id"`
	WorkgroupName        string `json:"workgroup_name"`
	WorkgroupDescription string `json:"workgroup_description"`
}

type EntityType

type EntityType struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

type FindModelsBinomialIn

type FindModelsBinomialIn struct {
	ProjectId int64  `json:"project_id"`
	NamePart  string `json:"name_part"`
	SortBy    string `json:"sort_by"`
	Ascending bool   `json:"ascending"`
	Offset    int64  `json:"offset"`
	Limit     int64  `json:"limit"`
}

type FindModelsBinomialOut

type FindModelsBinomialOut struct {
	Models []*BinomialModel `json:"models"`
}

type FindModelsCountIn

type FindModelsCountIn struct {
	ProjectId int64 `json:"project_id"`
}

type FindModelsCountOut

type FindModelsCountOut struct {
	Count int64 `json:"count"`
}

type FindModelsMultinomialIn

type FindModelsMultinomialIn struct {
	ProjectId int64  `json:"project_id"`
	NamePart  string `json:"name_part"`
	SortBy    string `json:"sort_by"`
	Ascending bool   `json:"ascending"`
	Offset    int64  `json:"offset"`
	Limit     int64  `json:"limit"`
}

type FindModelsMultinomialOut

type FindModelsMultinomialOut struct {
	Models []*MultinomialModel `json:"models"`
}

type FindModelsRegressionIn

type FindModelsRegressionIn struct {
	ProjectId int64  `json:"project_id"`
	NamePart  string `json:"name_part"`
	SortBy    string `json:"sort_by"`
	Ascending bool   `json:"ascending"`
	Offset    int64  `json:"offset"`
	Limit     int64  `json:"limit"`
}

type FindModelsRegressionOut

type FindModelsRegressionOut struct {
	Models []*RegressionModel `json:"models"`
}

type GetAllBinomialSortCriteriaIn

type GetAllBinomialSortCriteriaIn struct {
}

type GetAllBinomialSortCriteriaOut

type GetAllBinomialSortCriteriaOut struct {
	Criteria []string `json:"criteria"`
}

type GetAllClusterTypesIn

type GetAllClusterTypesIn struct {
}

type GetAllClusterTypesOut

type GetAllClusterTypesOut struct {
	ClusterTypes []*ClusterType `json:"cluster_types"`
}

type GetAllEntityTypesIn

type GetAllEntityTypesIn struct {
}

type GetAllEntityTypesOut

type GetAllEntityTypesOut struct {
	EntityTypes []*EntityType `json:"entity_types"`
}

type GetAllMultinomialSortCriteriaIn

type GetAllMultinomialSortCriteriaIn struct {
}

type GetAllMultinomialSortCriteriaOut

type GetAllMultinomialSortCriteriaOut struct {
	Criteria []string `json:"criteria"`
}

type GetAllPermissionsIn

type GetAllPermissionsIn struct {
}

type GetAllPermissionsOut

type GetAllPermissionsOut struct {
	Permissions []*Permission `json:"permissions"`
}

type GetAllRegressionSortCriteriaIn

type GetAllRegressionSortCriteriaIn struct {
}

type GetAllRegressionSortCriteriaOut

type GetAllRegressionSortCriteriaOut struct {
	Criteria []string `json:"criteria"`
}

type GetAttributesForPackageIn

type GetAttributesForPackageIn struct {
	ProjectId   int64  `json:"project_id"`
	PackageName string `json:"package_name"`
}

type GetAttributesForPackageOut

type GetAttributesForPackageOut struct {
	Attributes string `json:"attributes"`
}

type GetClusterIn

type GetClusterIn struct {
	ClusterId int64 `json:"cluster_id"`
}

type GetClusterOnYarnIn

type GetClusterOnYarnIn struct {
	ClusterId int64 `json:"cluster_id"`
}

type GetClusterOnYarnOut

type GetClusterOnYarnOut struct {
	Cluster *YarnCluster `json:"cluster"`
}

type GetClusterOut

type GetClusterOut struct {
	Cluster *Cluster `json:"cluster"`
}

type GetClusterStatusIn

type GetClusterStatusIn struct {
	ClusterId int64 `json:"cluster_id"`
}

type GetClusterStatusOut

type GetClusterStatusOut struct {
	ClusterStatus *ClusterStatus `json:"cluster_status"`
}

type GetClustersIn

type GetClustersIn struct {
	Offset int64 `json:"offset"`
	Limit  int64 `json:"limit"`
}

type GetClustersOut

type GetClustersOut struct {
	Clusters []*Cluster `json:"clusters"`
}

type GetConfigIn

type GetConfigIn struct {
}

type GetConfigOut

type GetConfigOut struct {
	Config *Config `json:"config"`
}

type GetDatasetIn

type GetDatasetIn struct {
	DatasetId int64 `json:"dataset_id"`
}

type GetDatasetOut

type GetDatasetOut struct {
	Dataset *Dataset `json:"dataset"`
}

type GetDatasetsFromClusterIn

type GetDatasetsFromClusterIn struct {
	ClusterId int64 `json:"cluster_id"`
}

type GetDatasetsFromClusterOut

type GetDatasetsFromClusterOut struct {
	Dataset []*Dataset `json:"dataset"`
}

type GetDatasetsIn

type GetDatasetsIn struct {
	DatasourceId int64 `json:"datasource_id"`
	Offset       int64 `json:"offset"`
	Limit        int64 `json:"limit"`
}

type GetDatasetsOut

type GetDatasetsOut struct {
	Datasets []*Dataset `json:"datasets"`
}

type GetDatasourceIn

type GetDatasourceIn struct {
	DatasourceId int64 `json:"datasource_id"`
}

type GetDatasourceOut

type GetDatasourceOut struct {
	Datasource *Datasource `json:"datasource"`
}

type GetDatasourcesIn

type GetDatasourcesIn struct {
	ProjectId int64 `json:"project_id"`
	Offset    int64 `json:"offset"`
	Limit     int64 `json:"limit"`
}

type GetDatasourcesOut

type GetDatasourcesOut struct {
	Datasources []*Datasource `json:"datasources"`
}

type GetEngineIn

type GetEngineIn struct {
	EngineId int64 `json:"engine_id"`
}

type GetEngineOut

type GetEngineOut struct {
	Engine *Engine `json:"engine"`
}

type GetEnginesIn

type GetEnginesIn struct {
}

type GetEnginesOut

type GetEnginesOut struct {
	Engines []*Engine `json:"engines"`
}

type GetHistoryIn

type GetHistoryIn struct {
	EntityTypeId int64 `json:"entity_type_id"`
	EntityId     int64 `json:"entity_id"`
	Offset       int64 `json:"offset"`
	Limit        int64 `json:"limit"`
}

type GetHistoryOut

type GetHistoryOut struct {
	History []*EntityHistory `json:"history"`
}

type GetIdentitiesForEntityIn

type GetIdentitiesForEntityIn struct {
	EntityType int64 `json:"entity_type"`
	EntityId   int64 `json:"entity_id"`
}

type GetIdentitiesForEntityOut

type GetIdentitiesForEntityOut struct {
	Users []*UserRole `json:"users"`
}

type GetIdentitiesForRoleIn

type GetIdentitiesForRoleIn struct {
	RoleId int64 `json:"role_id"`
}

type GetIdentitiesForRoleOut

type GetIdentitiesForRoleOut struct {
	Identities []*Identity `json:"identities"`
}

type GetIdentitiesForWorkgroupIn

type GetIdentitiesForWorkgroupIn struct {
	WorkgroupId int64 `json:"workgroup_id"`
}

type GetIdentitiesForWorkgroupOut

type GetIdentitiesForWorkgroupOut struct {
	Identities []*Identity `json:"identities"`
}

type GetIdentitiesIn

type GetIdentitiesIn struct {
	Offset int64 `json:"offset"`
	Limit  int64 `json:"limit"`
}

type GetIdentitiesOut

type GetIdentitiesOut struct {
	Identities []*Identity `json:"identities"`
}

type GetIdentityByNameIn

type GetIdentityByNameIn struct {
	Name string `json:"name"`
}

type GetIdentityByNameOut

type GetIdentityByNameOut struct {
	Identity *Identity `json:"identity"`
}

type GetIdentityIn

type GetIdentityIn struct {
	IdentityId int64 `json:"identity_id"`
}

type GetIdentityOut

type GetIdentityOut struct {
	Identity *Identity `json:"identity"`
}

type GetJobIn

type GetJobIn struct {
	ClusterId int64  `json:"cluster_id"`
	JobName   string `json:"job_name"`
}

type GetJobOut

type GetJobOut struct {
	Job *Job `json:"job"`
}

type GetJobsIn

type GetJobsIn struct {
	ClusterId int64 `json:"cluster_id"`
}

type GetJobsOut

type GetJobsOut struct {
	Jobs []*Job `json:"jobs"`
}

type GetLabelsForProjectIn

type GetLabelsForProjectIn struct {
	ProjectId int64 `json:"project_id"`
}

type GetLabelsForProjectOut

type GetLabelsForProjectOut struct {
	Labels []*Label `json:"labels"`
}

type GetModelBinomialIn

type GetModelBinomialIn struct {
	ModelId int64 `json:"model_id"`
}

type GetModelBinomialOut

type GetModelBinomialOut struct {
	Model *BinomialModel `json:"model"`
}

type GetModelIn

type GetModelIn struct {
	ModelId int64 `json:"model_id"`
}

type GetModelMultinomialIn

type GetModelMultinomialIn struct {
	ModelId int64 `json:"model_id"`
}

type GetModelMultinomialOut

type GetModelMultinomialOut struct {
	Model *MultinomialModel `json:"model"`
}

type GetModelOut

type GetModelOut struct {
	Model *Model `json:"model"`
}

type GetModelRegressionIn

type GetModelRegressionIn struct {
	ModelId int64 `json:"model_id"`
}

type GetModelRegressionOut

type GetModelRegressionOut struct {
	Model *RegressionModel `json:"model"`
}

type GetModelsFromClusterIn

type GetModelsFromClusterIn struct {
	ClusterId int64  `json:"cluster_id"`
	FrameKey  string `json:"frame_key"`
}

type GetModelsFromClusterOut

type GetModelsFromClusterOut struct {
	Models []*Model `json:"models"`
}

type GetModelsIn

type GetModelsIn struct {
	ProjectId int64 `json:"project_id"`
	Offset    int64 `json:"offset"`
	Limit     int64 `json:"limit"`
}

type GetModelsOut

type GetModelsOut struct {
	Models []*Model `json:"models"`
}

type GetPackageDirectoriesIn

type GetPackageDirectoriesIn struct {
	ProjectId    int64  `json:"project_id"`
	PackageName  string `json:"package_name"`
	RelativePath string `json:"relative_path"`
}

type GetPackageDirectoriesOut

type GetPackageDirectoriesOut struct {
	Directories []string `json:"directories"`
}

type GetPackageFilesIn

type GetPackageFilesIn struct {
	ProjectId    int64  `json:"project_id"`
	PackageName  string `json:"package_name"`
	RelativePath string `json:"relative_path"`
}

type GetPackageFilesOut

type GetPackageFilesOut struct {
	Files []string `json:"files"`
}

type GetPackagesIn

type GetPackagesIn struct {
	ProjectId int64 `json:"project_id"`
}

type GetPackagesOut

type GetPackagesOut struct {
	Packages []string `json:"packages"`
}

type GetPermissionsForIdentityIn

type GetPermissionsForIdentityIn struct {
	IdentityId int64 `json:"identity_id"`
}

type GetPermissionsForIdentityOut

type GetPermissionsForIdentityOut struct {
	Permissions []*Permission `json:"permissions"`
}

type GetPermissionsForRoleIn

type GetPermissionsForRoleIn struct {
	RoleId int64 `json:"role_id"`
}

type GetPermissionsForRoleOut

type GetPermissionsForRoleOut struct {
	Permissions []*Permission `json:"permissions"`
}

type GetPrivilegesIn

type GetPrivilegesIn struct {
	EntityTypeId int64 `json:"entity_type_id"`
	EntityId     int64 `json:"entity_id"`
}

type GetPrivilegesOut

type GetPrivilegesOut struct {
	Privileges []*EntityPrivilege `json:"privileges"`
}

type GetProjectIn

type GetProjectIn struct {
	ProjectId int64 `json:"project_id"`
}

type GetProjectOut

type GetProjectOut struct {
	Project *Project `json:"project"`
}

type GetProjectsIn

type GetProjectsIn struct {
	Offset int64 `json:"offset"`
	Limit  int64 `json:"limit"`
}

type GetProjectsOut

type GetProjectsOut struct {
	Projects []*Project `json:"projects"`
}

type GetRoleByNameIn

type GetRoleByNameIn struct {
	Name string `json:"name"`
}

type GetRoleByNameOut

type GetRoleByNameOut struct {
	Role *Role `json:"role"`
}

type GetRoleIn

type GetRoleIn struct {
	RoleId int64 `json:"role_id"`
}

type GetRoleOut

type GetRoleOut struct {
	Role *Role `json:"role"`
}

type GetRolesForIdentityIn

type GetRolesForIdentityIn struct {
	IdentityId int64 `json:"identity_id"`
}

type GetRolesForIdentityOut

type GetRolesForIdentityOut struct {
	Roles []*Role `json:"roles"`
}

type GetRolesIn

type GetRolesIn struct {
	Offset int64 `json:"offset"`
	Limit  int64 `json:"limit"`
}

type GetRolesOut

type GetRolesOut struct {
	Roles []*Role `json:"roles"`
}

type GetServiceIn

type GetServiceIn struct {
	ServiceId int64 `json:"service_id"`
}

type GetServiceOut

type GetServiceOut struct {
	Service *ScoringService `json:"service"`
}

type GetServicesForModelIn

type GetServicesForModelIn struct {
	ModelId int64 `json:"model_id"`
	Offset  int64 `json:"offset"`
	Limit   int64 `json:"limit"`
}

type GetServicesForModelOut

type GetServicesForModelOut struct {
	Services []*ScoringService `json:"services"`
}

type GetServicesForProjectIn

type GetServicesForProjectIn struct {
	ProjectId int64 `json:"project_id"`
	Offset    int64 `json:"offset"`
	Limit     int64 `json:"limit"`
}

type GetServicesForProjectOut

type GetServicesForProjectOut struct {
	Services []*ScoringService `json:"services"`
}

type GetServicesIn

type GetServicesIn struct {
	Offset int64 `json:"offset"`
	Limit  int64 `json:"limit"`
}

type GetServicesOut

type GetServicesOut struct {
	Services []*ScoringService `json:"services"`
}

type GetWorkgroupByNameIn

type GetWorkgroupByNameIn struct {
	Name string `json:"name"`
}

type GetWorkgroupByNameOut

type GetWorkgroupByNameOut struct {
	Workgroup *Workgroup `json:"workgroup"`
}

type GetWorkgroupIn

type GetWorkgroupIn struct {
	WorkgroupId int64 `json:"workgroup_id"`
}

type GetWorkgroupOut

type GetWorkgroupOut struct {
	Workgroup *Workgroup `json:"workgroup"`
}

type GetWorkgroupsForIdentityIn

type GetWorkgroupsForIdentityIn struct {
	IdentityId int64 `json:"identity_id"`
}

type GetWorkgroupsForIdentityOut

type GetWorkgroupsForIdentityOut struct {
	Workgroups []*Workgroup `json:"workgroups"`
}

type GetWorkgroupsIn

type GetWorkgroupsIn struct {
	Offset int64 `json:"offset"`
	Limit  int64 `json:"limit"`
}

type GetWorkgroupsOut

type GetWorkgroupsOut struct {
	Workgroups []*Workgroup `json:"workgroups"`
}

type Identity

type Identity struct {
	Id        int64  `json:"id"`
	Name      string `json:"name"`
	IsActive  bool   `json:"is_active"`
	LastLogin int64  `json:"last_login"`
	Created   int64  `json:"created"`
}

type Impl

type Impl struct {
	Service Service
	Az      az.Az
}

func (*Impl) ActivateIdentity

func (this *Impl) ActivateIdentity(r *http.Request, in *ActivateIdentityIn, out *ActivateIdentityOut) error

func (*Impl) BuildModel

func (this *Impl) BuildModel(r *http.Request, in *BuildModelIn, out *BuildModelOut) error

func (*Impl) BuildModelAuto

func (this *Impl) BuildModelAuto(r *http.Request, in *BuildModelAutoIn, out *BuildModelAutoOut) error

func (*Impl) CheckMojo

func (this *Impl) CheckMojo(r *http.Request, in *CheckMojoIn, out *CheckMojoOut) error

func (*Impl) CreateDataset

func (this *Impl) CreateDataset(r *http.Request, in *CreateDatasetIn, out *CreateDatasetOut) error

func (*Impl) CreateDatasource

func (this *Impl) CreateDatasource(r *http.Request, in *CreateDatasourceIn, out *CreateDatasourceOut) error

func (*Impl) CreateIdentity

func (this *Impl) CreateIdentity(r *http.Request, in *CreateIdentityIn, out *CreateIdentityOut) error

func (*Impl) CreateLabel

func (this *Impl) CreateLabel(r *http.Request, in *CreateLabelIn, out *CreateLabelOut) error

func (*Impl) CreatePackage

func (this *Impl) CreatePackage(r *http.Request, in *CreatePackageIn, out *CreatePackageOut) error

func (*Impl) CreateProject

func (this *Impl) CreateProject(r *http.Request, in *CreateProjectIn, out *CreateProjectOut) error

func (*Impl) CreateRole

func (this *Impl) CreateRole(r *http.Request, in *CreateRoleIn, out *CreateRoleOut) error

func (*Impl) CreateWorkgroup

func (this *Impl) CreateWorkgroup(r *http.Request, in *CreateWorkgroupIn, out *CreateWorkgroupOut) error

func (*Impl) DeactivateIdentity

func (this *Impl) DeactivateIdentity(r *http.Request, in *DeactivateIdentityIn, out *DeactivateIdentityOut) error

func (*Impl) DeleteCluster

func (this *Impl) DeleteCluster(r *http.Request, in *DeleteClusterIn, out *DeleteClusterOut) error

func (*Impl) DeleteDataset

func (this *Impl) DeleteDataset(r *http.Request, in *DeleteDatasetIn, out *DeleteDatasetOut) error

func (*Impl) DeleteDatasource

func (this *Impl) DeleteDatasource(r *http.Request, in *DeleteDatasourceIn, out *DeleteDatasourceOut) error

func (*Impl) DeleteEngine

func (this *Impl) DeleteEngine(r *http.Request, in *DeleteEngineIn, out *DeleteEngineOut) error

func (*Impl) DeleteLabel

func (this *Impl) DeleteLabel(r *http.Request, in *DeleteLabelIn, out *DeleteLabelOut) error

func (*Impl) DeleteModel

func (this *Impl) DeleteModel(r *http.Request, in *DeleteModelIn, out *DeleteModelOut) error

func (*Impl) DeletePackage

func (this *Impl) DeletePackage(r *http.Request, in *DeletePackageIn, out *DeletePackageOut) error

func (*Impl) DeletePackageDirectory

func (this *Impl) DeletePackageDirectory(r *http.Request, in *DeletePackageDirectoryIn, out *DeletePackageDirectoryOut) error

func (*Impl) DeletePackageFile

func (this *Impl) DeletePackageFile(r *http.Request, in *DeletePackageFileIn, out *DeletePackageFileOut) error

func (*Impl) DeleteProject

func (this *Impl) DeleteProject(r *http.Request, in *DeleteProjectIn, out *DeleteProjectOut) error

func (*Impl) DeleteRole

func (this *Impl) DeleteRole(r *http.Request, in *DeleteRoleIn, out *DeleteRoleOut) error

func (*Impl) DeleteService

func (this *Impl) DeleteService(r *http.Request, in *DeleteServiceIn, out *DeleteServiceOut) error

func (*Impl) DeleteWorkgroup

func (this *Impl) DeleteWorkgroup(r *http.Request, in *DeleteWorkgroupIn, out *DeleteWorkgroupOut) error

func (*Impl) FindModelsBinomial

func (this *Impl) FindModelsBinomial(r *http.Request, in *FindModelsBinomialIn, out *FindModelsBinomialOut) error

func (*Impl) FindModelsCount

func (this *Impl) FindModelsCount(r *http.Request, in *FindModelsCountIn, out *FindModelsCountOut) error

func (*Impl) FindModelsMultinomial

func (this *Impl) FindModelsMultinomial(r *http.Request, in *FindModelsMultinomialIn, out *FindModelsMultinomialOut) error

func (*Impl) FindModelsRegression

func (this *Impl) FindModelsRegression(r *http.Request, in *FindModelsRegressionIn, out *FindModelsRegressionOut) error

func (*Impl) GetAllBinomialSortCriteria

func (this *Impl) GetAllBinomialSortCriteria(r *http.Request, in *GetAllBinomialSortCriteriaIn, out *GetAllBinomialSortCriteriaOut) error

func (*Impl) GetAllClusterTypes

func (this *Impl) GetAllClusterTypes(r *http.Request, in *GetAllClusterTypesIn, out *GetAllClusterTypesOut) error

func (*Impl) GetAllEntityTypes

func (this *Impl) GetAllEntityTypes(r *http.Request, in *GetAllEntityTypesIn, out *GetAllEntityTypesOut) error

func (*Impl) GetAllMultinomialSortCriteria

func (this *Impl) GetAllMultinomialSortCriteria(r *http.Request, in *GetAllMultinomialSortCriteriaIn, out *GetAllMultinomialSortCriteriaOut) error

func (*Impl) GetAllPermissions

func (this *Impl) GetAllPermissions(r *http.Request, in *GetAllPermissionsIn, out *GetAllPermissionsOut) error

func (*Impl) GetAllRegressionSortCriteria

func (this *Impl) GetAllRegressionSortCriteria(r *http.Request, in *GetAllRegressionSortCriteriaIn, out *GetAllRegressionSortCriteriaOut) error

func (*Impl) GetAttributesForPackage

func (this *Impl) GetAttributesForPackage(r *http.Request, in *GetAttributesForPackageIn, out *GetAttributesForPackageOut) error

func (*Impl) GetCluster

func (this *Impl) GetCluster(r *http.Request, in *GetClusterIn, out *GetClusterOut) error

func (*Impl) GetClusterOnYarn

func (this *Impl) GetClusterOnYarn(r *http.Request, in *GetClusterOnYarnIn, out *GetClusterOnYarnOut) error

func (*Impl) GetClusterStatus

func (this *Impl) GetClusterStatus(r *http.Request, in *GetClusterStatusIn, out *GetClusterStatusOut) error

func (*Impl) GetClusters

func (this *Impl) GetClusters(r *http.Request, in *GetClustersIn, out *GetClustersOut) error

func (*Impl) GetConfig

func (this *Impl) GetConfig(r *http.Request, in *GetConfigIn, out *GetConfigOut) error

func (*Impl) GetDataset

func (this *Impl) GetDataset(r *http.Request, in *GetDatasetIn, out *GetDatasetOut) error

func (*Impl) GetDatasets

func (this *Impl) GetDatasets(r *http.Request, in *GetDatasetsIn, out *GetDatasetsOut) error

func (*Impl) GetDatasetsFromCluster

func (this *Impl) GetDatasetsFromCluster(r *http.Request, in *GetDatasetsFromClusterIn, out *GetDatasetsFromClusterOut) error

func (*Impl) GetDatasource

func (this *Impl) GetDatasource(r *http.Request, in *GetDatasourceIn, out *GetDatasourceOut) error

func (*Impl) GetDatasources

func (this *Impl) GetDatasources(r *http.Request, in *GetDatasourcesIn, out *GetDatasourcesOut) error

func (*Impl) GetEngine

func (this *Impl) GetEngine(r *http.Request, in *GetEngineIn, out *GetEngineOut) error

func (*Impl) GetEngines

func (this *Impl) GetEngines(r *http.Request, in *GetEnginesIn, out *GetEnginesOut) error

func (*Impl) GetHistory

func (this *Impl) GetHistory(r *http.Request, in *GetHistoryIn, out *GetHistoryOut) error

func (*Impl) GetIdentities

func (this *Impl) GetIdentities(r *http.Request, in *GetIdentitiesIn, out *GetIdentitiesOut) error

func (*Impl) GetIdentitiesForEntity

func (this *Impl) GetIdentitiesForEntity(r *http.Request, in *GetIdentitiesForEntityIn, out *GetIdentitiesForEntityOut) error

func (*Impl) GetIdentitiesForRole

func (this *Impl) GetIdentitiesForRole(r *http.Request, in *GetIdentitiesForRoleIn, out *GetIdentitiesForRoleOut) error

func (*Impl) GetIdentitiesForWorkgroup

func (this *Impl) GetIdentitiesForWorkgroup(r *http.Request, in *GetIdentitiesForWorkgroupIn, out *GetIdentitiesForWorkgroupOut) error

func (*Impl) GetIdentity

func (this *Impl) GetIdentity(r *http.Request, in *GetIdentityIn, out *GetIdentityOut) error

func (*Impl) GetIdentityByName

func (this *Impl) GetIdentityByName(r *http.Request, in *GetIdentityByNameIn, out *GetIdentityByNameOut) error

func (*Impl) GetJob

func (this *Impl) GetJob(r *http.Request, in *GetJobIn, out *GetJobOut) error

func (*Impl) GetJobs

func (this *Impl) GetJobs(r *http.Request, in *GetJobsIn, out *GetJobsOut) error

func (*Impl) GetLabelsForProject

func (this *Impl) GetLabelsForProject(r *http.Request, in *GetLabelsForProjectIn, out *GetLabelsForProjectOut) error

func (*Impl) GetModel

func (this *Impl) GetModel(r *http.Request, in *GetModelIn, out *GetModelOut) error

func (*Impl) GetModelBinomial

func (this *Impl) GetModelBinomial(r *http.Request, in *GetModelBinomialIn, out *GetModelBinomialOut) error

func (*Impl) GetModelMultinomial

func (this *Impl) GetModelMultinomial(r *http.Request, in *GetModelMultinomialIn, out *GetModelMultinomialOut) error

func (*Impl) GetModelRegression

func (this *Impl) GetModelRegression(r *http.Request, in *GetModelRegressionIn, out *GetModelRegressionOut) error

func (*Impl) GetModels

func (this *Impl) GetModels(r *http.Request, in *GetModelsIn, out *GetModelsOut) error

func (*Impl) GetModelsFromCluster

func (this *Impl) GetModelsFromCluster(r *http.Request, in *GetModelsFromClusterIn, out *GetModelsFromClusterOut) error

func (*Impl) GetPackageDirectories

func (this *Impl) GetPackageDirectories(r *http.Request, in *GetPackageDirectoriesIn, out *GetPackageDirectoriesOut) error

func (*Impl) GetPackageFiles

func (this *Impl) GetPackageFiles(r *http.Request, in *GetPackageFilesIn, out *GetPackageFilesOut) error

func (*Impl) GetPackages

func (this *Impl) GetPackages(r *http.Request, in *GetPackagesIn, out *GetPackagesOut) error

func (*Impl) GetPermissionsForIdentity

func (this *Impl) GetPermissionsForIdentity(r *http.Request, in *GetPermissionsForIdentityIn, out *GetPermissionsForIdentityOut) error

func (*Impl) GetPermissionsForRole

func (this *Impl) GetPermissionsForRole(r *http.Request, in *GetPermissionsForRoleIn, out *GetPermissionsForRoleOut) error

func (*Impl) GetPrivileges

func (this *Impl) GetPrivileges(r *http.Request, in *GetPrivilegesIn, out *GetPrivilegesOut) error

func (*Impl) GetProject

func (this *Impl) GetProject(r *http.Request, in *GetProjectIn, out *GetProjectOut) error

func (*Impl) GetProjects

func (this *Impl) GetProjects(r *http.Request, in *GetProjectsIn, out *GetProjectsOut) error

func (*Impl) GetRole

func (this *Impl) GetRole(r *http.Request, in *GetRoleIn, out *GetRoleOut) error

func (*Impl) GetRoleByName

func (this *Impl) GetRoleByName(r *http.Request, in *GetRoleByNameIn, out *GetRoleByNameOut) error

func (*Impl) GetRoles

func (this *Impl) GetRoles(r *http.Request, in *GetRolesIn, out *GetRolesOut) error

func (*Impl) GetRolesForIdentity

func (this *Impl) GetRolesForIdentity(r *http.Request, in *GetRolesForIdentityIn, out *GetRolesForIdentityOut) error

func (*Impl) GetService

func (this *Impl) GetService(r *http.Request, in *GetServiceIn, out *GetServiceOut) error

func (*Impl) GetServices

func (this *Impl) GetServices(r *http.Request, in *GetServicesIn, out *GetServicesOut) error

func (*Impl) GetServicesForModel

func (this *Impl) GetServicesForModel(r *http.Request, in *GetServicesForModelIn, out *GetServicesForModelOut) error

func (*Impl) GetServicesForProject

func (this *Impl) GetServicesForProject(r *http.Request, in *GetServicesForProjectIn, out *GetServicesForProjectOut) error

func (*Impl) GetWorkgroup

func (this *Impl) GetWorkgroup(r *http.Request, in *GetWorkgroupIn, out *GetWorkgroupOut) error

func (*Impl) GetWorkgroupByName

func (this *Impl) GetWorkgroupByName(r *http.Request, in *GetWorkgroupByNameIn, out *GetWorkgroupByNameOut) error

func (*Impl) GetWorkgroups

func (this *Impl) GetWorkgroups(r *http.Request, in *GetWorkgroupsIn, out *GetWorkgroupsOut) error

func (*Impl) GetWorkgroupsForIdentity

func (this *Impl) GetWorkgroupsForIdentity(r *http.Request, in *GetWorkgroupsForIdentityIn, out *GetWorkgroupsForIdentityOut) error

func (*Impl) ImportModelFromCluster

func (this *Impl) ImportModelFromCluster(r *http.Request, in *ImportModelFromClusterIn, out *ImportModelFromClusterOut) error

func (*Impl) ImportModelMojo

func (this *Impl) ImportModelMojo(r *http.Request, in *ImportModelMojoIn, out *ImportModelMojoOut) error

func (*Impl) ImportModelPojo

func (this *Impl) ImportModelPojo(r *http.Request, in *ImportModelPojoIn, out *ImportModelPojoOut) error

func (*Impl) LinkIdentityWithRole

func (this *Impl) LinkIdentityWithRole(r *http.Request, in *LinkIdentityWithRoleIn, out *LinkIdentityWithRoleOut) error

func (*Impl) LinkIdentityWithWorkgroup

func (this *Impl) LinkIdentityWithWorkgroup(r *http.Request, in *LinkIdentityWithWorkgroupIn, out *LinkIdentityWithWorkgroupOut) error

func (*Impl) LinkLabelWithModel

func (this *Impl) LinkLabelWithModel(r *http.Request, in *LinkLabelWithModelIn, out *LinkLabelWithModelOut) error

func (*Impl) LinkRoleWithPermission

func (this *Impl) LinkRoleWithPermission(r *http.Request, in *LinkRoleWithPermissionIn, out *LinkRoleWithPermissionOut) error

func (*Impl) LinkRoleWithPermissions

func (this *Impl) LinkRoleWithPermissions(r *http.Request, in *LinkRoleWithPermissionsIn, out *LinkRoleWithPermissionsOut) error

func (*Impl) PingServer

func (this *Impl) PingServer(r *http.Request, in *PingServerIn, out *PingServerOut) error

func (*Impl) RegisterCluster

func (this *Impl) RegisterCluster(r *http.Request, in *RegisterClusterIn, out *RegisterClusterOut) error

func (*Impl) SetAttributesForPackage

func (this *Impl) SetAttributesForPackage(r *http.Request, in *SetAttributesForPackageIn, out *SetAttributesForPackageOut) error

func (*Impl) ShareEntity

func (this *Impl) ShareEntity(r *http.Request, in *ShareEntityIn, out *ShareEntityOut) error

func (*Impl) SplitDataset

func (this *Impl) SplitDataset(r *http.Request, in *SplitDatasetIn, out *SplitDatasetOut) error

func (*Impl) StartClusterOnYarn

func (this *Impl) StartClusterOnYarn(r *http.Request, in *StartClusterOnYarnIn, out *StartClusterOnYarnOut) error

func (*Impl) StartService

func (this *Impl) StartService(r *http.Request, in *StartServiceIn, out *StartServiceOut) error

func (*Impl) StopClusterOnYarn

func (this *Impl) StopClusterOnYarn(r *http.Request, in *StopClusterOnYarnIn, out *StopClusterOnYarnOut) error

func (*Impl) StopService

func (this *Impl) StopService(r *http.Request, in *StopServiceIn, out *StopServiceOut) error

func (*Impl) UnlinkIdentityFromRole

func (this *Impl) UnlinkIdentityFromRole(r *http.Request, in *UnlinkIdentityFromRoleIn, out *UnlinkIdentityFromRoleOut) error

func (*Impl) UnlinkIdentityFromWorkgroup

func (this *Impl) UnlinkIdentityFromWorkgroup(r *http.Request, in *UnlinkIdentityFromWorkgroupIn, out *UnlinkIdentityFromWorkgroupOut) error

func (*Impl) UnlinkLabelFromModel

func (this *Impl) UnlinkLabelFromModel(r *http.Request, in *UnlinkLabelFromModelIn, out *UnlinkLabelFromModelOut) error

func (*Impl) UnlinkRoleFromPermission

func (this *Impl) UnlinkRoleFromPermission(r *http.Request, in *UnlinkRoleFromPermissionIn, out *UnlinkRoleFromPermissionOut) error

func (*Impl) UnregisterCluster

func (this *Impl) UnregisterCluster(r *http.Request, in *UnregisterClusterIn, out *UnregisterClusterOut) error

func (*Impl) UnshareEntity

func (this *Impl) UnshareEntity(r *http.Request, in *UnshareEntityIn, out *UnshareEntityOut) error

func (*Impl) UpdateDataset

func (this *Impl) UpdateDataset(r *http.Request, in *UpdateDatasetIn, out *UpdateDatasetOut) error

func (*Impl) UpdateDatasource

func (this *Impl) UpdateDatasource(r *http.Request, in *UpdateDatasourceIn, out *UpdateDatasourceOut) error

func (*Impl) UpdateIdentity

func (this *Impl) UpdateIdentity(r *http.Request, in *UpdateIdentityIn, out *UpdateIdentityOut) error

func (*Impl) UpdateLabel

func (this *Impl) UpdateLabel(r *http.Request, in *UpdateLabelIn, out *UpdateLabelOut) error

func (*Impl) UpdateRole

func (this *Impl) UpdateRole(r *http.Request, in *UpdateRoleIn, out *UpdateRoleOut) error

func (*Impl) UpdateWorkgroup

func (this *Impl) UpdateWorkgroup(r *http.Request, in *UpdateWorkgroupIn, out *UpdateWorkgroupOut) error

type ImportModelFromClusterIn

type ImportModelFromClusterIn struct {
	ClusterId int64  `json:"cluster_id"`
	ProjectId int64  `json:"project_id"`
	ModelKey  string `json:"model_key"`
	ModelName string `json:"model_name"`
}

type ImportModelFromClusterOut

type ImportModelFromClusterOut struct {
	ModelId int64 `json:"model_id"`
}

type ImportModelMojoIn

type ImportModelMojoIn struct {
	ModelId int64 `json:"model_id"`
}

type ImportModelMojoOut

type ImportModelMojoOut struct {
}

type ImportModelPojoIn

type ImportModelPojoIn struct {
	ModelId int64 `json:"model_id"`
}

type ImportModelPojoOut

type ImportModelPojoOut struct {
}

type Job

type Job struct {
	Name        string `json:"name"`
	ClusterName string `json:"cluster_name"`
	Description string `json:"description"`
	Progress    string `json:"progress"`
	StartedAt   int64  `json:"started_at"`
	CompletedAt int64  `json:"completed_at"`
}

type Label

type Label struct {
	Id          int64  `json:"id"`
	ProjectId   int64  `json:"project_id"`
	ModelId     int64  `json:"model_id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	CreatedAt   int64  `json:"created_at"`
}

type LinkIdentityWithRoleIn

type LinkIdentityWithRoleIn struct {
	IdentityId int64 `json:"identity_id"`
	RoleId     int64 `json:"role_id"`
}

type LinkIdentityWithRoleOut

type LinkIdentityWithRoleOut struct {
}

type LinkIdentityWithWorkgroupIn

type LinkIdentityWithWorkgroupIn struct {
	IdentityId  int64 `json:"identity_id"`
	WorkgroupId int64 `json:"workgroup_id"`
}

type LinkIdentityWithWorkgroupOut

type LinkIdentityWithWorkgroupOut struct {
}

type LinkLabelWithModelIn

type LinkLabelWithModelIn struct {
	LabelId int64 `json:"label_id"`
	ModelId int64 `json:"model_id"`
}

type LinkLabelWithModelOut

type LinkLabelWithModelOut struct {
}

type LinkRoleWithPermissionIn

type LinkRoleWithPermissionIn struct {
	RoleId       int64 `json:"role_id"`
	PermissionId int64 `json:"permission_id"`
}

type LinkRoleWithPermissionOut

type LinkRoleWithPermissionOut struct {
}

type LinkRoleWithPermissionsIn

type LinkRoleWithPermissionsIn struct {
	RoleId        int64   `json:"role_id"`
	PermissionIds []int64 `json:"permission_ids"`
}

type LinkRoleWithPermissionsOut

type LinkRoleWithPermissionsOut struct {
}

type Model

type Model struct {
	Id                  int64  `json:"id"`
	TrainingDatasetId   int64  `json:"training_dataset_id"`
	ValidationDatasetId int64  `json:"validation_dataset_id"`
	Name                string `json:"name"`
	ClusterName         string `json:"cluster_name"`
	ModelKey            string `json:"model_key"`
	Algorithm           string `json:"algorithm"`
	ModelCategory       string `json:"model_category"`
	DatasetName         string `json:"dataset_name"`
	ResponseColumnName  string `json:"response_column_name"`
	LogicalName         string `json:"logical_name"`
	Location            string `json:"location"`
	ModelObjectType     string `json:"model_object_type"`
	MaxRuntime          int    `json:"max_runtime"`
	JSONMetrics         string `json:"json_metrics"`
	CreatedAt           int64  `json:"created_at"`
	LabelId             int64  `json:"label_id"`
	LabelName           string `json:"label_name"`
}

type MultinomialModel

type MultinomialModel struct {
	Id                  int64   `json:"id"`
	TrainingDatasetId   int64   `json:"training_dataset_id"`
	ValidationDatasetId int64   `json:"validation_dataset_id"`
	Name                string  `json:"name"`
	ClusterName         string  `json:"cluster_name"`
	ModelKey            string  `json:"model_key"`
	Algorithm           string  `json:"algorithm"`
	ModelCategory       string  `json:"model_category"`
	DatasetName         string  `json:"dataset_name"`
	ResponseColumnName  string  `json:"response_column_name"`
	LogicalName         string  `json:"logical_name"`
	Location            string  `json:"location"`
	ModelObjectType     string  `json:"model_object_type"`
	MaxRuntime          int     `json:"max_runtime"`
	JSONMetrics         string  `json:"json_metrics"`
	CreatedAt           int64   `json:"created_at"`
	LabelId             int64   `json:"label_id"`
	LabelName           string  `json:"label_name"`
	Mse                 float64 `json:"mse"`
	RSquared            float64 `json:"r_squared"`
	Logloss             float64 `json:"logloss"`
}

type Permission

type Permission struct {
	Id          int64  `json:"id"`
	Code        string `json:"code"`
	Description string `json:"description"`
}

type PingServerIn

type PingServerIn struct {
	Input string `json:"input"`
}

--- Messages ---

type PingServerOut

type PingServerOut struct {
	Output string `json:"output"`
}

type Proc

type Proc interface {
	Call(name string, in, out interface{}) error
}

type Project

type Project struct {
	Id            int64  `json:"id"`
	Name          string `json:"name"`
	Description   string `json:"description"`
	ModelCategory string `json:"model_category"`
	CreatedAt     int64  `json:"created_at"`
}

type RegisterClusterIn

type RegisterClusterIn struct {
	Address string `json:"address"`
}

type RegisterClusterOut

type RegisterClusterOut struct {
	ClusterId int64 `json:"cluster_id"`
}

type RegressionModel

type RegressionModel struct {
	Id                   int64   `json:"id"`
	TrainingDatasetId    int64   `json:"training_dataset_id"`
	ValidationDatasetId  int64   `json:"validation_dataset_id"`
	Name                 string  `json:"name"`
	ClusterName          string  `json:"cluster_name"`
	ModelKey             string  `json:"model_key"`
	Algorithm            string  `json:"algorithm"`
	ModelCategory        string  `json:"model_category"`
	DatasetName          string  `json:"dataset_name"`
	ResponseColumnName   string  `json:"response_column_name"`
	LogicalName          string  `json:"logical_name"`
	Location             string  `json:"location"`
	ModelObjectType      string  `json:"model_object_type"`
	MaxRuntime           int     `json:"max_runtime"`
	JSONMetrics          string  `json:"json_metrics"`
	CreatedAt            int64   `json:"created_at"`
	LabelId              int64   `json:"label_id"`
	LabelName            string  `json:"label_name"`
	Mse                  float64 `json:"mse"`
	RSquared             float64 `json:"r_squared"`
	MeanResidualDeviance float64 `json:"mean_residual_deviance"`
}

type Remote

type Remote struct {
	Proc Proc
}

func (*Remote) ActivateIdentity

func (this *Remote) ActivateIdentity(identityId int64) error

func (*Remote) BuildModel

func (this *Remote) BuildModel(clusterId int64, datasetId int64, algorithm string) (int64, error)

func (*Remote) BuildModelAuto

func (this *Remote) BuildModelAuto(clusterId int64, dataset string, targetName string, maxRunTime int) (*Model, error)

func (*Remote) CheckMojo

func (this *Remote) CheckMojo(algo string) (bool, error)

func (*Remote) CreateDataset

func (this *Remote) CreateDataset(clusterId int64, datasourceId int64, name string, description string, responseColumnName string) (int64, error)

func (*Remote) CreateDatasource

func (this *Remote) CreateDatasource(projectId int64, name string, description string, path string) (int64, error)

func (*Remote) CreateIdentity

func (this *Remote) CreateIdentity(name string, password string) (int64, error)

func (*Remote) CreateLabel

func (this *Remote) CreateLabel(projectId int64, name string, description string) (int64, error)

func (*Remote) CreatePackage

func (this *Remote) CreatePackage(projectId int64, name string) error

func (*Remote) CreateProject

func (this *Remote) CreateProject(name string, description string, modelCategory string) (int64, error)

func (*Remote) CreateRole

func (this *Remote) CreateRole(name string, description string) (int64, error)

func (*Remote) CreateWorkgroup

func (this *Remote) CreateWorkgroup(name string, description string) (int64, error)

func (*Remote) DeactivateIdentity

func (this *Remote) DeactivateIdentity(identityId int64) error

func (*Remote) DeleteCluster

func (this *Remote) DeleteCluster(clusterId int64) error

func (*Remote) DeleteDataset

func (this *Remote) DeleteDataset(datasetId int64) error

func (*Remote) DeleteDatasource

func (this *Remote) DeleteDatasource(datasourceId int64) error

func (*Remote) DeleteEngine

func (this *Remote) DeleteEngine(engineId int64) error

func (*Remote) DeleteLabel

func (this *Remote) DeleteLabel(labelId int64) error

func (*Remote) DeleteModel

func (this *Remote) DeleteModel(modelId int64) error

func (*Remote) DeletePackage

func (this *Remote) DeletePackage(projectId int64, name string) error

func (*Remote) DeletePackageDirectory

func (this *Remote) DeletePackageDirectory(projectId int64, packageName string, relativePath string) error

func (*Remote) DeletePackageFile

func (this *Remote) DeletePackageFile(projectId int64, packageName string, relativePath string) error

func (*Remote) DeleteProject

func (this *Remote) DeleteProject(projectId int64) error

func (*Remote) DeleteRole

func (this *Remote) DeleteRole(roleId int64) error

func (*Remote) DeleteService

func (this *Remote) DeleteService(serviceId int64) error

func (*Remote) DeleteWorkgroup

func (this *Remote) DeleteWorkgroup(workgroupId int64) error

func (*Remote) FindModelsBinomial

func (this *Remote) FindModelsBinomial(projectId int64, namePart string, sortBy string, ascending bool, offset int64, limit int64) ([]*BinomialModel, error)

func (*Remote) FindModelsCount

func (this *Remote) FindModelsCount(projectId int64) (int64, error)

func (*Remote) FindModelsMultinomial

func (this *Remote) FindModelsMultinomial(projectId int64, namePart string, sortBy string, ascending bool, offset int64, limit int64) ([]*MultinomialModel, error)

func (*Remote) FindModelsRegression

func (this *Remote) FindModelsRegression(projectId int64, namePart string, sortBy string, ascending bool, offset int64, limit int64) ([]*RegressionModel, error)

func (*Remote) GetAllBinomialSortCriteria

func (this *Remote) GetAllBinomialSortCriteria() ([]string, error)

func (*Remote) GetAllClusterTypes

func (this *Remote) GetAllClusterTypes() ([]*ClusterType, error)

func (*Remote) GetAllEntityTypes

func (this *Remote) GetAllEntityTypes() ([]*EntityType, error)

func (*Remote) GetAllMultinomialSortCriteria

func (this *Remote) GetAllMultinomialSortCriteria() ([]string, error)

func (*Remote) GetAllPermissions

func (this *Remote) GetAllPermissions() ([]*Permission, error)

func (*Remote) GetAllRegressionSortCriteria

func (this *Remote) GetAllRegressionSortCriteria() ([]string, error)

func (*Remote) GetAttributesForPackage

func (this *Remote) GetAttributesForPackage(projectId int64, packageName string) (string, error)

func (*Remote) GetCluster

func (this *Remote) GetCluster(clusterId int64) (*Cluster, error)

func (*Remote) GetClusterOnYarn

func (this *Remote) GetClusterOnYarn(clusterId int64) (*YarnCluster, error)

func (*Remote) GetClusterStatus

func (this *Remote) GetClusterStatus(clusterId int64) (*ClusterStatus, error)

func (*Remote) GetClusters

func (this *Remote) GetClusters(offset int64, limit int64) ([]*Cluster, error)

func (*Remote) GetConfig

func (this *Remote) GetConfig() (*Config, error)

func (*Remote) GetDataset

func (this *Remote) GetDataset(datasetId int64) (*Dataset, error)

func (*Remote) GetDatasets

func (this *Remote) GetDatasets(datasourceId int64, offset int64, limit int64) ([]*Dataset, error)

func (*Remote) GetDatasetsFromCluster

func (this *Remote) GetDatasetsFromCluster(clusterId int64) ([]*Dataset, error)

func (*Remote) GetDatasource

func (this *Remote) GetDatasource(datasourceId int64) (*Datasource, error)

func (*Remote) GetDatasources

func (this *Remote) GetDatasources(projectId int64, offset int64, limit int64) ([]*Datasource, error)

func (*Remote) GetEngine

func (this *Remote) GetEngine(engineId int64) (*Engine, error)

func (*Remote) GetEngines

func (this *Remote) GetEngines() ([]*Engine, error)

func (*Remote) GetHistory

func (this *Remote) GetHistory(entityTypeId int64, entityId int64, offset int64, limit int64) ([]*EntityHistory, error)

func (*Remote) GetIdentities

func (this *Remote) GetIdentities(offset int64, limit int64) ([]*Identity, error)

func (*Remote) GetIdentitiesForEntity

func (this *Remote) GetIdentitiesForEntity(entityType int64, entityId int64) ([]*UserRole, error)

func (*Remote) GetIdentitiesForRole

func (this *Remote) GetIdentitiesForRole(roleId int64) ([]*Identity, error)

func (*Remote) GetIdentitiesForWorkgroup

func (this *Remote) GetIdentitiesForWorkgroup(workgroupId int64) ([]*Identity, error)

func (*Remote) GetIdentity

func (this *Remote) GetIdentity(identityId int64) (*Identity, error)

func (*Remote) GetIdentityByName

func (this *Remote) GetIdentityByName(name string) (*Identity, error)

func (*Remote) GetJob

func (this *Remote) GetJob(clusterId int64, jobName string) (*Job, error)

func (*Remote) GetJobs

func (this *Remote) GetJobs(clusterId int64) ([]*Job, error)

func (*Remote) GetLabelsForProject

func (this *Remote) GetLabelsForProject(projectId int64) ([]*Label, error)

func (*Remote) GetModel

func (this *Remote) GetModel(modelId int64) (*Model, error)

func (*Remote) GetModelBinomial

func (this *Remote) GetModelBinomial(modelId int64) (*BinomialModel, error)

func (*Remote) GetModelMultinomial

func (this *Remote) GetModelMultinomial(modelId int64) (*MultinomialModel, error)

func (*Remote) GetModelRegression

func (this *Remote) GetModelRegression(modelId int64) (*RegressionModel, error)

func (*Remote) GetModels

func (this *Remote) GetModels(projectId int64, offset int64, limit int64) ([]*Model, error)

func (*Remote) GetModelsFromCluster

func (this *Remote) GetModelsFromCluster(clusterId int64, frameKey string) ([]*Model, error)

func (*Remote) GetPackageDirectories

func (this *Remote) GetPackageDirectories(projectId int64, packageName string, relativePath string) ([]string, error)

func (*Remote) GetPackageFiles

func (this *Remote) GetPackageFiles(projectId int64, packageName string, relativePath string) ([]string, error)

func (*Remote) GetPackages

func (this *Remote) GetPackages(projectId int64) ([]string, error)

func (*Remote) GetPermissionsForIdentity

func (this *Remote) GetPermissionsForIdentity(identityId int64) ([]*Permission, error)

func (*Remote) GetPermissionsForRole

func (this *Remote) GetPermissionsForRole(roleId int64) ([]*Permission, error)

func (*Remote) GetPrivileges

func (this *Remote) GetPrivileges(entityTypeId int64, entityId int64) ([]*EntityPrivilege, error)

func (*Remote) GetProject

func (this *Remote) GetProject(projectId int64) (*Project, error)

func (*Remote) GetProjects

func (this *Remote) GetProjects(offset int64, limit int64) ([]*Project, error)

func (*Remote) GetRole

func (this *Remote) GetRole(roleId int64) (*Role, error)

func (*Remote) GetRoleByName

func (this *Remote) GetRoleByName(name string) (*Role, error)

func (*Remote) GetRoles

func (this *Remote) GetRoles(offset int64, limit int64) ([]*Role, error)

func (*Remote) GetRolesForIdentity

func (this *Remote) GetRolesForIdentity(identityId int64) ([]*Role, error)

func (*Remote) GetService

func (this *Remote) GetService(serviceId int64) (*ScoringService, error)

func (*Remote) GetServices

func (this *Remote) GetServices(offset int64, limit int64) ([]*ScoringService, error)

func (*Remote) GetServicesForModel

func (this *Remote) GetServicesForModel(modelId int64, offset int64, limit int64) ([]*ScoringService, error)

func (*Remote) GetServicesForProject

func (this *Remote) GetServicesForProject(projectId int64, offset int64, limit int64) ([]*ScoringService, error)

func (*Remote) GetWorkgroup

func (this *Remote) GetWorkgroup(workgroupId int64) (*Workgroup, error)

func (*Remote) GetWorkgroupByName

func (this *Remote) GetWorkgroupByName(name string) (*Workgroup, error)

func (*Remote) GetWorkgroups

func (this *Remote) GetWorkgroups(offset int64, limit int64) ([]*Workgroup, error)

func (*Remote) GetWorkgroupsForIdentity

func (this *Remote) GetWorkgroupsForIdentity(identityId int64) ([]*Workgroup, error)

func (*Remote) ImportModelFromCluster

func (this *Remote) ImportModelFromCluster(clusterId int64, projectId int64, modelKey string, modelName string) (int64, error)

func (*Remote) ImportModelMojo

func (this *Remote) ImportModelMojo(modelId int64) error

func (*Remote) ImportModelPojo

func (this *Remote) ImportModelPojo(modelId int64) error

func (*Remote) LinkIdentityWithRole

func (this *Remote) LinkIdentityWithRole(identityId int64, roleId int64) error

func (*Remote) LinkIdentityWithWorkgroup

func (this *Remote) LinkIdentityWithWorkgroup(identityId int64, workgroupId int64) error

func (*Remote) LinkLabelWithModel

func (this *Remote) LinkLabelWithModel(labelId int64, modelId int64) error

func (*Remote) LinkRoleWithPermission

func (this *Remote) LinkRoleWithPermission(roleId int64, permissionId int64) error

func (*Remote) LinkRoleWithPermissions

func (this *Remote) LinkRoleWithPermissions(roleId int64, permissionIds []int64) error

func (*Remote) PingServer

func (this *Remote) PingServer(input string) (string, error)

func (*Remote) RegisterCluster

func (this *Remote) RegisterCluster(address string) (int64, error)

func (*Remote) SetAttributesForPackage

func (this *Remote) SetAttributesForPackage(projectId int64, packageName string, attributes string) error

func (*Remote) ShareEntity

func (this *Remote) ShareEntity(kind string, workgroupId int64, entityTypeId int64, entityId int64) error

func (*Remote) SplitDataset

func (this *Remote) SplitDataset(datasetId int64, ratio1 int, ratio2 int) ([]int64, error)

func (*Remote) StartClusterOnYarn

func (this *Remote) StartClusterOnYarn(clusterName string, engineId int64, size int, memory string, keytab string) (int64, error)

func (*Remote) StartService

func (this *Remote) StartService(modelId int64, name string, packageName string) (int64, error)

func (*Remote) StopClusterOnYarn

func (this *Remote) StopClusterOnYarn(clusterId int64, keytab string) error

func (*Remote) StopService

func (this *Remote) StopService(serviceId int64) error

func (*Remote) UnlinkIdentityFromRole

func (this *Remote) UnlinkIdentityFromRole(identityId int64, roleId int64) error

func (*Remote) UnlinkIdentityFromWorkgroup

func (this *Remote) UnlinkIdentityFromWorkgroup(identityId int64, workgroupId int64) error

func (*Remote) UnlinkLabelFromModel

func (this *Remote) UnlinkLabelFromModel(labelId int64, modelId int64) error

func (*Remote) UnlinkRoleFromPermission

func (this *Remote) UnlinkRoleFromPermission(roleId int64, permissionId int64) error

func (*Remote) UnregisterCluster

func (this *Remote) UnregisterCluster(clusterId int64) error

func (*Remote) UnshareEntity

func (this *Remote) UnshareEntity(kind string, workgroupId int64, entityTypeId int64, entityId int64) error

func (*Remote) UpdateDataset

func (this *Remote) UpdateDataset(datasetId int64, name string, description string, responseColumnName string) error

func (*Remote) UpdateDatasource

func (this *Remote) UpdateDatasource(datasourceId int64, name string, description string, path string) error

func (*Remote) UpdateIdentity

func (this *Remote) UpdateIdentity(identityId int64, password string) error

func (*Remote) UpdateLabel

func (this *Remote) UpdateLabel(labelId int64, name string, description string) error

func (*Remote) UpdateRole

func (this *Remote) UpdateRole(roleId int64, name string, description string) error

func (*Remote) UpdateWorkgroup

func (this *Remote) UpdateWorkgroup(workgroupId int64, name string, description string) error

type Role

type Role struct {
	Id          int64  `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Created     int64  `json:"created"`
}

type ScoringService

type ScoringService struct {
	Id        int64  `json:"id"`
	ModelId   int64  `json:"model_id"`
	Name      string `json:"name"`
	Address   string `json:"address"`
	Port      int    `json:"port"`
	ProcessId int    `json:"process_id"`
	State     string `json:"state"`
	CreatedAt int64  `json:"created_at"`
}

type Service

type Service interface {
	PingServer(pz az.Principal, input string) (string, error)
	GetConfig(pz az.Principal) (*Config, error)
	RegisterCluster(pz az.Principal, address string) (int64, error)
	UnregisterCluster(pz az.Principal, clusterId int64) error
	StartClusterOnYarn(pz az.Principal, clusterName string, engineId int64, size int, memory string, keytab string) (int64, error)
	StopClusterOnYarn(pz az.Principal, clusterId int64, keytab string) error
	GetCluster(pz az.Principal, clusterId int64) (*Cluster, error)
	GetClusterOnYarn(pz az.Principal, clusterId int64) (*YarnCluster, error)
	GetClusters(pz az.Principal, offset int64, limit int64) ([]*Cluster, error)
	GetClusterStatus(pz az.Principal, clusterId int64) (*ClusterStatus, error)
	DeleteCluster(pz az.Principal, clusterId int64) error
	GetJob(pz az.Principal, clusterId int64, jobName string) (*Job, error)
	GetJobs(pz az.Principal, clusterId int64) ([]*Job, error)
	CreateProject(pz az.Principal, name string, description string, modelCategory string) (int64, error)
	GetProjects(pz az.Principal, offset int64, limit int64) ([]*Project, error)
	GetProject(pz az.Principal, projectId int64) (*Project, error)
	DeleteProject(pz az.Principal, projectId int64) error
	CreateDatasource(pz az.Principal, projectId int64, name string, description string, path string) (int64, error)
	GetDatasources(pz az.Principal, projectId int64, offset int64, limit int64) ([]*Datasource, error)
	GetDatasource(pz az.Principal, datasourceId int64) (*Datasource, error)
	UpdateDatasource(pz az.Principal, datasourceId int64, name string, description string, path string) error
	DeleteDatasource(pz az.Principal, datasourceId int64) error
	CreateDataset(pz az.Principal, clusterId int64, datasourceId int64, name string, description string, responseColumnName string) (int64, error)
	GetDatasets(pz az.Principal, datasourceId int64, offset int64, limit int64) ([]*Dataset, error)
	GetDataset(pz az.Principal, datasetId int64) (*Dataset, error)
	GetDatasetsFromCluster(pz az.Principal, clusterId int64) ([]*Dataset, error)
	UpdateDataset(pz az.Principal, datasetId int64, name string, description string, responseColumnName string) error
	SplitDataset(pz az.Principal, datasetId int64, ratio1 int, ratio2 int) ([]int64, error)
	DeleteDataset(pz az.Principal, datasetId int64) error
	BuildModel(pz az.Principal, clusterId int64, datasetId int64, algorithm string) (int64, error)
	BuildModelAuto(pz az.Principal, clusterId int64, dataset string, targetName string, maxRunTime int) (*Model, error)
	GetModel(pz az.Principal, modelId int64) (*Model, error)
	GetModels(pz az.Principal, projectId int64, offset int64, limit int64) ([]*Model, error)
	GetModelsFromCluster(pz az.Principal, clusterId int64, frameKey string) ([]*Model, error)
	FindModelsCount(pz az.Principal, projectId int64) (int64, error)
	GetAllBinomialSortCriteria(pz az.Principal) ([]string, error)
	FindModelsBinomial(pz az.Principal, projectId int64, namePart string, sortBy string, ascending bool, offset int64, limit int64) ([]*BinomialModel, error)
	GetModelBinomial(pz az.Principal, modelId int64) (*BinomialModel, error)
	GetAllMultinomialSortCriteria(pz az.Principal) ([]string, error)
	FindModelsMultinomial(pz az.Principal, projectId int64, namePart string, sortBy string, ascending bool, offset int64, limit int64) ([]*MultinomialModel, error)
	GetModelMultinomial(pz az.Principal, modelId int64) (*MultinomialModel, error)
	GetAllRegressionSortCriteria(pz az.Principal) ([]string, error)
	FindModelsRegression(pz az.Principal, projectId int64, namePart string, sortBy string, ascending bool, offset int64, limit int64) ([]*RegressionModel, error)
	GetModelRegression(pz az.Principal, modelId int64) (*RegressionModel, error)
	ImportModelFromCluster(pz az.Principal, clusterId int64, projectId int64, modelKey string, modelName string) (int64, error)
	CheckMojo(pz az.Principal, algo string) (bool, error)
	ImportModelPojo(pz az.Principal, modelId int64) error
	ImportModelMojo(pz az.Principal, modelId int64) error
	DeleteModel(pz az.Principal, modelId int64) error
	CreateLabel(pz az.Principal, projectId int64, name string, description string) (int64, error)
	UpdateLabel(pz az.Principal, labelId int64, name string, description string) error
	DeleteLabel(pz az.Principal, labelId int64) error
	LinkLabelWithModel(pz az.Principal, labelId int64, modelId int64) error
	UnlinkLabelFromModel(pz az.Principal, labelId int64, modelId int64) error
	GetLabelsForProject(pz az.Principal, projectId int64) ([]*Label, error)
	StartService(pz az.Principal, modelId int64, name string, packageName string) (int64, error)
	StopService(pz az.Principal, serviceId int64) error
	GetService(pz az.Principal, serviceId int64) (*ScoringService, error)
	GetServices(pz az.Principal, offset int64, limit int64) ([]*ScoringService, error)
	GetServicesForProject(pz az.Principal, projectId int64, offset int64, limit int64) ([]*ScoringService, error)
	GetServicesForModel(pz az.Principal, modelId int64, offset int64, limit int64) ([]*ScoringService, error)
	DeleteService(pz az.Principal, serviceId int64) error
	GetEngine(pz az.Principal, engineId int64) (*Engine, error)
	GetEngines(pz az.Principal) ([]*Engine, error)
	DeleteEngine(pz az.Principal, engineId int64) error
	GetAllEntityTypes(pz az.Principal) ([]*EntityType, error)
	GetAllPermissions(pz az.Principal) ([]*Permission, error)
	GetAllClusterTypes(pz az.Principal) ([]*ClusterType, error)
	GetPermissionsForRole(pz az.Principal, roleId int64) ([]*Permission, error)
	GetPermissionsForIdentity(pz az.Principal, identityId int64) ([]*Permission, error)
	CreateRole(pz az.Principal, name string, description string) (int64, error)
	GetRoles(pz az.Principal, offset int64, limit int64) ([]*Role, error)
	GetRolesForIdentity(pz az.Principal, identityId int64) ([]*Role, error)
	GetRole(pz az.Principal, roleId int64) (*Role, error)
	GetRoleByName(pz az.Principal, name string) (*Role, error)
	UpdateRole(pz az.Principal, roleId int64, name string, description string) error
	LinkRoleWithPermissions(pz az.Principal, roleId int64, permissionIds []int64) error
	LinkRoleWithPermission(pz az.Principal, roleId int64, permissionId int64) error
	UnlinkRoleFromPermission(pz az.Principal, roleId int64, permissionId int64) error
	DeleteRole(pz az.Principal, roleId int64) error
	CreateWorkgroup(pz az.Principal, name string, description string) (int64, error)
	GetWorkgroups(pz az.Principal, offset int64, limit int64) ([]*Workgroup, error)
	GetWorkgroupsForIdentity(pz az.Principal, identityId int64) ([]*Workgroup, error)
	GetWorkgroup(pz az.Principal, workgroupId int64) (*Workgroup, error)
	GetWorkgroupByName(pz az.Principal, name string) (*Workgroup, error)
	UpdateWorkgroup(pz az.Principal, workgroupId int64, name string, description string) error
	DeleteWorkgroup(pz az.Principal, workgroupId int64) error
	CreateIdentity(pz az.Principal, name string, password string) (int64, error)
	GetIdentities(pz az.Principal, offset int64, limit int64) ([]*Identity, error)
	GetIdentitiesForWorkgroup(pz az.Principal, workgroupId int64) ([]*Identity, error)
	GetIdentitiesForRole(pz az.Principal, roleId int64) ([]*Identity, error)
	GetIdentitiesForEntity(pz az.Principal, entityType int64, entityId int64) ([]*UserRole, error)
	GetIdentity(pz az.Principal, identityId int64) (*Identity, error)
	GetIdentityByName(pz az.Principal, name string) (*Identity, error)
	LinkIdentityWithWorkgroup(pz az.Principal, identityId int64, workgroupId int64) error
	UnlinkIdentityFromWorkgroup(pz az.Principal, identityId int64, workgroupId int64) error
	LinkIdentityWithRole(pz az.Principal, identityId int64, roleId int64) error
	UnlinkIdentityFromRole(pz az.Principal, identityId int64, roleId int64) error
	UpdateIdentity(pz az.Principal, identityId int64, password string) error
	ActivateIdentity(pz az.Principal, identityId int64) error
	DeactivateIdentity(pz az.Principal, identityId int64) error
	ShareEntity(pz az.Principal, kind string, workgroupId int64, entityTypeId int64, entityId int64) error
	GetPrivileges(pz az.Principal, entityTypeId int64, entityId int64) ([]*EntityPrivilege, error)
	UnshareEntity(pz az.Principal, kind string, workgroupId int64, entityTypeId int64, entityId int64) error
	GetHistory(pz az.Principal, entityTypeId int64, entityId int64, offset int64, limit int64) ([]*EntityHistory, error)
	CreatePackage(pz az.Principal, projectId int64, name string) error
	GetPackages(pz az.Principal, projectId int64) ([]string, error)
	GetPackageDirectories(pz az.Principal, projectId int64, packageName string, relativePath string) ([]string, error)
	GetPackageFiles(pz az.Principal, projectId int64, packageName string, relativePath string) ([]string, error)
	DeletePackage(pz az.Principal, projectId int64, name string) error
	DeletePackageDirectory(pz az.Principal, projectId int64, packageName string, relativePath string) error
	DeletePackageFile(pz az.Principal, projectId int64, packageName string, relativePath string) error
	SetAttributesForPackage(pz az.Principal, projectId int64, packageName string, attributes string) error
	GetAttributesForPackage(pz az.Principal, projectId int64, packageName string) (string, error)
}

type SetAttributesForPackageIn

type SetAttributesForPackageIn struct {
	ProjectId   int64  `json:"project_id"`
	PackageName string `json:"package_name"`
	Attributes  string `json:"attributes"`
}

type SetAttributesForPackageOut

type SetAttributesForPackageOut struct {
}

type ShareEntityIn

type ShareEntityIn struct {
	Kind         string `json:"kind"`
	WorkgroupId  int64  `json:"workgroup_id"`
	EntityTypeId int64  `json:"entity_type_id"`
	EntityId     int64  `json:"entity_id"`
}

type ShareEntityOut

type ShareEntityOut struct {
}

type SplitDatasetIn

type SplitDatasetIn struct {
	DatasetId int64 `json:"dataset_id"`
	Ratio1    int   `json:"ratio1"`
	Ratio2    int   `json:"ratio2"`
}

type SplitDatasetOut

type SplitDatasetOut struct {
	DatasetIds []int64 `json:"dataset_ids"`
}

type StartClusterOnYarnIn

type StartClusterOnYarnIn struct {
	ClusterName string `json:"cluster_name"`
	EngineId    int64  `json:"engine_id"`
	Size        int    `json:"size"`
	Memory      string `json:"memory"`
	Keytab      string `json:"keytab"`
}

type StartClusterOnYarnOut

type StartClusterOnYarnOut struct {
	ClusterId int64 `json:"cluster_id"`
}

type StartServiceIn

type StartServiceIn struct {
	ModelId     int64  `json:"model_id"`
	Name        string `json:"name"`
	PackageName string `json:"package_name"`
}

type StartServiceOut

type StartServiceOut struct {
	ServiceId int64 `json:"service_id"`
}

type StopClusterOnYarnIn

type StopClusterOnYarnIn struct {
	ClusterId int64  `json:"cluster_id"`
	Keytab    string `json:"keytab"`
}

type StopClusterOnYarnOut

type StopClusterOnYarnOut struct {
}

type StopServiceIn

type StopServiceIn struct {
	ServiceId int64 `json:"service_id"`
}

type StopServiceOut

type StopServiceOut struct {
}

type UnlinkIdentityFromRoleIn

type UnlinkIdentityFromRoleIn struct {
	IdentityId int64 `json:"identity_id"`
	RoleId     int64 `json:"role_id"`
}

type UnlinkIdentityFromRoleOut

type UnlinkIdentityFromRoleOut struct {
}

type UnlinkIdentityFromWorkgroupIn

type UnlinkIdentityFromWorkgroupIn struct {
	IdentityId  int64 `json:"identity_id"`
	WorkgroupId int64 `json:"workgroup_id"`
}

type UnlinkIdentityFromWorkgroupOut

type UnlinkIdentityFromWorkgroupOut struct {
}

type UnlinkLabelFromModelIn

type UnlinkLabelFromModelIn struct {
	LabelId int64 `json:"label_id"`
	ModelId int64 `json:"model_id"`
}

type UnlinkLabelFromModelOut

type UnlinkLabelFromModelOut struct {
}

type UnlinkRoleFromPermissionIn

type UnlinkRoleFromPermissionIn struct {
	RoleId       int64 `json:"role_id"`
	PermissionId int64 `json:"permission_id"`
}

type UnlinkRoleFromPermissionOut

type UnlinkRoleFromPermissionOut struct {
}

type UnregisterClusterIn

type UnregisterClusterIn struct {
	ClusterId int64 `json:"cluster_id"`
}

type UnregisterClusterOut

type UnregisterClusterOut struct {
}

type UnshareEntityIn

type UnshareEntityIn struct {
	Kind         string `json:"kind"`
	WorkgroupId  int64  `json:"workgroup_id"`
	EntityTypeId int64  `json:"entity_type_id"`
	EntityId     int64  `json:"entity_id"`
}

type UnshareEntityOut

type UnshareEntityOut struct {
}

type UpdateDatasetIn

type UpdateDatasetIn struct {
	DatasetId          int64  `json:"dataset_id"`
	Name               string `json:"name"`
	Description        string `json:"description"`
	ResponseColumnName string `json:"response_column_name"`
}

type UpdateDatasetOut

type UpdateDatasetOut struct {
}

type UpdateDatasourceIn

type UpdateDatasourceIn struct {
	DatasourceId int64  `json:"datasource_id"`
	Name         string `json:"name"`
	Description  string `json:"description"`
	Path         string `json:"path"`
}

type UpdateDatasourceOut

type UpdateDatasourceOut struct {
}

type UpdateIdentityIn

type UpdateIdentityIn struct {
	IdentityId int64  `json:"identity_id"`
	Password   string `json:"password"`
}

type UpdateIdentityOut

type UpdateIdentityOut struct {
}

type UpdateLabelIn

type UpdateLabelIn struct {
	LabelId     int64  `json:"label_id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type UpdateLabelOut

type UpdateLabelOut struct {
}

type UpdateRoleIn

type UpdateRoleIn struct {
	RoleId      int64  `json:"role_id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type UpdateRoleOut

type UpdateRoleOut struct {
}

type UpdateWorkgroupIn

type UpdateWorkgroupIn struct {
	WorkgroupId int64  `json:"workgroup_id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type UpdateWorkgroupOut

type UpdateWorkgroupOut struct {
}

type UserRole

type UserRole struct {
	Kind         string `json:"kind"`
	IdentityId   int64  `json:"identity_id"`
	IdentityName string `json:"identity_name"`
	RoleId       int64  `json:"role_id"`
	RoleName     string `json:"role_name"`
}

type Workgroup

type Workgroup struct {
	Id          int64  `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Created     int64  `json:"created"`
}

type YarnCluster

type YarnCluster struct {
	Id            int64  `json:"id"`
	EngineId      int64  `json:"engine_id"`
	Size          int    `json:"size"`
	ApplicationId string `json:"application_id"`
	Memory        string `json:"memory"`
	Username      string `json:"username"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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