fixtures

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenActor = "ella.purnell"

	PrincipalActor          = "robert.denero"
	PrincipalOrganizationID = "f18ccbbe-e61b-4fe9-bc00-2661f792f39e"
	PrincipalProjectID      = "ec9145b2-91dd-408b-8d8f-d4b5e3c6c360"

	WithOrganization = 1 << iota
	WithProject
)

Variables

This section is empty.

Functions

func HandlerContextFixture

func HandlerContextFixture(ctx context.Context, flags int) context.Context

HandlerContextFixture provides the necessary identity based context for a handler unit test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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