Documentation ¶
Index ¶
- func CreateContainerName(serviceContainerName string, dockerNetwork string) string
- func CreateDirectory(dir string) error
- func GetSocket(path, appID, protocol string) string
- func IsAddressLegal(address string) bool
- func IsDaprListeningOnPort(port int, timeout time.Duration) error
- func IsDaprListeningOnSocket(socket string, timeout time.Duration) error
- func IsDockerInstalled() bool
- func MarshalAndWriteTable(writer io.Writer, in interface{}) error
- func PrintDetail(writer io.Writer, outputFormat string, list interface{}) error
- func PrintTable(csvContent string)
- func RunCmdAndWait(name string, args ...string) (string, error)
- func TruncateString(str string, maxLength int) string
- func WriteTable(writer io.Writer, csvContent string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContainerName ¶ added in v0.2.0
func CreateDirectory ¶ added in v0.3.0
func IsAddressLegal ¶ added in v1.4.0
func IsDaprListeningOnPort ¶ added in v0.11.0
IsDaprListeningOnPort checks if Dapr is litening to a given port.
func IsDaprListeningOnSocket ¶ added in v1.5.0
func IsDockerInstalled ¶ added in v0.8.0
func IsDockerInstalled() bool
IsDockerInstalled checks whether docker is installed/running.
func MarshalAndWriteTable ¶ added in v1.0.0
func PrintDetail ¶ added in v1.0.0
func TruncateString ¶
func WriteTable ¶ added in v1.0.0
WriteTable writes the csv table to writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.