manifest

package
v0.0.0-...-97ed522 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package manifest provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version 2.4.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ecosystem

func Ecosystem(manifest Manifest) ecosystem.Ecosystem

func Existing

func Existing(paths []string) (map[Manifest][]string, map[Manifest][]error)

Existing splits the given maths into two maps: one containing the supported and existing manifests, the other containing the remainings.

func Map

func Map(paths []string) map[Manifest][]string

Map maps the given paths to the supported manifests.

Types

type Manifest

type Manifest string

Manifest defines model for Manifest.

const (
	None        Manifest = ""
	PackageJSON Manifest = "package.json"
)

Defines values for Manifest.

func FromPath

func FromPath(path string) (Manifest, error)

func FromString

func FromString(input string) (Manifest, error)

func (Manifest) String

func (s Manifest) String() string

Jump to

Keyboard shortcuts

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