boards

package
v0.1.73 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package boards holds the rules for the boards a mod declares in its manifest: which declarations a build may carry, and which partition values a score may name. A host that serves the scores service checks reports with the same rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(manifest *manifestpb.Manifest, name string) *scorespb.Board

Find returns the board named name that manifest declares, or nil.

func Partitioned

func Partitioned(board *scorespb.Board, values map[string]string) error

Partitioned checks that values names one accepted value for each of board's partitions and nothing else.

func Validate

func Validate(manifest *manifestpb.Manifest) error

Validate checks the boards manifest declares.

func Windows

func Windows(board *scorespb.Board) []scorespb.Window

Windows returns the windows board keeps standings for: its declared windows, or all time alone when it declares none.

Types

This section is empty.

Jump to

Keyboard shortcuts

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