actions

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectAction

type ConnectAction struct {
	Config config.Interface
}

func (*ConnectAction) SshAgentAddPemKey

func (e *ConnectAction) SshAgentAddPemKey(pemFilepath string) error

func (*ConnectAction) Start

func (e *ConnectAction) Start(answerData map[string]interface{}, destHostname string, debugMode bool) error

type CreateAction

type CreateAction struct {
	Config config.Interface
}

func (*CreateAction) Query

func (e *CreateAction) Query(questions map[string]config.Question, answerData map[string]interface{}) (map[string]interface{}, error)

func (*CreateAction) Start

func (e *CreateAction) Start(cliAnswerData map[string]interface{}, dryRun bool) error

func (*CreateAction) WriteAnswersFile added in v1.0.7

func (e *CreateAction) WriteAnswersFile(baseName string, answerData map[string]interface{}, dryRun bool) error

type DeleteAction added in v1.0.5

type DeleteAction struct {
	Config config.Interface
}

func (*DeleteAction) All added in v1.0.5

func (e *DeleteAction) All(answerDataList []map[string]interface{}, force bool) error

func (*DeleteAction) One added in v1.0.5

func (e *DeleteAction) One(answerData map[string]interface{}, force bool) error

type DownloadAction added in v1.0.5

type DownloadAction struct {
	ConnectAction
	Config config.Interface
}

func (*DownloadAction) Start added in v1.0.5

func (e *DownloadAction) Start(answerData map[string]interface{}, destHostname string, remoteFilePath string, localFilePath string) error

type GithubReleaseInfo added in v1.0.5

type GithubReleaseInfo struct {
	TagName         string    `json:"tag_name"`
	PublishedAt     time.Time `json:"published_at"`
	ReleaseNotesUrl string    `json:"html_url"`
	Assets          []struct {
		Url  string `json:"browser_download_url"`
		Name string `json:"name"`
	} `json:"assets"`
}

type ProxyAction added in v1.0.8

type ProxyAction struct {
	Config config.Interface
}

func (*ProxyAction) Start added in v1.0.8

func (e *ProxyAction) Start(answerDataList []map[string]interface{}, dryRun bool) error

Jump to

Keyboard shortcuts

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