Help us shape the future of Go! Take the 2026 Go Developer Survey

manifest

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	HeaderAsertoManifestRequest = "Aserto-Manifest-Request"
	HeaderAsertoUpdatedAt       = "Aserto-Updated-At"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestRequest

type ManifestRequest string
const (
	// ManifestRequestDefault return the manifest metadata and body.
	ManifestRequestDefault ManifestRequest = ""
	// ManifestRequestMetadataOnly only return the manifest metadata.
	ManifestRequestMetadataOnly ManifestRequest = "metadata-only"
	// ManifestRequestModelOnly only return the manifest metadata and model.
	ManifestRequestModelOnly ManifestRequest = "model-only"
	// ManifestRequestWithModel return the manifest metadata, body, and model.
	ManifestRequestWithModel ManifestRequest = "with-model"
)

func IncomingManifestRequest

func IncomingManifestRequest(ctx context.Context) ManifestRequest

func (ManifestRequest) WithBody

func (mr ManifestRequest) WithBody() bool

func (ManifestRequest) WithModel

func (mr ManifestRequest) WithModel() bool

Jump to

Keyboard shortcuts

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