importer

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleImportFlag

func HandleImportFlag(flag string) error

Import all jobs specified as `<path-to-meta.json>:<path-to-data.json>,...`

func InitDB

func InitDB() error

Delete the tables "job", "tag" and "jobtag" from the database and repopulate them using the jobs found in `archive`.

func Normalize

func Normalize(avg float64, p string) (float64, string)

func SanityChecks

func SanityChecks(job *schema.BaseJob) error

This function also sets the subcluster if necessary!

Types

This section is empty.

Jump to

Keyboard shortcuts

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