manifest

package
v0.0.0-...-73d1639 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MANIFEST_FILE_NAME = "manifest.yml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Name        string `yaml:"name"`
	DisplayName string `yaml:"displayName"`
	RepoUrl     string `yaml:"repoUrl"`
	Version     string `yaml:"version"`
	Description string `yaml:"description"`
	Publisher   string `yaml:"publisher"`
}

func GetManifestFromFile

func GetManifestFromFile(path string) (*Manifest, error)

func (*Manifest) BuildInfo

func (man *Manifest) BuildInfo() (string, error)

type ManifestHandler

type ManifestHandler interface {
	Init(path string) error
}

func GetManifestHandler

func GetManifestHandler() ManifestHandler

type ManifestHandlerImpl

type ManifestHandlerImpl struct{}

func (*ManifestHandlerImpl) Init

func (handler *ManifestHandlerImpl) Init(path string) error

Jump to

Keyboard shortcuts

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