app

package
v1.0.0-beta.187 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPostgresHost = "127.0.0.1"
)
View Source
const (
	PostgresURLTemplate = "postgres://postgres:postgres@%s:5432/postgres?sslmode=disable"
)

Variables

Functions

This section is empty.

Types

type AppHandlerTestSuite

type AppHandlerTestSuite struct {
	Env TestEnv
	// contains filtered or unexported fields
}

func (*AppHandlerTestSuite) TestGetMarketplaceListing

func (s *AppHandlerTestSuite) TestGetMarketplaceListing(ctx context.Context, t *testing.T)

TestGet tests the getting of a app by ID

func (*AppHandlerTestSuite) TestListMarketplaceListings

func (s *AppHandlerTestSuite) TestListMarketplaceListings(ctx context.Context, t *testing.T)

TestList tests the listing of apps

type TestEnv

type TestEnv interface {
	Adapter() app.Adapter
	App() app.Service

	Close() error
}

func NewTestEnv

func NewTestEnv(t *testing.T, ctx context.Context) (TestEnv, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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