actions

package
v0.1.88 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 52 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppAdd added in v0.1.7

type AppAdd struct {
	// contains filtered or unexported fields
}

func NewAppAdd added in v0.1.7

func NewAppAdd(log logger.Logger, cfg *config.Project, opts *AppAddOptions) *AppAdd

func (*AppAdd) Run added in v0.1.7

func (d *AppAdd) Run(ctx context.Context) error

type AppAddOptions added in v0.1.7

type AppAddOptions struct {
	Overwrite bool

	OutputDir    string
	Name         string
	Dir          string
	Type         string
	URL          string
	RunCommand   string
	RunPlugin    string
	DeployPlugin string

	// Static App Options.
	StaticBuildCommand string
	StaticBuildDir     string
	StaticRouting      string
}

func (*AppAddOptions) Validate added in v0.1.7

func (o *AppAddOptions) Validate() error

type AppList added in v0.1.7

type AppList struct {
	// contains filtered or unexported fields
}

func NewAppList added in v0.1.7

func NewAppList(log logger.Logger, cfg *config.Project, opts *AppListOptions) *AppList

func (*AppList) Run added in v0.1.7

func (d *AppList) Run(ctx context.Context) error

type AppListOptions added in v0.1.7

type AppListOptions struct{}

type Command added in v0.1.56

type Command struct {
	// contains filtered or unexported fields
}

func NewCommand added in v0.1.56

func NewCommand(log logger.Logger, cfg *config.Project, opts *CommandOptions) *Command

func (*Command) Run added in v0.1.56

func (c *Command) Run(ctx context.Context) error

type CommandOptions added in v0.1.56

type CommandOptions struct {
	Name       string
	Plugin     *plugins.Plugin
	InputTypes []plugins.CommandInputType
	Args       *apiv1.CommandArgs
}

type Deploy

type Deploy struct {
	// contains filtered or unexported fields
}

func NewDeploy

func NewDeploy(log logger.Logger, cfg *config.Project, opts *DeployOptions) *Deploy

func (*Deploy) Run

func (d *Deploy) Run(ctx context.Context) error

type DeployOptions

type DeployOptions struct {
	Verify               bool
	Destroy              bool
	SkipBuild            bool
	Lock                 bool
	LockWait             time.Duration
	AutoApprove          bool
	ForceApprove         bool
	MergeMode            bool
	TargetApps, SkipApps []string
	SkipAllApps          bool
	SkipDNS              bool
	SkipDiff             bool
	SkipApply            bool
}

type ForceUnlock

type ForceUnlock struct {
	// contains filtered or unexported fields
}

func NewForceUnlock

func NewForceUnlock(log logger.Logger, cfg *config.Project) *ForceUnlock

func (*ForceUnlock) Run

func (f *ForceUnlock) Run(ctx context.Context, lockinfo string) error

type Init added in v0.1.5

type Init struct {
	// contains filtered or unexported fields
}

func NewInit added in v0.1.5

func NewInit(log logger.Logger, pluginCacheDir, hostAddr string, opts *InitOptions) *Init

func (*Init) Run added in v0.1.5

func (d *Init) Run(ctx context.Context) error

type InitOptions added in v0.1.5

type InitOptions struct {
	Overwrite bool
	Path      string

	Name              string
	DeployPlugin      string
	RunPlugin         string
	DNSDomain         string
	Template          string
	TemplateValueOpts *values.Options

	GCP struct {
		Project string
		Region  string
	}
	// contains filtered or unexported fields
}

func (*InitOptions) Validate added in v0.1.7

func (o *InitOptions) Validate() error

type PluginList added in v0.1.2

type PluginList struct {
	// contains filtered or unexported fields
}

func NewPluginList added in v0.1.2

func NewPluginList(log logger.Logger, cfg *config.Project, loader *plugins.Loader) *PluginList

func (*PluginList) Run added in v0.1.2

func (d *PluginList) Run(ctx context.Context) error

type PluginUpdate added in v0.1.2

type PluginUpdate struct {
	// contains filtered or unexported fields
}

func NewPluginUpdate added in v0.1.2

func NewPluginUpdate(log logger.Logger, cfg *config.Project, loader *plugins.Loader) *PluginUpdate

func (*PluginUpdate) Run added in v0.1.2

func (d *PluginUpdate) Run(ctx context.Context) error

type Run added in v0.1.11

type Run struct {
	// contains filtered or unexported fields
}

func NewRun added in v0.1.11

func NewRun(log logger.Logger, cfg *config.Project, opts *RunOptions) *Run

func (*Run) AddHosts added in v0.1.11

func (d *Run) AddHosts(hosts ...string) error

func (*Run) Run added in v0.1.11

func (d *Run) Run(ctx context.Context) error

type RunOptions added in v0.1.11

type RunOptions struct {
	Direct       bool
	ListenIP     string
	ListenPort   int
	HostsSuffix  string
	HostsRouting bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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