attachmenttest

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Overview

Package attachmenttest gates backing-object removal to framework test helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	// contains filtered or unexported fields
}

Token authorizes a test-only storage mutation. Its zero value is invalid.

func Grant

func Grant() Token

Grant issues a token to framework test helpers.

func (Token) Valid

func (t Token) Valid() bool

Valid reports whether Grant issued the token.

Jump to

Keyboard shortcuts

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