upload

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Self string
	Log  zerolog.Logger
	// contains filtered or unexported fields
}

Command represents the upload subcommand

func (*Command) Help

func (c *Command) Help() string

func (*Command) Run

func (c *Command) Run(args []string) int

Run the upload command

func (*Command) Synopsis

func (c *Command) Synopsis() string

type Options

type Options struct {
	Name            string `yaml:"name"`
	APIURL          string `yaml:"apiURL"`
	APISecret       string `yaml:"apiSecret"`
	APIKey          string `yaml:"apiKey"`
	HostIP          string `yaml:"hostIP"`
	TemplateFile    string `yaml:"templateFile"`
	OSType          string `yaml:"osType"`
	Zone            string `yaml:"zone"`
	Format          string `yaml:"format"`
	HyperVisor      string `yaml:"hypervisor"`
	DisplayText     string `yaml:"displayText"`
	IsPublic        bool   `yaml:"isPublic"`
	IsFeatured      bool   `yaml:"isFeatured"`
	PasswordEnabled bool   `yaml:"passwordEnabled"`
	IsDynamic       bool   `yaml:"isDynamic"`
	IsExtractable   bool   `yaml:"isExtractable"`
	IsRouting       bool   `yaml:"isRouting"`
	RequiresHVM     bool   `yaml:"requiresHVM"`
	SSHKeyEnabled   bool   `yaml:"sshKeyEnabled"`
	ProjectID       string `yaml:"projectID"`
	TemplateTag     string `yaml:"templateTag"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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