testutils

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const PAGE_01 = "PAGE_01"
View Source
const PAGE_02 = "PAGE_02"
View Source
const SITE_01 = "SITE_01"
View Source
const SITE_02 = "SITE_02"
View Source
const TEMPLATE_01 = "TEMPLATE_01"
View Source
const TEMPLATE_02 = "TEMPLATE_02"
View Source
const TRANSLATION_01 = "TRANSLATION_01"
View Source
const TRANSLATION_02 = "TRANSLATION_02"

Variables

This section is empty.

Functions

func InitStore

func InitStore(filepath string) (cmsstore.StoreInterface, error)

func SeedPage

func SeedPage(store cmsstore.StoreInterface, siteID string, pageID string) (cmsstore.PageInterface, error)

func SeedSite

func SeedSite(store cmsstore.StoreInterface, siteID string) (cmsstore.SiteInterface, error)

func SeedTemplate

func SeedTemplate(store cmsstore.StoreInterface, siteID string, templateID string) (cmsstore.TemplateInterface, error)

func SeedTranslation added in v1.15.0

func SeedTranslation(store cmsstore.StoreInterface, siteID string, translationID string) (cmsstore.TranslationInterface, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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