deploy

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(opts *DeployOpts) error

Types

type DeployOpts

type DeployOpts struct {
	DeployablePath      string     `yaml:"input"`
	ExecutableName      *string    `yaml:"execName,omitempty"`
	RemoteExecutableDir *string    `yaml:"remoteDir,omitempty"`
	ServiceName         *string    `yaml:"service,omitempty"`
	DeleteArtifact      bool       `yaml:"delete,omitempty"`
	SshOpts             []*SshOpts `yaml:"ssh,omitempty"`
}

type SshOpts

type SshOpts struct {
	SshProfile *string `yaml:"profile,omitempty"`
	Host       *string `yaml:"host,omitempty"`
	Port       *string `yaml:"port,omitempty"`
	PrivateKey *string `yaml:"privateKey,omitempty"`
	User       *string `yaml:"user,omitempty"`
}

func (*SshOpts) Build

func (r *SshOpts) Build() *SshOpts

Jump to

Keyboard shortcuts

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