Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultFeedUrl = "https://cdn.deislabs.io/porter/atom.xml"
)
View Source
const FileExt = ""
Variables ¶
This section is empty.
Functions ¶
func IsCoreMixinCommand ¶
Types ¶
type InstallOptions ¶
type InstallOptions struct { Name string URL string FeedURL string Version string // contains filtered or unexported fields }
func (*InstallOptions) GetParsedFeedURL ¶
func (o *InstallOptions) GetParsedFeedURL() url.URL
func (*InstallOptions) GetParsedURL ¶
func (o *InstallOptions) GetParsedURL() url.URL
GetParsedURL returns a copy of of the parsed URL that is safe to modify.
func (*InstallOptions) Validate ¶
func (o *InstallOptions) Validate(args []string) error
type Metadata ¶
type Metadata struct { // Mixin Name Name string `json:"name"` // Mixin Directory Dir string `json:"dir,omitempty"` // Path to the client executable ClientPath string `json:"clientPath,omitempty"` // Metadata about the mixin version returned from calling version on the mixin VersionInfo }
Metadata about an installed mixin.
type Runner ¶
type TestRunner ¶
type TestRunner struct { *Runner TestContext *context.TestContext }
func NewTestRunner ¶
func NewTestRunner(t *testing.T, mixin string, runtime bool) *TestRunner
NewTestRunner initializes a mixin test runner, with the output buffered, and an in-memory file system.
type VersionInfo ¶
type VersionInfo struct { Version string `json:"version"` Commit string `json:"commit"` Author string `json:"author,omitempty"` }
Information from running the version command against the mixin.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.