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

vagrant

package
v3.1.61 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PropertyProvider = "vagrant.provider"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Author        string `json:"author,omitempty"`
	Description   string `json:"description,omitempty"`
	ProjectURL    string `json:"project_url,omitempty"`
	RepositoryURL string `json:"repository_url,omitempty"`
}

Metadata represents the metadata of a Vagrant package

func ParseInfoFile

func ParseInfoFile(r io.Reader) (*Metadata, error)

ParseInfoFile parses a info.json file to retrieve the metadata of a Vagrant package

func ParseMetadataFromBox

func ParseMetadataFromBox(r io.Reader) (*Metadata, error)

ParseMetadataFromBox parses the metadata of a box file

Source Files

  • metadata.go

Jump to

Keyboard shortcuts

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