bootpreview

package
v0.40.0 Latest Latest
Warning

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

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

Documentation

Overview

Package bootpreview projects the server's next-bind decision, never content.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fields

type Fields struct {
	PointerLevel      *string `json:"pointerLevel"`
	CompiledNodeID    *string `json:"compiledNodeId"`
	ServedRevSeq      *int    `json:"servedRevSeq"`
	BootPromptRefusal *string `json:"bootPromptRefusal"`
	BootPromptURN     *string `json:"bootPromptUrn,omitempty"`
}

Fields are additive public JSON keys. Null means unknown/withheld/refused, never no pointer. Only BOOT_PROMPT_NOT_SET establishes absence.

type Preview

type Preview struct {
	Fields
	// contains filtered or unexported fields
}

func Project

func Project(o *gen.BootPromptPreviewFields, ownLevel string, ref *string) Preview

Project uses no pointer as evidence of approval. ownLevel/ref are already selected under the target's own gate; they can decorate only a matching level.

func (Preview) Label

func (p Preview) Label() string

type ValidationRead

type ValidationRead struct {
	graphql.Client
	// contains filtered or unexported fields
}

ValidationRead captures the original envelope before typed unmarshalling. Any partial data, path, mixed error, wrong type or non-validation failure excludes the one documented legacy fallback. This is local to the two opt-in preview operations, never a shared retry policy.

func (*ValidationRead) MakeRequest

func (c *ValidationRead) MakeRequest(ctx context.Context, req *graphql.Request, resp *graphql.Response) error

func (*ValidationRead) MissingField

func (c *ValidationRead) MissingField(err error, operation, typ string) bool

Jump to

Keyboard shortcuts

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