workload

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create added in v0.9.1

func Create(ctx context.Context, db *sql.DB, name string) error

Types

type Workload

type Workload struct {
	ID          uint64
	Name        string
	Description string
}

func Get added in v0.9.1

func Get(ctx context.Context, db *sql.DB, name string) (ret Workload, err error)

func GetOrCreate

func GetOrCreate(ctx context.Context, db *sql.DB, name string) (ret Workload, err error)

Jump to

Keyboard shortcuts

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