Versions in this module Expand all Collapse all v1 v1.0.9 Sep 3, 2020 Changes in this version + const MinMasterHostsNeededForInstallation + func CreateTar(ctx context.Context, w io.Writer, files []string, client s3wrapper.API, ...) error + func DeleteTestDB(db *gorm.DB, dbName string) + func GenerateError(id int32, err error) *models.Error + func GenerateErrorResponder(err error) middleware.Responder + func GenerateErrorResponderWithDefault(err error, defaultCode int32) middleware.Responder + func GenerateInternalFromError(err error) *models.Error + func GetCurrentHostName(host *models.Host) (string, error) + func GetEventSeverityFromHostStatus(status string) string + func GetHostnameForMsg(host *models.Host) string + func InitializeDBTest() + func PrepareTestDB(dbName string, extrasSchemas ...interface{}) *gorm.DB + func TarAwsFiles(ctx context.Context, tarName string, files []string, client s3wrapper.API, ...) error + func TerminateDBTest() + type ApiErrorResponse struct + func NewApiError(statusCode int32, err error) *ApiErrorResponse + func (a *ApiErrorResponse) Error() string + func (a *ApiErrorResponse) StatusCode() int32 + func (a *ApiErrorResponse) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type Cluster struct + ProxyHash string + PullSecret string + type DBContext struct + func (c *DBContext) GetPort() string