Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CrunchyData/postgres-operator
/ Value
Function
Value
internal/testing/require/errors.go:39–44 ·
view source on GitHub ↗
Value returns v or panics when err is not nil.
(v T, err error)
Source
from the content-addressed store, hash-verified
37
38
// Value returns v or panics when err is not nil.
39
func
Value[T any](v T, err error) T {
40
if
err != nil {
41
panic(err)
42
}
43
return
v
44
}
Callers
12
TestReconcileCloudBasedDataSource
Function · 0.92
TestAdditionalVolumes
Function · 0.92
TestPGAdminDataVolume
Function · 0.92
TestPostgresConfigParametersV1beta1
Function · 0.92
TestPostgresConfigParametersV1
Function · 0.92
testPostgresConfigParametersCommon
Function · 0.92
TestPostgresUserOptionsV1beta1
Function · 0.92
TestPostgresUserOptionsV1
Function · 0.92
testPostgresUserOptionsCommon
Function · 0.92
TestPostgresAuthenticationV1beta1
Function · 0.92
TestPostgresAuthenticationV1
Function · 0.92
kubernetes3
Function · 0.85
Calls
no outgoing calls
Tested by
11
TestReconcileCloudBasedDataSource
Function · 0.74
TestAdditionalVolumes
Function · 0.74
TestPGAdminDataVolume
Function · 0.74
TestPostgresConfigParametersV1beta1
Function · 0.74
TestPostgresConfigParametersV1
Function · 0.74
testPostgresConfigParametersCommon
Function · 0.74
TestPostgresUserOptionsV1beta1
Function · 0.74
TestPostgresUserOptionsV1
Function · 0.74
testPostgresUserOptionsCommon
Function · 0.74
TestPostgresAuthenticationV1beta1
Function · 0.74
TestPostgresAuthenticationV1
Function · 0.74