helpers

package
v0.19.1069 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateActionParams added in v0.19.894

type CreateActionParams struct {
	AppID  string
	OrgID  string
	Name   string
	Labels map[string]string
}

type Helpers

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

func New

func New(params Params) *Helpers

func (*Helpers) CreateAction added in v0.19.894

func (h *Helpers) CreateAction(ctx context.Context, params *CreateActionParams) (*app.ActionWorkflow, error)

func (*Helpers) EnsureInstallAction

func (h *Helpers) EnsureInstallAction(ctx context.Context, appID string, installIDs []string) error

func (*Helpers) GetActionWorkflowConfig

func (h *Helpers) GetActionWorkflowConfig(ctx context.Context, actionWorkflowID, appConfigId string) (*app.ActionWorkflowConfig, error)

func (*Helpers) GetActionWorkflowConfigByID

func (h *Helpers) GetActionWorkflowConfigByID(ctx context.Context, actionWorkflowConfigID string) (*app.ActionWorkflowConfig, error)

type Params

type Params struct {
	fx.In

	V   *validator.Validate
	Cfg *internal.Config
	DB  *gorm.DB `name:"psql"`
}

Jump to

Keyboard shortcuts

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