Documentation ¶
Index ¶
- func CheckTagExists(tags []models.ExperimentTag, key, value string) bool
- func GetDatabaseUri() string
- func GetInputDatabaseUri() string
- func GetOutputDatabaseUri() string
- func GetS3EndpointUri() string
- func GetServiceUri() string
- func NewS3Client(endpoint string) (*s3.Client, error)
- func StrReplace(str string, original []string, replacement []interface{}) string
- func TransformRunsToActivityMap(runs []*models.Run) map[string]int
- type HttpClient
- func (c HttpClient) DoDeleteRequest(uri string, response interface{}) error
- func (c HttpClient) DoGetRequest(uri string, response interface{}) error
- func (c HttpClient) DoPostRequest(uri string, request interface{}, response interface{}) error
- func (c HttpClient) DoPutRequest(uri string, request interface{}, response interface{}) error
- func (c HttpClient) DoStreamRequest(method, uri string, request interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTagExists ¶
func CheckTagExists(tags []models.ExperimentTag, key, value string) bool
CheckTagExists makes check that Tag exists in provided Tag list.
func GetDatabaseUri ¶
func GetDatabaseUri() string
func GetInputDatabaseUri ¶ added in v0.3.0
func GetInputDatabaseUri() string
func GetOutputDatabaseUri ¶ added in v0.3.0
func GetOutputDatabaseUri() string
func GetS3EndpointUri ¶ added in v0.3.0
func GetS3EndpointUri() string
func GetServiceUri ¶
func GetServiceUri() string
func NewS3Client ¶ added in v0.3.0
NewS3Client creates new instance of S3 client.
func StrReplace ¶
StrReplace makes replacing of multiple placeholders by theirs values in a string.
Types ¶
type HttpClient ¶
type HttpClient struct {
// contains filtered or unexported fields
}
HttpClient represents HTTP client.
func NewAimApiClient ¶
func NewAimApiClient(baseURL string) *HttpClient
NewAimApiClient creates new HTTP client for the aim api
func NewMlflowApiClient ¶
func NewMlflowApiClient(baseURL string) *HttpClient
NewMlflowApiClient creates new HTTP client for the mlflow api
func (HttpClient) DoDeleteRequest ¶
func (c HttpClient) DoDeleteRequest(uri string, response interface{}) error
DoDeleteRequest do DELETE request.
func (HttpClient) DoGetRequest ¶
func (c HttpClient) DoGetRequest(uri string, response interface{}) error
DoGetRequest do GET request.
func (HttpClient) DoPostRequest ¶
func (c HttpClient) DoPostRequest(uri string, request interface{}, response interface{}) error
DoPostRequest do POST request.
func (HttpClient) DoPutRequest ¶ added in v0.3.0
func (c HttpClient) DoPutRequest(uri string, request interface{}, response interface{}) error
DoPutRequest do PUT request.
func (HttpClient) DoStreamRequest ¶
func (c HttpClient) DoStreamRequest(method, uri string, request interface{}) ([]byte, error)
DoStreamRequest do stream request.
Click to show internal directories.
Click to hide internal directories.