Documentation ¶
Index ¶
- Variables
- func AssertEmpty(t *testing.T, values ...any)
- func NewProjectCopy() (project.Project, func(), error)
- func NewProjectEmpty() (project.Project, error)
- func NewProjectReadOnly() (project.Project, error)
- func NewProjectSystemFS() (project.Project, error)
- func NewSeer() (*seer.Seer, error)
- type Prettier
- type PrettierFetchMethod
- type PrettierStringMethod
- type PrettierStringSliceMethod
- type Setter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed config/databases/test_database1.yaml Database1 []byte //go:embed config/applications/test_app1/databases/test_database2.yaml Database2 []byte )
Database
View Source
var ( //go:embed config/domains/test_domain1.yaml Domain1 []byte //go:embed config/applications/test_app1/domains/test_domain2.yaml Domain2 []byte )
Domain
View Source
var ( //go:embed config/functions/test_function1.yaml Function1 []byte //go:embed config/applications/test_app1/functions/test_function2.yaml Function2 []byte //go:embed config/applications/test_app2/functions/test_function3.yaml Function3 []byte )
Function
View Source
var ( //go:embed config/libraries/test_library1.yaml Library1 []byte //go:embed config/applications/test_app1/libraries/test_library2.yaml Library2 []byte )
Library
View Source
var ( //go:embed config/messaging/test_messaging1.yaml Messaging1 []byte //go:embed config/applications/test_app1/messaging/test_messaging2.yaml Messaging2 []byte )
Messaging
View Source
var ( //go:embed config/services/test_service1.yaml Service1 []byte //go:embed config/applications/test_app1/services/test_service2.yaml Service2 []byte )
Service
View Source
var ( //go:embed config/smartops/test_smartops1.yaml SmartOp1 []byte //go:embed config/applications/test_app1/smartops/test_smartops2.yaml SmartOp2 []byte )
SmartOp
View Source
var ( //go:embed config/storages/test_storage1.yaml Storage1 []byte //go:embed config/applications/test_app1/storages/test_storage2.yaml Storage2 []byte )
Storage
View Source
var ( //go:embed config/websites/test_website1.yaml Website1 []byte //go:embed config/applications/test_app1/websites/test_website2.yaml Website2 []byte )
Website
Functions ¶
func AssertEmpty ¶
PR created on gotest.tools https://github.com/gotestyourself/gotest.tools/pull/251
func NewProjectCopy ¶
func NewProjectEmpty ¶
func NewProjectReadOnly ¶
func NewProjectSystemFS ¶
If edits are made here it will change the test config
Types ¶
type Prettier ¶
type Prettier interface { Fetch(path *commonSpec.TnsPath) (pretty.Object, error) Project() string Branches() []string Set() Setter }
func NewMockPrettier ¶
func NewMockPrettier() Prettier
Used for overriding calls to Prettier and testing error returns
type PrettierFetchMethod ¶
type PrettierFetchMethod func(path *commonSpec.TnsPath) (pretty.Object, error)
type PrettierStringMethod ¶
type PrettierStringMethod func() string
type PrettierStringSliceMethod ¶
type PrettierStringSliceMethod func() []string
type Setter ¶
type Setter interface { Fetch(PrettierFetchMethod) Project(PrettierStringMethod) Branches(PrettierStringSliceMethod) AssetCID(cid string) }
Click to show internal directories.
Click to hide internal directories.