project

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Label added in v0.9.0

type Label struct {
	Name        string
	Description string
}

A label is used to group tests

func NewLabel added in v0.9.0

func NewLabel(name, description string) Label

NewLabel creates a new label

type Project

type Project struct {
	Name         string
	Description  string
	Visibility   visibility.Visibility
	CreationDate time.Time
	Owner        id.ActorID
	Variants     map[string]*Variant
	Labels       []Label
}

The Project struct contains information used to describe a project in the system

func NewProject

func NewProject(name string, owner id.ActorID, description string, visibility visibility.Visibility) Project

NewProject creates a new project

func (Project) ID

func (p Project) ID() id.ProjectID

ID returns a projects id

func (Project) ItemName

func (p Project) ItemName() string

ItemName returns a projects name

func (Project) ItemVisibility

func (p Project) ItemVisibility() visibility.Visibility

ItemVisibility returns a projects visibility

type Variant added in v0.8.0

type Variant struct {
	Name     string
	Versions []Version
}

The variant struct contains the name of a system under test variant and its versions

type Version added in v0.8.0

type Version struct {
	Name string
}

The version struct represents a system under test version

Jump to

Keyboard shortcuts

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