Documentation ¶
Index ¶
- type Jobs
- type Service
- func (s *Service) ActivateIdentity(pz az.Principal, identityId int64) error
- func (s *Service) BuildModel(pz az.Principal, clusterId int64, datasetId int64, algorithm string) (int64, error)
- func (s *Service) BuildModelAuto(pz az.Principal, clusterId int64, dataset, targetName string, maxRunTime int) (*web.Model, error)
- func (s *Service) CheckMojo(pz az.Principal, algo string) (bool, error)
- func (s *Service) CreateDataset(pz az.Principal, clusterId int64, datasourceId int64, name, description string, ...) (int64, error)
- func (s *Service) CreateDatasource(pz az.Principal, projectId int64, name, description, filePath string) (int64, error)
- func (s *Service) CreateIdentity(pz az.Principal, name string, password string) (int64, error)
- func (s *Service) CreateLabel(pz az.Principal, projectId int64, name, description string) (int64, error)
- func (s *Service) CreatePackage(pz az.Principal, projectId int64, name string) error
- func (s *Service) CreateProject(pz az.Principal, name, description, modelCategory string) (int64, error)
- func (s *Service) CreateRole(pz az.Principal, name string, description string) (int64, error)
- func (s *Service) CreateWorkgroup(pz az.Principal, name string, description string) (int64, error)
- func (s *Service) DeactivateIdentity(pz az.Principal, identityId int64) error
- func (s *Service) DeleteCluster(pz az.Principal, clusterId int64) error
- func (s *Service) DeleteDataset(pz az.Principal, datasetId int64) error
- func (s *Service) DeleteDatasource(pz az.Principal, datasourceId int64) error
- func (s *Service) DeleteEngine(pz az.Principal, engineId int64) error
- func (s *Service) DeleteLabel(pz az.Principal, labelId int64) error
- func (s *Service) DeleteModel(pz az.Principal, modelId int64) error
- func (s *Service) DeletePackage(pz az.Principal, projectId int64, name string) error
- func (s *Service) DeletePackageDirectory(pz az.Principal, projectId int64, packageName string, relativePath string) error
- func (s *Service) DeletePackageFile(pz az.Principal, projectId int64, packageName string, relativePath string) error
- func (s *Service) DeleteProject(pz az.Principal, projectId int64) error
- func (s *Service) DeleteRole(pz az.Principal, roleId int64) error
- func (s *Service) DeleteService(pz az.Principal, serviceId int64) error
- func (s *Service) DeleteWorkgroup(pz az.Principal, workgroupId int64) error
- func (s *Service) FindModelsBinomial(pz az.Principal, projectId int64, namePart, sortBy string, ascending bool, ...) ([]*web.BinomialModel, error)
- func (s *Service) FindModelsCount(pz az.Principal, projectId int64) (int64, error)
- func (s *Service) FindModelsMultinomial(pz az.Principal, projectId int64, namePart, sortBy string, ascending bool, ...) ([]*web.MultinomialModel, error)
- func (s *Service) FindModelsRegression(pz az.Principal, projectId int64, namePart, sortBy string, ascending bool, ...) ([]*web.RegressionModel, error)
- func (s *Service) GetAllBinomialSortCriteria(pz az.Principal) ([]string, error)
- func (s *Service) GetAllClusterTypes(pz az.Principal) ([]*web.ClusterType, error)
- func (s *Service) GetAllEntityTypes(pz az.Principal) ([]*web.EntityType, error)
- func (s *Service) GetAllMultinomialSortCriteria(pz az.Principal) ([]string, error)
- func (s *Service) GetAllPermissions(pz az.Principal) ([]*web.Permission, error)
- func (s *Service) GetAllRegressionSortCriteria(pz az.Principal) ([]string, error)
- func (s *Service) GetAttributesForPackage(pz az.Principal, projectId int64, packageName string) (string, error)
- func (s *Service) GetCluster(pz az.Principal, clusterId int64) (*web.Cluster, error)
- func (s *Service) GetClusterOnYarn(pz az.Principal, clusterId int64) (*web.YarnCluster, error)
- func (s *Service) GetClusterStatus(pz az.Principal, cloudId int64) (*web.ClusterStatus, error)
- func (s *Service) GetClusters(pz az.Principal, offset, limit int64) ([]*web.Cluster, error)
- func (s *Service) GetConfig(pz az.Principal) (*web.Config, error)
- func (s *Service) GetDataset(pz az.Principal, datasetId int64) (*web.Dataset, error)
- func (s *Service) GetDatasets(pz az.Principal, datasourceId int64, offset, limit int64) ([]*web.Dataset, error)
- func (s *Service) GetDatasetsFromCluster(pz az.Principal, clusterId int64) ([]*web.Dataset, error)
- func (s *Service) GetDatasource(pz az.Principal, datasourceId int64) (*web.Datasource, error)
- func (s *Service) GetDatasources(pz az.Principal, projectId, offset, limit int64) ([]*web.Datasource, error)
- func (s *Service) GetEngine(pz az.Principal, engineId int64) (*web.Engine, error)
- func (s *Service) GetEngines(pz az.Principal) ([]*web.Engine, error)
- func (s *Service) GetHistory(pz az.Principal, entityTypeId, entityId, offset, limit int64) ([]*web.EntityHistory, error)
- func (s *Service) GetIdentities(pz az.Principal, offset, limit int64) ([]*web.Identity, error)
- func (s *Service) GetIdentitiesForEntity(pz az.Principal, entityTypeId, entityId int64) ([]*web.UserRole, error)
- func (s *Service) GetIdentitiesForRole(pz az.Principal, roleId int64) ([]*web.Identity, error)
- func (s *Service) GetIdentitiesForWorkgroup(pz az.Principal, workgroupId int64) ([]*web.Identity, error)
- func (s *Service) GetIdentity(pz az.Principal, identityId int64) (*web.Identity, error)
- func (s *Service) GetIdentityByName(pz az.Principal, name string) (*web.Identity, error)
- func (s *Service) GetJob(pz az.Principal, clusterId int64, jobName string) (*web.Job, error)
- func (s *Service) GetJobs(pz az.Principal, clusterId int64) ([]*web.Job, error)
- func (s *Service) GetLabelsForProject(pz az.Principal, projectId int64) ([]*web.Label, error)
- func (s *Service) GetModel(pz az.Principal, modelId int64) (*web.Model, error)
- func (s *Service) GetModelBinomial(pz az.Principal, modelId int64) (*web.BinomialModel, error)
- func (s *Service) GetModelMultinomial(pz az.Principal, modelId int64) (*web.MultinomialModel, error)
- func (s *Service) GetModelRegression(pz az.Principal, modelId int64) (*web.RegressionModel, error)
- func (s *Service) GetModels(pz az.Principal, projectId int64, offset, limit int64) ([]*web.Model, error)
- func (s *Service) GetModelsFromCluster(pz az.Principal, clusterId int64, frameKey string) ([]*web.Model, error)
- func (s *Service) GetPackageDirectories(pz az.Principal, projectId int64, packageName string, relativePath string) ([]string, error)
- func (s *Service) GetPackageFiles(pz az.Principal, projectId int64, packageName string, relativePath string) ([]string, error)
- func (s *Service) GetPackages(pz az.Principal, projectId int64) ([]string, error)
- func (s *Service) GetPermissionsForIdentity(pz az.Principal, identityId int64) ([]*web.Permission, error)
- func (s *Service) GetPermissionsForRole(pz az.Principal, roleId int64) ([]*web.Permission, error)
- func (s *Service) GetPrivileges(pz az.Principal, entityTypeId, entityId int64) ([]*web.EntityPrivilege, error)
- func (s *Service) GetProject(pz az.Principal, projectId int64) (*web.Project, error)
- func (s *Service) GetProjects(pz az.Principal, offset, limit int64) ([]*web.Project, error)
- func (s *Service) GetRole(pz az.Principal, roleId int64) (*web.Role, error)
- func (s *Service) GetRoleByName(pz az.Principal, name string) (*web.Role, error)
- func (s *Service) GetRoles(pz az.Principal, offset, limit int64) ([]*web.Role, error)
- func (s *Service) GetRolesForIdentity(pz az.Principal, identityId int64) ([]*web.Role, error)
- func (s *Service) GetService(pz az.Principal, serviceId int64) (*web.ScoringService, error)
- func (s *Service) GetServices(pz az.Principal, offset, limit int64) ([]*web.ScoringService, error)
- func (s *Service) GetServicesForModel(pz az.Principal, modelId, offset, limit int64) ([]*web.ScoringService, error)
- func (s *Service) GetServicesForProject(pz az.Principal, projectId, offset, limit int64) ([]*web.ScoringService, error)
- func (s *Service) GetWorkgroup(pz az.Principal, workgroupId int64) (*web.Workgroup, error)
- func (s *Service) GetWorkgroupByName(pz az.Principal, name string) (*web.Workgroup, error)
- func (s *Service) GetWorkgroups(pz az.Principal, offset, limit int64) ([]*web.Workgroup, error)
- func (s *Service) GetWorkgroupsForIdentity(pz az.Principal, identityId int64) ([]*web.Workgroup, error)
- func (s *Service) ImportModelFromCluster(pz az.Principal, clusterId, projectId int64, modelKey, modelName string) (int64, error)
- func (s *Service) ImportModelMojo(pz az.Principal, modelId int64) error
- func (s *Service) ImportModelPojo(pz az.Principal, modelId int64) error
- func (s *Service) LinkIdentityWithRole(pz az.Principal, identityId int64, roleId int64) error
- func (s *Service) LinkIdentityWithWorkgroup(pz az.Principal, identityId int64, workgroupId int64) error
- func (s *Service) LinkLabelWithModel(pz az.Principal, labelId, modelId int64) error
- func (s *Service) LinkRoleWithPermission(pz az.Principal, roleId int64, permissionId int64) error
- func (s *Service) LinkRoleWithPermissions(pz az.Principal, roleId int64, permissionIds []int64) error
- func (s *Service) PingServer(pz az.Principal, status string) (string, error)
- func (s *Service) RegisterCluster(pz az.Principal, address string) (int64, error)
- func (s *Service) SetAttributesForPackage(pz az.Principal, projectId int64, packageName string, attributes string) error
- func (s *Service) ShareEntity(pz az.Principal, kind string, workgroupId, entityTypeId, entityId int64) error
- func (s *Service) SplitDataset(pz az.Principal, datasetId int64, ratio1 int, ratio2 int) ([]int64, error)
- func (s *Service) StartClusterOnYarn(pz az.Principal, clusterName string, engineId int64, size int, ...) (int64, error)
- func (s *Service) StartService(pz az.Principal, modelId int64, name, packageName string) (int64, error)
- func (s *Service) StopClusterOnYarn(pz az.Principal, clusterId int64, keytab string) error
- func (s *Service) StopService(pz az.Principal, serviceId int64) error
- func (s *Service) UnlinkIdentityFromRole(pz az.Principal, identityId int64, roleId int64) error
- func (s *Service) UnlinkIdentityFromWorkgroup(pz az.Principal, identityId int64, workgroupId int64) error
- func (s *Service) UnlinkLabelFromModel(pz az.Principal, labelId, modelId int64) error
- func (s *Service) UnlinkRoleFromPermission(pz az.Principal, roleId int64, permissionId int64) error
- func (s *Service) UnregisterCluster(pz az.Principal, clusterId int64) error
- func (s *Service) UnshareEntity(pz az.Principal, kind string, workgroupId, entityTypeId, entityId int64) error
- func (s *Service) UpdateDataset(pz az.Principal, datasetId int64, name, description, responseColumnName string) error
- func (s *Service) UpdateDatasource(pz az.Principal, datasourceId int64, name, description, filePath string) error
- func (s *Service) UpdateIdentity(pz az.Principal, identityId int64, password string) error
- func (s *Service) UpdateLabel(pz az.Principal, labelId int64, name, description string) error
- func (s *Service) UpdateRole(pz az.Principal, roleId int64, name string, description string) error
- func (s *Service) UpdateWorkgroup(pz az.Principal, workgroupId int64, name string, description string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) ActivateIdentity ¶
func (*Service) BuildModel ¶
func (*Service) BuildModelAuto ¶
func (*Service) CreateDataset ¶
func (*Service) CreateDatasource ¶
func (*Service) CreateIdentity ¶
func (*Service) CreateLabel ¶
func (*Service) CreatePackage ¶
func (*Service) CreateProject ¶
func (*Service) CreateRole ¶
func (*Service) CreateWorkgroup ¶
func (*Service) DeactivateIdentity ¶
func (*Service) DeleteCluster ¶
func (*Service) DeleteDataset ¶
func (*Service) DeleteDatasource ¶
func (*Service) DeleteEngine ¶
func (*Service) DeletePackage ¶
func (*Service) DeletePackageDirectory ¶
func (*Service) DeletePackageFile ¶
func (*Service) DeleteProject ¶
func (*Service) DeleteService ¶
func (*Service) DeleteWorkgroup ¶
func (*Service) FindModelsBinomial ¶
func (*Service) FindModelsCount ¶
func (*Service) FindModelsMultinomial ¶
func (*Service) FindModelsRegression ¶
func (*Service) GetAllBinomialSortCriteria ¶
TODO: hardcoded; should be determined by h2o metrics
func (*Service) GetAllClusterTypes ¶
func (*Service) GetAllEntityTypes ¶
func (*Service) GetAllMultinomialSortCriteria ¶
TODO: hardcoded; should be determined by h2o metrics
func (*Service) GetAllPermissions ¶
func (*Service) GetAllRegressionSortCriteria ¶
TODO: hardcoded; should be determined by h2o metrics
func (*Service) GetAttributesForPackage ¶
func (*Service) GetCluster ¶
func (*Service) GetClusterOnYarn ¶
func (*Service) GetClusterStatus ¶
Returns the Cloud status from H2O This method should only be called if the cluster reports a non-Stopped status If the cloud was shut down from the outside of steam, will report Unknown / status for cloud
TODO: Maybe this should only report if non-Stopped,non-Unknown status
In the case of Unknown, should only check if forced?
func (*Service) GetClusters ¶
func (*Service) GetDataset ¶
func (*Service) GetDatasets ¶
func (*Service) GetDatasetsFromCluster ¶
func (*Service) GetDatasource ¶
func (*Service) GetDatasources ¶
func (*Service) GetHistory ¶
func (*Service) GetIdentities ¶
func (*Service) GetIdentitiesForEntity ¶
func (*Service) GetIdentitiesForRole ¶
func (*Service) GetIdentitiesForWorkgroup ¶
func (*Service) GetIdentity ¶
func (*Service) GetIdentityByName ¶
func (*Service) GetLabelsForProject ¶
func (*Service) GetModelBinomial ¶
func (*Service) GetModelMultinomial ¶
func (*Service) GetModelRegression ¶
func (*Service) GetModelsFromCluster ¶
func (*Service) GetPackageDirectories ¶
func (*Service) GetPackageFiles ¶
func (*Service) GetPackages ¶
func (*Service) GetPermissionsForIdentity ¶
func (*Service) GetPermissionsForRole ¶
func (*Service) GetPrivileges ¶
func (*Service) GetProject ¶
func (*Service) GetProjects ¶
func (*Service) GetRoleByName ¶
func (*Service) GetRolesForIdentity ¶
func (*Service) GetService ¶
func (*Service) GetServices ¶
func (*Service) GetServicesForModel ¶
func (*Service) GetServicesForProject ¶
func (*Service) GetWorkgroup ¶
func (*Service) GetWorkgroupByName ¶
func (*Service) GetWorkgroups ¶
func (*Service) GetWorkgroupsForIdentity ¶
func (*Service) ImportModelFromCluster ¶
func (*Service) ImportModelMojo ¶
func (*Service) ImportModelPojo ¶
func (*Service) LinkIdentityWithRole ¶
func (*Service) LinkIdentityWithWorkgroup ¶
func (*Service) LinkLabelWithModel ¶
func (*Service) LinkRoleWithPermission ¶
func (*Service) LinkRoleWithPermissions ¶
func (*Service) PingServer ¶
func (*Service) RegisterCluster ¶
func (*Service) SetAttributesForPackage ¶
func (*Service) ShareEntity ¶
func (*Service) SplitDataset ¶
func (*Service) StartClusterOnYarn ¶
func (*Service) StartService ¶
func (*Service) StopClusterOnYarn ¶
func (*Service) UnlinkIdentityFromRole ¶
func (*Service) UnlinkIdentityFromWorkgroup ¶
func (*Service) UnlinkLabelFromModel ¶
func (*Service) UnlinkRoleFromPermission ¶
func (*Service) UnregisterCluster ¶
func (*Service) UnshareEntity ¶
func (*Service) UpdateDataset ¶
func (*Service) UpdateDatasource ¶
func (*Service) UpdateIdentity ¶
func (*Service) UpdateLabel ¶
func (*Service) UpdateRole ¶
Click to show internal directories.
Click to hide internal directories.