mixinprovider

package
v0.14.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem struct {
	*config.Config
}

func NewFileSystem

func NewFileSystem(config *config.Config) *FileSystem

func (*FileSystem) GetSchema

func (p *FileSystem) GetSchema(m mixin.Metadata) (string, error)

func (*FileSystem) GetVersion

func (p *FileSystem) GetVersion(m mixin.Metadata) (string, error)

GetVersion is the obsolete form of retrieving mixin version, e.g. exec version, which returned an unstructured version string. It will be deprecated soon and is replaced by GetVersionMetadata.

func (*FileSystem) GetVersionMetadata

func (p *FileSystem) GetVersionMetadata(m mixin.Metadata) (*mixin.VersionInfo, error)

GetVersionMetadata is the new form of retrieving mixin version, e.g. exec version --output json, which returns a structured version string. It replaces GetVersion.

func (*FileSystem) Install

func (p *FileSystem) Install(opts mixin.InstallOptions) (*mixin.Metadata, error)

func (*FileSystem) InstallFromFeedURL

func (p *FileSystem) InstallFromFeedURL(opts mixin.InstallOptions) (*mixin.Metadata, error)

func (*FileSystem) InstallFromURL

func (p *FileSystem) InstallFromURL(opts mixin.InstallOptions) (*mixin.Metadata, error)

func (*FileSystem) List

func (p *FileSystem) List() ([]mixin.Metadata, error)

Jump to

Keyboard shortcuts

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