vagrant

package
v0.0.0-...-495e01f Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 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

Jump to

Keyboard shortcuts

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