Documentation ¶
Index ¶
- func ArrayMap[T, U any](data []T, f func(T) U) []U
- func FormatCreatedTime(input string) string
- func FormatUptime(uptime int32) string
- func GenerateIdFromName(name string) string
- func GetFrpcApiDomain(serverId, frpsDomain string) string
- func GetFrpcApiUrl(protocol, serverId, frpsDomain string) string
- func GetFrpcRegistryDomain(serverId, frpsDomain string) string
- func GetFrpcRegistryUrl(protocol, serverId, frpsDomain string) string
- func GetFrpcServerDomain(serverId, frpsDomain string) string
- func GetFrpcServerUrl(protocol, serverId, frpsDomain string) string
- func GetHomeDir(activeProfile config.Profile, workspaceId string, projectName string) (string, error)
- func GetProjectDir(activeProfile config.Profile, workspaceId string, projectName string) (string, error)
- func GetRemoteOS(remote string) (*os.OperatingSystem, error)
- func GetRepositorySlugFromUrl(url string, specifyGitProviders bool) string
- func GetSshPrivateKeyPath(privateKeyPath string) (string, *string, error)
- func GetValidatedUrl(input string) (string, error)
- func GetValidatedWorkspaceName(input string) (string, error)
- func ReadLog(ctx context.Context, logReader io.Reader, 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 FormatUptime ¶ added in v0.11.0
func GenerateIdFromName ¶
func GetFrpcApiDomain ¶ added in v0.11.0
func GetFrpcApiUrl ¶ added in v0.11.0
func GetFrpcRegistryDomain ¶ added in v0.17.0
func GetFrpcRegistryUrl ¶ added in v0.17.0
func GetFrpcServerDomain ¶ added in v0.11.0
func GetFrpcServerUrl ¶ added in v0.11.0
func GetHomeDir ¶ added in v0.13.0
func GetProjectDir ¶ added in v0.13.0
func GetRemoteOS ¶ added in v0.3.0
func GetRemoteOS(remote string) (*os.OperatingSystem, error)
func GetRepositorySlugFromUrl ¶ added in v0.15.0
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.