Documentation ¶
Index ¶
- type FileSystem
- func (p *FileSystem) GetSchema(m mixin.Metadata) (string, error)
- func (p *FileSystem) GetVersion(m mixin.Metadata) (string, error)
- func (p *FileSystem) GetVersionMetadata(m mixin.Metadata) (*mixin.VersionInfo, error)
- func (p *FileSystem) Install(opts mixin.InstallOptions) (*mixin.Metadata, error)
- func (p *FileSystem) InstallFromFeedURL(opts mixin.InstallOptions) (*mixin.Metadata, error)
- func (p *FileSystem) InstallFromURL(opts mixin.InstallOptions) (*mixin.Metadata, error)
- func (p *FileSystem) List() ([]mixin.Metadata, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
func NewFileSystem ¶
func NewFileSystem(config *config.Config) *FileSystem
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)
Click to show internal directories.
Click to hide internal directories.