vagrant

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 6 Imported by: 2

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

Jump to

Keyboard shortcuts

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