Documentation ¶
Index ¶
- Variables
- func ActivityBaseResolver(app app.Heureka, ctx context.Context, filter *model.ActivityFilter, first *int, ...) (*model.ActivityConnection, error)
- func CcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentInstanceFilter) (*model.FilterItem, error)
- func ComponentBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentFilter, ...) (*model.ComponentConnection, error)
- func ComponentCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentFilter) (*model.FilterItem, error)
- func ComponentInstanceBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentInstanceFilter, ...) (*model.ComponentInstanceConnection, error)
- func ComponentVersionBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentVersionFilter, ...) (*model.ComponentVersionConnection, error)
- func EffectiveIssueVariantBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueVariantFilter, ...) (*model.IssueVariantConnection, error)
- func EvidenceBaseResolver(app app.Heureka, ctx context.Context, filter *model.EvidenceFilter, first *int, ...) (*model.EvidenceConnection, error)
- func GetIssueListOptions(requestedFields []string) *entity.IssueListOptions
- func GetListOptions(requestedFields []string) *entity.ListOptions
- func GetNestedPreloads(ctx *graphql.OperationContext, fields []graphql.CollectedField, prefix string) (preloads []string)
- func GetPreloadString(prefix, name string) string
- func GetPreloads(ctx context.Context) []string
- func IssueBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueFilter, first *int, ...) (*model.IssueConnection, error)
- func IssueMatchBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueMatchFilter, ...) (*model.IssueMatchConnection, error)
- func IssueMatchChangeBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueMatchChangeFilter, ...) (*model.IssueMatchChangeConnection, error)
- func IssueNameBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueFilter) (*model.FilterItem, error)
- func IssueRepositoryBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueRepositoryFilter, ...) (*model.IssueRepositoryConnection, error)
- func IssueVariantBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueVariantFilter, ...) (*model.IssueVariantConnection, error)
- func ParseCursor(cursor *string) (*int64, error)
- func ServiceBaseResolver(app app.Heureka, ctx context.Context, filter *model.ServiceFilter, first *int, ...) (*model.ServiceConnection, error)
- func ServiceCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.ServiceFilter) (*model.FilterItem, error)
- func SingleActivityBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.Activity, error)
- func SingleComponentBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.Component, error)
- func SingleComponentInstanceBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.ComponentInstance, error)
- func SingleComponentVersionBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.ComponentVersion, error)
- func SingleIssueBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.Issue, error)
- func SingleIssueMatchBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.IssueMatch, error)
- func SingleIssueRepositoryBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.IssueRepository, error)
- func SingleIssueVariantBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.IssueVariant, error)
- func SingleServiceBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.Service, error)
- func SingleUserBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.User, error)
- func SupportGroupBaseResolver(app app.Heureka, ctx context.Context, filter *model.SupportGroupFilter, ...) (*model.SupportGroupConnection, error)
- func SupportGroupCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.SupportGroupFilter) (*model.FilterItem, error)
- func UniqueUserIDBaseResolver(app app.Heureka, ctx context.Context, filter *model.UserFilter) (*model.FilterItem, error)
- func UserBaseResolver(app app.Heureka, ctx context.Context, filter *model.UserFilter, first *int, ...) (*model.UserConnection, error)
- func UserNameBaseResolver(app app.Heureka, ctx context.Context, filter *model.UserFilter) (*model.FilterItem, error)
- type ResolverError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FilterDisplayServiceCcrn string = "Service" FilterDisplaySupportGroupCcrn string = "Support Group" FilterDisplayUserName string = "User Name" FilterDisplayUniqueUserId string = "Unique User ID" FilterDisplayComponentCcrn string = "Pod" FilterDisplayIssueType string = "Issue Type" FilterDisplayIssueMatchStatus string = "Issue Match Status" FilterDisplayIssueMatchID string = "Issue Match ID" FilterDisplayIssuePrimaryName string = "Issue Name" FilterDisplayIssueSeverity string = "Severity" FilterDisplayCcrn string = "CCRN" ServiceFilterServiceCcrn string = "serviceCcrn" ServiceFilterUniqueUserId string = "uniqueUserId" ServiceFilterType string = "type" ServiceFilterUserName string = "userName" ServiceFilterSupportGroupCcrn string = "supportGroupCcrn" IssueMatchFilterPrimaryName string = "primaryName" IssueMatchFilterComponentCcrn string = "componentCcrn" IssueMatchFilterIssueType string = "issueType" IssueMatchFilterStatus string = "status" IssueMatchFilterSeverity string = "severity" IssueMatchFilterAffectedService string = "affectedService" IssueMatchFilterSupportGroupCcrn string = "supportGroupCcrn" ComponentFilterComponentCcrn string = "componentCcrn" )
Functions ¶
func ActivityBaseResolver ¶
func ActivityBaseResolver(app app.Heureka, ctx context.Context, filter *model.ActivityFilter, first *int, after *string, parent *model.NodeParent) (*model.ActivityConnection, error)
func CcrnBaseResolver ¶
func CcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentInstanceFilter) (*model.FilterItem, error)
func ComponentBaseResolver ¶
func ComponentBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentFilter, first *int, after *string, parent *model.NodeParent) (*model.ComponentConnection, error)
func ComponentCcrnBaseResolver ¶
func ComponentCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentFilter) (*model.FilterItem, error)
func ComponentInstanceBaseResolver ¶
func ComponentInstanceBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentInstanceFilter, first *int, after *string, parent *model.NodeParent) (*model.ComponentInstanceConnection, error)
func ComponentVersionBaseResolver ¶
func ComponentVersionBaseResolver(app app.Heureka, ctx context.Context, filter *model.ComponentVersionFilter, first *int, after *string, parent *model.NodeParent) (*model.ComponentVersionConnection, error)
func EffectiveIssueVariantBaseResolver ¶
func EffectiveIssueVariantBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueVariantFilter, first *int, after *string, parent *model.NodeParent) (*model.IssueVariantConnection, error)
func EvidenceBaseResolver ¶
func EvidenceBaseResolver(app app.Heureka, ctx context.Context, filter *model.EvidenceFilter, first *int, after *string, parent *model.NodeParent) (*model.EvidenceConnection, error)
func GetIssueListOptions ¶
func GetIssueListOptions(requestedFields []string) *entity.IssueListOptions
func GetListOptions ¶
func GetListOptions(requestedFields []string) *entity.ListOptions
func GetNestedPreloads ¶
func GetNestedPreloads(ctx *graphql.OperationContext, fields []graphql.CollectedField, prefix string) (preloads []string)
func GetPreloadString ¶
func GetPreloads ¶
func IssueBaseResolver ¶
func IssueBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueFilter, first *int, after *string, parent *model.NodeParent) (*model.IssueConnection, error)
func IssueMatchBaseResolver ¶
func IssueMatchBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueMatchFilter, first *int, after *string, parent *model.NodeParent) (*model.IssueMatchConnection, error)
func IssueMatchChangeBaseResolver ¶
func IssueMatchChangeBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueMatchChangeFilter, first *int, after *string, parent *model.NodeParent) (*model.IssueMatchChangeConnection, error)
func IssueNameBaseResolver ¶
func IssueNameBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueFilter) (*model.FilterItem, error)
func IssueRepositoryBaseResolver ¶
func IssueRepositoryBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueRepositoryFilter, first *int, after *string, parent *model.NodeParent) (*model.IssueRepositoryConnection, error)
func IssueVariantBaseResolver ¶
func IssueVariantBaseResolver(app app.Heureka, ctx context.Context, filter *model.IssueVariantFilter, first *int, after *string, parent *model.NodeParent) (*model.IssueVariantConnection, error)
func ParseCursor ¶
func ServiceBaseResolver ¶
func ServiceBaseResolver(app app.Heureka, ctx context.Context, filter *model.ServiceFilter, first *int, after *string, parent *model.NodeParent) (*model.ServiceConnection, error)
func ServiceCcrnBaseResolver ¶
func ServiceCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.ServiceFilter) (*model.FilterItem, error)
func SingleComponentInstanceBaseResolver ¶
func SingleComponentInstanceBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.ComponentInstance, error)
func SingleComponentVersionBaseResolver ¶
func SingleComponentVersionBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.ComponentVersion, error)
func SingleIssueBaseResolver ¶
func SingleIssueMatchBaseResolver ¶
func SingleIssueMatchBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.IssueMatch, error)
func SingleIssueRepositoryBaseResolver ¶
func SingleIssueRepositoryBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.IssueRepository, error)
func SingleIssueVariantBaseResolver ¶
func SingleIssueVariantBaseResolver(app app.Heureka, ctx context.Context, parent *model.NodeParent) (*model.IssueVariant, error)
func SingleUserBaseResolver ¶
func SupportGroupBaseResolver ¶
func SupportGroupBaseResolver(app app.Heureka, ctx context.Context, filter *model.SupportGroupFilter, first *int, after *string, parent *model.NodeParent) (*model.SupportGroupConnection, error)
func SupportGroupCcrnBaseResolver ¶
func SupportGroupCcrnBaseResolver(app app.Heureka, ctx context.Context, filter *model.SupportGroupFilter) (*model.FilterItem, error)
func UniqueUserIDBaseResolver ¶
func UniqueUserIDBaseResolver(app app.Heureka, ctx context.Context, filter *model.UserFilter) (*model.FilterItem, error)
func UserBaseResolver ¶
func UserBaseResolver(app app.Heureka, ctx context.Context, filter *model.UserFilter, first *int, after *string, parent *model.NodeParent) (*model.UserConnection, error)
func UserNameBaseResolver ¶
func UserNameBaseResolver(app app.Heureka, ctx context.Context, filter *model.UserFilter) (*model.FilterItem, error)
Types ¶
type ResolverError ¶
type ResolverError struct {
// contains filtered or unexported fields
}
func NewResolverError ¶
func NewResolverError(resolver string, msg string) *ResolverError
func (*ResolverError) Error ¶
func (re *ResolverError) Error() string
Click to show internal directories.
Click to hide internal directories.