manifest

package
v0.30.9 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 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 (
	// Return the manifest metadata and body.
	ManifestRequestDefault ManifestRequest = ""
	// Only return the manifest metadata.
	ManifestRequestMetadataOnly ManifestRequest = "metadata-only"
	// Only return the manifest metadtata and model.
	ManifestRequestModelOnly ManifestRequest = "model-only"
	// 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