Documentation ¶
Index ¶
- Constants
- func Abs(path string) (string, error)
- func Client(ctx context.Context, cmd *cli.Command) (engine.Client, error)
- func EmptyDir(path, name string) (string, error)
- func IsEmptyDir(path string) (bool, error)
- func MustClient(ctx context.Context, cmd *cli.Command) engine.Client
- func MustPort(ctx context.Context, cmd *cli.Command, name string) int
- func MustPortOrRandom(ctx context.Context, cmd *cli.Command, name string, preference int) int
- func MustRandomPort(ctx context.Context, cmd *cli.Command, preference int) int
- func Port(ctx context.Context, cmd *cli.Command, name string) int
- func PortFlag(name string) *cli.IntFlag
- func PortFlagName(name string) string
- func PortOrRandom(ctx context.Context, cmd *cli.Command, name string, preference int) (int, error)
- func RandomPort(ctx context.Context, cmd *cli.Command, preference int) (int, error)
Constants ¶
View Source
const ( DatabaseCategory = "DATABASE" MessagingCategory = "MESSAGING" PlatformCategory = "PLATFORM" StorageCategory = "STORAGE" UtilityCategory = "UTILILITY" TemplateCategory = "TEMPLATE" )
Variables ¶
This section is empty.
Functions ¶
func IsEmptyDir ¶
func MustClient ¶ added in v0.0.6
func MustPortOrRandom ¶
func MustRandomPort ¶
func PortFlagName ¶ added in v0.0.5
func PortOrRandom ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.