internal

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

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

func AssertEmpty(t *testing.T, values ...any)

PR created on gotest.tools https://github.com/gotestyourself/gotest.tools/pull/251

func NewProjectCopy

func NewProjectCopy() (project.Project, func(), error)

func NewProjectEmpty

func NewProjectEmpty() (project.Project, error)

func NewProjectReadOnly

func NewProjectReadOnly() (project.Project, error)

func NewProjectSystemFS

func NewProjectSystemFS() (project.Project, error)

If edits are made here it will change the test config

func NewSeer

func NewSeer() (*seer.Seer, error)

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)
}

Jump to

Keyboard shortcuts

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