actions

package
v0.1.143 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 57 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

	// Function App Options.
	FunctionRuntime    string
	FunctionEntrypoint string
}

func (*AppAddOptions) Validate added in v0.1.7

func (o *AppAddOptions) Validate() error

type AppManager added in v0.1.109

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

func NewAppManager added in v0.1.109

func NewAppManager(log logger.Logger, cfg *config.Project) *AppManager

func (*AppManager) Add added in v0.1.109

func (m *AppManager) Add(ctx context.Context, opts *AppAddOptions) error

func (*AppManager) List added in v0.1.109

func (m *AppManager) List(ctx context.Context) error

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 {
	BuildCacheDir   string
	Verify          bool
	Destroy         bool
	SkipBuild       bool
	SkipPull        bool
	Lock            bool
	LockWait        time.Duration
	AutoApprove     bool
	ForceApprove    bool
	MergeMode       bool
	Targets, Skips  *util.TargetMatcher
	SkipAllApps     bool
	SkipDNS         bool
	SkipMonitoring  bool
	SkipDiff        bool
	SkipApply       bool
	SkipStateCreate bool
}

type ErrExit added in v0.1.131

type ErrExit struct {
	StatusCode int
	Message    string
}

func (*ErrExit) Error added in v0.1.131

func (e *ErrExit) Error() string

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
	DNSPlugin         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 Logs added in v0.1.105

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

func NewLogs added in v0.1.105

func NewLogs(cfg *config.Project, opts *LogsOptions) *Logs

func (*Logs) Run added in v0.1.105

func (l *Logs) Run(ctx context.Context) error

type LogsOptions added in v0.1.105

type LogsOptions struct {
	Start                 time.Time
	End                   time.Time
	Targets               *util.TargetMatcher
	Contains, NotContains []string
	Filter                string
	Severity              apiv1.LogSeverity
	OnlyApps              bool
	Follow                bool
}

type PluginManager added in v0.1.109

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

func NewPluginManager added in v0.1.109

func NewPluginManager(log logger.Logger, cfg *config.Project, loader *plugins.Loader, hostAddr string) *PluginManager

func (*PluginManager) Add added in v0.1.111

func (*PluginManager) Delete added in v0.1.111

func (m *PluginManager) Delete(ctx context.Context, name string) error

func (*PluginManager) List added in v0.1.109

func (m *PluginManager) List(ctx context.Context) error

func (*PluginManager) Update added in v0.1.109

func (m *PluginManager) Update(ctx context.Context, updateForce bool) error

type PluginManagerAddOptions added in v0.1.111

type PluginManagerAddOptions struct {
	Source  string
	Version string
}

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
	Targets, Skips *util.TargetMatcher
}

type SecretsManager added in v0.1.109

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

func NewSecretsManager added in v0.1.109

func NewSecretsManager(log logger.Logger, cfg *config.Project) *SecretsManager

func (*SecretsManager) Delete added in v0.1.109

func (m *SecretsManager) Delete(ctx context.Context, key string) error

func (*SecretsManager) Destroy added in v0.1.111

func (m *SecretsManager) Destroy(ctx context.Context, force bool) error

func (*SecretsManager) Edit added in v0.1.109

func (m *SecretsManager) Edit(ctx context.Context) error

func (*SecretsManager) Get added in v0.1.109

func (m *SecretsManager) Get(ctx context.Context, key string) error

func (*SecretsManager) Import added in v0.1.109

func (m *SecretsManager) Import(ctx context.Context, f string) error

func (*SecretsManager) Set added in v0.1.109

func (m *SecretsManager) Set(ctx context.Context, key, value string) error

func (*SecretsManager) View added in v0.1.109

func (m *SecretsManager) View(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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