Documentation ¶
Index ¶
- func ArrayMap[T, U any](data []T, f func(T) U) []U
- func FormatCreatedTime(input string) string
- func FormatStatusTime(input string) string
- func GenerateIdFromName(name string) string
- func GetFirstWorkspaceProjectName(workspaceId string, projectName string, profile *config.Profile) (string, error)
- func GetGitContextFromUrl(name string) (*types.Repository, error)
- func GetRemoteOS(remote string) (*os.OperatingSystem, error)
- func GetSshPrivateKeyPath(privateKeyPath string) (string, *string, error)
- func GetValidatedUrl(input string) (string, error)
- func GetValidatedWorkspaceName(input string) (string, error)
- func ReadLog(ctx context.Context, filePath *string, follow bool, c chan []byte, ...)
- func WorkspaceMode() bool
- type DebugLogWriter
- type InfoLogWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCreatedTime ¶ added in v0.4.0
func FormatStatusTime ¶ added in v0.4.0
func GenerateIdFromName ¶
func GetGitContextFromUrl ¶
func GetGitContextFromUrl(name string) (*types.Repository, error)
func GetRemoteOS ¶ added in v0.3.0
func GetRemoteOS(remote string) (*os.OperatingSystem, error)
func GetSshPrivateKeyPath ¶
GetSshPrivateKeyPath returns the path to the private key and the password if it's encrypted
func GetValidatedUrl ¶
func WorkspaceMode ¶
func WorkspaceMode() bool
Types ¶
type DebugLogWriter ¶
type DebugLogWriter struct{}
type InfoLogWriter ¶
type InfoLogWriter struct{}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.