MCPcopy Index your code
hub / github.com/coder/coder / defaultIPAddress

Function defaultIPAddress

coderd/database/dbauthz/dbauthz_test.go:313–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311}
312
313func defaultIPAddress() pqtype.Inet {
314 return pqtype.Inet{
315 IPNet: net.IPNet{
316 IP: net.IPv4(127, 0, 0, 1),
317 Mask: net.IPv4Mask(255, 255, 255, 255),
318 },
319 Valid: true,
320 }
321}
322
323func (s *MethodTestSuite) TestAPIKey() {
324 s.Run("DeleteAPIKeyByID", s.Mocked(func(dbm *dbmock.MockStore, faker *gofakeit.Faker, check *expects) {

Callers 1

TestAPIKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected