Documentation
¶
Index ¶
- Variables
- func SkippedNotValid(cause error) error
- func TraverseDeepAppTree(ctx context.Context, path string, opts model.TraverseAppTreeOptions) error
- type DeployService
- type DeployServiceImpl
- func (d DeployServiceImpl) DeployAll(ctx context.Context, path string, deployCfg model.DeployConfig) (model.DeployResult, error)
- func (d DeployServiceImpl) DeployAppFromFolder(ctx context.Context, path string, deployCfg model.DeployConfig) (model.SingleAppDeploySuccessType, error)
- func (d DeployServiceImpl) DeployAppFromInlineConfig(ctx context.Context, deployCfg model.DeployConfig, cfg model.AppConfig) (model.SingleAppDeploySuccessType, error)
- type WebHookService
- type WebHookServiceImpl
Constants ¶
This section is empty.
Variables ¶
View Source
var SkippedAbortedEarlier = fmt.Errorf("skipped: job aborted earlier")
Functions ¶
func SkippedNotValid ¶
func TraverseDeepAppTree ¶ added in v0.0.17
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
Click to show internal directories.
Click to hide internal directories.