MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / newOptions

Function newOptions

app/controlplane/pkg/data/ent/enttest/enttest.go:47–53  ·  view source on GitHub ↗
(opts []Option)

Source from the content-addressed store, hash-verified

45}
46
47func newOptions(opts []Option) *options {
48 o := &options{}
49 for _, opt := range opts {
50 opt(o)
51 }
52 return o
53}
54
55// Open calls ent.Open and auto-run migration.
56func Open(t TestingT, driverName, dataSourceName string, opts ...Option) *ent.Client {

Callers 2

OpenFunction · 0.85
NewClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected