flycd

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SkippedAbortedEarlier = fmt.Errorf("skipped: job aborted earlier")

Functions

func DeployAll

func DeployAll(
	ctx context.Context,
	path string,
	deployCfg model.DeployConfig,
) (model.DeployResult, error)

func DeployAppFromFolder added in v0.0.18

func DeployAppFromFolder(ctx context.Context, path string, deployCfg model.DeployConfig) (model.SingleAppDeploySuccessType, error)

func DeployAppFromInlineConfig

func DeployAppFromInlineConfig(ctx context.Context, deployCfg model.DeployConfig, cfg model.AppConfig) (model.SingleAppDeploySuccessType, error)

func HandleGithubWebhook

func HandleGithubWebhook(payload github.PushWebhookPayload, path string) error

func SkippedNotValid

func SkippedNotValid(cause error) error

func TraverseDeepAppTree added in v0.0.17

func TraverseDeepAppTree(
	ctx context.Context,
	path string,
	opts TraverseAppTreeOptions,
) error

Types

type TraverseAppTreeOptions added in v0.0.17

type TraverseAppTreeOptions struct {
	ValidAppCb       func(model.AppNode) error
	InvalidAppCb     func(model.AppNode) error
	ValidProjectCb   func(model.ProjectNode) error
	InvalidProjectCb func(model.ProjectNode) error
}

Directories

Path Synopsis
util

Jump to

Keyboard shortcuts

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