exportapi

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrManifestOutdated reports that --check found a manifest differing from
	// what the application currently exposes.
	ErrManifestOutdated = errors.New("the committed API manifest is out of date, re-run without --check")
	// ErrManifestInvalid reports that the application did not produce a
	// manifest on stdout.
	ErrManifestInvalid = errors.New("the application did not produce a valid API manifest")
	// ErrCheckNeedsAFile reports --check combined with stdout output, which has
	// nothing committed to compare against.
	ErrCheckNeedsAFile = errors.New("--check compares against a committed file, so it cannot be used with -o -")
)

Functions

func Command

func Command() *cobra.Command

Command returns the export-api cobra command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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