Documentation ¶
Index ¶
- Variables
- func CalculateDigest(data any) (string, error)
- func DriveLetterPort(letter rune) (string, error)
- func GenerateKeyPair(bitSize int) ([]byte, []byte, error)
- func GeneratePublicKeyFromPrivateKey(encodedPrivateKey []byte) ([]byte, error)
- func GetTaskLogPath(upid string) string
- func GlobToRegex(glob string) (string, error)
- func IsValid(path string) bool
- func IsValidNamespace(namespace string) bool
- func IsValidPathString(path string) bool
- func IsValidPattern(pattern string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseTransport = &http.Transport{ MaxIdleConns: 200, MaxIdleConnsPerHost: 20, IdleConnTimeout: 15 * time.Second, DisableKeepAlives: false, DialContext: (&net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, }).DialContext, TLSHandshakeTimeout: 10 * time.Second, TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, ExpectContinueTimeout: 1 * time.Second, }
Functions ¶
func CalculateDigest ¶
func DriveLetterPort ¶
func GeneratePublicKeyFromPrivateKey ¶ added in v0.3.2
func GetTaskLogPath ¶ added in v0.4.2
func GlobToRegex ¶ added in v0.4.0
GlobToRegex converts a glob pattern to a regex-compatible string.
func IsValidNamespace ¶ added in v0.4.0
func IsValidPathString ¶ added in v0.4.0
func IsValidPattern ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.