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

Method Set

coderd/schedule/mock.go:26–32  ·  view source on GitHub ↗
(ctx context.Context, db database.Store, template database.Template, options TemplateScheduleOptions)

Source from the content-addressed store, hash-verified

24}
25
26func (m MockTemplateScheduleStore) Set(ctx context.Context, db database.Store, template database.Template, options TemplateScheduleOptions) (database.Template, error) {
27 if m.SetFn != nil {
28 return m.SetFn(ctx, db, template, options)
29 }
30
31 return NewAGPLTemplateScheduleStore().Set(ctx, db, template, options)
32}
33
34type MockUserQuietHoursScheduleStore struct {
35 GetFn func(ctx context.Context, db database.Store, userID uuid.UUID) (UserQuietHoursScheduleOptions, error)

Callers

nothing calls this directly

Calls 2

SetMethod · 0.65

Tested by

no test coverage detected