app

package
v0.2.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DatabaseCategory  = "DATABASE"
	MessagingCategory = "MESSAGING"
	PlatformCategory  = "PLATFORM"
	StorageCategory   = "STORAGE"
	UtilityCategory   = "UTILILITY"
	TemplateCategory  = "TEMPLATE"
)

Variables

This section is empty.

Functions

func Abs

func Abs(path string) (string, error)

func Client added in v0.0.6

func Client(ctx context.Context, cmd *cli.Command) (engine.Client, error)

func EmptyDir

func EmptyDir(path, name string) (string, error)

func IsEmptyDir

func IsEmptyDir(path string) (bool, error)

func MustClient added in v0.0.6

func MustClient(ctx context.Context, cmd *cli.Command) engine.Client

func MustPort

func MustPort(ctx context.Context, cmd *cli.Command, name string) int

func MustPortOrRandom

func MustPortOrRandom(ctx context.Context, cmd *cli.Command, name string, preference int) int

func MustRandomPort

func MustRandomPort(ctx context.Context, cmd *cli.Command, preference int) int

func Port

func Port(ctx context.Context, cmd *cli.Command, name string) int

func PortFlag

func PortFlag(name string) *cli.IntFlag

func PortFlagName added in v0.0.5

func PortFlagName(name string) string

func PortOrRandom

func PortOrRandom(ctx context.Context, cmd *cli.Command, name string, preference int) (int, error)

func RandomPort

func RandomPort(ctx context.Context, cmd *cli.Command, preference int) (int, error)

Types

This section is empty.

Directories

Path Synopsis
git

Jump to

Keyboard shortcuts

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