Documentation ¶
Overview ¶
* PAI-AB Server API * * PAI-AB Server API * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* PAI-AB Server API * * PAI-AB Server API * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct { *paiabtestClient.Client CrowdApi *CrowdApiService DomainApi *DomainApiService ExperimentApi *ExperimentApiService ExperimentVersionApi *ExperimentVersionApiService FeatureApi *FeatureApiService LayerApi *LayerApiService ProjectApi *ProjectApiService // contains filtered or unexported fields }
APIClient manages communication with the PAI-AB Server API API v0.0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(config *Configuration) (*APIClient, error)
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.
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
func NewConfiguration ¶
func NewConfiguration(region, accessId, accessKey string) *Configuration
func (*Configuration) GetConfig ¶
func (c *Configuration) GetConfig() *openapi.Config
func (*Configuration) GetDomain ¶
func (c *Configuration) GetDomain() string
func (*Configuration) UseVpc ¶
func (c *Configuration) UseVpc(b bool)
type CrowdApiService ¶
type CrowdApiService service
func (*CrowdApiService) ListCrowdUsers ¶
func (a *CrowdApiService) ListCrowdUsers(crowdId int) (users []string, err error)
type DomainApiService ¶
type DomainApiService service
func (*DomainApiService) ListDomains ¶
func (a *DomainApiService) ListDomains(projectId int) ([]*swagger.Domain, error)
type ExperimentApiService ¶
type ExperimentApiService service
func (*ExperimentApiService) ListExperiments ¶
func (a *ExperimentApiService) ListExperiments(layerId, status int) ([]*swagger.Experiment, error)
type ExperimentVersionApiService ¶
type ExperimentVersionApiService service
func (*ExperimentVersionApiService) ListExperimentVersions ¶
func (a *ExperimentVersionApiService) ListExperimentVersions(expId int) ([]*swagger.ExperimentVersion, error)
type FeatureApiService ¶
type FeatureApiService service
func (*FeatureApiService) ListFeatures ¶
func (a *FeatureApiService) ListFeatures(expDomainId int) ([]*swagger.Feature, error)
type LayerApiService ¶
type LayerApiService service
func (*LayerApiService) ListLayers ¶
func (a *LayerApiService) ListLayers(projectId int) ([]*swagger.Layer, error)
type ProjectApiService ¶
type ProjectApiService service
func (*ProjectApiService) ListProjects ¶
func (a *ProjectApiService) ListProjects() ([]*swagger.Project, error)
Click to show internal directories.
Click to hide internal directories.