types

package
v0.0.0-...-fa14b81 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Team

type Team struct {
	*dbtypes.Team

	Limits          *TeamLimits
	ProjectSettings dbtypes.ProjectSettings
}

func NewTeam

func NewTeam(row authqueries.GetTeamByTeamIDRow) *Team

NewTeam takes the row of a single-team lookup. The other lookups return the same columns, so their rows convert to this type; a lookup whose column list drifts stops compiling at the conversion.

func (*Team) TeamID

func (t *Team) TeamID() string

type TeamLimits

type TeamLimits struct {
	SandboxConcurrency int64
	BuildConcurrency   int64
	MaxLengthHours     int64

	MaxVcpu  int64
	MaxRamMb int64
	DiskMb   int64

	EventsTTLDays int64

	DefaultFreeDiskSizeMb int64
	MaxFreeDiskSizeMb     int64

	APITeamRPSList   int64
	APITeamRPSDelete int64

	MaxSecrets int64
}

type TeamWithDefault

type TeamWithDefault struct {
	*Team

	IsDefault bool
}

Jump to

Keyboard shortcuts

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