Documentation ¶
Index ¶
- Constants
- func DevstackEnvFile() string
- func DevstackGetShouldPrintInfo() bool
- func DevstackSetShouldPrintInfo()
- func DevstackShouldWriteEnvFile() bool
- func GetAPIHost() string
- func GetAPIPort() string
- func GetConfigPath() string
- func GetDownloadURLRequestRetries() int
- func GetDownloadURLRequestTimeout() time.Duration
- func GetEventTracerPath() string
- func GetLibp2pTracerPath() string
- func GetPrivateKey(keyName string) (crypto.PrivKey, error)
- func GetStoragePath() string
- func GetVolumeSizeRequestTimeout(ctx context.Context) time.Duration
- func SetVolumeSizeRequestTimeout(ctx context.Context, value time.Duration) context.Context
- func ShouldKeepStack() bool
Constants ¶
View Source
const BitsForKeyPair = 2048
Variables ¶
This section is empty.
Functions ¶
func DevstackEnvFile ¶
func DevstackEnvFile() string
func DevstackGetShouldPrintInfo ¶
func DevstackGetShouldPrintInfo() bool
func DevstackSetShouldPrintInfo ¶
func DevstackSetShouldPrintInfo()
func DevstackShouldWriteEnvFile ¶
func DevstackShouldWriteEnvFile() bool
func GetAPIHost ¶
func GetAPIHost() string
func GetAPIPort ¶
func GetAPIPort() string
func GetConfigPath ¶
func GetConfigPath() string
func GetDownloadURLRequestRetries ¶
func GetDownloadURLRequestRetries() int
how long do we wait for a URL to download
func GetDownloadURLRequestTimeout ¶
how long do we wait for a URL to download
func GetEventTracerPath ¶
func GetEventTracerPath() string
func GetLibp2pTracerPath ¶
func GetLibp2pTracerPath() string
func GetStoragePath ¶
func GetStoragePath() string
func GetVolumeSizeRequestTimeout ¶
how long do we wait for a volume size request to timeout if a non-existing cid is asked for - the dockerIPFS.IPFSClient.GetCidSize(ctx, volume.Cid) function will hang for a long time - so we wrap that call in a timeout for tests - we only want to wait for 2 seconds because everything is on a local network in prod - we want to wait longer because we might be running a job that is using non-local CIDs the tests are expected to call SetVolumeSizeRequestTimeout to reduce this timeout
func ShouldKeepStack ¶
func ShouldKeepStack() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.