template

package
v0.0.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(templateStore store.TemplateStore, appCtrl *application.Controller, schemaSvc *schema.Service, triggerer triggerer.Triggerer) *Controller

func ProvideController

func ProvideController(templateStore store.TemplateStore, appCtrl *application.Controller, schemaSvc *schema.Service, triggerer triggerer.Triggerer) *Controller

func (*Controller) Create

func (c *Controller) Create(
	ctx context.Context,
	session *auth.Session,
	tenant *types.Tenant,
	project *types.Project,
	env *types.Environment,
	template *types.Template,
) error

func (*Controller) FindByID

func (c *Controller) FindByID(ctx context.Context, id int64) (*types.Template, error)

func (*Controller) Init

func (c *Controller) Init(ctx context.Context) error

func (*Controller) List

func (c *Controller) List(ctx context.Context) ([]*types.Template, error)

func (*Controller) ListDatabase

func (c *Controller) ListDatabase(ctx context.Context) ([]*types.Template, error)

Jump to

Keyboard shortcuts

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