MCPcopy Index your code
hub / github.com/rilldata/rill / New

Function New

admin/testadmin/testadmin.go:76–78  ·  view source on GitHub ↗

New creates an ephemeral admin service and server for testing. See the docstring for the returned Fixture for details.

(t *testing.T)

Source from the content-addressed store, hash-verified

74// New creates an ephemeral admin service and server for testing.
75// See the docstring for the returned Fixture for details.
76func New(t *testing.T) *Fixture {
77 return NewWithOptionalRuntime(t, false)
78}
79
80func NewWithOptionalRuntime(t *testing.T, startRt bool) *Fixture {
81 ctx := t.Context()

Callers 10

TestManagedDeployFunction · 0.92
TestGithubDeployFunction · 0.92
TestOrgFunction · 0.92
TestTokenFunction · 0.92
TestRBACFunction · 0.92
TestProjectVariablesFunction · 0.92
TestRBACOldFunction · 0.92
TestUserFunction · 0.92
TestListRolesFunction · 0.92

Calls 1

NewWithOptionalRuntimeFunction · 0.85

Tested by 10

TestManagedDeployFunction · 0.74
TestGithubDeployFunction · 0.74
TestOrgFunction · 0.74
TestTokenFunction · 0.74
TestRBACFunction · 0.74
TestProjectVariablesFunction · 0.74
TestRBACOldFunction · 0.74
TestUserFunction · 0.74
TestListRolesFunction · 0.74