flycd

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 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 SkippedNotValid

func SkippedNotValid(cause error) error

func TraverseDeepAppTree added in v0.0.17

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

Types

type DeployService added in v0.0.22

type DeployService interface {
	DeployAll(
		ctx context.Context,
		path string,
		deployCfg model.DeployConfig,
	) (model.DeployResult, error)

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

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

DeployService We have multiple consumers of this interface from day 1, so it's prob ok to declare it here

func NewDeployService added in v0.0.22

func NewDeployService() DeployService

type DeployServiceImpl added in v0.0.22

type DeployServiceImpl struct{}

func (DeployServiceImpl) DeployAll added in v0.0.22

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

func (DeployServiceImpl) DeployAppFromFolder added in v0.0.22

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

func (DeployServiceImpl) DeployAppFromInlineConfig added in v0.0.22

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

type WebHookService added in v0.0.22

type WebHookService interface {
	HandleGithubWebhook(payload github.PushWebhookPayload, path string) <-chan error
}

func NewWebHookService added in v0.0.22

func NewWebHookService(ctx context.Context, deployService DeployService) WebHookService

type WebHookServiceImpl added in v0.0.22

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

func (WebHookServiceImpl) HandleGithubWebhook added in v0.0.22

func (w WebHookServiceImpl) HandleGithubWebhook(payload github.PushWebhookPayload, path string) <-chan error

Directories

Path Synopsis
util

Jump to

Keyboard shortcuts

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