Documentation
¶
Index ¶
- type Resolver
- func (r *Resolver) BusinessCase() generated.BusinessCaseResolver
- func (r *Resolver) CedarBudgetSystemCost() generated.CedarBudgetSystemCostResolver
- func (r *Resolver) CedarSoftwareProducts() generated.CedarSoftwareProductsResolver
- func (r *Resolver) CedarSystem() generated.CedarSystemResolver
- func (r *Resolver) CedarSystemDetails() generated.CedarSystemDetailsResolver
- func (r *Resolver) GovernanceRequestFeedback() generated.GovernanceRequestFeedbackResolver
- func (r *Resolver) ITGovTaskStatuses() generated.ITGovTaskStatusesResolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) SystemIntake() generated.SystemIntakeResolver
- func (r *Resolver) SystemIntakeDocument() generated.SystemIntakeDocumentResolver
- func (r *Resolver) SystemIntakeGRBReviewer() generated.SystemIntakeGRBReviewerResolver
- func (r *Resolver) SystemIntakeNote() generated.SystemIntakeNoteResolver
- func (r *Resolver) TRBAdminNote() generated.TRBAdminNoteResolver
- func (r *Resolver) TRBAdviceLetter() generated.TRBAdviceLetterResolver
- func (r *Resolver) TRBAdviceLetterRecommendation() generated.TRBAdviceLetterRecommendationResolver
- func (r *Resolver) TRBRequest() generated.TRBRequestResolver
- func (r *Resolver) TRBRequestAttendee() generated.TRBRequestAttendeeResolver
- func (r *Resolver) TRBRequestDocument() generated.TRBRequestDocumentResolver
- func (r *Resolver) TRBRequestFeedback() generated.TRBRequestFeedbackResolver
- func (r *Resolver) TRBRequestForm() generated.TRBRequestFormResolver
- func (r *Resolver) UserInfo() generated.UserInfoResolver
- type ResolverService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is a resolver.
func NewResolver ¶
func NewResolver( store *storage.Store, service ResolverService, s3Client *upload.S3Client, emailClient *email.Client, ldClient *ldclient.LDClient, cedarCoreClient *cedarcore.Client, ) *Resolver
NewResolver constructs a resolver
func (*Resolver) BusinessCase ¶
func (r *Resolver) BusinessCase() generated.BusinessCaseResolver
BusinessCase returns generated.BusinessCaseResolver implementation.
func (*Resolver) CedarBudgetSystemCost ¶
func (r *Resolver) CedarBudgetSystemCost() generated.CedarBudgetSystemCostResolver
CedarBudgetSystemCost returns generated.CedarBudgetSystemCostResolver implementation.
func (*Resolver) CedarSoftwareProducts ¶
func (r *Resolver) CedarSoftwareProducts() generated.CedarSoftwareProductsResolver
CedarSoftwareProducts returns generated.CedarSoftwareProductsResolver implementation.
func (*Resolver) CedarSystem ¶
func (r *Resolver) CedarSystem() generated.CedarSystemResolver
CedarSystem returns generated.CedarSystemResolver implementation.
func (*Resolver) CedarSystemDetails ¶
func (r *Resolver) CedarSystemDetails() generated.CedarSystemDetailsResolver
CedarSystemDetails returns generated.CedarSystemDetailsResolver implementation.
func (*Resolver) GovernanceRequestFeedback ¶
func (r *Resolver) GovernanceRequestFeedback() generated.GovernanceRequestFeedbackResolver
GovernanceRequestFeedback returns generated.GovernanceRequestFeedbackResolver implementation.
func (*Resolver) ITGovTaskStatuses ¶
func (r *Resolver) ITGovTaskStatuses() generated.ITGovTaskStatusesResolver
ITGovTaskStatuses returns generated.ITGovTaskStatusesResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) SystemIntake ¶
func (r *Resolver) SystemIntake() generated.SystemIntakeResolver
SystemIntake returns generated.SystemIntakeResolver implementation.
func (*Resolver) SystemIntakeDocument ¶
func (r *Resolver) SystemIntakeDocument() generated.SystemIntakeDocumentResolver
SystemIntakeDocument returns generated.SystemIntakeDocumentResolver implementation.
func (*Resolver) SystemIntakeGRBReviewer ¶
func (r *Resolver) SystemIntakeGRBReviewer() generated.SystemIntakeGRBReviewerResolver
SystemIntakeGRBReviewer returns generated.SystemIntakeGRBReviewerResolver implementation.
func (*Resolver) SystemIntakeNote ¶
func (r *Resolver) SystemIntakeNote() generated.SystemIntakeNoteResolver
SystemIntakeNote returns generated.SystemIntakeNoteResolver implementation.
func (*Resolver) TRBAdminNote ¶
func (r *Resolver) TRBAdminNote() generated.TRBAdminNoteResolver
TRBAdminNote returns generated.TRBAdminNoteResolver implementation.
func (*Resolver) TRBAdviceLetter ¶
func (r *Resolver) TRBAdviceLetter() generated.TRBAdviceLetterResolver
TRBAdviceLetter returns generated.TRBAdviceLetterResolver implementation.
func (*Resolver) TRBAdviceLetterRecommendation ¶
func (r *Resolver) TRBAdviceLetterRecommendation() generated.TRBAdviceLetterRecommendationResolver
TRBAdviceLetterRecommendation returns generated.TRBAdviceLetterRecommendationResolver implementation.
func (*Resolver) TRBRequest ¶
func (r *Resolver) TRBRequest() generated.TRBRequestResolver
TRBRequest returns generated.TRBRequestResolver implementation.
func (*Resolver) TRBRequestAttendee ¶
func (r *Resolver) TRBRequestAttendee() generated.TRBRequestAttendeeResolver
TRBRequestAttendee returns generated.TRBRequestAttendeeResolver implementation.
func (*Resolver) TRBRequestDocument ¶
func (r *Resolver) TRBRequestDocument() generated.TRBRequestDocumentResolver
TRBRequestDocument returns generated.TRBRequestDocumentResolver implementation.
func (*Resolver) TRBRequestFeedback ¶
func (r *Resolver) TRBRequestFeedback() generated.TRBRequestFeedbackResolver
TRBRequestFeedback returns generated.TRBRequestFeedbackResolver implementation.
func (*Resolver) TRBRequestForm ¶
func (r *Resolver) TRBRequestForm() generated.TRBRequestFormResolver
TRBRequestForm returns generated.TRBRequestFormResolver implementation.
func (*Resolver) UserInfo ¶
func (r *Resolver) UserInfo() generated.UserInfoResolver
UserInfo returns generated.UserInfoResolver implementation.
type ResolverService ¶
type ResolverService struct { FetchUserInfo func(context.Context, string) (*models.UserInfo, error) FetchUserInfos func(context.Context, []string) ([]*models.UserInfo, error) SearchCommonNameContains func(context.Context, string) ([]*models.UserInfo, error) SubmitIntake func(context.Context, *models.SystemIntake, *models.Action) error }
ResolverService holds service methods for use in resolvers