schema

package
v5.10.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2019 License: MIT, MIT, MIT, + 2 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AssetType = graphql.NewType("Asset", graphql.ObjectKind)

AssetType Asset defines an archive, an agent will install as a dependency for a check.

View Source
var CheckConfigConnectionType = graphql.NewType("CheckConfigConnection", graphql.ObjectKind)

CheckConfigConnectionType A connection to a sequence of records.

View Source
var CheckConfigInputsType = graphql.NewType("CheckConfigInputs", graphql.InputKind)

CheckConfigInputsType self descriptive

View Source
var CheckConfigType = graphql.NewType("CheckConfig", graphql.ObjectKind)

CheckConfigType CheckConfig is the specification of a check.

View Source
var CheckHistoryType = graphql.NewType("CheckHistory", graphql.ObjectKind)

CheckHistoryType CheckHistory is a record of a check execution and its status

View Source
var CheckListOrderType = graphql.NewType("CheckListOrder", graphql.EnumKind)

CheckListOrderType Describes ways in which a list of checks can be ordered.

View Source
var CheckListOrders = _EnumTypeCheckListOrderValues{
	NAME:      "NAME",
	NAME_DESC: "NAME_DESC",
}

CheckListOrders holds enum values

View Source
var CheckType = graphql.NewType("Check", graphql.ObjectKind)

CheckType A Check is a check specification and optionally the results of the check's execution.

View Source
var ClusterRoleBindingType = graphql.NewType("ClusterRoleBinding", graphql.ObjectKind)

ClusterRoleBindingType ClusterRoleBinding grants the permissions defined in a ClusterRole referenced to a user or a set of users

View Source
var ClusterRoleType = graphql.NewType("ClusterRole", graphql.ObjectKind)

ClusterRoleType ClusterRole applies to all namespaces within a cluster.

View Source
var CreateCheckInputType = graphql.NewType("CreateCheckInput", graphql.InputKind)

CreateCheckInputType self descriptive

View Source
var CreateCheckPayloadType = graphql.NewType("CreateCheckPayload", graphql.ObjectKind)

CreateCheckPayloadType self descriptive

View Source
var CreateSilenceInputType = graphql.NewType("CreateSilenceInput", graphql.InputKind)

CreateSilenceInputType self descriptive

View Source
var CreateSilencePayloadType = graphql.NewType("CreateSilencePayload", graphql.ObjectKind)

CreateSilencePayloadType self descriptive

View Source
var DeleteRecordInputType = graphql.NewType("DeleteRecordInput", graphql.InputKind)

DeleteRecordInputType Generic input used when deleting records.

View Source
var DeleteRecordPayloadType = graphql.NewType("DeleteRecordPayload", graphql.ObjectKind)

DeleteRecordPayloadType Generic container for deleted record payload.

View Source
var DeregistrationType = graphql.NewType("Deregistration", graphql.ObjectKind)

DeregistrationType Deregistration contains configuration for Sensu entity de-registration.

View Source
var EntityConnectionType = graphql.NewType("EntityConnection", graphql.ObjectKind)

EntityConnectionType A connection to a sequence of records.

View Source
var EntityListOrderType = graphql.NewType("EntityListOrder", graphql.EnumKind)

EntityListOrderType Describes ways in which a list of entities can be ordered.

View Source
var EntityListOrders = _EnumTypeEntityListOrderValues{
	ID:       "ID",
	ID_DESC:  "ID_DESC",
	LASTSEEN: "LASTSEEN",
}

EntityListOrders holds enum values

View Source
var EntityType = graphql.NewType("Entity", graphql.ObjectKind)

EntityType Entity is the Entity supplying the event. The default Entity for any Event is the running Agent process--if the Event is sent by an Agent.

View Source
var ErrCodeType = graphql.NewType("ErrCode", graphql.EnumKind)

ErrCodeType A terse description of an error.

View Source
var ErrCodes = _EnumTypeErrCodeValues{
	ERR_ALREADY_EXISTS:    "ERR_ALREADY_EXISTS",
	ERR_INTERNAL:          "ERR_INTERNAL",
	ERR_NOT_FOUND:         "ERR_NOT_FOUND",
	ERR_PERMISSION_DENIED: "ERR_PERMISSION_DENIED",
}

ErrCodes holds enum values

View Source
var ErrorType = graphql.NewType("Error", graphql.InterfaceKind)

ErrorType Error describes a failed pre-condition or unexpected problem that occurred while processing the operation.

View Source
var EventConnectionType = graphql.NewType("EventConnection", graphql.ObjectKind)

EventConnectionType A connection to a sequence of records.

View Source
var EventType = graphql.NewType("Event", graphql.ObjectKind)

EventType An Event is the encapsulating type sent across the Sensu websocket transport.

View Source
var EventsListOrderType = graphql.NewType("EventsListOrder", graphql.EnumKind)

EventsListOrderType Describes ways in which a list of events can be ordered.

View Source
var EventsListOrders = _EnumTypeEventsListOrderValues{
	LASTOK:   "LASTOK",
	NEWEST:   "NEWEST",
	OLDEST:   "OLDEST",
	SEVERITY: "SEVERITY",
}

EventsListOrders holds enum values

View Source
var ExecuteCheckInputType = graphql.NewType("ExecuteCheckInput", graphql.InputKind)

ExecuteCheckInputType self descriptive

View Source
var ExecuteCheckPayloadType = graphql.NewType("ExecuteCheckPayload", graphql.ObjectKind)

ExecuteCheckPayloadType self descriptive

View Source
var HandlerConnectionType = graphql.NewType("HandlerConnection", graphql.ObjectKind)

HandlerConnectionType A connection to a sequence of records.

View Source
var HandlerEdgeType = graphql.NewType("HandlerEdge", graphql.ObjectKind)

HandlerEdgeType An edge in a connection.

View Source
var HandlerListOrderType = graphql.NewType("HandlerListOrder", graphql.EnumKind)

HandlerListOrderType Describes ways in which a list of handlers can be ordered.

View Source
var HandlerListOrders = _EnumTypeHandlerListOrderValues{
	NAME:      "NAME",
	NAME_DESC: "NAME_DESC",
}

HandlerListOrders holds enum values

View Source
var HandlerSocketType = graphql.NewType("HandlerSocket", graphql.ObjectKind)

HandlerSocketType HandlerSocket contains configuration for a TCP or UDP handler.

View Source
var HandlerType = graphql.NewType("Handler", graphql.ObjectKind)

HandlerType A Handler is a handler specification.

View Source
var HookConfigType = graphql.NewType("HookConfig", graphql.ObjectKind)

HookConfigType HookConfig is the specification of a hook

View Source
var HookListType = graphql.NewType("HookList", graphql.ObjectKind)

HookListType self descriptive

View Source
var HookType = graphql.NewType("Hook", graphql.ObjectKind)

HookType A Hook is a hook specification and optionally the results of the hook's execution.

View Source
var IconType = graphql.NewType("Icon", graphql.EnumKind)

IconType Describes a graphical element that can be used to distinguish a resource.

View Source
var Icons = _EnumTypeIconValues{
	BRIEFCASE:  "BRIEFCASE",
	DONUT:      "DONUT",
	EMOTICON:   "EMOTICON",
	ESPRESSO:   "ESPRESSO",
	EXPLORE:    "EXPLORE",
	FIRE:       "FIRE",
	HALFHEART:  "HALFHEART",
	HEART:      "HEART",
	MUG:        "MUG",
	POLYGON:    "POLYGON",
	VISIBILITY: "VISIBILITY",
}

Icons holds enum values

View Source
var JSONType = graphql.NewType("JSON", graphql.ScalarKind)

JSONType ... JSON The JSON type describes any arbitrary JSON compatible data.

  • Roughly equilevant to `union JSON = Int | Float | String | Boolean` however can also be a map or list of arbitrary length.
  • Despite looking like an an object it's fields **cannot** be selected.
View Source
var KVPairStringType = graphql.NewType("KVPairString", graphql.ObjectKind)

KVPairStringType The KVPairString type respresents a name-value relationship where the value is always a string.

View Source
var MutationType = graphql.NewType("Mutation", graphql.ObjectKind)

MutationType The root query for implementing GraphQL mutations.

View Source
var MutatorType = graphql.NewType("Mutator", graphql.ObjectKind)

MutatorType A Mutator is a mutator specification.

View Source
var MutedColourType = graphql.NewType("MutedColour", graphql.EnumKind)

MutedColourType Describes a color from a muted palette that can be used to distinguish a resource.

View Source
var MutedColours = _EnumTypeMutedColourValues{
	BLUE:   "BLUE",
	GRAY:   "GRAY",
	GREEN:  "GREEN",
	ORANGE: "ORANGE",
	PINK:   "PINK",
	PURPLE: "PURPLE",
	YELLOW: "YELLOW",
}

MutedColours holds enum values

View Source
var NamespaceType = graphql.NewType("Namespace", graphql.ObjectKind)

NamespaceType Represents a virtual cluster

View Source
var NamespacedType = graphql.NewType("Namespaced", graphql.InterfaceKind)

NamespacedType Namespaced represents an object that belongs to a unique namespace.

View Source
var NetworkInterfaceType = graphql.NewType("NetworkInterface", graphql.ObjectKind)

NetworkInterfaceType NetworkInterface contains information about a system network interface.

View Source
var NetworkType = graphql.NewType("Network", graphql.ObjectKind)

NetworkType Network contains information about the system network interfaces that the Agent process is running on, used for additional Entity context.

View Source
var NodeType = graphql.NewType("Node", graphql.InterfaceKind)

NodeType Node describes an object with an ID.

View Source
var ObjectMetaType = graphql.NewType("ObjectMeta", graphql.ObjectKind)

ObjectMetaType ObjectMeta is metadata all persisted objects have.

View Source
var OffsetPageInfoType = graphql.NewType("OffsetPageInfo", graphql.ObjectKind)

OffsetPageInfoType Information about the current page.

View Source
var ProxyRequestsType = graphql.NewType("ProxyRequests", graphql.ObjectKind)

ProxyRequestsType A ProxyRequests represents a request to execute a proxy check.

View Source
var PutWrappedPayloadType = graphql.NewType("PutWrappedPayload", graphql.ObjectKind)

PutWrappedPayloadType self descriptive

View Source
var QueryType = graphql.NewType("Query", graphql.ObjectKind)

QueryType The query root of Sensu's GraphQL interface.

View Source
var ResolveEventInputType = graphql.NewType("ResolveEventInput", graphql.InputKind)

ResolveEventInputType self descriptive

View Source
var ResolveEventPayloadType = graphql.NewType("ResolveEventPayload", graphql.ObjectKind)

ResolveEventPayloadType self descriptive

View Source
var ResourceType = graphql.NewType("Resource", graphql.InterfaceKind)

ResourceType self descriptive

View Source
var RoleBindingType = graphql.NewType("RoleBinding", graphql.ObjectKind)

RoleBindingType RoleBinding grants the permissions defined in a Role referenced to a user or a set of users

View Source
var RoleRefType = graphql.NewType("RoleRef", graphql.ObjectKind)

RoleRefType RoleRef maps groups to Roles or ClusterRoles.

View Source
var RoleType = graphql.NewType("Role", graphql.ObjectKind)

RoleType Role applies only to a single namespace.

View Source
var RuleType = graphql.NewType("Rule", graphql.ObjectKind)

RuleType Rule holds information that describes an action that can be taken

View Source
var Schema = graphql.NewType("Schema", graphql.SchemaKind)

Schema supplies the root types of each type of operation, query, mutation (optional), and subscription (optional).

View Source
var SilenceInputsType = graphql.NewType("SilenceInputs", graphql.InputKind)

SilenceInputsType self descriptive

View Source
var SilenceableType = graphql.NewType("Silenceable", graphql.InterfaceKind)

SilenceableType Silenceable describes resources that can be silenced

View Source
var SilencedConnectionType = graphql.NewType("SilencedConnection", graphql.ObjectKind)

SilencedConnectionType A connection to a sequence of records.

View Source
var SilencedType = graphql.NewType("Silenced", graphql.ObjectKind)

SilencedType Silenced is the representation of a silence entry.

View Source
var SilencesListOrderType = graphql.NewType("SilencesListOrder", graphql.EnumKind)

SilencesListOrderType Describes ways in which a list of silences can be ordered.

View Source
var SilencesListOrders = _EnumTypeSilencesListOrderValues{
	BEGIN:      "BEGIN",
	BEGIN_DESC: "BEGIN_DESC",
	ID:         "ID",
	ID_DESC:    "ID_DESC",
}

SilencesListOrders holds enum values

View Source
var StandardErrorType = graphql.NewType("StandardError", graphql.ObjectKind)

StandardErrorType StandardError is the standard implementation of an error that includes a message.

View Source
var SubjectType = graphql.NewType("Subject", graphql.ObjectKind)

SubjectType self descriptive

View Source
var SubscriptionOccurencesType = graphql.NewType("SubscriptionOccurences", graphql.ObjectKind)

SubscriptionOccurencesType SubscriptionOccurences describes the number of occurrences of a subscription.

View Source
var SubscriptionSetOrderType = graphql.NewType("SubscriptionSetOrder", graphql.EnumKind)

SubscriptionSetOrderType Describes ways in which a set of subscriptions can be ordered.

View Source
var SubscriptionSetOrders = _EnumTypeSubscriptionSetOrderValues{
	ALPHA_ASC:   "ALPHA_ASC",
	ALPHA_DESC:  "ALPHA_DESC",
	OCCURRENCES: "OCCURRENCES",
}

SubscriptionSetOrders holds enum values

View Source
var SubscriptionSetType = graphql.NewType("SubscriptionSet", graphql.ObjectKind)

SubscriptionSetType SubscriptionSet describes a set of subscriptions.

View Source
var SuggestionOrderType = graphql.NewType("SuggestionOrder", graphql.EnumKind)

SuggestionOrderType self descriptive

View Source
var SuggestionOrders = _EnumTypeSuggestionOrderValues{
	ALPHA_ASC:  "ALPHA_ASC",
	ALPHA_DESC: "ALPHA_DESC",
	FREQUENCY:  "FREQUENCY",
}

SuggestionOrders holds enum values

View Source
var SuggestionResultSetType = graphql.NewType("SuggestionResultSet", graphql.ObjectKind)

SuggestionResultSetType SuggestionResultSet contains a collection of results for the given query.

View Source
var SystemType = graphql.NewType("System", graphql.ObjectKind)

SystemType System contains information about the system that the Agent process is running on, used for additional Entity context.

View Source
var TimeWindowDaysType = graphql.NewType("TimeWindowDays", graphql.ObjectKind)

TimeWindowDaysType TimeWindowDays defines the days of a time window

View Source
var TimeWindowTimeRangeType = graphql.NewType("TimeWindowTimeRange", graphql.ObjectKind)

TimeWindowTimeRangeType TimeWindowTimeRange defines the time ranges of a time

View Source
var TimeWindowWhenType = graphql.NewType("TimeWindowWhen", graphql.ObjectKind)

TimeWindowWhenType TimeWindowWhen defines the "when" attributes for time windows

View Source
var UintType = graphql.NewType("Uint", graphql.ScalarKind)

UintType ... Uint The Uint scalar type represents a unsigned 32 bit integer. Response formats that support an unsigned 32‐bit integer or a number type should use that type to represent this scalar.

**NOTE:** As numbers are represented as double-precision floating point numbers in Javascript the largest possible value is 2^53. As such 32 bit is used as the lowest common denominator.

View Source
var UpdateCheckInputType = graphql.NewType("UpdateCheckInput", graphql.InputKind)

UpdateCheckInputType self descriptive

View Source
var UpdateCheckPayloadType = graphql.NewType("UpdateCheckPayload", graphql.ObjectKind)

UpdateCheckPayloadType self descriptive

View Source
var UserType = graphql.NewType("User", graphql.ObjectKind)

UserType User describes an operator in the system

View Source
var ViewerType = graphql.NewType("Viewer", graphql.ObjectKind)

ViewerType Describes a viewer of the system; generally an authenticated user.

Functions

func RegisterAsset

func RegisterAsset(svc *graphql.Service, impl AssetFieldResolvers)

RegisterAsset registers Asset object type with given service.

func RegisterCheck

func RegisterCheck(svc *graphql.Service, impl CheckFieldResolvers)

RegisterCheck registers Check object type with given service.

func RegisterCheckConfig

func RegisterCheckConfig(svc *graphql.Service, impl CheckConfigFieldResolvers)

RegisterCheckConfig registers CheckConfig object type with given service.

func RegisterCheckConfigConnection

func RegisterCheckConfigConnection(svc *graphql.Service, impl CheckConfigConnectionFieldResolvers)

RegisterCheckConfigConnection registers CheckConfigConnection object type with given service.

func RegisterCheckConfigInputs

func RegisterCheckConfigInputs(svc *graphql.Service)

RegisterCheckConfigInputs registers CheckConfigInputs object type with given service.

func RegisterCheckHistory

func RegisterCheckHistory(svc *graphql.Service, impl CheckHistoryFieldResolvers)

RegisterCheckHistory registers CheckHistory object type with given service.

func RegisterCheckListOrder

func RegisterCheckListOrder(svc *graphql.Service)

RegisterCheckListOrder registers CheckListOrder object type with given service.

func RegisterClusterRole

func RegisterClusterRole(svc *graphql.Service, impl ClusterRoleFieldResolvers)

RegisterClusterRole registers ClusterRole object type with given service.

func RegisterClusterRoleBinding

func RegisterClusterRoleBinding(svc *graphql.Service, impl ClusterRoleBindingFieldResolvers)

RegisterClusterRoleBinding registers ClusterRoleBinding object type with given service.

func RegisterCreateCheckInput

func RegisterCreateCheckInput(svc *graphql.Service)

RegisterCreateCheckInput registers CreateCheckInput object type with given service.

func RegisterCreateCheckPayload

func RegisterCreateCheckPayload(svc *graphql.Service, impl CreateCheckPayloadFieldResolvers)

RegisterCreateCheckPayload registers CreateCheckPayload object type with given service.

func RegisterCreateSilenceInput

func RegisterCreateSilenceInput(svc *graphql.Service)

RegisterCreateSilenceInput registers CreateSilenceInput object type with given service.

func RegisterCreateSilencePayload

func RegisterCreateSilencePayload(svc *graphql.Service, impl CreateSilencePayloadFieldResolvers)

RegisterCreateSilencePayload registers CreateSilencePayload object type with given service.

func RegisterDeleteRecordInput

func RegisterDeleteRecordInput(svc *graphql.Service)

RegisterDeleteRecordInput registers DeleteRecordInput object type with given service.

func RegisterDeleteRecordPayload

func RegisterDeleteRecordPayload(svc *graphql.Service, impl DeleteRecordPayloadFieldResolvers)

RegisterDeleteRecordPayload registers DeleteRecordPayload object type with given service.

func RegisterDeregistration

func RegisterDeregistration(svc *graphql.Service, impl DeregistrationFieldResolvers)

RegisterDeregistration registers Deregistration object type with given service.

func RegisterEntity

func RegisterEntity(svc *graphql.Service, impl EntityFieldResolvers)

RegisterEntity registers Entity object type with given service.

func RegisterEntityConnection

func RegisterEntityConnection(svc *graphql.Service, impl EntityConnectionFieldResolvers)

RegisterEntityConnection registers EntityConnection object type with given service.

func RegisterEntityListOrder

func RegisterEntityListOrder(svc *graphql.Service)

RegisterEntityListOrder registers EntityListOrder object type with given service.

func RegisterErrCode

func RegisterErrCode(svc *graphql.Service)

RegisterErrCode registers ErrCode object type with given service.

func RegisterError

func RegisterError(svc *graphql.Service, impl graphql.InterfaceTypeResolver)

RegisterError registers Error object type with given service.

func RegisterEvent

func RegisterEvent(svc *graphql.Service, impl EventFieldResolvers)

RegisterEvent registers Event object type with given service.

func RegisterEventConnection

func RegisterEventConnection(svc *graphql.Service, impl EventConnectionFieldResolvers)

RegisterEventConnection registers EventConnection object type with given service.

func RegisterEventsListOrder

func RegisterEventsListOrder(svc *graphql.Service)

RegisterEventsListOrder registers EventsListOrder object type with given service.

func RegisterExecuteCheckInput

func RegisterExecuteCheckInput(svc *graphql.Service)

RegisterExecuteCheckInput registers ExecuteCheckInput object type with given service.

func RegisterExecuteCheckPayload

func RegisterExecuteCheckPayload(svc *graphql.Service, impl ExecuteCheckPayloadFieldResolvers)

RegisterExecuteCheckPayload registers ExecuteCheckPayload object type with given service.

func RegisterHandler

func RegisterHandler(svc *graphql.Service, impl HandlerFieldResolvers)

RegisterHandler registers Handler object type with given service.

func RegisterHandlerConnection

func RegisterHandlerConnection(svc *graphql.Service, impl HandlerConnectionFieldResolvers)

RegisterHandlerConnection registers HandlerConnection object type with given service.

func RegisterHandlerEdge

func RegisterHandlerEdge(svc *graphql.Service, impl HandlerEdgeFieldResolvers)

RegisterHandlerEdge registers HandlerEdge object type with given service.

func RegisterHandlerListOrder

func RegisterHandlerListOrder(svc *graphql.Service)

RegisterHandlerListOrder registers HandlerListOrder object type with given service.

func RegisterHandlerSocket

func RegisterHandlerSocket(svc *graphql.Service, impl HandlerSocketFieldResolvers)

RegisterHandlerSocket registers HandlerSocket object type with given service.

func RegisterHook

func RegisterHook(svc *graphql.Service, impl HookFieldResolvers)

RegisterHook registers Hook object type with given service.

func RegisterHookConfig

func RegisterHookConfig(svc *graphql.Service, impl HookConfigFieldResolvers)

RegisterHookConfig registers HookConfig object type with given service.

func RegisterHookList

func RegisterHookList(svc *graphql.Service, impl HookListFieldResolvers)

RegisterHookList registers HookList object type with given service.

func RegisterIcon

func RegisterIcon(svc *graphql.Service)

RegisterIcon registers Icon object type with given service.

func RegisterJSON

func RegisterJSON(svc *graphql.Service, impl graphql.ScalarResolver)

RegisterJSON registers JSON object type with given service.

func RegisterKVPairString

func RegisterKVPairString(svc *graphql.Service, impl KVPairStringFieldResolvers)

RegisterKVPairString registers KVPairString object type with given service.

func RegisterMutation

func RegisterMutation(svc *graphql.Service, impl MutationFieldResolvers)

RegisterMutation registers Mutation object type with given service.

func RegisterMutator

func RegisterMutator(svc *graphql.Service, impl MutatorFieldResolvers)

RegisterMutator registers Mutator object type with given service.

func RegisterMutedColour

func RegisterMutedColour(svc *graphql.Service)

RegisterMutedColour registers MutedColour object type with given service.

func RegisterNamespace

func RegisterNamespace(svc *graphql.Service, impl NamespaceFieldResolvers)

RegisterNamespace registers Namespace object type with given service.

func RegisterNamespaced

func RegisterNamespaced(svc *graphql.Service, impl graphql.InterfaceTypeResolver)

RegisterNamespaced registers Namespaced object type with given service.

func RegisterNetwork

func RegisterNetwork(svc *graphql.Service, impl NetworkFieldResolvers)

RegisterNetwork registers Network object type with given service.

func RegisterNetworkInterface

func RegisterNetworkInterface(svc *graphql.Service, impl NetworkInterfaceFieldResolvers)

RegisterNetworkInterface registers NetworkInterface object type with given service.

func RegisterNode

func RegisterNode(svc *graphql.Service, impl graphql.InterfaceTypeResolver)

RegisterNode registers Node object type with given service.

func RegisterObjectMeta

func RegisterObjectMeta(svc *graphql.Service, impl ObjectMetaFieldResolvers)

RegisterObjectMeta registers ObjectMeta object type with given service.

func RegisterOffsetPageInfo

func RegisterOffsetPageInfo(svc *graphql.Service, impl OffsetPageInfoFieldResolvers)

RegisterOffsetPageInfo registers OffsetPageInfo object type with given service.

func RegisterProxyRequests

func RegisterProxyRequests(svc *graphql.Service, impl ProxyRequestsFieldResolvers)

RegisterProxyRequests registers ProxyRequests object type with given service.

func RegisterPutWrappedPayload

func RegisterPutWrappedPayload(svc *graphql.Service, impl PutWrappedPayloadFieldResolvers)

RegisterPutWrappedPayload registers PutWrappedPayload object type with given service.

func RegisterQuery

func RegisterQuery(svc *graphql.Service, impl QueryFieldResolvers)

RegisterQuery registers Query object type with given service.

func RegisterResolveEventInput

func RegisterResolveEventInput(svc *graphql.Service)

RegisterResolveEventInput registers ResolveEventInput object type with given service.

func RegisterResolveEventPayload

func RegisterResolveEventPayload(svc *graphql.Service, impl ResolveEventPayloadFieldResolvers)

RegisterResolveEventPayload registers ResolveEventPayload object type with given service.

func RegisterResource

func RegisterResource(svc *graphql.Service, impl graphql.InterfaceTypeResolver)

RegisterResource registers Resource object type with given service.

func RegisterRole

func RegisterRole(svc *graphql.Service, impl RoleFieldResolvers)

RegisterRole registers Role object type with given service.

func RegisterRoleBinding

func RegisterRoleBinding(svc *graphql.Service, impl RoleBindingFieldResolvers)

RegisterRoleBinding registers RoleBinding object type with given service.

func RegisterRoleRef

func RegisterRoleRef(svc *graphql.Service, impl RoleRefFieldResolvers)

RegisterRoleRef registers RoleRef object type with given service.

func RegisterRule

func RegisterRule(svc *graphql.Service, impl RuleFieldResolvers)

RegisterRule registers Rule object type with given service.

func RegisterSchema

func RegisterSchema(svc *graphql.Service)

RegisterSchema registers schema description with given service.

func RegisterSilenceInputs

func RegisterSilenceInputs(svc *graphql.Service)

RegisterSilenceInputs registers SilenceInputs object type with given service.

func RegisterSilenceable

func RegisterSilenceable(svc *graphql.Service, impl graphql.InterfaceTypeResolver)

RegisterSilenceable registers Silenceable object type with given service.

func RegisterSilenced

func RegisterSilenced(svc *graphql.Service, impl SilencedFieldResolvers)

RegisterSilenced registers Silenced object type with given service.

func RegisterSilencedConnection

func RegisterSilencedConnection(svc *graphql.Service, impl SilencedConnectionFieldResolvers)

RegisterSilencedConnection registers SilencedConnection object type with given service.

func RegisterSilencesListOrder

func RegisterSilencesListOrder(svc *graphql.Service)

RegisterSilencesListOrder registers SilencesListOrder object type with given service.

func RegisterStandardError

func RegisterStandardError(svc *graphql.Service, impl StandardErrorFieldResolvers)

RegisterStandardError registers StandardError object type with given service.

func RegisterSubject

func RegisterSubject(svc *graphql.Service, impl SubjectFieldResolvers)

RegisterSubject registers Subject object type with given service.

func RegisterSubscriptionOccurences

func RegisterSubscriptionOccurences(svc *graphql.Service, impl SubscriptionOccurencesFieldResolvers)

RegisterSubscriptionOccurences registers SubscriptionOccurences object type with given service.

func RegisterSubscriptionSet

func RegisterSubscriptionSet(svc *graphql.Service, impl SubscriptionSetFieldResolvers)

RegisterSubscriptionSet registers SubscriptionSet object type with given service.

func RegisterSubscriptionSetOrder

func RegisterSubscriptionSetOrder(svc *graphql.Service)

RegisterSubscriptionSetOrder registers SubscriptionSetOrder object type with given service.

func RegisterSuggestionOrder

func RegisterSuggestionOrder(svc *graphql.Service)

RegisterSuggestionOrder registers SuggestionOrder object type with given service.

func RegisterSuggestionResultSet

func RegisterSuggestionResultSet(svc *graphql.Service, impl SuggestionResultSetFieldResolvers)

RegisterSuggestionResultSet registers SuggestionResultSet object type with given service.

func RegisterSystem

func RegisterSystem(svc *graphql.Service, impl SystemFieldResolvers)

RegisterSystem registers System object type with given service.

func RegisterTimeWindowDays

func RegisterTimeWindowDays(svc *graphql.Service, impl TimeWindowDaysFieldResolvers)

RegisterTimeWindowDays registers TimeWindowDays object type with given service.

func RegisterTimeWindowTimeRange

func RegisterTimeWindowTimeRange(svc *graphql.Service, impl TimeWindowTimeRangeFieldResolvers)

RegisterTimeWindowTimeRange registers TimeWindowTimeRange object type with given service.

func RegisterTimeWindowWhen

func RegisterTimeWindowWhen(svc *graphql.Service, impl TimeWindowWhenFieldResolvers)

RegisterTimeWindowWhen registers TimeWindowWhen object type with given service.

func RegisterUint

func RegisterUint(svc *graphql.Service, impl graphql.ScalarResolver)

RegisterUint registers Uint object type with given service.

func RegisterUpdateCheckInput

func RegisterUpdateCheckInput(svc *graphql.Service)

RegisterUpdateCheckInput registers UpdateCheckInput object type with given service.

func RegisterUpdateCheckPayload

func RegisterUpdateCheckPayload(svc *graphql.Service, impl UpdateCheckPayloadFieldResolvers)

RegisterUpdateCheckPayload registers UpdateCheckPayload object type with given service.

func RegisterUser

func RegisterUser(svc *graphql.Service, impl UserFieldResolvers)

RegisterUser registers User object type with given service.

func RegisterViewer

func RegisterViewer(svc *graphql.Service, impl ViewerFieldResolvers)

RegisterViewer registers Viewer object type with given service.

Types

type AssetAliases

type AssetAliases struct{}

AssetAliases implements all methods on AssetFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (AssetAliases) Filters

func (_ AssetAliases) Filters(p graphql.ResolveParams) ([]string, error)

Filters implements response to request for 'filters' field.

func (AssetAliases) ID

ID implements response to request for 'id' field.

func (AssetAliases) Metadata

func (_ AssetAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (AssetAliases) Name

Name implements response to request for 'name' field.

func (AssetAliases) Namespace

func (_ AssetAliases) Namespace(p graphql.ResolveParams) (string, error)

Namespace implements response to request for 'namespace' field.

func (AssetAliases) Sha512

Sha512 implements response to request for 'sha512' field.

func (AssetAliases) ToJSON

func (_ AssetAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

func (AssetAliases) Url

Url implements response to request for 'url' field.

type AssetFieldResolvers

AssetFieldResolvers represents a collection of methods whose products represent the response values of the 'Asset' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type AssetFiltersFieldResolver

type AssetFiltersFieldResolver interface {
	// Filters implements response to request for filters field.
	Filters(p graphql.ResolveParams) ([]string, error)
}

AssetFiltersFieldResolver implement to resolve requests for the Asset's filters field.

type AssetIDFieldResolver

type AssetIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

AssetIDFieldResolver implement to resolve requests for the Asset's id field.

type AssetMetadataFieldResolver

type AssetMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

AssetMetadataFieldResolver implement to resolve requests for the Asset's metadata field.

type AssetNameFieldResolver

type AssetNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

AssetNameFieldResolver implement to resolve requests for the Asset's name field.

type AssetNamespaceFieldResolver

type AssetNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

AssetNamespaceFieldResolver implement to resolve requests for the Asset's namespace field.

type AssetSha512FieldResolver

type AssetSha512FieldResolver interface {
	// Sha512 implements response to request for sha512 field.
	Sha512(p graphql.ResolveParams) (string, error)
}

AssetSha512FieldResolver implement to resolve requests for the Asset's sha512 field.

type AssetToJSONFieldResolver

type AssetToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

AssetToJSONFieldResolver implement to resolve requests for the Asset's toJSON field.

type AssetUrlFieldResolver

type AssetUrlFieldResolver interface {
	// Url implements response to request for url field.
	Url(p graphql.ResolveParams) (string, error)
}

AssetUrlFieldResolver implement to resolve requests for the Asset's url field.

type CheckAliases

type CheckAliases struct{}

CheckAliases implements all methods on CheckFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (CheckAliases) CheckHooks

func (_ CheckAliases) CheckHooks(p graphql.ResolveParams) (interface{}, error)

CheckHooks implements response to request for 'checkHooks' field.

func (CheckAliases) Command

func (_ CheckAliases) Command(p graphql.ResolveParams) (string, error)

Command implements response to request for 'command' field.

func (CheckAliases) Cron

Cron implements response to request for 'cron' field.

func (CheckAliases) Duration

func (_ CheckAliases) Duration(p graphql.ResolveParams) (float64, error)

Duration implements response to request for 'duration' field.

func (CheckAliases) EnvVars

func (_ CheckAliases) EnvVars(p graphql.ResolveParams) ([]string, error)

EnvVars implements response to request for 'envVars' field.

func (CheckAliases) Executed

func (_ CheckAliases) Executed(p graphql.ResolveParams) (time.Time, error)

Executed implements response to request for 'executed' field.

func (CheckAliases) ExtendedAttributes

func (_ CheckAliases) ExtendedAttributes(p graphql.ResolveParams) (interface{}, error)

ExtendedAttributes implements response to request for 'extendedAttributes' field.

func (CheckAliases) Handlers

func (_ CheckAliases) Handlers(p graphql.ResolveParams) (interface{}, error)

Handlers implements response to request for 'handlers' field.

func (CheckAliases) HighFlapThreshold

func (_ CheckAliases) HighFlapThreshold(p graphql.ResolveParams) (int, error)

HighFlapThreshold implements response to request for 'highFlapThreshold' field.

func (CheckAliases) History

func (_ CheckAliases) History(p CheckHistoryFieldResolverParams) (interface{}, error)

History implements response to request for 'history' field.

func (CheckAliases) Hooks

func (_ CheckAliases) Hooks(p graphql.ResolveParams) (interface{}, error)

Hooks implements response to request for 'hooks' field.

func (CheckAliases) Interval

func (_ CheckAliases) Interval(p graphql.ResolveParams) (int, error)

Interval implements response to request for 'interval' field.

func (CheckAliases) IsSilenced

func (_ CheckAliases) IsSilenced(p graphql.ResolveParams) (bool, error)

IsSilenced implements response to request for 'isSilenced' field.

func (CheckAliases) Issued

Issued implements response to request for 'issued' field.

func (CheckAliases) LastOK

func (_ CheckAliases) LastOK(p graphql.ResolveParams) (*time.Time, error)

LastOK implements response to request for 'lastOK' field.

func (CheckAliases) LowFlapThreshold

func (_ CheckAliases) LowFlapThreshold(p graphql.ResolveParams) (int, error)

LowFlapThreshold implements response to request for 'lowFlapThreshold' field.

func (CheckAliases) Metadata

func (_ CheckAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (CheckAliases) Name

Name implements response to request for 'name' field.

func (CheckAliases) NodeID

NodeID implements response to request for 'nodeId' field.

func (CheckAliases) Occurrences

func (_ CheckAliases) Occurrences(p graphql.ResolveParams) (int, error)

Occurrences implements response to request for 'occurrences' field.

func (CheckAliases) OccurrencesWatermark

func (_ CheckAliases) OccurrencesWatermark(p graphql.ResolveParams) (int, error)

OccurrencesWatermark implements response to request for 'occurrencesWatermark' field.

func (CheckAliases) Output

Output implements response to request for 'output' field.

func (CheckAliases) OutputMetricFormat

func (_ CheckAliases) OutputMetricFormat(p graphql.ResolveParams) (string, error)

OutputMetricFormat implements response to request for 'outputMetricFormat' field.

func (CheckAliases) OutputMetricHandlers

func (_ CheckAliases) OutputMetricHandlers(p graphql.ResolveParams) (interface{}, error)

OutputMetricHandlers implements response to request for 'outputMetricHandlers' field.

func (CheckAliases) ProxyEntityName

func (_ CheckAliases) ProxyEntityName(p graphql.ResolveParams) (string, error)

ProxyEntityName implements response to request for 'proxyEntityName' field.

func (CheckAliases) ProxyRequests

func (_ CheckAliases) ProxyRequests(p graphql.ResolveParams) (interface{}, error)

ProxyRequests implements response to request for 'proxyRequests' field.

func (CheckAliases) Publish

func (_ CheckAliases) Publish(p graphql.ResolveParams) (bool, error)

Publish implements response to request for 'publish' field.

func (CheckAliases) RoundRobin

func (_ CheckAliases) RoundRobin(p graphql.ResolveParams) (bool, error)

RoundRobin implements response to request for 'roundRobin' field.

func (CheckAliases) RuntimeAssets

func (_ CheckAliases) RuntimeAssets(p graphql.ResolveParams) (interface{}, error)

RuntimeAssets implements response to request for 'runtimeAssets' field.

func (CheckAliases) Silenced

func (_ CheckAliases) Silenced(p graphql.ResolveParams) ([]string, error)

Silenced implements response to request for 'silenced' field.

func (CheckAliases) Silences

func (_ CheckAliases) Silences(p graphql.ResolveParams) (interface{}, error)

Silences implements response to request for 'silences' field.

func (CheckAliases) State

State implements response to request for 'state' field.

func (CheckAliases) Status

func (_ CheckAliases) Status(p graphql.ResolveParams) (interface{}, error)

Status implements response to request for 'status' field.

func (CheckAliases) Stdin

Stdin implements response to request for 'stdin' field.

func (CheckAliases) Subdue

func (_ CheckAliases) Subdue(p graphql.ResolveParams) (interface{}, error)

Subdue implements response to request for 'subdue' field.

func (CheckAliases) Subscriptions

func (_ CheckAliases) Subscriptions(p graphql.ResolveParams) ([]string, error)

Subscriptions implements response to request for 'subscriptions' field.

func (CheckAliases) Timeout

func (_ CheckAliases) Timeout(p graphql.ResolveParams) (int, error)

Timeout implements response to request for 'timeout' field.

func (CheckAliases) ToJSON

func (_ CheckAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

func (CheckAliases) TotalStateChange

func (_ CheckAliases) TotalStateChange(p graphql.ResolveParams) (int, error)

TotalStateChange implements response to request for 'totalStateChange' field.

func (CheckAliases) Ttl

Ttl implements response to request for 'ttl' field.

type CheckCheckHooksFieldResolver

type CheckCheckHooksFieldResolver interface {
	// CheckHooks implements response to request for checkHooks field.
	CheckHooks(p graphql.ResolveParams) (interface{}, error)
}

CheckCheckHooksFieldResolver implement to resolve requests for the Check's checkHooks field.

type CheckCommandFieldResolver

type CheckCommandFieldResolver interface {
	// Command implements response to request for command field.
	Command(p graphql.ResolveParams) (string, error)
}

CheckCommandFieldResolver implement to resolve requests for the Check's command field.

type CheckConfigAliases

type CheckConfigAliases struct{}

CheckConfigAliases implements all methods on CheckConfigFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (CheckConfigAliases) CheckHooks

func (_ CheckConfigAliases) CheckHooks(p graphql.ResolveParams) (interface{}, error)

CheckHooks implements response to request for 'checkHooks' field.

func (CheckConfigAliases) Command

Command implements response to request for 'command' field.

func (CheckConfigAliases) Cron

Cron implements response to request for 'cron' field.

func (CheckConfigAliases) EnvVars

EnvVars implements response to request for 'envVars' field.

func (CheckConfigAliases) ExtendedAttributes

func (_ CheckConfigAliases) ExtendedAttributes(p graphql.ResolveParams) (interface{}, error)

ExtendedAttributes implements response to request for 'extendedAttributes' field.

func (CheckConfigAliases) Handlers

func (_ CheckConfigAliases) Handlers(p graphql.ResolveParams) (interface{}, error)

Handlers implements response to request for 'handlers' field.

func (CheckConfigAliases) HighFlapThreshold

func (_ CheckConfigAliases) HighFlapThreshold(p graphql.ResolveParams) (int, error)

HighFlapThreshold implements response to request for 'highFlapThreshold' field.

func (CheckConfigAliases) ID

ID implements response to request for 'id' field.

func (CheckConfigAliases) Interval

Interval implements response to request for 'interval' field.

func (CheckConfigAliases) IsSilenced

func (_ CheckConfigAliases) IsSilenced(p graphql.ResolveParams) (bool, error)

IsSilenced implements response to request for 'isSilenced' field.

func (CheckConfigAliases) LowFlapThreshold

func (_ CheckConfigAliases) LowFlapThreshold(p graphql.ResolveParams) (int, error)

LowFlapThreshold implements response to request for 'lowFlapThreshold' field.

func (CheckConfigAliases) Metadata

func (_ CheckConfigAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (CheckConfigAliases) Name

Name implements response to request for 'name' field.

func (CheckConfigAliases) Namespace

Namespace implements response to request for 'namespace' field.

func (CheckConfigAliases) OutputMetricFormat

func (_ CheckConfigAliases) OutputMetricFormat(p graphql.ResolveParams) (string, error)

OutputMetricFormat implements response to request for 'outputMetricFormat' field.

func (CheckConfigAliases) OutputMetricHandlers

func (_ CheckConfigAliases) OutputMetricHandlers(p graphql.ResolveParams) (interface{}, error)

OutputMetricHandlers implements response to request for 'outputMetricHandlers' field.

func (CheckConfigAliases) ProxyEntityName

func (_ CheckConfigAliases) ProxyEntityName(p graphql.ResolveParams) (string, error)

ProxyEntityName implements response to request for 'proxyEntityName' field.

func (CheckConfigAliases) ProxyRequests

func (_ CheckConfigAliases) ProxyRequests(p graphql.ResolveParams) (interface{}, error)

ProxyRequests implements response to request for 'proxyRequests' field.

func (CheckConfigAliases) Publish

Publish implements response to request for 'publish' field.

func (CheckConfigAliases) RoundRobin

func (_ CheckConfigAliases) RoundRobin(p graphql.ResolveParams) (bool, error)

RoundRobin implements response to request for 'roundRobin' field.

func (CheckConfigAliases) RuntimeAssets

func (_ CheckConfigAliases) RuntimeAssets(p graphql.ResolveParams) (interface{}, error)

RuntimeAssets implements response to request for 'runtimeAssets' field.

func (CheckConfigAliases) Silences

func (_ CheckConfigAliases) Silences(p graphql.ResolveParams) (interface{}, error)

Silences implements response to request for 'silences' field.

func (CheckConfigAliases) Stdin

Stdin implements response to request for 'stdin' field.

func (CheckConfigAliases) Subdue

func (_ CheckConfigAliases) Subdue(p graphql.ResolveParams) (interface{}, error)

Subdue implements response to request for 'subdue' field.

func (CheckConfigAliases) Subscriptions

func (_ CheckConfigAliases) Subscriptions(p graphql.ResolveParams) ([]string, error)

Subscriptions implements response to request for 'subscriptions' field.

func (CheckConfigAliases) Timeout

Timeout implements response to request for 'timeout' field.

func (CheckConfigAliases) ToJSON

func (_ CheckConfigAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

func (CheckConfigAliases) Ttl

Ttl implements response to request for 'ttl' field.

type CheckConfigCheckHooksFieldResolver

type CheckConfigCheckHooksFieldResolver interface {
	// CheckHooks implements response to request for checkHooks field.
	CheckHooks(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigCheckHooksFieldResolver implement to resolve requests for the CheckConfig's checkHooks field.

type CheckConfigCommandFieldResolver

type CheckConfigCommandFieldResolver interface {
	// Command implements response to request for command field.
	Command(p graphql.ResolveParams) (string, error)
}

CheckConfigCommandFieldResolver implement to resolve requests for the CheckConfig's command field.

type CheckConfigConnectionAliases

type CheckConfigConnectionAliases struct{}

CheckConfigConnectionAliases implements all methods on CheckConfigConnectionFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (CheckConfigConnectionAliases) Nodes

func (_ CheckConfigConnectionAliases) Nodes(p graphql.ResolveParams) (interface{}, error)

Nodes implements response to request for 'nodes' field.

func (CheckConfigConnectionAliases) PageInfo

func (_ CheckConfigConnectionAliases) PageInfo(p graphql.ResolveParams) (interface{}, error)

PageInfo implements response to request for 'pageInfo' field.

type CheckConfigConnectionFieldResolvers

type CheckConfigConnectionFieldResolvers interface {
	CheckConfigConnectionNodesFieldResolver
	CheckConfigConnectionPageInfoFieldResolver
}

CheckConfigConnectionFieldResolvers represents a collection of methods whose products represent the response values of the 'CheckConfigConnection' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type CheckConfigConnectionNodesFieldResolver

type CheckConfigConnectionNodesFieldResolver interface {
	// Nodes implements response to request for nodes field.
	Nodes(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigConnectionNodesFieldResolver implement to resolve requests for the CheckConfigConnection's nodes field.

type CheckConfigConnectionPageInfoFieldResolver

type CheckConfigConnectionPageInfoFieldResolver interface {
	// PageInfo implements response to request for pageInfo field.
	PageInfo(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigConnectionPageInfoFieldResolver implement to resolve requests for the CheckConfigConnection's pageInfo field.

type CheckConfigCronFieldResolver

type CheckConfigCronFieldResolver interface {
	// Cron implements response to request for cron field.
	Cron(p graphql.ResolveParams) (string, error)
}

CheckConfigCronFieldResolver implement to resolve requests for the CheckConfig's cron field.

type CheckConfigEnvVarsFieldResolver

type CheckConfigEnvVarsFieldResolver interface {
	// EnvVars implements response to request for envVars field.
	EnvVars(p graphql.ResolveParams) ([]string, error)
}

CheckConfigEnvVarsFieldResolver implement to resolve requests for the CheckConfig's envVars field.

type CheckConfigExtendedAttributesFieldResolver

type CheckConfigExtendedAttributesFieldResolver interface {
	// ExtendedAttributes implements response to request for extendedAttributes field.
	ExtendedAttributes(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigExtendedAttributesFieldResolver implement to resolve requests for the CheckConfig's extendedAttributes field.

type CheckConfigFieldResolvers

CheckConfigFieldResolvers represents a collection of methods whose products represent the response values of the 'CheckConfig' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type CheckConfigHandlersFieldResolver

type CheckConfigHandlersFieldResolver interface {
	// Handlers implements response to request for handlers field.
	Handlers(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigHandlersFieldResolver implement to resolve requests for the CheckConfig's handlers field.

type CheckConfigHighFlapThresholdFieldResolver

type CheckConfigHighFlapThresholdFieldResolver interface {
	// HighFlapThreshold implements response to request for highFlapThreshold field.
	HighFlapThreshold(p graphql.ResolveParams) (int, error)
}

CheckConfigHighFlapThresholdFieldResolver implement to resolve requests for the CheckConfig's highFlapThreshold field.

type CheckConfigIDFieldResolver

type CheckConfigIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

CheckConfigIDFieldResolver implement to resolve requests for the CheckConfig's id field.

type CheckConfigInputs

type CheckConfigInputs struct {
	// Command - command to run.
	Command string
	// Interval - interval is the time interval, in seconds, in which the check should be run.
	Interval int
	/*
	   LowFlapThreshold - lowFlapThreshold is the flap detection low threshold (% state change) for
	   the check. Sensu uses the same flap detection algorithm as Nagios.
	*/
	LowFlapThreshold int
	/*
	   HighFlapThreshold - highFlapThreshold is the flap detection high threshold (% state change) for
	   the check. Sensu uses the same flap detection algorithm as Nagios.
	*/
	HighFlapThreshold int
	// Subscriptions - subscriptions refers to the list of subscribers for the check.
	Subscriptions []string
	// Handlers - handlers are the event handler for the check (incidents and/or metrics).
	Handlers []string
	// Publish - publish indicates if check requests are published for the check
	Publish bool
	// Assets - Provide a list of valid assets that are required to execute the check.
	Assets []string
}

CheckConfigInputs self descriptive

type CheckConfigIntervalFieldResolver

type CheckConfigIntervalFieldResolver interface {
	// Interval implements response to request for interval field.
	Interval(p graphql.ResolveParams) (int, error)
}

CheckConfigIntervalFieldResolver implement to resolve requests for the CheckConfig's interval field.

type CheckConfigIsSilencedFieldResolver

type CheckConfigIsSilencedFieldResolver interface {
	// IsSilenced implements response to request for isSilenced field.
	IsSilenced(p graphql.ResolveParams) (bool, error)
}

CheckConfigIsSilencedFieldResolver implement to resolve requests for the CheckConfig's isSilenced field.

type CheckConfigLowFlapThresholdFieldResolver

type CheckConfigLowFlapThresholdFieldResolver interface {
	// LowFlapThreshold implements response to request for lowFlapThreshold field.
	LowFlapThreshold(p graphql.ResolveParams) (int, error)
}

CheckConfigLowFlapThresholdFieldResolver implement to resolve requests for the CheckConfig's lowFlapThreshold field.

type CheckConfigMetadataFieldResolver

type CheckConfigMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigMetadataFieldResolver implement to resolve requests for the CheckConfig's metadata field.

type CheckConfigNameFieldResolver

type CheckConfigNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

CheckConfigNameFieldResolver implement to resolve requests for the CheckConfig's name field.

type CheckConfigNamespaceFieldResolver

type CheckConfigNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

CheckConfigNamespaceFieldResolver implement to resolve requests for the CheckConfig's namespace field.

type CheckConfigOutputMetricFormatFieldResolver

type CheckConfigOutputMetricFormatFieldResolver interface {
	// OutputMetricFormat implements response to request for outputMetricFormat field.
	OutputMetricFormat(p graphql.ResolveParams) (string, error)
}

CheckConfigOutputMetricFormatFieldResolver implement to resolve requests for the CheckConfig's outputMetricFormat field.

type CheckConfigOutputMetricHandlersFieldResolver

type CheckConfigOutputMetricHandlersFieldResolver interface {
	// OutputMetricHandlers implements response to request for outputMetricHandlers field.
	OutputMetricHandlers(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigOutputMetricHandlersFieldResolver implement to resolve requests for the CheckConfig's outputMetricHandlers field.

type CheckConfigProxyEntityNameFieldResolver

type CheckConfigProxyEntityNameFieldResolver interface {
	// ProxyEntityName implements response to request for proxyEntityName field.
	ProxyEntityName(p graphql.ResolveParams) (string, error)
}

CheckConfigProxyEntityNameFieldResolver implement to resolve requests for the CheckConfig's proxyEntityName field.

type CheckConfigProxyRequestsFieldResolver

type CheckConfigProxyRequestsFieldResolver interface {
	// ProxyRequests implements response to request for proxyRequests field.
	ProxyRequests(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigProxyRequestsFieldResolver implement to resolve requests for the CheckConfig's proxyRequests field.

type CheckConfigPublishFieldResolver

type CheckConfigPublishFieldResolver interface {
	// Publish implements response to request for publish field.
	Publish(p graphql.ResolveParams) (bool, error)
}

CheckConfigPublishFieldResolver implement to resolve requests for the CheckConfig's publish field.

type CheckConfigRoundRobinFieldResolver

type CheckConfigRoundRobinFieldResolver interface {
	// RoundRobin implements response to request for roundRobin field.
	RoundRobin(p graphql.ResolveParams) (bool, error)
}

CheckConfigRoundRobinFieldResolver implement to resolve requests for the CheckConfig's roundRobin field.

type CheckConfigRuntimeAssetsFieldResolver

type CheckConfigRuntimeAssetsFieldResolver interface {
	// RuntimeAssets implements response to request for runtimeAssets field.
	RuntimeAssets(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigRuntimeAssetsFieldResolver implement to resolve requests for the CheckConfig's runtimeAssets field.

type CheckConfigSilencesFieldResolver

type CheckConfigSilencesFieldResolver interface {
	// Silences implements response to request for silences field.
	Silences(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigSilencesFieldResolver implement to resolve requests for the CheckConfig's silences field.

type CheckConfigStdinFieldResolver

type CheckConfigStdinFieldResolver interface {
	// Stdin implements response to request for stdin field.
	Stdin(p graphql.ResolveParams) (bool, error)
}

CheckConfigStdinFieldResolver implement to resolve requests for the CheckConfig's stdin field.

type CheckConfigSubdueFieldResolver

type CheckConfigSubdueFieldResolver interface {
	// Subdue implements response to request for subdue field.
	Subdue(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigSubdueFieldResolver implement to resolve requests for the CheckConfig's subdue field.

type CheckConfigSubscriptionsFieldResolver

type CheckConfigSubscriptionsFieldResolver interface {
	// Subscriptions implements response to request for subscriptions field.
	Subscriptions(p graphql.ResolveParams) ([]string, error)
}

CheckConfigSubscriptionsFieldResolver implement to resolve requests for the CheckConfig's subscriptions field.

type CheckConfigTimeoutFieldResolver

type CheckConfigTimeoutFieldResolver interface {
	// Timeout implements response to request for timeout field.
	Timeout(p graphql.ResolveParams) (int, error)
}

CheckConfigTimeoutFieldResolver implement to resolve requests for the CheckConfig's timeout field.

type CheckConfigToJSONFieldResolver

type CheckConfigToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

CheckConfigToJSONFieldResolver implement to resolve requests for the CheckConfig's toJSON field.

type CheckConfigTtlFieldResolver

type CheckConfigTtlFieldResolver interface {
	// Ttl implements response to request for ttl field.
	Ttl(p graphql.ResolveParams) (int, error)
}

CheckConfigTtlFieldResolver implement to resolve requests for the CheckConfig's ttl field.

type CheckCronFieldResolver

type CheckCronFieldResolver interface {
	// Cron implements response to request for cron field.
	Cron(p graphql.ResolveParams) (string, error)
}

CheckCronFieldResolver implement to resolve requests for the Check's cron field.

type CheckDurationFieldResolver

type CheckDurationFieldResolver interface {
	// Duration implements response to request for duration field.
	Duration(p graphql.ResolveParams) (float64, error)
}

CheckDurationFieldResolver implement to resolve requests for the Check's duration field.

type CheckEnvVarsFieldResolver

type CheckEnvVarsFieldResolver interface {
	// EnvVars implements response to request for envVars field.
	EnvVars(p graphql.ResolveParams) ([]string, error)
}

CheckEnvVarsFieldResolver implement to resolve requests for the Check's envVars field.

type CheckExecutedFieldResolver

type CheckExecutedFieldResolver interface {
	// Executed implements response to request for executed field.
	Executed(p graphql.ResolveParams) (time.Time, error)
}

CheckExecutedFieldResolver implement to resolve requests for the Check's executed field.

type CheckExtendedAttributesFieldResolver

type CheckExtendedAttributesFieldResolver interface {
	// ExtendedAttributes implements response to request for extendedAttributes field.
	ExtendedAttributes(p graphql.ResolveParams) (interface{}, error)
}

CheckExtendedAttributesFieldResolver implement to resolve requests for the Check's extendedAttributes field.

type CheckFieldResolvers

CheckFieldResolvers represents a collection of methods whose products represent the response values of the 'Check' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type CheckHandlersFieldResolver

type CheckHandlersFieldResolver interface {
	// Handlers implements response to request for handlers field.
	Handlers(p graphql.ResolveParams) (interface{}, error)
}

CheckHandlersFieldResolver implement to resolve requests for the Check's handlers field.

type CheckHighFlapThresholdFieldResolver

type CheckHighFlapThresholdFieldResolver interface {
	// HighFlapThreshold implements response to request for highFlapThreshold field.
	HighFlapThreshold(p graphql.ResolveParams) (int, error)
}

CheckHighFlapThresholdFieldResolver implement to resolve requests for the Check's highFlapThreshold field.

type CheckHistoryAliases

type CheckHistoryAliases struct{}

CheckHistoryAliases implements all methods on CheckHistoryFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (CheckHistoryAliases) Executed

Executed implements response to request for 'executed' field.

func (CheckHistoryAliases) Status

func (_ CheckHistoryAliases) Status(p graphql.ResolveParams) (interface{}, error)

Status implements response to request for 'status' field.

type CheckHistoryExecutedFieldResolver

type CheckHistoryExecutedFieldResolver interface {
	// Executed implements response to request for executed field.
	Executed(p graphql.ResolveParams) (time.Time, error)
}

CheckHistoryExecutedFieldResolver implement to resolve requests for the CheckHistory's executed field.

type CheckHistoryFieldResolver

type CheckHistoryFieldResolver interface {
	// History implements response to request for history field.
	History(p CheckHistoryFieldResolverParams) (interface{}, error)
}

CheckHistoryFieldResolver implement to resolve requests for the Check's history field.

type CheckHistoryFieldResolverArgs

type CheckHistoryFieldResolverArgs struct {
	First int // First - self descriptive
}

CheckHistoryFieldResolverArgs contains arguments provided to history when selected

type CheckHistoryFieldResolverParams

type CheckHistoryFieldResolverParams struct {
	graphql.ResolveParams
	Args CheckHistoryFieldResolverArgs
}

CheckHistoryFieldResolverParams contains contextual info to resolve history field

type CheckHistoryFieldResolvers

type CheckHistoryFieldResolvers interface {
	CheckHistoryStatusFieldResolver
	CheckHistoryExecutedFieldResolver
}

CheckHistoryFieldResolvers represents a collection of methods whose products represent the response values of the 'CheckHistory' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type CheckHistoryStatusFieldResolver

type CheckHistoryStatusFieldResolver interface {
	// Status implements response to request for status field.
	Status(p graphql.ResolveParams) (interface{}, error)
}

CheckHistoryStatusFieldResolver implement to resolve requests for the CheckHistory's status field.

type CheckHooksFieldResolver

type CheckHooksFieldResolver interface {
	// Hooks implements response to request for hooks field.
	Hooks(p graphql.ResolveParams) (interface{}, error)
}

CheckHooksFieldResolver implement to resolve requests for the Check's hooks field.

type CheckIntervalFieldResolver

type CheckIntervalFieldResolver interface {
	// Interval implements response to request for interval field.
	Interval(p graphql.ResolveParams) (int, error)
}

CheckIntervalFieldResolver implement to resolve requests for the Check's interval field.

type CheckIsSilencedFieldResolver

type CheckIsSilencedFieldResolver interface {
	// IsSilenced implements response to request for isSilenced field.
	IsSilenced(p graphql.ResolveParams) (bool, error)
}

CheckIsSilencedFieldResolver implement to resolve requests for the Check's isSilenced field.

type CheckIssuedFieldResolver

type CheckIssuedFieldResolver interface {
	// Issued implements response to request for issued field.
	Issued(p graphql.ResolveParams) (time.Time, error)
}

CheckIssuedFieldResolver implement to resolve requests for the Check's issued field.

type CheckLastOKFieldResolver

type CheckLastOKFieldResolver interface {
	// LastOK implements response to request for lastOK field.
	LastOK(p graphql.ResolveParams) (*time.Time, error)
}

CheckLastOKFieldResolver implement to resolve requests for the Check's lastOK field.

type CheckListOrder

type CheckListOrder string

CheckListOrder Describes ways in which a list of checks can be ordered.

type CheckLowFlapThresholdFieldResolver

type CheckLowFlapThresholdFieldResolver interface {
	// LowFlapThreshold implements response to request for lowFlapThreshold field.
	LowFlapThreshold(p graphql.ResolveParams) (int, error)
}

CheckLowFlapThresholdFieldResolver implement to resolve requests for the Check's lowFlapThreshold field.

type CheckMetadataFieldResolver

type CheckMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

CheckMetadataFieldResolver implement to resolve requests for the Check's metadata field.

type CheckNameFieldResolver

type CheckNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

CheckNameFieldResolver implement to resolve requests for the Check's name field.

type CheckNodeIDFieldResolver

type CheckNodeIDFieldResolver interface {
	// NodeID implements response to request for nodeId field.
	NodeID(p graphql.ResolveParams) (string, error)
}

CheckNodeIDFieldResolver implement to resolve requests for the Check's nodeId field.

type CheckOccurrencesFieldResolver

type CheckOccurrencesFieldResolver interface {
	// Occurrences implements response to request for occurrences field.
	Occurrences(p graphql.ResolveParams) (int, error)
}

CheckOccurrencesFieldResolver implement to resolve requests for the Check's occurrences field.

type CheckOccurrencesWatermarkFieldResolver

type CheckOccurrencesWatermarkFieldResolver interface {
	// OccurrencesWatermark implements response to request for occurrencesWatermark field.
	OccurrencesWatermark(p graphql.ResolveParams) (int, error)
}

CheckOccurrencesWatermarkFieldResolver implement to resolve requests for the Check's occurrencesWatermark field.

type CheckOutputFieldResolver

type CheckOutputFieldResolver interface {
	// Output implements response to request for output field.
	Output(p graphql.ResolveParams) (string, error)
}

CheckOutputFieldResolver implement to resolve requests for the Check's output field.

type CheckOutputMetricFormatFieldResolver

type CheckOutputMetricFormatFieldResolver interface {
	// OutputMetricFormat implements response to request for outputMetricFormat field.
	OutputMetricFormat(p graphql.ResolveParams) (string, error)
}

CheckOutputMetricFormatFieldResolver implement to resolve requests for the Check's outputMetricFormat field.

type CheckOutputMetricHandlersFieldResolver

type CheckOutputMetricHandlersFieldResolver interface {
	// OutputMetricHandlers implements response to request for outputMetricHandlers field.
	OutputMetricHandlers(p graphql.ResolveParams) (interface{}, error)
}

CheckOutputMetricHandlersFieldResolver implement to resolve requests for the Check's outputMetricHandlers field.

type CheckProxyEntityNameFieldResolver

type CheckProxyEntityNameFieldResolver interface {
	// ProxyEntityName implements response to request for proxyEntityName field.
	ProxyEntityName(p graphql.ResolveParams) (string, error)
}

CheckProxyEntityNameFieldResolver implement to resolve requests for the Check's proxyEntityName field.

type CheckProxyRequestsFieldResolver

type CheckProxyRequestsFieldResolver interface {
	// ProxyRequests implements response to request for proxyRequests field.
	ProxyRequests(p graphql.ResolveParams) (interface{}, error)
}

CheckProxyRequestsFieldResolver implement to resolve requests for the Check's proxyRequests field.

type CheckPublishFieldResolver

type CheckPublishFieldResolver interface {
	// Publish implements response to request for publish field.
	Publish(p graphql.ResolveParams) (bool, error)
}

CheckPublishFieldResolver implement to resolve requests for the Check's publish field.

type CheckRoundRobinFieldResolver

type CheckRoundRobinFieldResolver interface {
	// RoundRobin implements response to request for roundRobin field.
	RoundRobin(p graphql.ResolveParams) (bool, error)
}

CheckRoundRobinFieldResolver implement to resolve requests for the Check's roundRobin field.

type CheckRuntimeAssetsFieldResolver

type CheckRuntimeAssetsFieldResolver interface {
	// RuntimeAssets implements response to request for runtimeAssets field.
	RuntimeAssets(p graphql.ResolveParams) (interface{}, error)
}

CheckRuntimeAssetsFieldResolver implement to resolve requests for the Check's runtimeAssets field.

type CheckSilencedFieldResolver

type CheckSilencedFieldResolver interface {
	// Silenced implements response to request for silenced field.
	Silenced(p graphql.ResolveParams) ([]string, error)
}

CheckSilencedFieldResolver implement to resolve requests for the Check's silenced field.

type CheckSilencesFieldResolver

type CheckSilencesFieldResolver interface {
	// Silences implements response to request for silences field.
	Silences(p graphql.ResolveParams) (interface{}, error)
}

CheckSilencesFieldResolver implement to resolve requests for the Check's silences field.

type CheckStateFieldResolver

type CheckStateFieldResolver interface {
	// State implements response to request for state field.
	State(p graphql.ResolveParams) (string, error)
}

CheckStateFieldResolver implement to resolve requests for the Check's state field.

type CheckStatusFieldResolver

type CheckStatusFieldResolver interface {
	// Status implements response to request for status field.
	Status(p graphql.ResolveParams) (interface{}, error)
}

CheckStatusFieldResolver implement to resolve requests for the Check's status field.

type CheckStdinFieldResolver

type CheckStdinFieldResolver interface {
	// Stdin implements response to request for stdin field.
	Stdin(p graphql.ResolveParams) (bool, error)
}

CheckStdinFieldResolver implement to resolve requests for the Check's stdin field.

type CheckSubdueFieldResolver

type CheckSubdueFieldResolver interface {
	// Subdue implements response to request for subdue field.
	Subdue(p graphql.ResolveParams) (interface{}, error)
}

CheckSubdueFieldResolver implement to resolve requests for the Check's subdue field.

type CheckSubscriptionsFieldResolver

type CheckSubscriptionsFieldResolver interface {
	// Subscriptions implements response to request for subscriptions field.
	Subscriptions(p graphql.ResolveParams) ([]string, error)
}

CheckSubscriptionsFieldResolver implement to resolve requests for the Check's subscriptions field.

type CheckTimeoutFieldResolver

type CheckTimeoutFieldResolver interface {
	// Timeout implements response to request for timeout field.
	Timeout(p graphql.ResolveParams) (int, error)
}

CheckTimeoutFieldResolver implement to resolve requests for the Check's timeout field.

type CheckToJSONFieldResolver

type CheckToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

CheckToJSONFieldResolver implement to resolve requests for the Check's toJSON field.

type CheckTotalStateChangeFieldResolver

type CheckTotalStateChangeFieldResolver interface {
	// TotalStateChange implements response to request for totalStateChange field.
	TotalStateChange(p graphql.ResolveParams) (int, error)
}

CheckTotalStateChangeFieldResolver implement to resolve requests for the Check's totalStateChange field.

type CheckTtlFieldResolver

type CheckTtlFieldResolver interface {
	// Ttl implements response to request for ttl field.
	Ttl(p graphql.ResolveParams) (int, error)
}

CheckTtlFieldResolver implement to resolve requests for the Check's ttl field.

type ClusterRoleAliases

type ClusterRoleAliases struct{}

ClusterRoleAliases implements all methods on ClusterRoleFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (ClusterRoleAliases) Name

Name implements response to request for 'name' field.

func (ClusterRoleAliases) Rules

func (_ ClusterRoleAliases) Rules(p graphql.ResolveParams) (interface{}, error)

Rules implements response to request for 'rules' field.

type ClusterRoleBindingAliases

type ClusterRoleBindingAliases struct{}

ClusterRoleBindingAliases implements all methods on ClusterRoleBindingFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (ClusterRoleBindingAliases) Name

Name implements response to request for 'name' field.

func (ClusterRoleBindingAliases) RoleRef

func (_ ClusterRoleBindingAliases) RoleRef(p graphql.ResolveParams) (interface{}, error)

RoleRef implements response to request for 'roleRef' field.

func (ClusterRoleBindingAliases) Subjects

func (_ ClusterRoleBindingAliases) Subjects(p graphql.ResolveParams) (interface{}, error)

Subjects implements response to request for 'subjects' field.

type ClusterRoleBindingFieldResolvers

ClusterRoleBindingFieldResolvers represents a collection of methods whose products represent the response values of the 'ClusterRoleBinding' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type ClusterRoleBindingNameFieldResolver

type ClusterRoleBindingNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

ClusterRoleBindingNameFieldResolver implement to resolve requests for the ClusterRoleBinding's name field.

type ClusterRoleBindingRoleRefFieldResolver

type ClusterRoleBindingRoleRefFieldResolver interface {
	// RoleRef implements response to request for roleRef field.
	RoleRef(p graphql.ResolveParams) (interface{}, error)
}

ClusterRoleBindingRoleRefFieldResolver implement to resolve requests for the ClusterRoleBinding's roleRef field.

type ClusterRoleBindingSubjectsFieldResolver

type ClusterRoleBindingSubjectsFieldResolver interface {
	// Subjects implements response to request for subjects field.
	Subjects(p graphql.ResolveParams) (interface{}, error)
}

ClusterRoleBindingSubjectsFieldResolver implement to resolve requests for the ClusterRoleBinding's subjects field.

type ClusterRoleFieldResolvers

type ClusterRoleFieldResolvers interface {
	ClusterRoleRulesFieldResolver
	ClusterRoleNameFieldResolver
}

ClusterRoleFieldResolvers represents a collection of methods whose products represent the response values of the 'ClusterRole' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type ClusterRoleNameFieldResolver

type ClusterRoleNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

ClusterRoleNameFieldResolver implement to resolve requests for the ClusterRole's name field.

type ClusterRoleRulesFieldResolver

type ClusterRoleRulesFieldResolver interface {
	// Rules implements response to request for rules field.
	Rules(p graphql.ResolveParams) (interface{}, error)
}

ClusterRoleRulesFieldResolver implement to resolve requests for the ClusterRole's rules field.

type CreateCheckInput

type CreateCheckInput struct {
	// ClientMutationID - A unique identifier for the client performing the mutation.
	ClientMutationID string
	// Namespace - namespace the resulting resource will belong to.
	Namespace string
	// Name - name of the resulting check.
	Name string
	// Props - properties of the check
	Props *CheckConfigInputs
}

CreateCheckInput self descriptive

type CreateCheckPayloadAliases

type CreateCheckPayloadAliases struct{}

CreateCheckPayloadAliases implements all methods on CreateCheckPayloadFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (CreateCheckPayloadAliases) Check

func (_ CreateCheckPayloadAliases) Check(p graphql.ResolveParams) (interface{}, error)

Check implements response to request for 'check' field.

func (CreateCheckPayloadAliases) ClientMutationID

func (_ CreateCheckPayloadAliases) ClientMutationID(p graphql.ResolveParams) (string, error)

ClientMutationID implements response to request for 'clientMutationId' field.

type CreateCheckPayloadCheckFieldResolver

type CreateCheckPayloadCheckFieldResolver interface {
	// Check implements response to request for check field.
	Check(p graphql.ResolveParams) (interface{}, error)
}

CreateCheckPayloadCheckFieldResolver implement to resolve requests for the CreateCheckPayload's check field.

type CreateCheckPayloadClientMutationIDFieldResolver

type CreateCheckPayloadClientMutationIDFieldResolver interface {
	// ClientMutationID implements response to request for clientMutationId field.
	ClientMutationID(p graphql.ResolveParams) (string, error)
}

CreateCheckPayloadClientMutationIDFieldResolver implement to resolve requests for the CreateCheckPayload's clientMutationId field.

type CreateCheckPayloadFieldResolvers

CreateCheckPayloadFieldResolvers represents a collection of methods whose products represent the response values of the 'CreateCheckPayload' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type CreateSilenceInput

type CreateSilenceInput struct {
	// ClientMutationID - A unique identifier for the client performing the mutation.
	ClientMutationID string
	// Namespace - namespace the resulting resource will belong to.
	Namespace string
	// Check - check associated with the silenced entry; optional.
	Check string
	// Subscription - subscription associated with the silenced entry; optional.
	Subscription string
	// Props - properties of the silence
	Props *SilenceInputs
}

CreateSilenceInput self descriptive

type CreateSilencePayloadAliases

type CreateSilencePayloadAliases struct{}

CreateSilencePayloadAliases implements all methods on CreateSilencePayloadFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (CreateSilencePayloadAliases) ClientMutationID

ClientMutationID implements response to request for 'clientMutationId' field.

func (CreateSilencePayloadAliases) Silence

func (_ CreateSilencePayloadAliases) Silence(p graphql.ResolveParams) (interface{}, error)

Silence implements response to request for 'silence' field.

type CreateSilencePayloadClientMutationIDFieldResolver

type CreateSilencePayloadClientMutationIDFieldResolver interface {
	// ClientMutationID implements response to request for clientMutationId field.
	ClientMutationID(p graphql.ResolveParams) (string, error)
}

CreateSilencePayloadClientMutationIDFieldResolver implement to resolve requests for the CreateSilencePayload's clientMutationId field.

type CreateSilencePayloadFieldResolvers

CreateSilencePayloadFieldResolvers represents a collection of methods whose products represent the response values of the 'CreateSilencePayload' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type CreateSilencePayloadSilenceFieldResolver

type CreateSilencePayloadSilenceFieldResolver interface {
	// Silence implements response to request for silence field.
	Silence(p graphql.ResolveParams) (interface{}, error)
}

CreateSilencePayloadSilenceFieldResolver implement to resolve requests for the CreateSilencePayload's silence field.

type DeleteRecordInput

type DeleteRecordInput struct {
	// ClientMutationID - A unique identifier for the client performing the mutation.
	ClientMutationID string
	// ID - Global ID of the check to update.
	ID string
}

DeleteRecordInput Generic input used when deleting records.

type DeleteRecordPayloadAliases

type DeleteRecordPayloadAliases struct{}

DeleteRecordPayloadAliases implements all methods on DeleteRecordPayloadFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (DeleteRecordPayloadAliases) ClientMutationID

func (_ DeleteRecordPayloadAliases) ClientMutationID(p graphql.ResolveParams) (string, error)

ClientMutationID implements response to request for 'clientMutationId' field.

func (DeleteRecordPayloadAliases) DeletedID

DeletedID implements response to request for 'deletedId' field.

type DeleteRecordPayloadClientMutationIDFieldResolver

type DeleteRecordPayloadClientMutationIDFieldResolver interface {
	// ClientMutationID implements response to request for clientMutationId field.
	ClientMutationID(p graphql.ResolveParams) (string, error)
}

DeleteRecordPayloadClientMutationIDFieldResolver implement to resolve requests for the DeleteRecordPayload's clientMutationId field.

type DeleteRecordPayloadDeletedIDFieldResolver

type DeleteRecordPayloadDeletedIDFieldResolver interface {
	// DeletedID implements response to request for deletedId field.
	DeletedID(p graphql.ResolveParams) (string, error)
}

DeleteRecordPayloadDeletedIDFieldResolver implement to resolve requests for the DeleteRecordPayload's deletedId field.

type DeleteRecordPayloadFieldResolvers

DeleteRecordPayloadFieldResolvers represents a collection of methods whose products represent the response values of the 'DeleteRecordPayload' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type DeregistrationAliases

type DeregistrationAliases struct{}

DeregistrationAliases implements all methods on DeregistrationFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (DeregistrationAliases) Handler

Handler implements response to request for 'handler' field.

type DeregistrationFieldResolvers

type DeregistrationFieldResolvers interface {
	DeregistrationHandlerFieldResolver
}

DeregistrationFieldResolvers represents a collection of methods whose products represent the response values of the 'Deregistration' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type DeregistrationHandlerFieldResolver

type DeregistrationHandlerFieldResolver interface {
	// Handler implements response to request for handler field.
	Handler(p graphql.ResolveParams) (string, error)
}

DeregistrationHandlerFieldResolver implement to resolve requests for the Deregistration's handler field.

type EntityAliases

type EntityAliases struct{}

EntityAliases implements all methods on EntityFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (EntityAliases) Deregister

func (_ EntityAliases) Deregister(p graphql.ResolveParams) (bool, error)

Deregister implements response to request for 'deregister' field.

func (EntityAliases) Deregistration

func (_ EntityAliases) Deregistration(p graphql.ResolveParams) (interface{}, error)

Deregistration implements response to request for 'deregistration' field.

func (EntityAliases) EntityClass

func (_ EntityAliases) EntityClass(p graphql.ResolveParams) (string, error)

EntityClass implements response to request for 'entityClass' field.

func (EntityAliases) Events

func (_ EntityAliases) Events(p EntityEventsFieldResolverParams) (interface{}, error)

Events implements response to request for 'events' field.

func (EntityAliases) ExtendedAttributes

func (_ EntityAliases) ExtendedAttributes(p graphql.ResolveParams) (interface{}, error)

ExtendedAttributes implements response to request for 'extendedAttributes' field.

func (EntityAliases) ID

ID implements response to request for 'id' field.

func (EntityAliases) IsSilenced

func (_ EntityAliases) IsSilenced(p graphql.ResolveParams) (bool, error)

IsSilenced implements response to request for 'isSilenced' field.

func (EntityAliases) LastSeen

func (_ EntityAliases) LastSeen(p graphql.ResolveParams) (*time.Time, error)

LastSeen implements response to request for 'lastSeen' field.

func (EntityAliases) Metadata

func (_ EntityAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (EntityAliases) Name

Name implements response to request for 'name' field.

func (EntityAliases) Namespace

func (_ EntityAliases) Namespace(p graphql.ResolveParams) (string, error)

Namespace implements response to request for 'namespace' field.

func (EntityAliases) Redact

func (_ EntityAliases) Redact(p graphql.ResolveParams) ([]string, error)

Redact implements response to request for 'redact' field.

func (EntityAliases) Related

func (_ EntityAliases) Related(p EntityRelatedFieldResolverParams) (interface{}, error)

Related implements response to request for 'related' field.

func (EntityAliases) Silences

func (_ EntityAliases) Silences(p graphql.ResolveParams) (interface{}, error)

Silences implements response to request for 'silences' field.

func (EntityAliases) Status

func (_ EntityAliases) Status(p graphql.ResolveParams) (interface{}, error)

Status implements response to request for 'status' field.

func (EntityAliases) Subscriptions

func (_ EntityAliases) Subscriptions(p graphql.ResolveParams) ([]string, error)

Subscriptions implements response to request for 'subscriptions' field.

func (EntityAliases) System

func (_ EntityAliases) System(p graphql.ResolveParams) (interface{}, error)

System implements response to request for 'system' field.

func (EntityAliases) ToJSON

func (_ EntityAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

func (EntityAliases) User

User implements response to request for 'user' field.

type EntityConnectionAliases

type EntityConnectionAliases struct{}

EntityConnectionAliases implements all methods on EntityConnectionFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (EntityConnectionAliases) Nodes

func (_ EntityConnectionAliases) Nodes(p graphql.ResolveParams) (interface{}, error)

Nodes implements response to request for 'nodes' field.

func (EntityConnectionAliases) PageInfo

func (_ EntityConnectionAliases) PageInfo(p graphql.ResolveParams) (interface{}, error)

PageInfo implements response to request for 'pageInfo' field.

type EntityConnectionFieldResolvers

type EntityConnectionFieldResolvers interface {
	EntityConnectionNodesFieldResolver
	EntityConnectionPageInfoFieldResolver
}

EntityConnectionFieldResolvers represents a collection of methods whose products represent the response values of the 'EntityConnection' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type EntityConnectionNodesFieldResolver

type EntityConnectionNodesFieldResolver interface {
	// Nodes implements response to request for nodes field.
	Nodes(p graphql.ResolveParams) (interface{}, error)
}

EntityConnectionNodesFieldResolver implement to resolve requests for the EntityConnection's nodes field.

type EntityConnectionPageInfoFieldResolver

type EntityConnectionPageInfoFieldResolver interface {
	// PageInfo implements response to request for pageInfo field.
	PageInfo(p graphql.ResolveParams) (interface{}, error)
}

EntityConnectionPageInfoFieldResolver implement to resolve requests for the EntityConnection's pageInfo field.

type EntityDeregisterFieldResolver

type EntityDeregisterFieldResolver interface {
	// Deregister implements response to request for deregister field.
	Deregister(p graphql.ResolveParams) (bool, error)
}

EntityDeregisterFieldResolver implement to resolve requests for the Entity's deregister field.

type EntityDeregistrationFieldResolver

type EntityDeregistrationFieldResolver interface {
	// Deregistration implements response to request for deregistration field.
	Deregistration(p graphql.ResolveParams) (interface{}, error)
}

EntityDeregistrationFieldResolver implement to resolve requests for the Entity's deregistration field.

type EntityEntityClassFieldResolver

type EntityEntityClassFieldResolver interface {
	// EntityClass implements response to request for entityClass field.
	EntityClass(p graphql.ResolveParams) (string, error)
}

EntityEntityClassFieldResolver implement to resolve requests for the Entity's entityClass field.

type EntityEventsFieldResolver

type EntityEventsFieldResolver interface {
	// Events implements response to request for events field.
	Events(p EntityEventsFieldResolverParams) (interface{}, error)
}

EntityEventsFieldResolver implement to resolve requests for the Entity's events field.

type EntityEventsFieldResolverArgs

type EntityEventsFieldResolverArgs struct {
	OrderBy EventsListOrder // OrderBy adds optional order to the records retrieved.
	Filters []string        /*
		Filters reduces the set using given arbitrary expression[s]; expressions
		take on the form KEY: VALUE. The accepted key(s) are: status, check, entity,
		& silenced.

		Eg.

		status:passing
		status:warning
		status:incident
		check:check-disk
		entity:venice
		silenced:true
	*/
}

EntityEventsFieldResolverArgs contains arguments provided to events when selected

type EntityEventsFieldResolverParams

type EntityEventsFieldResolverParams struct {
	graphql.ResolveParams
	Args EntityEventsFieldResolverArgs
}

EntityEventsFieldResolverParams contains contextual info to resolve events field

type EntityExtendedAttributesFieldResolver

type EntityExtendedAttributesFieldResolver interface {
	// ExtendedAttributes implements response to request for extendedAttributes field.
	ExtendedAttributes(p graphql.ResolveParams) (interface{}, error)
}

EntityExtendedAttributesFieldResolver implement to resolve requests for the Entity's extendedAttributes field.

type EntityFieldResolvers

EntityFieldResolvers represents a collection of methods whose products represent the response values of the 'Entity' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type EntityIDFieldResolver

type EntityIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

EntityIDFieldResolver implement to resolve requests for the Entity's id field.

type EntityIsSilencedFieldResolver

type EntityIsSilencedFieldResolver interface {
	// IsSilenced implements response to request for isSilenced field.
	IsSilenced(p graphql.ResolveParams) (bool, error)
}

EntityIsSilencedFieldResolver implement to resolve requests for the Entity's isSilenced field.

type EntityLastSeenFieldResolver

type EntityLastSeenFieldResolver interface {
	// LastSeen implements response to request for lastSeen field.
	LastSeen(p graphql.ResolveParams) (*time.Time, error)
}

EntityLastSeenFieldResolver implement to resolve requests for the Entity's lastSeen field.

type EntityListOrder

type EntityListOrder string

EntityListOrder Describes ways in which a list of entities can be ordered.

type EntityMetadataFieldResolver

type EntityMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

EntityMetadataFieldResolver implement to resolve requests for the Entity's metadata field.

type EntityNameFieldResolver

type EntityNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

EntityNameFieldResolver implement to resolve requests for the Entity's name field.

type EntityNamespaceFieldResolver

type EntityNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

EntityNamespaceFieldResolver implement to resolve requests for the Entity's namespace field.

type EntityRedactFieldResolver

type EntityRedactFieldResolver interface {
	// Redact implements response to request for redact field.
	Redact(p graphql.ResolveParams) ([]string, error)
}

EntityRedactFieldResolver implement to resolve requests for the Entity's redact field.

type EntityRelatedFieldResolver

type EntityRelatedFieldResolver interface {
	// Related implements response to request for related field.
	Related(p EntityRelatedFieldResolverParams) (interface{}, error)
}

EntityRelatedFieldResolver implement to resolve requests for the Entity's related field.

type EntityRelatedFieldResolverArgs

type EntityRelatedFieldResolverArgs struct {
	Limit int // Limit - self descriptive
}

EntityRelatedFieldResolverArgs contains arguments provided to related when selected

type EntityRelatedFieldResolverParams

type EntityRelatedFieldResolverParams struct {
	graphql.ResolveParams
	Args EntityRelatedFieldResolverArgs
}

EntityRelatedFieldResolverParams contains contextual info to resolve related field

type EntitySilencesFieldResolver

type EntitySilencesFieldResolver interface {
	// Silences implements response to request for silences field.
	Silences(p graphql.ResolveParams) (interface{}, error)
}

EntitySilencesFieldResolver implement to resolve requests for the Entity's silences field.

type EntityStatusFieldResolver

type EntityStatusFieldResolver interface {
	// Status implements response to request for status field.
	Status(p graphql.ResolveParams) (interface{}, error)
}

EntityStatusFieldResolver implement to resolve requests for the Entity's status field.

type EntitySubscriptionsFieldResolver

type EntitySubscriptionsFieldResolver interface {
	// Subscriptions implements response to request for subscriptions field.
	Subscriptions(p graphql.ResolveParams) ([]string, error)
}

EntitySubscriptionsFieldResolver implement to resolve requests for the Entity's subscriptions field.

type EntitySystemFieldResolver

type EntitySystemFieldResolver interface {
	// System implements response to request for system field.
	System(p graphql.ResolveParams) (interface{}, error)
}

EntitySystemFieldResolver implement to resolve requests for the Entity's system field.

type EntityToJSONFieldResolver

type EntityToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

EntityToJSONFieldResolver implement to resolve requests for the Entity's toJSON field.

type EntityUserFieldResolver

type EntityUserFieldResolver interface {
	// User implements response to request for user field.
	User(p graphql.ResolveParams) (string, error)
}

EntityUserFieldResolver implement to resolve requests for the Entity's user field.

type ErrCode

type ErrCode string

ErrCode A terse description of an error.

type EventAliases

type EventAliases struct{}

EventAliases implements all methods on EventFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (EventAliases) Check

func (_ EventAliases) Check(p graphql.ResolveParams) (interface{}, error)

Check implements response to request for 'check' field.

func (EventAliases) Entity

func (_ EventAliases) Entity(p graphql.ResolveParams) (interface{}, error)

Entity implements response to request for 'entity' field.

func (EventAliases) Hooks

func (_ EventAliases) Hooks(p graphql.ResolveParams) (interface{}, error)

Hooks implements response to request for 'hooks' field.

func (EventAliases) ID

ID implements response to request for 'id' field.

func (EventAliases) IsIncident

func (_ EventAliases) IsIncident(p graphql.ResolveParams) (bool, error)

IsIncident implements response to request for 'isIncident' field.

func (EventAliases) IsNewIncident

func (_ EventAliases) IsNewIncident(p graphql.ResolveParams) (bool, error)

IsNewIncident implements response to request for 'isNewIncident' field.

func (EventAliases) IsResolution

func (_ EventAliases) IsResolution(p graphql.ResolveParams) (bool, error)

IsResolution implements response to request for 'isResolution' field.

func (EventAliases) IsSilenced

func (_ EventAliases) IsSilenced(p graphql.ResolveParams) (bool, error)

IsSilenced implements response to request for 'isSilenced' field.

func (EventAliases) Metadata

func (_ EventAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (EventAliases) Namespace

func (_ EventAliases) Namespace(p graphql.ResolveParams) (string, error)

Namespace implements response to request for 'namespace' field.

func (EventAliases) Silenced

func (_ EventAliases) Silenced(p graphql.ResolveParams) ([]string, error)

Silenced implements response to request for 'silenced' field.

func (EventAliases) Silences

func (_ EventAliases) Silences(p graphql.ResolveParams) (interface{}, error)

Silences implements response to request for 'silences' field.

func (EventAliases) Timestamp

func (_ EventAliases) Timestamp(p graphql.ResolveParams) (time.Time, error)

Timestamp implements response to request for 'timestamp' field.

func (EventAliases) ToJSON

func (_ EventAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

func (EventAliases) WasSilenced

func (_ EventAliases) WasSilenced(p graphql.ResolveParams) (bool, error)

WasSilenced implements response to request for 'wasSilenced' field.

type EventCheckFieldResolver

type EventCheckFieldResolver interface {
	// Check implements response to request for check field.
	Check(p graphql.ResolveParams) (interface{}, error)
}

EventCheckFieldResolver implement to resolve requests for the Event's check field.

type EventConnectionAliases

type EventConnectionAliases struct{}

EventConnectionAliases implements all methods on EventConnectionFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (EventConnectionAliases) Nodes

func (_ EventConnectionAliases) Nodes(p graphql.ResolveParams) (interface{}, error)

Nodes implements response to request for 'nodes' field.

func (EventConnectionAliases) PageInfo

func (_ EventConnectionAliases) PageInfo(p graphql.ResolveParams) (interface{}, error)

PageInfo implements response to request for 'pageInfo' field.

type EventConnectionFieldResolvers

type EventConnectionFieldResolvers interface {
	EventConnectionNodesFieldResolver
	EventConnectionPageInfoFieldResolver
}

EventConnectionFieldResolvers represents a collection of methods whose products represent the response values of the 'EventConnection' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type EventConnectionNodesFieldResolver

type EventConnectionNodesFieldResolver interface {
	// Nodes implements response to request for nodes field.
	Nodes(p graphql.ResolveParams) (interface{}, error)
}

EventConnectionNodesFieldResolver implement to resolve requests for the EventConnection's nodes field.

type EventConnectionPageInfoFieldResolver

type EventConnectionPageInfoFieldResolver interface {
	// PageInfo implements response to request for pageInfo field.
	PageInfo(p graphql.ResolveParams) (interface{}, error)
}

EventConnectionPageInfoFieldResolver implement to resolve requests for the EventConnection's pageInfo field.

type EventEntityFieldResolver

type EventEntityFieldResolver interface {
	// Entity implements response to request for entity field.
	Entity(p graphql.ResolveParams) (interface{}, error)
}

EventEntityFieldResolver implement to resolve requests for the Event's entity field.

type EventFieldResolvers

EventFieldResolvers represents a collection of methods whose products represent the response values of the 'Event' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type EventHooksFieldResolver

type EventHooksFieldResolver interface {
	// Hooks implements response to request for hooks field.
	Hooks(p graphql.ResolveParams) (interface{}, error)
}

EventHooksFieldResolver implement to resolve requests for the Event's hooks field.

type EventIDFieldResolver

type EventIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

EventIDFieldResolver implement to resolve requests for the Event's id field.

type EventIsIncidentFieldResolver

type EventIsIncidentFieldResolver interface {
	// IsIncident implements response to request for isIncident field.
	IsIncident(p graphql.ResolveParams) (bool, error)
}

EventIsIncidentFieldResolver implement to resolve requests for the Event's isIncident field.

type EventIsNewIncidentFieldResolver

type EventIsNewIncidentFieldResolver interface {
	// IsNewIncident implements response to request for isNewIncident field.
	IsNewIncident(p graphql.ResolveParams) (bool, error)
}

EventIsNewIncidentFieldResolver implement to resolve requests for the Event's isNewIncident field.

type EventIsResolutionFieldResolver

type EventIsResolutionFieldResolver interface {
	// IsResolution implements response to request for isResolution field.
	IsResolution(p graphql.ResolveParams) (bool, error)
}

EventIsResolutionFieldResolver implement to resolve requests for the Event's isResolution field.

type EventIsSilencedFieldResolver

type EventIsSilencedFieldResolver interface {
	// IsSilenced implements response to request for isSilenced field.
	IsSilenced(p graphql.ResolveParams) (bool, error)
}

EventIsSilencedFieldResolver implement to resolve requests for the Event's isSilenced field.

type EventMetadataFieldResolver

type EventMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

EventMetadataFieldResolver implement to resolve requests for the Event's metadata field.

type EventNamespaceFieldResolver

type EventNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

EventNamespaceFieldResolver implement to resolve requests for the Event's namespace field.

type EventSilencedFieldResolver

type EventSilencedFieldResolver interface {
	// Silenced implements response to request for silenced field.
	Silenced(p graphql.ResolveParams) ([]string, error)
}

EventSilencedFieldResolver implement to resolve requests for the Event's silenced field.

type EventSilencesFieldResolver

type EventSilencesFieldResolver interface {
	// Silences implements response to request for silences field.
	Silences(p graphql.ResolveParams) (interface{}, error)
}

EventSilencesFieldResolver implement to resolve requests for the Event's silences field.

type EventTimestampFieldResolver

type EventTimestampFieldResolver interface {
	// Timestamp implements response to request for timestamp field.
	Timestamp(p graphql.ResolveParams) (time.Time, error)
}

EventTimestampFieldResolver implement to resolve requests for the Event's timestamp field.

type EventToJSONFieldResolver

type EventToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

EventToJSONFieldResolver implement to resolve requests for the Event's toJSON field.

type EventWasSilencedFieldResolver

type EventWasSilencedFieldResolver interface {
	// WasSilenced implements response to request for wasSilenced field.
	WasSilenced(p graphql.ResolveParams) (bool, error)
}

EventWasSilencedFieldResolver implement to resolve requests for the Event's wasSilenced field.

type EventsListOrder

type EventsListOrder string

EventsListOrder Describes ways in which a list of events can be ordered.

type ExecuteCheckInput

type ExecuteCheckInput struct {
	// ClientMutationID - A unique identifier for the client performing the mutation.
	ClientMutationID string
	// ID - Global ID of the check to update.
	ID string
	// Subscriptions is an optional list of subscriptions to target.
	Subscriptions []string
	// Reason is used to provide context to the adho request.
	Reason string
}

ExecuteCheckInput self descriptive

type ExecuteCheckPayloadAliases

type ExecuteCheckPayloadAliases struct{}

ExecuteCheckPayloadAliases implements all methods on ExecuteCheckPayloadFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (ExecuteCheckPayloadAliases) ClientMutationID

func (_ ExecuteCheckPayloadAliases) ClientMutationID(p graphql.ResolveParams) (string, error)

ClientMutationID implements response to request for 'clientMutationId' field.

func (ExecuteCheckPayloadAliases) Errors

func (_ ExecuteCheckPayloadAliases) Errors(p graphql.ResolveParams) (interface{}, error)

Errors implements response to request for 'errors' field.

type ExecuteCheckPayloadClientMutationIDFieldResolver

type ExecuteCheckPayloadClientMutationIDFieldResolver interface {
	// ClientMutationID implements response to request for clientMutationId field.
	ClientMutationID(p graphql.ResolveParams) (string, error)
}

ExecuteCheckPayloadClientMutationIDFieldResolver implement to resolve requests for the ExecuteCheckPayload's clientMutationId field.

type ExecuteCheckPayloadErrorsFieldResolver

type ExecuteCheckPayloadErrorsFieldResolver interface {
	// Errors implements response to request for errors field.
	Errors(p graphql.ResolveParams) (interface{}, error)
}

ExecuteCheckPayloadErrorsFieldResolver implement to resolve requests for the ExecuteCheckPayload's errors field.

type ExecuteCheckPayloadFieldResolvers

ExecuteCheckPayloadFieldResolvers represents a collection of methods whose products represent the response values of the 'ExecuteCheckPayload' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type HandlerAliases

type HandlerAliases struct{}

HandlerAliases implements all methods on HandlerFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (HandlerAliases) Command

Command implements response to request for 'command' field.

func (HandlerAliases) EnvVars

func (_ HandlerAliases) EnvVars(p graphql.ResolveParams) ([]string, error)

EnvVars implements response to request for 'envVars' field.

func (HandlerAliases) Filters

func (_ HandlerAliases) Filters(p graphql.ResolveParams) ([]string, error)

Filters implements response to request for 'filters' field.

func (HandlerAliases) Handlers

func (_ HandlerAliases) Handlers(p graphql.ResolveParams) (interface{}, error)

Handlers implements response to request for 'handlers' field.

func (HandlerAliases) ID

ID implements response to request for 'id' field.

func (HandlerAliases) Metadata

func (_ HandlerAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (HandlerAliases) Mutator

func (_ HandlerAliases) Mutator(p graphql.ResolveParams) (interface{}, error)

Mutator implements response to request for 'mutator' field.

func (HandlerAliases) Name

Name implements response to request for 'name' field.

func (HandlerAliases) Namespace

func (_ HandlerAliases) Namespace(p graphql.ResolveParams) (string, error)

Namespace implements response to request for 'namespace' field.

func (HandlerAliases) Socket

func (_ HandlerAliases) Socket(p graphql.ResolveParams) (interface{}, error)

Socket implements response to request for 'socket' field.

func (HandlerAliases) Timeout

func (_ HandlerAliases) Timeout(p graphql.ResolveParams) (int, error)

Timeout implements response to request for 'timeout' field.

func (HandlerAliases) ToJSON

func (_ HandlerAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

func (HandlerAliases) Type

Type implements response to request for 'type' field.

type HandlerCommandFieldResolver

type HandlerCommandFieldResolver interface {
	// Command implements response to request for command field.
	Command(p graphql.ResolveParams) (string, error)
}

HandlerCommandFieldResolver implement to resolve requests for the Handler's command field.

type HandlerConnectionAliases

type HandlerConnectionAliases struct{}

HandlerConnectionAliases implements all methods on HandlerConnectionFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (HandlerConnectionAliases) Nodes

func (_ HandlerConnectionAliases) Nodes(p graphql.ResolveParams) (interface{}, error)

Nodes implements response to request for 'nodes' field.

func (HandlerConnectionAliases) PageInfo

func (_ HandlerConnectionAliases) PageInfo(p graphql.ResolveParams) (interface{}, error)

PageInfo implements response to request for 'pageInfo' field.

type HandlerConnectionFieldResolvers

type HandlerConnectionFieldResolvers interface {
	HandlerConnectionNodesFieldResolver
	HandlerConnectionPageInfoFieldResolver
}

HandlerConnectionFieldResolvers represents a collection of methods whose products represent the response values of the 'HandlerConnection' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type HandlerConnectionNodesFieldResolver

type HandlerConnectionNodesFieldResolver interface {
	// Nodes implements response to request for nodes field.
	Nodes(p graphql.ResolveParams) (interface{}, error)
}

HandlerConnectionNodesFieldResolver implement to resolve requests for the HandlerConnection's nodes field.

type HandlerConnectionPageInfoFieldResolver

type HandlerConnectionPageInfoFieldResolver interface {
	// PageInfo implements response to request for pageInfo field.
	PageInfo(p graphql.ResolveParams) (interface{}, error)
}

HandlerConnectionPageInfoFieldResolver implement to resolve requests for the HandlerConnection's pageInfo field.

type HandlerEdgeAliases

type HandlerEdgeAliases struct{}

HandlerEdgeAliases implements all methods on HandlerEdgeFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (HandlerEdgeAliases) Cursor

Cursor implements response to request for 'cursor' field.

func (HandlerEdgeAliases) Node

func (_ HandlerEdgeAliases) Node(p graphql.ResolveParams) (interface{}, error)

Node implements response to request for 'node' field.

type HandlerEdgeCursorFieldResolver

type HandlerEdgeCursorFieldResolver interface {
	// Cursor implements response to request for cursor field.
	Cursor(p graphql.ResolveParams) (string, error)
}

HandlerEdgeCursorFieldResolver implement to resolve requests for the HandlerEdge's cursor field.

type HandlerEdgeFieldResolvers

type HandlerEdgeFieldResolvers interface {
	HandlerEdgeNodeFieldResolver
	HandlerEdgeCursorFieldResolver
}

HandlerEdgeFieldResolvers represents a collection of methods whose products represent the response values of the 'HandlerEdge' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type HandlerEdgeNodeFieldResolver

type HandlerEdgeNodeFieldResolver interface {
	// Node implements response to request for node field.
	Node(p graphql.ResolveParams) (interface{}, error)
}

HandlerEdgeNodeFieldResolver implement to resolve requests for the HandlerEdge's node field.

type HandlerEnvVarsFieldResolver

type HandlerEnvVarsFieldResolver interface {
	// EnvVars implements response to request for envVars field.
	EnvVars(p graphql.ResolveParams) ([]string, error)
}

HandlerEnvVarsFieldResolver implement to resolve requests for the Handler's envVars field.

type HandlerFieldResolvers

HandlerFieldResolvers represents a collection of methods whose products represent the response values of the 'Handler' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type HandlerFiltersFieldResolver

type HandlerFiltersFieldResolver interface {
	// Filters implements response to request for filters field.
	Filters(p graphql.ResolveParams) ([]string, error)
}

HandlerFiltersFieldResolver implement to resolve requests for the Handler's filters field.

type HandlerHandlersFieldResolver

type HandlerHandlersFieldResolver interface {
	// Handlers implements response to request for handlers field.
	Handlers(p graphql.ResolveParams) (interface{}, error)
}

HandlerHandlersFieldResolver implement to resolve requests for the Handler's handlers field.

type HandlerIDFieldResolver

type HandlerIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

HandlerIDFieldResolver implement to resolve requests for the Handler's id field.

type HandlerListOrder

type HandlerListOrder string

HandlerListOrder Describes ways in which a list of handlers can be ordered.

type HandlerMetadataFieldResolver

type HandlerMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

HandlerMetadataFieldResolver implement to resolve requests for the Handler's metadata field.

type HandlerMutatorFieldResolver

type HandlerMutatorFieldResolver interface {
	// Mutator implements response to request for mutator field.
	Mutator(p graphql.ResolveParams) (interface{}, error)
}

HandlerMutatorFieldResolver implement to resolve requests for the Handler's mutator field.

type HandlerNameFieldResolver

type HandlerNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

HandlerNameFieldResolver implement to resolve requests for the Handler's name field.

type HandlerNamespaceFieldResolver

type HandlerNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

HandlerNamespaceFieldResolver implement to resolve requests for the Handler's namespace field.

type HandlerSocketAliases

type HandlerSocketAliases struct{}

HandlerSocketAliases implements all methods on HandlerSocketFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (HandlerSocketAliases) Host

Host implements response to request for 'host' field.

func (HandlerSocketAliases) Port

Port implements response to request for 'port' field.

type HandlerSocketFieldResolver

type HandlerSocketFieldResolver interface {
	// Socket implements response to request for socket field.
	Socket(p graphql.ResolveParams) (interface{}, error)
}

HandlerSocketFieldResolver implement to resolve requests for the Handler's socket field.

type HandlerSocketFieldResolvers

type HandlerSocketFieldResolvers interface {
	HandlerSocketHostFieldResolver
	HandlerSocketPortFieldResolver
}

HandlerSocketFieldResolvers represents a collection of methods whose products represent the response values of the 'HandlerSocket' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type HandlerSocketHostFieldResolver

type HandlerSocketHostFieldResolver interface {
	// Host implements response to request for host field.
	Host(p graphql.ResolveParams) (string, error)
}

HandlerSocketHostFieldResolver implement to resolve requests for the HandlerSocket's host field.

type HandlerSocketPortFieldResolver

type HandlerSocketPortFieldResolver interface {
	// Port implements response to request for port field.
	Port(p graphql.ResolveParams) (int, error)
}

HandlerSocketPortFieldResolver implement to resolve requests for the HandlerSocket's port field.

type HandlerTimeoutFieldResolver

type HandlerTimeoutFieldResolver interface {
	// Timeout implements response to request for timeout field.
	Timeout(p graphql.ResolveParams) (int, error)
}

HandlerTimeoutFieldResolver implement to resolve requests for the Handler's timeout field.

type HandlerToJSONFieldResolver

type HandlerToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

HandlerToJSONFieldResolver implement to resolve requests for the Handler's toJSON field.

type HandlerTypeFieldResolver

type HandlerTypeFieldResolver interface {
	// Type implements response to request for type field.
	Type(p graphql.ResolveParams) (string, error)
}

HandlerTypeFieldResolver implement to resolve requests for the Handler's type field.

type HookAliases

type HookAliases struct{}

HookAliases implements all methods on HookFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (HookAliases) Config

func (_ HookAliases) Config(p graphql.ResolveParams) (interface{}, error)

Config implements response to request for 'config' field.

func (HookAliases) Duration

func (_ HookAliases) Duration(p graphql.ResolveParams) (int, error)

Duration implements response to request for 'duration' field.

func (HookAliases) Executed

func (_ HookAliases) Executed(p graphql.ResolveParams) (int, error)

Executed implements response to request for 'executed' field.

func (HookAliases) Issued

func (_ HookAliases) Issued(p graphql.ResolveParams) (int, error)

Issued implements response to request for 'issued' field.

func (HookAliases) Output

func (_ HookAliases) Output(p graphql.ResolveParams) (string, error)

Output implements response to request for 'output' field.

func (HookAliases) Status

func (_ HookAliases) Status(p graphql.ResolveParams) (int, error)

Status implements response to request for 'status' field.

type HookConfigAliases

type HookConfigAliases struct{}

HookConfigAliases implements all methods on HookConfigFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (HookConfigAliases) Command

Command implements response to request for 'command' field.

func (HookConfigAliases) ID

ID implements response to request for 'id' field.

func (HookConfigAliases) Metadata

func (_ HookConfigAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (HookConfigAliases) Name

Name implements response to request for 'name' field.

func (HookConfigAliases) Namespace

Namespace implements response to request for 'namespace' field.

func (HookConfigAliases) Stdin

Stdin implements response to request for 'stdin' field.

func (HookConfigAliases) Timeout

Timeout implements response to request for 'timeout' field.

func (HookConfigAliases) ToJSON

func (_ HookConfigAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

type HookConfigCommandFieldResolver

type HookConfigCommandFieldResolver interface {
	// Command implements response to request for command field.
	Command(p graphql.ResolveParams) (string, error)
}

HookConfigCommandFieldResolver implement to resolve requests for the HookConfig's command field.

type HookConfigFieldResolver

type HookConfigFieldResolver interface {
	// Config implements response to request for config field.
	Config(p graphql.ResolveParams) (interface{}, error)
}

HookConfigFieldResolver implement to resolve requests for the Hook's config field.

type HookConfigFieldResolvers

HookConfigFieldResolvers represents a collection of methods whose products represent the response values of the 'HookConfig' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type HookConfigIDFieldResolver

type HookConfigIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

HookConfigIDFieldResolver implement to resolve requests for the HookConfig's id field.

type HookConfigMetadataFieldResolver

type HookConfigMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

HookConfigMetadataFieldResolver implement to resolve requests for the HookConfig's metadata field.

type HookConfigNameFieldResolver

type HookConfigNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

HookConfigNameFieldResolver implement to resolve requests for the HookConfig's name field.

type HookConfigNamespaceFieldResolver

type HookConfigNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

HookConfigNamespaceFieldResolver implement to resolve requests for the HookConfig's namespace field.

type HookConfigStdinFieldResolver

type HookConfigStdinFieldResolver interface {
	// Stdin implements response to request for stdin field.
	Stdin(p graphql.ResolveParams) (bool, error)
}

HookConfigStdinFieldResolver implement to resolve requests for the HookConfig's stdin field.

type HookConfigTimeoutFieldResolver

type HookConfigTimeoutFieldResolver interface {
	// Timeout implements response to request for timeout field.
	Timeout(p graphql.ResolveParams) (int, error)
}

HookConfigTimeoutFieldResolver implement to resolve requests for the HookConfig's timeout field.

type HookConfigToJSONFieldResolver

type HookConfigToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

HookConfigToJSONFieldResolver implement to resolve requests for the HookConfig's toJSON field.

type HookDurationFieldResolver

type HookDurationFieldResolver interface {
	// Duration implements response to request for duration field.
	Duration(p graphql.ResolveParams) (int, error)
}

HookDurationFieldResolver implement to resolve requests for the Hook's duration field.

type HookExecutedFieldResolver

type HookExecutedFieldResolver interface {
	// Executed implements response to request for executed field.
	Executed(p graphql.ResolveParams) (int, error)
}

HookExecutedFieldResolver implement to resolve requests for the Hook's executed field.

type HookFieldResolvers

HookFieldResolvers represents a collection of methods whose products represent the response values of the 'Hook' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type HookIssuedFieldResolver

type HookIssuedFieldResolver interface {
	// Issued implements response to request for issued field.
	Issued(p graphql.ResolveParams) (int, error)
}

HookIssuedFieldResolver implement to resolve requests for the Hook's issued field.

type HookListAliases

type HookListAliases struct{}

HookListAliases implements all methods on HookListFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (HookListAliases) Hooks

Hooks implements response to request for 'hooks' field.

func (HookListAliases) Type

Type implements response to request for 'type' field.

type HookListFieldResolvers

type HookListFieldResolvers interface {
	HookListHooksFieldResolver
	HookListTypeFieldResolver
}

HookListFieldResolvers represents a collection of methods whose products represent the response values of the 'HookList' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type HookListHooksFieldResolver

type HookListHooksFieldResolver interface {
	// Hooks implements response to request for hooks field.
	Hooks(p graphql.ResolveParams) ([]string, error)
}

HookListHooksFieldResolver implement to resolve requests for the HookList's hooks field.

type HookListTypeFieldResolver

type HookListTypeFieldResolver interface {
	// Type implements response to request for type field.
	Type(p graphql.ResolveParams) (string, error)
}

HookListTypeFieldResolver implement to resolve requests for the HookList's type field.

type HookOutputFieldResolver

type HookOutputFieldResolver interface {
	// Output implements response to request for output field.
	Output(p graphql.ResolveParams) (string, error)
}

HookOutputFieldResolver implement to resolve requests for the Hook's output field.

type HookStatusFieldResolver

type HookStatusFieldResolver interface {
	// Status implements response to request for status field.
	Status(p graphql.ResolveParams) (int, error)
}

HookStatusFieldResolver implement to resolve requests for the Hook's status field.

type Icon

type Icon string

Icon Describes a graphical element that can be used to distinguish a resource.

type KVPairStringAliases

type KVPairStringAliases struct{}

KVPairStringAliases implements all methods on KVPairStringFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (KVPairStringAliases) Key

Key implements response to request for 'key' field.

func (KVPairStringAliases) Val

Val implements response to request for 'val' field.

type KVPairStringFieldResolvers

type KVPairStringFieldResolvers interface {
	KVPairStringKeyFieldResolver
	KVPairStringValFieldResolver
}

KVPairStringFieldResolvers represents a collection of methods whose products represent the response values of the 'KVPairString' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type KVPairStringKeyFieldResolver

type KVPairStringKeyFieldResolver interface {
	// Key implements response to request for key field.
	Key(p graphql.ResolveParams) (string, error)
}

KVPairStringKeyFieldResolver implement to resolve requests for the KVPairString's key field.

type KVPairStringValFieldResolver

type KVPairStringValFieldResolver interface {
	// Val implements response to request for val field.
	Val(p graphql.ResolveParams) (string, error)
}

KVPairStringValFieldResolver implement to resolve requests for the KVPairString's val field.

type MutationAliases

type MutationAliases struct{}

MutationAliases implements all methods on MutationFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (MutationAliases) CreateCheck

func (_ MutationAliases) CreateCheck(p MutationCreateCheckFieldResolverParams) (interface{}, error)

CreateCheck implements response to request for 'createCheck' field.

func (MutationAliases) CreateSilence

func (_ MutationAliases) CreateSilence(p MutationCreateSilenceFieldResolverParams) (interface{}, error)

CreateSilence implements response to request for 'createSilence' field.

func (MutationAliases) DeleteCheck

func (_ MutationAliases) DeleteCheck(p MutationDeleteCheckFieldResolverParams) (interface{}, error)

DeleteCheck implements response to request for 'deleteCheck' field.

func (MutationAliases) DeleteEntity

func (_ MutationAliases) DeleteEntity(p MutationDeleteEntityFieldResolverParams) (interface{}, error)

DeleteEntity implements response to request for 'deleteEntity' field.

func (MutationAliases) DeleteEvent

func (_ MutationAliases) DeleteEvent(p MutationDeleteEventFieldResolverParams) (interface{}, error)

DeleteEvent implements response to request for 'deleteEvent' field.

func (MutationAliases) DeleteHandler

func (_ MutationAliases) DeleteHandler(p MutationDeleteHandlerFieldResolverParams) (interface{}, error)

DeleteHandler implements response to request for 'deleteHandler' field.

func (MutationAliases) DeleteSilence

func (_ MutationAliases) DeleteSilence(p MutationDeleteSilenceFieldResolverParams) (interface{}, error)

DeleteSilence implements response to request for 'deleteSilence' field.

func (MutationAliases) ExecuteCheck

func (_ MutationAliases) ExecuteCheck(p MutationExecuteCheckFieldResolverParams) (interface{}, error)

ExecuteCheck implements response to request for 'executeCheck' field.

func (MutationAliases) PutWrapped

func (_ MutationAliases) PutWrapped(p MutationPutWrappedFieldResolverParams) (interface{}, error)

PutWrapped implements response to request for 'putWrapped' field.

func (MutationAliases) ResolveEvent

func (_ MutationAliases) ResolveEvent(p MutationResolveEventFieldResolverParams) (interface{}, error)

ResolveEvent implements response to request for 'resolveEvent' field.

func (MutationAliases) UpdateCheck

func (_ MutationAliases) UpdateCheck(p MutationUpdateCheckFieldResolverParams) (interface{}, error)

UpdateCheck implements response to request for 'updateCheck' field.

type MutationCreateCheckFieldResolver

type MutationCreateCheckFieldResolver interface {
	// CreateCheck implements response to request for createCheck field.
	CreateCheck(p MutationCreateCheckFieldResolverParams) (interface{}, error)
}

MutationCreateCheckFieldResolver implement to resolve requests for the Mutation's createCheck field.

type MutationCreateCheckFieldResolverArgs

type MutationCreateCheckFieldResolverArgs struct {
	Input *CreateCheckInput // Input - self descriptive
}

MutationCreateCheckFieldResolverArgs contains arguments provided to createCheck when selected

type MutationCreateCheckFieldResolverParams

type MutationCreateCheckFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationCreateCheckFieldResolverArgs
}

MutationCreateCheckFieldResolverParams contains contextual info to resolve createCheck field

type MutationCreateSilenceFieldResolver

type MutationCreateSilenceFieldResolver interface {
	// CreateSilence implements response to request for createSilence field.
	CreateSilence(p MutationCreateSilenceFieldResolverParams) (interface{}, error)
}

MutationCreateSilenceFieldResolver implement to resolve requests for the Mutation's createSilence field.

type MutationCreateSilenceFieldResolverArgs

type MutationCreateSilenceFieldResolverArgs struct {
	Input *CreateSilenceInput // Input - self descriptive
}

MutationCreateSilenceFieldResolverArgs contains arguments provided to createSilence when selected

type MutationCreateSilenceFieldResolverParams

type MutationCreateSilenceFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationCreateSilenceFieldResolverArgs
}

MutationCreateSilenceFieldResolverParams contains contextual info to resolve createSilence field

type MutationDeleteCheckFieldResolver

type MutationDeleteCheckFieldResolver interface {
	// DeleteCheck implements response to request for deleteCheck field.
	DeleteCheck(p MutationDeleteCheckFieldResolverParams) (interface{}, error)
}

MutationDeleteCheckFieldResolver implement to resolve requests for the Mutation's deleteCheck field.

type MutationDeleteCheckFieldResolverArgs

type MutationDeleteCheckFieldResolverArgs struct {
	Input *DeleteRecordInput // Input - self descriptive
}

MutationDeleteCheckFieldResolverArgs contains arguments provided to deleteCheck when selected

type MutationDeleteCheckFieldResolverParams

type MutationDeleteCheckFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationDeleteCheckFieldResolverArgs
}

MutationDeleteCheckFieldResolverParams contains contextual info to resolve deleteCheck field

type MutationDeleteEntityFieldResolver

type MutationDeleteEntityFieldResolver interface {
	// DeleteEntity implements response to request for deleteEntity field.
	DeleteEntity(p MutationDeleteEntityFieldResolverParams) (interface{}, error)
}

MutationDeleteEntityFieldResolver implement to resolve requests for the Mutation's deleteEntity field.

type MutationDeleteEntityFieldResolverArgs

type MutationDeleteEntityFieldResolverArgs struct {
	Input *DeleteRecordInput // Input - self descriptive
}

MutationDeleteEntityFieldResolverArgs contains arguments provided to deleteEntity when selected

type MutationDeleteEntityFieldResolverParams

type MutationDeleteEntityFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationDeleteEntityFieldResolverArgs
}

MutationDeleteEntityFieldResolverParams contains contextual info to resolve deleteEntity field

type MutationDeleteEventFieldResolver

type MutationDeleteEventFieldResolver interface {
	// DeleteEvent implements response to request for deleteEvent field.
	DeleteEvent(p MutationDeleteEventFieldResolverParams) (interface{}, error)
}

MutationDeleteEventFieldResolver implement to resolve requests for the Mutation's deleteEvent field.

type MutationDeleteEventFieldResolverArgs

type MutationDeleteEventFieldResolverArgs struct {
	Input *DeleteRecordInput // Input - self descriptive
}

MutationDeleteEventFieldResolverArgs contains arguments provided to deleteEvent when selected

type MutationDeleteEventFieldResolverParams

type MutationDeleteEventFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationDeleteEventFieldResolverArgs
}

MutationDeleteEventFieldResolverParams contains contextual info to resolve deleteEvent field

type MutationDeleteHandlerFieldResolver

type MutationDeleteHandlerFieldResolver interface {
	// DeleteHandler implements response to request for deleteHandler field.
	DeleteHandler(p MutationDeleteHandlerFieldResolverParams) (interface{}, error)
}

MutationDeleteHandlerFieldResolver implement to resolve requests for the Mutation's deleteHandler field.

type MutationDeleteHandlerFieldResolverArgs

type MutationDeleteHandlerFieldResolverArgs struct {
	Input *DeleteRecordInput // Input - self descriptive
}

MutationDeleteHandlerFieldResolverArgs contains arguments provided to deleteHandler when selected

type MutationDeleteHandlerFieldResolverParams

type MutationDeleteHandlerFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationDeleteHandlerFieldResolverArgs
}

MutationDeleteHandlerFieldResolverParams contains contextual info to resolve deleteHandler field

type MutationDeleteSilenceFieldResolver

type MutationDeleteSilenceFieldResolver interface {
	// DeleteSilence implements response to request for deleteSilence field.
	DeleteSilence(p MutationDeleteSilenceFieldResolverParams) (interface{}, error)
}

MutationDeleteSilenceFieldResolver implement to resolve requests for the Mutation's deleteSilence field.

type MutationDeleteSilenceFieldResolverArgs

type MutationDeleteSilenceFieldResolverArgs struct {
	Input *DeleteRecordInput // Input - self descriptive
}

MutationDeleteSilenceFieldResolverArgs contains arguments provided to deleteSilence when selected

type MutationDeleteSilenceFieldResolverParams

type MutationDeleteSilenceFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationDeleteSilenceFieldResolverArgs
}

MutationDeleteSilenceFieldResolverParams contains contextual info to resolve deleteSilence field

type MutationExecuteCheckFieldResolver

type MutationExecuteCheckFieldResolver interface {
	// ExecuteCheck implements response to request for executeCheck field.
	ExecuteCheck(p MutationExecuteCheckFieldResolverParams) (interface{}, error)
}

MutationExecuteCheckFieldResolver implement to resolve requests for the Mutation's executeCheck field.

type MutationExecuteCheckFieldResolverArgs

type MutationExecuteCheckFieldResolverArgs struct {
	Input *ExecuteCheckInput // Input - self descriptive
}

MutationExecuteCheckFieldResolverArgs contains arguments provided to executeCheck when selected

type MutationExecuteCheckFieldResolverParams

type MutationExecuteCheckFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationExecuteCheckFieldResolverArgs
}

MutationExecuteCheckFieldResolverParams contains contextual info to resolve executeCheck field

type MutationFieldResolvers

MutationFieldResolvers represents a collection of methods whose products represent the response values of the 'Mutation' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type MutationPutWrappedFieldResolver

type MutationPutWrappedFieldResolver interface {
	// PutWrapped implements response to request for putWrapped field.
	PutWrapped(p MutationPutWrappedFieldResolverParams) (interface{}, error)
}

MutationPutWrappedFieldResolver implement to resolve requests for the Mutation's putWrapped field.

type MutationPutWrappedFieldResolverArgs

type MutationPutWrappedFieldResolverArgs struct {
	Raw    string // Raw is a JSON string representation of the resource
	Upsert bool   /*
		Upsert is a flag that determines whether to insert a resource, or on
		the basis of the resource already existing, UPDATE that existing
		resource instead.
	*/
}

MutationPutWrappedFieldResolverArgs contains arguments provided to putWrapped when selected

type MutationPutWrappedFieldResolverParams

type MutationPutWrappedFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationPutWrappedFieldResolverArgs
}

MutationPutWrappedFieldResolverParams contains contextual info to resolve putWrapped field

type MutationResolveEventFieldResolver

type MutationResolveEventFieldResolver interface {
	// ResolveEvent implements response to request for resolveEvent field.
	ResolveEvent(p MutationResolveEventFieldResolverParams) (interface{}, error)
}

MutationResolveEventFieldResolver implement to resolve requests for the Mutation's resolveEvent field.

type MutationResolveEventFieldResolverArgs

type MutationResolveEventFieldResolverArgs struct {
	Input *ResolveEventInput // Input - self descriptive
}

MutationResolveEventFieldResolverArgs contains arguments provided to resolveEvent when selected

type MutationResolveEventFieldResolverParams

type MutationResolveEventFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationResolveEventFieldResolverArgs
}

MutationResolveEventFieldResolverParams contains contextual info to resolve resolveEvent field

type MutationUpdateCheckFieldResolver

type MutationUpdateCheckFieldResolver interface {
	// UpdateCheck implements response to request for updateCheck field.
	UpdateCheck(p MutationUpdateCheckFieldResolverParams) (interface{}, error)
}

MutationUpdateCheckFieldResolver implement to resolve requests for the Mutation's updateCheck field.

type MutationUpdateCheckFieldResolverArgs

type MutationUpdateCheckFieldResolverArgs struct {
	Input *UpdateCheckInput // Input - self descriptive
}

MutationUpdateCheckFieldResolverArgs contains arguments provided to updateCheck when selected

type MutationUpdateCheckFieldResolverParams

type MutationUpdateCheckFieldResolverParams struct {
	graphql.ResolveParams
	Args MutationUpdateCheckFieldResolverArgs
}

MutationUpdateCheckFieldResolverParams contains contextual info to resolve updateCheck field

type MutatorAliases

type MutatorAliases struct{}

MutatorAliases implements all methods on MutatorFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (MutatorAliases) Command

Command implements response to request for 'command' field.

func (MutatorAliases) EnvVars

func (_ MutatorAliases) EnvVars(p graphql.ResolveParams) ([]string, error)

EnvVars implements response to request for 'envVars' field.

func (MutatorAliases) ID

ID implements response to request for 'id' field.

func (MutatorAliases) Metadata

func (_ MutatorAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (MutatorAliases) Name

Name implements response to request for 'name' field.

func (MutatorAliases) Namespace

func (_ MutatorAliases) Namespace(p graphql.ResolveParams) (string, error)

Namespace implements response to request for 'namespace' field.

func (MutatorAliases) Timeout

func (_ MutatorAliases) Timeout(p graphql.ResolveParams) (int, error)

Timeout implements response to request for 'timeout' field.

func (MutatorAliases) ToJSON

func (_ MutatorAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

type MutatorCommandFieldResolver

type MutatorCommandFieldResolver interface {
	// Command implements response to request for command field.
	Command(p graphql.ResolveParams) (string, error)
}

MutatorCommandFieldResolver implement to resolve requests for the Mutator's command field.

type MutatorEnvVarsFieldResolver

type MutatorEnvVarsFieldResolver interface {
	// EnvVars implements response to request for envVars field.
	EnvVars(p graphql.ResolveParams) ([]string, error)
}

MutatorEnvVarsFieldResolver implement to resolve requests for the Mutator's envVars field.

type MutatorFieldResolvers

MutatorFieldResolvers represents a collection of methods whose products represent the response values of the 'Mutator' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type MutatorIDFieldResolver

type MutatorIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

MutatorIDFieldResolver implement to resolve requests for the Mutator's id field.

type MutatorMetadataFieldResolver

type MutatorMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

MutatorMetadataFieldResolver implement to resolve requests for the Mutator's metadata field.

type MutatorNameFieldResolver

type MutatorNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

MutatorNameFieldResolver implement to resolve requests for the Mutator's name field.

type MutatorNamespaceFieldResolver

type MutatorNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

MutatorNamespaceFieldResolver implement to resolve requests for the Mutator's namespace field.

type MutatorTimeoutFieldResolver

type MutatorTimeoutFieldResolver interface {
	// Timeout implements response to request for timeout field.
	Timeout(p graphql.ResolveParams) (int, error)
}

MutatorTimeoutFieldResolver implement to resolve requests for the Mutator's timeout field.

type MutatorToJSONFieldResolver

type MutatorToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

MutatorToJSONFieldResolver implement to resolve requests for the Mutator's toJSON field.

type MutedColour

type MutedColour string

MutedColour Describes a color from a muted palette that can be used to distinguish a resource.

type NamespaceAliases

type NamespaceAliases struct{}

NamespaceAliases implements all methods on NamespaceFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (NamespaceAliases) Checks

func (_ NamespaceAliases) Checks(p NamespaceChecksFieldResolverParams) (interface{}, error)

Checks implements response to request for 'checks' field.

func (NamespaceAliases) ColourID

ColourID implements response to request for 'colourId' field.

func (NamespaceAliases) Entities

func (_ NamespaceAliases) Entities(p NamespaceEntitiesFieldResolverParams) (interface{}, error)

Entities implements response to request for 'entities' field.

func (NamespaceAliases) Events

func (_ NamespaceAliases) Events(p NamespaceEventsFieldResolverParams) (interface{}, error)

Events implements response to request for 'events' field.

func (NamespaceAliases) Handlers

func (_ NamespaceAliases) Handlers(p NamespaceHandlersFieldResolverParams) (interface{}, error)

Handlers implements response to request for 'handlers' field.

func (NamespaceAliases) ID

ID implements response to request for 'id' field.

func (NamespaceAliases) IconID

IconID implements response to request for 'iconId' field.

func (NamespaceAliases) Name

Name implements response to request for 'name' field.

func (NamespaceAliases) Silences

func (_ NamespaceAliases) Silences(p NamespaceSilencesFieldResolverParams) (interface{}, error)

Silences implements response to request for 'silences' field.

func (NamespaceAliases) Subscriptions

func (_ NamespaceAliases) Subscriptions(p NamespaceSubscriptionsFieldResolverParams) (interface{}, error)

Subscriptions implements response to request for 'subscriptions' field.

type NamespaceChecksFieldResolver

type NamespaceChecksFieldResolver interface {
	// Checks implements response to request for checks field.
	Checks(p NamespaceChecksFieldResolverParams) (interface{}, error)
}

NamespaceChecksFieldResolver implement to resolve requests for the Namespace's checks field.

type NamespaceChecksFieldResolverArgs

type NamespaceChecksFieldResolverArgs struct {
	Offset  int            // Offset - self descriptive
	Limit   int            // Limit adds optional limit to the number of entries returned.
	OrderBy CheckListOrder // OrderBy adds optional order to the records retrieved.
	Filter  string         // Filter - DEPRECATED: Please use the filters argument instead.
	Filters []string       /*
		Filters reduces the set using given arbitrary expression[s]; expressions
		take on the form KEY: VALUE. The accepted key(s) are: subscription &
		published.

		Eg.

		subscription:unix
		published:true
	*/
}

NamespaceChecksFieldResolverArgs contains arguments provided to checks when selected

type NamespaceChecksFieldResolverParams

type NamespaceChecksFieldResolverParams struct {
	graphql.ResolveParams
	Args NamespaceChecksFieldResolverArgs
}

NamespaceChecksFieldResolverParams contains contextual info to resolve checks field

type NamespaceColourIDFieldResolver

type NamespaceColourIDFieldResolver interface {
	// ColourID implements response to request for colourId field.
	ColourID(p graphql.ResolveParams) (MutedColour, error)
}

NamespaceColourIDFieldResolver implement to resolve requests for the Namespace's colourId field.

type NamespaceEntitiesFieldResolver

type NamespaceEntitiesFieldResolver interface {
	// Entities implements response to request for entities field.
	Entities(p NamespaceEntitiesFieldResolverParams) (interface{}, error)
}

NamespaceEntitiesFieldResolver implement to resolve requests for the Namespace's entities field.

type NamespaceEntitiesFieldResolverArgs

type NamespaceEntitiesFieldResolverArgs struct {
	Offset  int             // Offset - self descriptive
	Limit   int             // Limit adds optional limit to the number of entries returned.
	OrderBy EntityListOrder // OrderBy adds optional order to the records retrieved.
	Filter  string          // Filter - DEPRECATED: Please use the filters argument instead.
	Filters []string        /*
		Filters reduces the set using given arbitrary expression[s]; expressions
		take on the form KEY: VALUE. The accepted key(s) are: subscription &
		class.

		Eg.

		subscription:unix
		class:proxy
	*/
}

NamespaceEntitiesFieldResolverArgs contains arguments provided to entities when selected

type NamespaceEntitiesFieldResolverParams

type NamespaceEntitiesFieldResolverParams struct {
	graphql.ResolveParams
	Args NamespaceEntitiesFieldResolverArgs
}

NamespaceEntitiesFieldResolverParams contains contextual info to resolve entities field

type NamespaceEventsFieldResolver

type NamespaceEventsFieldResolver interface {
	// Events implements response to request for events field.
	Events(p NamespaceEventsFieldResolverParams) (interface{}, error)
}

NamespaceEventsFieldResolver implement to resolve requests for the Namespace's events field.

type NamespaceEventsFieldResolverArgs

type NamespaceEventsFieldResolverArgs struct {
	Offset  int             // Offset - self descriptive
	Limit   int             // Limit adds optional limit to the number of entries returned.
	OrderBy EventsListOrder // OrderBy adds optional order to the records retrieved.
	Filter  string          // Filter - DEPRECATED: Please use the filters argument instead.
	Filters []string        /*
		Filters reduces the set using given arbitrary expression[s]; expressions
		take on the form KEY: VALUE. The accepted key(s) are: status, check, entity,
		& silenced.

		Eg.

		status:passing
		status:warning
		status:incident
		check:check-disk
		entity:venice
		silenced:true
	*/
}

NamespaceEventsFieldResolverArgs contains arguments provided to events when selected

type NamespaceEventsFieldResolverParams

type NamespaceEventsFieldResolverParams struct {
	graphql.ResolveParams
	Args NamespaceEventsFieldResolverArgs
}

NamespaceEventsFieldResolverParams contains contextual info to resolve events field

type NamespaceFieldResolvers

NamespaceFieldResolvers represents a collection of methods whose products represent the response values of the 'Namespace' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type NamespaceHandlersFieldResolver

type NamespaceHandlersFieldResolver interface {
	// Handlers implements response to request for handlers field.
	Handlers(p NamespaceHandlersFieldResolverParams) (interface{}, error)
}

NamespaceHandlersFieldResolver implement to resolve requests for the Namespace's handlers field.

type NamespaceHandlersFieldResolverArgs

type NamespaceHandlersFieldResolverArgs struct {
	Offset  int              // Offset - self descriptive
	Limit   int              // Limit adds an optional limit to the number of handlers returned.
	OrderBy HandlerListOrder // OrderBy - Orderby adds an optional order to the records retrieved.
	Filter  string           // Filter - DEPRECATED: Please use the filters argument instead.
	Filters []string         /*
		Filters reduces the set using given arbitrary expression[s]; expressions
		take on the form KEY: VALUE. The accepted key(s) are: type.

		Eg.

		type:pipe
		type:tcp
		type:udp
		type:set
	*/
}

NamespaceHandlersFieldResolverArgs contains arguments provided to handlers when selected

type NamespaceHandlersFieldResolverParams

type NamespaceHandlersFieldResolverParams struct {
	graphql.ResolveParams
	Args NamespaceHandlersFieldResolverArgs
}

NamespaceHandlersFieldResolverParams contains contextual info to resolve handlers field

type NamespaceIDFieldResolver

type NamespaceIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

NamespaceIDFieldResolver implement to resolve requests for the Namespace's id field.

type NamespaceIconIDFieldResolver

type NamespaceIconIDFieldResolver interface {
	// IconID implements response to request for iconId field.
	IconID(p graphql.ResolveParams) (Icon, error)
}

NamespaceIconIDFieldResolver implement to resolve requests for the Namespace's iconId field.

type NamespaceNameFieldResolver

type NamespaceNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

NamespaceNameFieldResolver implement to resolve requests for the Namespace's name field.

type NamespaceSilencesFieldResolver

type NamespaceSilencesFieldResolver interface {
	// Silences implements response to request for silences field.
	Silences(p NamespaceSilencesFieldResolverParams) (interface{}, error)
}

NamespaceSilencesFieldResolver implement to resolve requests for the Namespace's silences field.

type NamespaceSilencesFieldResolverArgs

type NamespaceSilencesFieldResolverArgs struct {
	Offset  int               // Offset - self descriptive
	Limit   int               // Limit adds optional limit to the number of entries returned.
	OrderBy SilencesListOrder // OrderBy adds optional order to the records retrieved.
	Filter  string            // Filter - DEPRECATED: Please use the filters argument instead.
	Filters []string          /*
		Filters reduces the set using given arbitrary expression[s]; expressions
		take on the form KEY: VALUE. The accepted key(s) are: check & subscription.

		Eg.

		check:check-disk
		subscription:unix
	*/
}

NamespaceSilencesFieldResolverArgs contains arguments provided to silences when selected

type NamespaceSilencesFieldResolverParams

type NamespaceSilencesFieldResolverParams struct {
	graphql.ResolveParams
	Args NamespaceSilencesFieldResolverArgs
}

NamespaceSilencesFieldResolverParams contains contextual info to resolve silences field

type NamespaceSubscriptionsFieldResolver

type NamespaceSubscriptionsFieldResolver interface {
	// Subscriptions implements response to request for subscriptions field.
	Subscriptions(p NamespaceSubscriptionsFieldResolverParams) (interface{}, error)
}

NamespaceSubscriptionsFieldResolver implement to resolve requests for the Namespace's subscriptions field.

type NamespaceSubscriptionsFieldResolverArgs

type NamespaceSubscriptionsFieldResolverArgs struct {
	OmitEntity bool                 // OmitEntity - Omit entity subscriptions from set.
	OrderBy    SubscriptionSetOrder // OrderBy adds optional order to the records retrieved.
}

NamespaceSubscriptionsFieldResolverArgs contains arguments provided to subscriptions when selected

type NamespaceSubscriptionsFieldResolverParams

type NamespaceSubscriptionsFieldResolverParams struct {
	graphql.ResolveParams
	Args NamespaceSubscriptionsFieldResolverArgs
}

NamespaceSubscriptionsFieldResolverParams contains contextual info to resolve subscriptions field

type NetworkAliases

type NetworkAliases struct{}

NetworkAliases implements all methods on NetworkFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (NetworkAliases) Interfaces

func (_ NetworkAliases) Interfaces(p graphql.ResolveParams) (interface{}, error)

Interfaces implements response to request for 'interfaces' field.

type NetworkFieldResolvers

type NetworkFieldResolvers interface {
	NetworkInterfacesFieldResolver
}

NetworkFieldResolvers represents a collection of methods whose products represent the response values of the 'Network' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type NetworkInterfaceAddressesFieldResolver

type NetworkInterfaceAddressesFieldResolver interface {
	// Addresses implements response to request for addresses field.
	Addresses(p graphql.ResolveParams) ([]string, error)
}

NetworkInterfaceAddressesFieldResolver implement to resolve requests for the NetworkInterface's addresses field.

type NetworkInterfaceAliases

type NetworkInterfaceAliases struct{}

NetworkInterfaceAliases implements all methods on NetworkInterfaceFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (NetworkInterfaceAliases) Addresses

Addresses implements response to request for 'addresses' field.

func (NetworkInterfaceAliases) Mac

Mac implements response to request for 'mac' field.

func (NetworkInterfaceAliases) Name

Name implements response to request for 'name' field.

type NetworkInterfaceFieldResolvers

NetworkInterfaceFieldResolvers represents a collection of methods whose products represent the response values of the 'NetworkInterface' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type NetworkInterfaceMacFieldResolver

type NetworkInterfaceMacFieldResolver interface {
	// Mac implements response to request for mac field.
	Mac(p graphql.ResolveParams) (string, error)
}

NetworkInterfaceMacFieldResolver implement to resolve requests for the NetworkInterface's mac field.

type NetworkInterfaceNameFieldResolver

type NetworkInterfaceNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

NetworkInterfaceNameFieldResolver implement to resolve requests for the NetworkInterface's name field.

type NetworkInterfacesFieldResolver

type NetworkInterfacesFieldResolver interface {
	// Interfaces implements response to request for interfaces field.
	Interfaces(p graphql.ResolveParams) (interface{}, error)
}

NetworkInterfacesFieldResolver implement to resolve requests for the Network's interfaces field.

type ObjectMetaAliases

type ObjectMetaAliases struct{}

ObjectMetaAliases implements all methods on ObjectMetaFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (ObjectMetaAliases) Annotations

func (_ ObjectMetaAliases) Annotations(p graphql.ResolveParams) (interface{}, error)

Annotations implements response to request for 'annotations' field.

func (ObjectMetaAliases) Labels

func (_ ObjectMetaAliases) Labels(p graphql.ResolveParams) (interface{}, error)

Labels implements response to request for 'labels' field.

func (ObjectMetaAliases) Name

Name implements response to request for 'name' field.

func (ObjectMetaAliases) Namespace

Namespace implements response to request for 'namespace' field.

type ObjectMetaAnnotationsFieldResolver

type ObjectMetaAnnotationsFieldResolver interface {
	// Annotations implements response to request for annotations field.
	Annotations(p graphql.ResolveParams) (interface{}, error)
}

ObjectMetaAnnotationsFieldResolver implement to resolve requests for the ObjectMeta's annotations field.

type ObjectMetaFieldResolvers

ObjectMetaFieldResolvers represents a collection of methods whose products represent the response values of the 'ObjectMeta' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type ObjectMetaLabelsFieldResolver

type ObjectMetaLabelsFieldResolver interface {
	// Labels implements response to request for labels field.
	Labels(p graphql.ResolveParams) (interface{}, error)
}

ObjectMetaLabelsFieldResolver implement to resolve requests for the ObjectMeta's labels field.

type ObjectMetaNameFieldResolver

type ObjectMetaNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

ObjectMetaNameFieldResolver implement to resolve requests for the ObjectMeta's name field.

type ObjectMetaNamespaceFieldResolver

type ObjectMetaNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

ObjectMetaNamespaceFieldResolver implement to resolve requests for the ObjectMeta's namespace field.

type OffsetPageInfoAliases

type OffsetPageInfoAliases struct{}

OffsetPageInfoAliases implements all methods on OffsetPageInfoFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (OffsetPageInfoAliases) HasNextPage

HasNextPage implements response to request for 'hasNextPage' field.

func (OffsetPageInfoAliases) HasPreviousPage

func (_ OffsetPageInfoAliases) HasPreviousPage(p graphql.ResolveParams) (bool, error)

HasPreviousPage implements response to request for 'hasPreviousPage' field.

func (OffsetPageInfoAliases) NextOffset

NextOffset implements response to request for 'nextOffset' field.

func (OffsetPageInfoAliases) PreviousOffset

func (_ OffsetPageInfoAliases) PreviousOffset(p graphql.ResolveParams) (int, error)

PreviousOffset implements response to request for 'previousOffset' field.

func (OffsetPageInfoAliases) TotalCount

TotalCount implements response to request for 'totalCount' field.

type OffsetPageInfoFieldResolvers

OffsetPageInfoFieldResolvers represents a collection of methods whose products represent the response values of the 'OffsetPageInfo' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type OffsetPageInfoHasNextPageFieldResolver

type OffsetPageInfoHasNextPageFieldResolver interface {
	// HasNextPage implements response to request for hasNextPage field.
	HasNextPage(p graphql.ResolveParams) (bool, error)
}

OffsetPageInfoHasNextPageFieldResolver implement to resolve requests for the OffsetPageInfo's hasNextPage field.

type OffsetPageInfoHasPreviousPageFieldResolver

type OffsetPageInfoHasPreviousPageFieldResolver interface {
	// HasPreviousPage implements response to request for hasPreviousPage field.
	HasPreviousPage(p graphql.ResolveParams) (bool, error)
}

OffsetPageInfoHasPreviousPageFieldResolver implement to resolve requests for the OffsetPageInfo's hasPreviousPage field.

type OffsetPageInfoNextOffsetFieldResolver

type OffsetPageInfoNextOffsetFieldResolver interface {
	// NextOffset implements response to request for nextOffset field.
	NextOffset(p graphql.ResolveParams) (int, error)
}

OffsetPageInfoNextOffsetFieldResolver implement to resolve requests for the OffsetPageInfo's nextOffset field.

type OffsetPageInfoPreviousOffsetFieldResolver

type OffsetPageInfoPreviousOffsetFieldResolver interface {
	// PreviousOffset implements response to request for previousOffset field.
	PreviousOffset(p graphql.ResolveParams) (int, error)
}

OffsetPageInfoPreviousOffsetFieldResolver implement to resolve requests for the OffsetPageInfo's previousOffset field.

type OffsetPageInfoTotalCountFieldResolver

type OffsetPageInfoTotalCountFieldResolver interface {
	// TotalCount implements response to request for totalCount field.
	TotalCount(p graphql.ResolveParams) (int, error)
}

OffsetPageInfoTotalCountFieldResolver implement to resolve requests for the OffsetPageInfo's totalCount field.

type ProxyRequestsAliases

type ProxyRequestsAliases struct{}

ProxyRequestsAliases implements all methods on ProxyRequestsFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (ProxyRequestsAliases) EntityAttributes

func (_ ProxyRequestsAliases) EntityAttributes(p graphql.ResolveParams) (interface{}, error)

EntityAttributes implements response to request for 'entityAttributes' field.

func (ProxyRequestsAliases) Splay

Splay implements response to request for 'splay' field.

func (ProxyRequestsAliases) SplayCoverage

func (_ ProxyRequestsAliases) SplayCoverage(p graphql.ResolveParams) (int, error)

SplayCoverage implements response to request for 'splayCoverage' field.

type ProxyRequestsEntityAttributesFieldResolver

type ProxyRequestsEntityAttributesFieldResolver interface {
	// EntityAttributes implements response to request for entityAttributes field.
	EntityAttributes(p graphql.ResolveParams) (interface{}, error)
}

ProxyRequestsEntityAttributesFieldResolver implement to resolve requests for the ProxyRequests's entityAttributes field.

type ProxyRequestsFieldResolvers

ProxyRequestsFieldResolvers represents a collection of methods whose products represent the response values of the 'ProxyRequests' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type ProxyRequestsSplayCoverageFieldResolver

type ProxyRequestsSplayCoverageFieldResolver interface {
	// SplayCoverage implements response to request for splayCoverage field.
	SplayCoverage(p graphql.ResolveParams) (int, error)
}

ProxyRequestsSplayCoverageFieldResolver implement to resolve requests for the ProxyRequests's splayCoverage field.

type ProxyRequestsSplayFieldResolver

type ProxyRequestsSplayFieldResolver interface {
	// Splay implements response to request for splay field.
	Splay(p graphql.ResolveParams) (bool, error)
}

ProxyRequestsSplayFieldResolver implement to resolve requests for the ProxyRequests's splay field.

type PutWrappedPayloadAliases

type PutWrappedPayloadAliases struct{}

PutWrappedPayloadAliases implements all methods on PutWrappedPayloadFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (PutWrappedPayloadAliases) Errors

func (_ PutWrappedPayloadAliases) Errors(p graphql.ResolveParams) (interface{}, error)

Errors implements response to request for 'errors' field.

func (PutWrappedPayloadAliases) Node

func (_ PutWrappedPayloadAliases) Node(p graphql.ResolveParams) (interface{}, error)

Node implements response to request for 'node' field.

type PutWrappedPayloadErrorsFieldResolver

type PutWrappedPayloadErrorsFieldResolver interface {
	// Errors implements response to request for errors field.
	Errors(p graphql.ResolveParams) (interface{}, error)
}

PutWrappedPayloadErrorsFieldResolver implement to resolve requests for the PutWrappedPayload's errors field.

type PutWrappedPayloadFieldResolvers

type PutWrappedPayloadFieldResolvers interface {
	PutWrappedPayloadNodeFieldResolver
	PutWrappedPayloadErrorsFieldResolver
}

PutWrappedPayloadFieldResolvers represents a collection of methods whose products represent the response values of the 'PutWrappedPayload' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type PutWrappedPayloadNodeFieldResolver

type PutWrappedPayloadNodeFieldResolver interface {
	// Node implements response to request for node field.
	Node(p graphql.ResolveParams) (interface{}, error)
}

PutWrappedPayloadNodeFieldResolver implement to resolve requests for the PutWrappedPayload's node field.

type QueryAliases

type QueryAliases struct{}

QueryAliases implements all methods on QueryFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (QueryAliases) Check

func (_ QueryAliases) Check(p QueryCheckFieldResolverParams) (interface{}, error)

Check implements response to request for 'check' field.

func (QueryAliases) Entity

func (_ QueryAliases) Entity(p QueryEntityFieldResolverParams) (interface{}, error)

Entity implements response to request for 'entity' field.

func (QueryAliases) Event

func (_ QueryAliases) Event(p QueryEventFieldResolverParams) (interface{}, error)

Event implements response to request for 'event' field.

func (QueryAliases) Handler

func (_ QueryAliases) Handler(p QueryHandlerFieldResolverParams) (interface{}, error)

Handler implements response to request for 'handler' field.

func (QueryAliases) Namespace

func (_ QueryAliases) Namespace(p QueryNamespaceFieldResolverParams) (interface{}, error)

Namespace implements response to request for 'namespace' field.

func (QueryAliases) Node

func (_ QueryAliases) Node(p QueryNodeFieldResolverParams) (interface{}, error)

Node implements response to request for 'node' field.

func (QueryAliases) Suggest

func (_ QueryAliases) Suggest(p QuerySuggestFieldResolverParams) (interface{}, error)

Suggest implements response to request for 'suggest' field.

func (QueryAliases) Viewer

func (_ QueryAliases) Viewer(p graphql.ResolveParams) (interface{}, error)

Viewer implements response to request for 'viewer' field.

func (QueryAliases) WrappedNode

func (_ QueryAliases) WrappedNode(p QueryWrappedNodeFieldResolverParams) (interface{}, error)

WrappedNode implements response to request for 'wrappedNode' field.

type QueryCheckFieldResolver

type QueryCheckFieldResolver interface {
	// Check implements response to request for check field.
	Check(p QueryCheckFieldResolverParams) (interface{}, error)
}

QueryCheckFieldResolver implement to resolve requests for the Query's check field.

type QueryCheckFieldResolverArgs

type QueryCheckFieldResolverArgs struct {
	Namespace string // Namespace - self descriptive
	Name      string // Name - self descriptive
}

QueryCheckFieldResolverArgs contains arguments provided to check when selected

type QueryCheckFieldResolverParams

type QueryCheckFieldResolverParams struct {
	graphql.ResolveParams
	Args QueryCheckFieldResolverArgs
}

QueryCheckFieldResolverParams contains contextual info to resolve check field

type QueryEntityFieldResolver

type QueryEntityFieldResolver interface {
	// Entity implements response to request for entity field.
	Entity(p QueryEntityFieldResolverParams) (interface{}, error)
}

QueryEntityFieldResolver implement to resolve requests for the Query's entity field.

type QueryEntityFieldResolverArgs

type QueryEntityFieldResolverArgs struct {
	Namespace string // Namespace - self descriptive
	Name      string // Name - self descriptive
}

QueryEntityFieldResolverArgs contains arguments provided to entity when selected

type QueryEntityFieldResolverParams

type QueryEntityFieldResolverParams struct {
	graphql.ResolveParams
	Args QueryEntityFieldResolverArgs
}

QueryEntityFieldResolverParams contains contextual info to resolve entity field

type QueryEventFieldResolver

type QueryEventFieldResolver interface {
	// Event implements response to request for event field.
	Event(p QueryEventFieldResolverParams) (interface{}, error)
}

QueryEventFieldResolver implement to resolve requests for the Query's event field.

type QueryEventFieldResolverArgs

type QueryEventFieldResolverArgs struct {
	Namespace string // Namespace - self descriptive
	Entity    string // Entity - self descriptive
	Check     string // Check - self descriptive
}

QueryEventFieldResolverArgs contains arguments provided to event when selected

type QueryEventFieldResolverParams

type QueryEventFieldResolverParams struct {
	graphql.ResolveParams
	Args QueryEventFieldResolverArgs
}

QueryEventFieldResolverParams contains contextual info to resolve event field

type QueryFieldResolvers

QueryFieldResolvers represents a collection of methods whose products represent the response values of the 'Query' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type QueryHandlerFieldResolver

type QueryHandlerFieldResolver interface {
	// Handler implements response to request for handler field.
	Handler(p QueryHandlerFieldResolverParams) (interface{}, error)
}

QueryHandlerFieldResolver implement to resolve requests for the Query's handler field.

type QueryHandlerFieldResolverArgs

type QueryHandlerFieldResolverArgs struct {
	Namespace string // Namespace - self descriptive
	Name      string // Name - self descriptive
}

QueryHandlerFieldResolverArgs contains arguments provided to handler when selected

type QueryHandlerFieldResolverParams

type QueryHandlerFieldResolverParams struct {
	graphql.ResolveParams
	Args QueryHandlerFieldResolverArgs
}

QueryHandlerFieldResolverParams contains contextual info to resolve handler field

type QueryNamespaceFieldResolver

type QueryNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p QueryNamespaceFieldResolverParams) (interface{}, error)
}

QueryNamespaceFieldResolver implement to resolve requests for the Query's namespace field.

type QueryNamespaceFieldResolverArgs

type QueryNamespaceFieldResolverArgs struct {
	Name string // Name - self descriptive
}

QueryNamespaceFieldResolverArgs contains arguments provided to namespace when selected

type QueryNamespaceFieldResolverParams

type QueryNamespaceFieldResolverParams struct {
	graphql.ResolveParams
	Args QueryNamespaceFieldResolverArgs
}

QueryNamespaceFieldResolverParams contains contextual info to resolve namespace field

type QueryNodeFieldResolver

type QueryNodeFieldResolver interface {
	// Node implements response to request for node field.
	Node(p QueryNodeFieldResolverParams) (interface{}, error)
}

QueryNodeFieldResolver implement to resolve requests for the Query's node field.

type QueryNodeFieldResolverArgs

type QueryNodeFieldResolverArgs struct {
	ID string // ID - The ID of an object.
}

QueryNodeFieldResolverArgs contains arguments provided to node when selected

type QueryNodeFieldResolverParams

type QueryNodeFieldResolverParams struct {
	graphql.ResolveParams
	Args QueryNodeFieldResolverArgs
}

QueryNodeFieldResolverParams contains contextual info to resolve node field

type QuerySuggestFieldResolver

type QuerySuggestFieldResolver interface {
	// Suggest implements response to request for suggest field.
	Suggest(p QuerySuggestFieldResolverParams) (interface{}, error)
}

QuerySuggestFieldResolver implement to resolve requests for the Query's suggest field.

type QuerySuggestFieldResolverArgs

type QuerySuggestFieldResolverArgs struct {
	Q string /*
		Q - If the value of a field does not contain the value of this argument it will
		be omitted from the response. Operation is case-insensitive.
	*/
	Ref string /*
		Ref is used to uniquely identify a resource in the system as well as a field
		on said resource. Refs take the form: :group/:version/:type/:field. The
		field segment may be a path in and of it's own, eg. metadata/name would
		refer to the name field nested inside a resource's metadata.

		The following are valid example values for this argument:

		    `core/v2/asset/metadata/name`
		    `core/v2/asset/metadata/labels`
		    `core/v2/asset/metadata/labels/region`
		    `core/v2/check_config/subscriptions`
		    `core/v2/check_config/command`
		    `core/v2/check_config/timeout`
		    `core/v2/entity/system/os`
		    `core/v2/entity/system/platform`
		    `core/v2/filter/metadata/name`
		    `core/v2/handler/command`
		    `core/v2/hook_config/command`
		    `core/v2/mutator/command`
		    `core/v2/mutator/timeout`
		    `core/v2/silenced/creator`
	*/
	Namespace string          // Namespace - self descriptive
	Limit     int             // Limit - self descriptive
	Order     SuggestionOrder // Order - self descriptive
}

QuerySuggestFieldResolverArgs contains arguments provided to suggest when selected

type QuerySuggestFieldResolverParams

type QuerySuggestFieldResolverParams struct {
	graphql.ResolveParams
	Args QuerySuggestFieldResolverArgs
}

QuerySuggestFieldResolverParams contains contextual info to resolve suggest field

type QueryViewerFieldResolver

type QueryViewerFieldResolver interface {
	// Viewer implements response to request for viewer field.
	Viewer(p graphql.ResolveParams) (interface{}, error)
}

QueryViewerFieldResolver implement to resolve requests for the Query's viewer field.

type QueryWrappedNodeFieldResolver

type QueryWrappedNodeFieldResolver interface {
	// WrappedNode implements response to request for wrappedNode field.
	WrappedNode(p QueryWrappedNodeFieldResolverParams) (interface{}, error)
}

QueryWrappedNodeFieldResolver implement to resolve requests for the Query's wrappedNode field.

type QueryWrappedNodeFieldResolverArgs

type QueryWrappedNodeFieldResolverArgs struct {
	ID string // ID - The ID of an object.
}

QueryWrappedNodeFieldResolverArgs contains arguments provided to wrappedNode when selected

type QueryWrappedNodeFieldResolverParams

type QueryWrappedNodeFieldResolverParams struct {
	graphql.ResolveParams
	Args QueryWrappedNodeFieldResolverArgs
}

QueryWrappedNodeFieldResolverParams contains contextual info to resolve wrappedNode field

type ResolveEventInput

type ResolveEventInput struct {
	// ClientMutationID - A unique identifier for the client performing the mutation.
	ClientMutationID string
	// ID - Global ID of the event to resolve.
	ID string
	// Source - The source of the resolve request
	Source string
}

ResolveEventInput self descriptive

type ResolveEventPayloadAliases

type ResolveEventPayloadAliases struct{}

ResolveEventPayloadAliases implements all methods on ResolveEventPayloadFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (ResolveEventPayloadAliases) ClientMutationID

func (_ ResolveEventPayloadAliases) ClientMutationID(p graphql.ResolveParams) (string, error)

ClientMutationID implements response to request for 'clientMutationId' field.

func (ResolveEventPayloadAliases) Event

func (_ ResolveEventPayloadAliases) Event(p graphql.ResolveParams) (interface{}, error)

Event implements response to request for 'event' field.

type ResolveEventPayloadClientMutationIDFieldResolver

type ResolveEventPayloadClientMutationIDFieldResolver interface {
	// ClientMutationID implements response to request for clientMutationId field.
	ClientMutationID(p graphql.ResolveParams) (string, error)
}

ResolveEventPayloadClientMutationIDFieldResolver implement to resolve requests for the ResolveEventPayload's clientMutationId field.

type ResolveEventPayloadEventFieldResolver

type ResolveEventPayloadEventFieldResolver interface {
	// Event implements response to request for event field.
	Event(p graphql.ResolveParams) (interface{}, error)
}

ResolveEventPayloadEventFieldResolver implement to resolve requests for the ResolveEventPayload's event field.

type ResolveEventPayloadFieldResolvers

ResolveEventPayloadFieldResolvers represents a collection of methods whose products represent the response values of the 'ResolveEventPayload' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type RoleAliases

type RoleAliases struct{}

RoleAliases implements all methods on RoleFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (RoleAliases) Name

Name implements response to request for 'name' field.

func (RoleAliases) Namespace

func (_ RoleAliases) Namespace(p graphql.ResolveParams) (string, error)

Namespace implements response to request for 'namespace' field.

func (RoleAliases) Rules

func (_ RoleAliases) Rules(p graphql.ResolveParams) (interface{}, error)

Rules implements response to request for 'rules' field.

type RoleBindingAliases

type RoleBindingAliases struct{}

RoleBindingAliases implements all methods on RoleBindingFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (RoleBindingAliases) Name

Name implements response to request for 'name' field.

func (RoleBindingAliases) Namespace

Namespace implements response to request for 'namespace' field.

func (RoleBindingAliases) RoleRef

func (_ RoleBindingAliases) RoleRef(p graphql.ResolveParams) (interface{}, error)

RoleRef implements response to request for 'roleRef' field.

func (RoleBindingAliases) Subjects

func (_ RoleBindingAliases) Subjects(p graphql.ResolveParams) (interface{}, error)

Subjects implements response to request for 'subjects' field.

type RoleBindingFieldResolvers

RoleBindingFieldResolvers represents a collection of methods whose products represent the response values of the 'RoleBinding' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type RoleBindingNameFieldResolver

type RoleBindingNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

RoleBindingNameFieldResolver implement to resolve requests for the RoleBinding's name field.

type RoleBindingNamespaceFieldResolver

type RoleBindingNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

RoleBindingNamespaceFieldResolver implement to resolve requests for the RoleBinding's namespace field.

type RoleBindingRoleRefFieldResolver

type RoleBindingRoleRefFieldResolver interface {
	// RoleRef implements response to request for roleRef field.
	RoleRef(p graphql.ResolveParams) (interface{}, error)
}

RoleBindingRoleRefFieldResolver implement to resolve requests for the RoleBinding's roleRef field.

type RoleBindingSubjectsFieldResolver

type RoleBindingSubjectsFieldResolver interface {
	// Subjects implements response to request for subjects field.
	Subjects(p graphql.ResolveParams) (interface{}, error)
}

RoleBindingSubjectsFieldResolver implement to resolve requests for the RoleBinding's subjects field.

type RoleFieldResolvers

RoleFieldResolvers represents a collection of methods whose products represent the response values of the 'Role' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type RoleNameFieldResolver

type RoleNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

RoleNameFieldResolver implement to resolve requests for the Role's name field.

type RoleNamespaceFieldResolver

type RoleNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

RoleNamespaceFieldResolver implement to resolve requests for the Role's namespace field.

type RoleRefAliases

type RoleRefAliases struct{}

RoleRefAliases implements all methods on RoleRefFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (RoleRefAliases) Name

Name implements response to request for 'name' field.

func (RoleRefAliases) Type

Type implements response to request for 'type' field.

type RoleRefFieldResolvers

type RoleRefFieldResolvers interface {
	RoleRefTypeFieldResolver
	RoleRefNameFieldResolver
}

RoleRefFieldResolvers represents a collection of methods whose products represent the response values of the 'RoleRef' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type RoleRefNameFieldResolver

type RoleRefNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

RoleRefNameFieldResolver implement to resolve requests for the RoleRef's name field.

type RoleRefTypeFieldResolver

type RoleRefTypeFieldResolver interface {
	// Type implements response to request for type field.
	Type(p graphql.ResolveParams) (string, error)
}

RoleRefTypeFieldResolver implement to resolve requests for the RoleRef's type field.

type RoleRulesFieldResolver

type RoleRulesFieldResolver interface {
	// Rules implements response to request for rules field.
	Rules(p graphql.ResolveParams) (interface{}, error)
}

RoleRulesFieldResolver implement to resolve requests for the Role's rules field.

type RuleAliases

type RuleAliases struct{}

RuleAliases implements all methods on RuleFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (RuleAliases) ResourceNames

func (_ RuleAliases) ResourceNames(p graphql.ResolveParams) ([]string, error)

ResourceNames implements response to request for 'resourceNames' field.

func (RuleAliases) Resources

func (_ RuleAliases) Resources(p graphql.ResolveParams) ([]string, error)

Resources implements response to request for 'resources' field.

func (RuleAliases) Verbs

func (_ RuleAliases) Verbs(p graphql.ResolveParams) ([]string, error)

Verbs implements response to request for 'verbs' field.

type RuleFieldResolvers

RuleFieldResolvers represents a collection of methods whose products represent the response values of the 'Rule' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type RuleResourceNamesFieldResolver

type RuleResourceNamesFieldResolver interface {
	// ResourceNames implements response to request for resourceNames field.
	ResourceNames(p graphql.ResolveParams) ([]string, error)
}

RuleResourceNamesFieldResolver implement to resolve requests for the Rule's resourceNames field.

type RuleResourcesFieldResolver

type RuleResourcesFieldResolver interface {
	// Resources implements response to request for resources field.
	Resources(p graphql.ResolveParams) ([]string, error)
}

RuleResourcesFieldResolver implement to resolve requests for the Rule's resources field.

type RuleVerbsFieldResolver

type RuleVerbsFieldResolver interface {
	// Verbs implements response to request for verbs field.
	Verbs(p graphql.ResolveParams) ([]string, error)
}

RuleVerbsFieldResolver implement to resolve requests for the Rule's verbs field.

type SilenceInputs

type SilenceInputs struct {
	// Reason is used to provide context to the entry
	Reason string
	// Begin is a timestamp at which the silenced entry takes effect.
	Begin time.Time
	/*
	   ExpireOnResolve defaults to false, clears the entry on resolution when set
	   to true
	*/
	ExpireOnResolve bool
	// Expire is the number of seconds the entry will live
	Expire int
}

SilenceInputs self descriptive

type SilencedAliases

type SilencedAliases struct{}

SilencedAliases implements all methods on SilencedFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (SilencedAliases) Begin

Begin implements response to request for 'begin' field.

func (SilencedAliases) Check

func (_ SilencedAliases) Check(p graphql.ResolveParams) (interface{}, error)

Check implements response to request for 'check' field.

func (SilencedAliases) Creator

Creator implements response to request for 'creator' field.

func (SilencedAliases) Expire

Expire implements response to request for 'expire' field.

func (SilencedAliases) ExpireOnResolve

func (_ SilencedAliases) ExpireOnResolve(p graphql.ResolveParams) (bool, error)

ExpireOnResolve implements response to request for 'expireOnResolve' field.

func (SilencedAliases) Expires

Expires implements response to request for 'expires' field.

func (SilencedAliases) ID

ID implements response to request for 'id' field.

func (SilencedAliases) Metadata

func (_ SilencedAliases) Metadata(p graphql.ResolveParams) (interface{}, error)

Metadata implements response to request for 'metadata' field.

func (SilencedAliases) Name

Name implements response to request for 'name' field.

func (SilencedAliases) Namespace

func (_ SilencedAliases) Namespace(p graphql.ResolveParams) (string, error)

Namespace implements response to request for 'namespace' field.

func (SilencedAliases) Reason

Reason implements response to request for 'reason' field.

func (SilencedAliases) Subscription

func (_ SilencedAliases) Subscription(p graphql.ResolveParams) (string, error)

Subscription implements response to request for 'subscription' field.

func (SilencedAliases) ToJSON

func (_ SilencedAliases) ToJSON(p graphql.ResolveParams) (interface{}, error)

ToJSON implements response to request for 'toJSON' field.

type SilencedBeginFieldResolver

type SilencedBeginFieldResolver interface {
	// Begin implements response to request for begin field.
	Begin(p graphql.ResolveParams) (*time.Time, error)
}

SilencedBeginFieldResolver implement to resolve requests for the Silenced's begin field.

type SilencedCheckFieldResolver

type SilencedCheckFieldResolver interface {
	// Check implements response to request for check field.
	Check(p graphql.ResolveParams) (interface{}, error)
}

SilencedCheckFieldResolver implement to resolve requests for the Silenced's check field.

type SilencedConnectionAliases

type SilencedConnectionAliases struct{}

SilencedConnectionAliases implements all methods on SilencedConnectionFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (SilencedConnectionAliases) Nodes

func (_ SilencedConnectionAliases) Nodes(p graphql.ResolveParams) (interface{}, error)

Nodes implements response to request for 'nodes' field.

func (SilencedConnectionAliases) PageInfo

func (_ SilencedConnectionAliases) PageInfo(p graphql.ResolveParams) (interface{}, error)

PageInfo implements response to request for 'pageInfo' field.

type SilencedConnectionFieldResolvers

type SilencedConnectionFieldResolvers interface {
	SilencedConnectionNodesFieldResolver
	SilencedConnectionPageInfoFieldResolver
}

SilencedConnectionFieldResolvers represents a collection of methods whose products represent the response values of the 'SilencedConnection' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type SilencedConnectionNodesFieldResolver

type SilencedConnectionNodesFieldResolver interface {
	// Nodes implements response to request for nodes field.
	Nodes(p graphql.ResolveParams) (interface{}, error)
}

SilencedConnectionNodesFieldResolver implement to resolve requests for the SilencedConnection's nodes field.

type SilencedConnectionPageInfoFieldResolver

type SilencedConnectionPageInfoFieldResolver interface {
	// PageInfo implements response to request for pageInfo field.
	PageInfo(p graphql.ResolveParams) (interface{}, error)
}

SilencedConnectionPageInfoFieldResolver implement to resolve requests for the SilencedConnection's pageInfo field.

type SilencedCreatorFieldResolver

type SilencedCreatorFieldResolver interface {
	// Creator implements response to request for creator field.
	Creator(p graphql.ResolveParams) (string, error)
}

SilencedCreatorFieldResolver implement to resolve requests for the Silenced's creator field.

type SilencedExpireFieldResolver

type SilencedExpireFieldResolver interface {
	// Expire implements response to request for expire field.
	Expire(p graphql.ResolveParams) (int, error)
}

SilencedExpireFieldResolver implement to resolve requests for the Silenced's expire field.

type SilencedExpireOnResolveFieldResolver

type SilencedExpireOnResolveFieldResolver interface {
	// ExpireOnResolve implements response to request for expireOnResolve field.
	ExpireOnResolve(p graphql.ResolveParams) (bool, error)
}

SilencedExpireOnResolveFieldResolver implement to resolve requests for the Silenced's expireOnResolve field.

type SilencedExpiresFieldResolver

type SilencedExpiresFieldResolver interface {
	// Expires implements response to request for expires field.
	Expires(p graphql.ResolveParams) (*time.Time, error)
}

SilencedExpiresFieldResolver implement to resolve requests for the Silenced's expires field.

type SilencedFieldResolvers

SilencedFieldResolvers represents a collection of methods whose products represent the response values of the 'Silenced' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type SilencedIDFieldResolver

type SilencedIDFieldResolver interface {
	// ID implements response to request for id field.
	ID(p graphql.ResolveParams) (string, error)
}

SilencedIDFieldResolver implement to resolve requests for the Silenced's id field.

type SilencedMetadataFieldResolver

type SilencedMetadataFieldResolver interface {
	// Metadata implements response to request for metadata field.
	Metadata(p graphql.ResolveParams) (interface{}, error)
}

SilencedMetadataFieldResolver implement to resolve requests for the Silenced's metadata field.

type SilencedNameFieldResolver

type SilencedNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

SilencedNameFieldResolver implement to resolve requests for the Silenced's name field.

type SilencedNamespaceFieldResolver

type SilencedNamespaceFieldResolver interface {
	// Namespace implements response to request for namespace field.
	Namespace(p graphql.ResolveParams) (string, error)
}

SilencedNamespaceFieldResolver implement to resolve requests for the Silenced's namespace field.

type SilencedReasonFieldResolver

type SilencedReasonFieldResolver interface {
	// Reason implements response to request for reason field.
	Reason(p graphql.ResolveParams) (string, error)
}

SilencedReasonFieldResolver implement to resolve requests for the Silenced's reason field.

type SilencedSubscriptionFieldResolver

type SilencedSubscriptionFieldResolver interface {
	// Subscription implements response to request for subscription field.
	Subscription(p graphql.ResolveParams) (string, error)
}

SilencedSubscriptionFieldResolver implement to resolve requests for the Silenced's subscription field.

type SilencedToJSONFieldResolver

type SilencedToJSONFieldResolver interface {
	// ToJSON implements response to request for toJSON field.
	ToJSON(p graphql.ResolveParams) (interface{}, error)
}

SilencedToJSONFieldResolver implement to resolve requests for the Silenced's toJSON field.

type SilencesListOrder

type SilencesListOrder string

SilencesListOrder Describes ways in which a list of silences can be ordered.

type StandardErrorAliases

type StandardErrorAliases struct{}

StandardErrorAliases implements all methods on StandardErrorFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (StandardErrorAliases) Code

Code implements response to request for 'code' field.

func (StandardErrorAliases) Input

Input implements response to request for 'input' field.

func (StandardErrorAliases) Message

Message implements response to request for 'message' field.

type StandardErrorCodeFieldResolver

type StandardErrorCodeFieldResolver interface {
	// Code implements response to request for code field.
	Code(p graphql.ResolveParams) (ErrCode, error)
}

StandardErrorCodeFieldResolver implement to resolve requests for the StandardError's code field.

type StandardErrorFieldResolvers

StandardErrorFieldResolvers represents a collection of methods whose products represent the response values of the 'StandardError' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type StandardErrorInputFieldResolver

type StandardErrorInputFieldResolver interface {
	// Input implements response to request for input field.
	Input(p graphql.ResolveParams) (string, error)
}

StandardErrorInputFieldResolver implement to resolve requests for the StandardError's input field.

type StandardErrorMessageFieldResolver

type StandardErrorMessageFieldResolver interface {
	// Message implements response to request for message field.
	Message(p graphql.ResolveParams) (string, error)
}

StandardErrorMessageFieldResolver implement to resolve requests for the StandardError's message field.

type SubjectAliases

type SubjectAliases struct{}

SubjectAliases implements all methods on SubjectFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (SubjectAliases) Kind

Kind implements response to request for 'kind' field.

func (SubjectAliases) Name

Name implements response to request for 'name' field.

type SubjectFieldResolvers

type SubjectFieldResolvers interface {
	SubjectKindFieldResolver
	SubjectNameFieldResolver
}

SubjectFieldResolvers represents a collection of methods whose products represent the response values of the 'Subject' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type SubjectKindFieldResolver

type SubjectKindFieldResolver interface {
	// Kind implements response to request for kind field.
	Kind(p graphql.ResolveParams) (string, error)
}

SubjectKindFieldResolver implement to resolve requests for the Subject's kind field.

type SubjectNameFieldResolver

type SubjectNameFieldResolver interface {
	// Name implements response to request for name field.
	Name(p graphql.ResolveParams) (string, error)
}

SubjectNameFieldResolver implement to resolve requests for the Subject's name field.

type SubscriptionOccurencesAliases

type SubscriptionOccurencesAliases struct{}

SubscriptionOccurencesAliases implements all methods on SubscriptionOccurencesFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (SubscriptionOccurencesAliases) Occurrences

Occurrences implements response to request for 'occurrences' field.

func (SubscriptionOccurencesAliases) Subscription

Subscription implements response to request for 'subscription' field.

type SubscriptionOccurencesFieldResolvers

SubscriptionOccurencesFieldResolvers represents a collection of methods whose products represent the response values of the 'SubscriptionOccurences' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type SubscriptionOccurencesOccurrencesFieldResolver

type SubscriptionOccurencesOccurrencesFieldResolver interface {
	// Occurrences implements response to request for occurrences field.
	Occurrences(p graphql.ResolveParams) (int, error)
}

SubscriptionOccurencesOccurrencesFieldResolver implement to resolve requests for the SubscriptionOccurences's occurrences field.

type SubscriptionOccurencesSubscriptionFieldResolver

type SubscriptionOccurencesSubscriptionFieldResolver interface {
	// Subscription implements response to request for subscription field.
	Subscription(p graphql.ResolveParams) (string, error)
}

SubscriptionOccurencesSubscriptionFieldResolver implement to resolve requests for the SubscriptionOccurences's subscription field.

type SubscriptionSetAliases

type SubscriptionSetAliases struct{}

SubscriptionSetAliases implements all methods on SubscriptionSetFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (SubscriptionSetAliases) Entries

Entries implements response to request for 'entries' field.

func (SubscriptionSetAliases) Size

Size implements response to request for 'size' field.

func (SubscriptionSetAliases) Values

Values implements response to request for 'values' field.

type SubscriptionSetEntriesFieldResolver

type SubscriptionSetEntriesFieldResolver interface {
	// Entries implements response to request for entries field.
	Entries(p SubscriptionSetEntriesFieldResolverParams) (interface{}, error)
}

SubscriptionSetEntriesFieldResolver implement to resolve requests for the SubscriptionSet's entries field.

type SubscriptionSetEntriesFieldResolverArgs

type SubscriptionSetEntriesFieldResolverArgs struct {
	Limit  int // Limit - self descriptive
	Offset int // Offset - self descriptive
}

SubscriptionSetEntriesFieldResolverArgs contains arguments provided to entries when selected

type SubscriptionSetEntriesFieldResolverParams

type SubscriptionSetEntriesFieldResolverParams struct {
	graphql.ResolveParams
	Args SubscriptionSetEntriesFieldResolverArgs
}

SubscriptionSetEntriesFieldResolverParams contains contextual info to resolve entries field

type SubscriptionSetFieldResolvers

SubscriptionSetFieldResolvers represents a collection of methods whose products represent the response values of the 'SubscriptionSet' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type SubscriptionSetOrder

type SubscriptionSetOrder string

SubscriptionSetOrder Describes ways in which a set of subscriptions can be ordered.

type SubscriptionSetSizeFieldResolver

type SubscriptionSetSizeFieldResolver interface {
	// Size implements response to request for size field.
	Size(p graphql.ResolveParams) (int, error)
}

SubscriptionSetSizeFieldResolver implement to resolve requests for the SubscriptionSet's size field.

type SubscriptionSetValuesFieldResolver

type SubscriptionSetValuesFieldResolver interface {
	// Values implements response to request for values field.
	Values(p SubscriptionSetValuesFieldResolverParams) ([]string, error)
}

SubscriptionSetValuesFieldResolver implement to resolve requests for the SubscriptionSet's values field.

type SubscriptionSetValuesFieldResolverArgs

type SubscriptionSetValuesFieldResolverArgs struct {
	Limit  int // Limit - self descriptive
	Offset int // Offset - self descriptive
}

SubscriptionSetValuesFieldResolverArgs contains arguments provided to values when selected

type SubscriptionSetValuesFieldResolverParams

type SubscriptionSetValuesFieldResolverParams struct {
	graphql.ResolveParams
	Args SubscriptionSetValuesFieldResolverArgs
}

SubscriptionSetValuesFieldResolverParams contains contextual info to resolve values field

type SuggestionOrder

type SuggestionOrder string

SuggestionOrder self descriptive

type SuggestionResultSetAliases

type SuggestionResultSetAliases struct{}

SuggestionResultSetAliases implements all methods on SuggestionResultSetFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (SuggestionResultSetAliases) Values

Values implements response to request for 'values' field.

type SuggestionResultSetFieldResolvers

type SuggestionResultSetFieldResolvers interface {
	SuggestionResultSetValuesFieldResolver
}

SuggestionResultSetFieldResolvers represents a collection of methods whose products represent the response values of the 'SuggestionResultSet' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type SuggestionResultSetValuesFieldResolver

type SuggestionResultSetValuesFieldResolver interface {
	// Values implements response to request for values field.
	Values(p graphql.ResolveParams) ([]string, error)
}

SuggestionResultSetValuesFieldResolver implement to resolve requests for the SuggestionResultSet's values field.

type SystemAliases

type SystemAliases struct{}

SystemAliases implements all methods on SystemFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (SystemAliases) Arch

Arch implements response to request for 'arch' field.

func (SystemAliases) Hostname

func (_ SystemAliases) Hostname(p graphql.ResolveParams) (string, error)

Hostname implements response to request for 'hostname' field.

func (SystemAliases) Network

func (_ SystemAliases) Network(p graphql.ResolveParams) (interface{}, error)

Network implements response to request for 'network' field.

func (SystemAliases) Os

Os implements response to request for 'os' field.

func (SystemAliases) Platform

func (_ SystemAliases) Platform(p graphql.ResolveParams) (string, error)

Platform implements response to request for 'platform' field.

func (SystemAliases) PlatformFamily

func (_ SystemAliases) PlatformFamily(p graphql.ResolveParams) (string, error)

PlatformFamily implements response to request for 'platformFamily' field.

func (SystemAliases) PlatformVersion

func (_ SystemAliases) PlatformVersion(p graphql.ResolveParams) (string, error)

PlatformVersion implements response to request for 'platformVersion' field.

type SystemArchFieldResolver

type SystemArchFieldResolver interface {
	// Arch implements response to request for arch field.
	Arch(p graphql.ResolveParams) (string, error)
}

SystemArchFieldResolver implement to resolve requests for the System's arch field.

type SystemFieldResolvers

SystemFieldResolvers represents a collection of methods whose products represent the response values of the 'System' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type SystemHostnameFieldResolver

type SystemHostnameFieldResolver interface {
	// Hostname implements response to request for hostname field.
	Hostname(p graphql.ResolveParams) (string, error)
}

SystemHostnameFieldResolver implement to resolve requests for the System's hostname field.

type SystemNetworkFieldResolver

type SystemNetworkFieldResolver interface {
	// Network implements response to request for network field.
	Network(p graphql.ResolveParams) (interface{}, error)
}

SystemNetworkFieldResolver implement to resolve requests for the System's network field.

type SystemOsFieldResolver

type SystemOsFieldResolver interface {
	// Os implements response to request for os field.
	Os(p graphql.ResolveParams) (string, error)
}

SystemOsFieldResolver implement to resolve requests for the System's os field.

type SystemPlatformFamilyFieldResolver

type SystemPlatformFamilyFieldResolver interface {
	// PlatformFamily implements response to request for platformFamily field.
	PlatformFamily(p graphql.ResolveParams) (string, error)
}

SystemPlatformFamilyFieldResolver implement to resolve requests for the System's platformFamily field.

type SystemPlatformFieldResolver

type SystemPlatformFieldResolver interface {
	// Platform implements response to request for platform field.
	Platform(p graphql.ResolveParams) (string, error)
}

SystemPlatformFieldResolver implement to resolve requests for the System's platform field.

type SystemPlatformVersionFieldResolver

type SystemPlatformVersionFieldResolver interface {
	// PlatformVersion implements response to request for platformVersion field.
	PlatformVersion(p graphql.ResolveParams) (string, error)
}

SystemPlatformVersionFieldResolver implement to resolve requests for the System's platformVersion field.

type TimeWindowDaysAliases

type TimeWindowDaysAliases struct{}

TimeWindowDaysAliases implements all methods on TimeWindowDaysFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (TimeWindowDaysAliases) All

func (_ TimeWindowDaysAliases) All(p graphql.ResolveParams) (interface{}, error)

All implements response to request for 'all' field.

func (TimeWindowDaysAliases) Friday

func (_ TimeWindowDaysAliases) Friday(p graphql.ResolveParams) (interface{}, error)

Friday implements response to request for 'friday' field.

func (TimeWindowDaysAliases) Monday

func (_ TimeWindowDaysAliases) Monday(p graphql.ResolveParams) (interface{}, error)

Monday implements response to request for 'monday' field.

func (TimeWindowDaysAliases) Saturday

func (_ TimeWindowDaysAliases) Saturday(p graphql.ResolveParams) (interface{}, error)

Saturday implements response to request for 'saturday' field.

func (TimeWindowDaysAliases) Sunday

func (_ TimeWindowDaysAliases) Sunday(p graphql.ResolveParams) (interface{}, error)

Sunday implements response to request for 'sunday' field.

func (TimeWindowDaysAliases) Thursday

func (_ TimeWindowDaysAliases) Thursday(p graphql.ResolveParams) (interface{}, error)

Thursday implements response to request for 'thursday' field.

func (TimeWindowDaysAliases) Tuesday

func (_ TimeWindowDaysAliases) Tuesday(p graphql.ResolveParams) (interface{}, error)

Tuesday implements response to request for 'tuesday' field.

func (TimeWindowDaysAliases) Wednesday

func (_ TimeWindowDaysAliases) Wednesday(p graphql.ResolveParams) (interface{}, error)

Wednesday implements response to request for 'wednesday' field.

type TimeWindowDaysAllFieldResolver

type TimeWindowDaysAllFieldResolver interface {
	// All implements response to request for all field.
	All(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowDaysAllFieldResolver implement to resolve requests for the TimeWindowDays's all field.

type TimeWindowDaysFieldResolvers

TimeWindowDaysFieldResolvers represents a collection of methods whose products represent the response values of the 'TimeWindowDays' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type TimeWindowDaysFridayFieldResolver

type TimeWindowDaysFridayFieldResolver interface {
	// Friday implements response to request for friday field.
	Friday(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowDaysFridayFieldResolver implement to resolve requests for the TimeWindowDays's friday field.

type TimeWindowDaysMondayFieldResolver

type TimeWindowDaysMondayFieldResolver interface {
	// Monday implements response to request for monday field.
	Monday(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowDaysMondayFieldResolver implement to resolve requests for the TimeWindowDays's monday field.

type TimeWindowDaysSaturdayFieldResolver

type TimeWindowDaysSaturdayFieldResolver interface {
	// Saturday implements response to request for saturday field.
	Saturday(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowDaysSaturdayFieldResolver implement to resolve requests for the TimeWindowDays's saturday field.

type TimeWindowDaysSundayFieldResolver

type TimeWindowDaysSundayFieldResolver interface {
	// Sunday implements response to request for sunday field.
	Sunday(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowDaysSundayFieldResolver implement to resolve requests for the TimeWindowDays's sunday field.

type TimeWindowDaysThursdayFieldResolver

type TimeWindowDaysThursdayFieldResolver interface {
	// Thursday implements response to request for thursday field.
	Thursday(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowDaysThursdayFieldResolver implement to resolve requests for the TimeWindowDays's thursday field.

type TimeWindowDaysTuesdayFieldResolver

type TimeWindowDaysTuesdayFieldResolver interface {
	// Tuesday implements response to request for tuesday field.
	Tuesday(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowDaysTuesdayFieldResolver implement to resolve requests for the TimeWindowDays's tuesday field.

type TimeWindowDaysWednesdayFieldResolver

type TimeWindowDaysWednesdayFieldResolver interface {
	// Wednesday implements response to request for wednesday field.
	Wednesday(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowDaysWednesdayFieldResolver implement to resolve requests for the TimeWindowDays's wednesday field.

type TimeWindowTimeRangeAliases

type TimeWindowTimeRangeAliases struct{}

TimeWindowTimeRangeAliases implements all methods on TimeWindowTimeRangeFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (TimeWindowTimeRangeAliases) Begin

Begin implements response to request for 'begin' field.

func (TimeWindowTimeRangeAliases) End

End implements response to request for 'end' field.

type TimeWindowTimeRangeBeginFieldResolver

type TimeWindowTimeRangeBeginFieldResolver interface {
	// Begin implements response to request for begin field.
	Begin(p graphql.ResolveParams) (string, error)
}

TimeWindowTimeRangeBeginFieldResolver implement to resolve requests for the TimeWindowTimeRange's begin field.

type TimeWindowTimeRangeEndFieldResolver

type TimeWindowTimeRangeEndFieldResolver interface {
	// End implements response to request for end field.
	End(p graphql.ResolveParams) (string, error)
}

TimeWindowTimeRangeEndFieldResolver implement to resolve requests for the TimeWindowTimeRange's end field.

type TimeWindowTimeRangeFieldResolvers

type TimeWindowTimeRangeFieldResolvers interface {
	TimeWindowTimeRangeBeginFieldResolver
	TimeWindowTimeRangeEndFieldResolver
}

TimeWindowTimeRangeFieldResolvers represents a collection of methods whose products represent the response values of the 'TimeWindowTimeRange' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type TimeWindowWhenAliases

type TimeWindowWhenAliases struct{}

TimeWindowWhenAliases implements all methods on TimeWindowWhenFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (TimeWindowWhenAliases) Days

func (_ TimeWindowWhenAliases) Days(p graphql.ResolveParams) (interface{}, error)

Days implements response to request for 'days' field.

type TimeWindowWhenDaysFieldResolver

type TimeWindowWhenDaysFieldResolver interface {
	// Days implements response to request for days field.
	Days(p graphql.ResolveParams) (interface{}, error)
}

TimeWindowWhenDaysFieldResolver implement to resolve requests for the TimeWindowWhen's days field.

type TimeWindowWhenFieldResolvers

type TimeWindowWhenFieldResolvers interface {
	TimeWindowWhenDaysFieldResolver
}

TimeWindowWhenFieldResolvers represents a collection of methods whose products represent the response values of the 'TimeWindowWhen' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type UpdateCheckInput

type UpdateCheckInput struct {
	// ClientMutationID - A unique identifier for the client performing the mutation.
	ClientMutationID string
	// ID - Global ID of the check to update.
	ID string
	// Props - properties of the check
	Props *CheckConfigInputs
}

UpdateCheckInput self descriptive

type UpdateCheckPayloadAliases

type UpdateCheckPayloadAliases struct{}

UpdateCheckPayloadAliases implements all methods on UpdateCheckPayloadFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (UpdateCheckPayloadAliases) Check

func (_ UpdateCheckPayloadAliases) Check(p graphql.ResolveParams) (interface{}, error)

Check implements response to request for 'check' field.

func (UpdateCheckPayloadAliases) ClientMutationID

func (_ UpdateCheckPayloadAliases) ClientMutationID(p graphql.ResolveParams) (string, error)

ClientMutationID implements response to request for 'clientMutationId' field.

type UpdateCheckPayloadCheckFieldResolver

type UpdateCheckPayloadCheckFieldResolver interface {
	// Check implements response to request for check field.
	Check(p graphql.ResolveParams) (interface{}, error)
}

UpdateCheckPayloadCheckFieldResolver implement to resolve requests for the UpdateCheckPayload's check field.

type UpdateCheckPayloadClientMutationIDFieldResolver

type UpdateCheckPayloadClientMutationIDFieldResolver interface {
	// ClientMutationID implements response to request for clientMutationId field.
	ClientMutationID(p graphql.ResolveParams) (string, error)
}

UpdateCheckPayloadClientMutationIDFieldResolver implement to resolve requests for the UpdateCheckPayload's clientMutationId field.

type UpdateCheckPayloadFieldResolvers

UpdateCheckPayloadFieldResolvers represents a collection of methods whose products represent the response values of the 'UpdateCheckPayload' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type UserAliases

type UserAliases struct{}

UserAliases implements all methods on UserFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (UserAliases) Disabled

func (_ UserAliases) Disabled(p graphql.ResolveParams) (bool, error)

Disabled implements response to request for 'disabled' field.

func (UserAliases) Groups

func (_ UserAliases) Groups(p graphql.ResolveParams) ([]string, error)

Groups implements response to request for 'groups' field.

func (UserAliases) HasPassword

func (_ UserAliases) HasPassword(p graphql.ResolveParams) (bool, error)

HasPassword implements response to request for 'hasPassword' field.

func (UserAliases) Username

func (_ UserAliases) Username(p graphql.ResolveParams) (string, error)

Username implements response to request for 'username' field.

type UserDisabledFieldResolver

type UserDisabledFieldResolver interface {
	// Disabled implements response to request for disabled field.
	Disabled(p graphql.ResolveParams) (bool, error)
}

UserDisabledFieldResolver implement to resolve requests for the User's disabled field.

type UserFieldResolvers

UserFieldResolvers represents a collection of methods whose products represent the response values of the 'User' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type UserGroupsFieldResolver

type UserGroupsFieldResolver interface {
	// Groups implements response to request for groups field.
	Groups(p graphql.ResolveParams) ([]string, error)
}

UserGroupsFieldResolver implement to resolve requests for the User's groups field.

type UserHasPasswordFieldResolver

type UserHasPasswordFieldResolver interface {
	// HasPassword implements response to request for hasPassword field.
	HasPassword(p graphql.ResolveParams) (bool, error)
}

UserHasPasswordFieldResolver implement to resolve requests for the User's hasPassword field.

type UserUsernameFieldResolver

type UserUsernameFieldResolver interface {
	// Username implements response to request for username field.
	Username(p graphql.ResolveParams) (string, error)
}

UserUsernameFieldResolver implement to resolve requests for the User's username field.

type ViewerAliases

type ViewerAliases struct{}

ViewerAliases implements all methods on ViewerFieldResolvers interface by using reflection to match name of field to a field on the given value. Intent is reduce friction of writing new resolvers by removing all the instances where you would simply have the resolvers method return a field.

== Example SDL

type Dog {
  name:   String!
  weight: Float!
  dob:    DateTime
  breed:  [Breed]
}

== Example generated aliases

type DogAliases struct {}
func (_ DogAliases) Name(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Weight(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Dob(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}
func (_ DogAliases) Breed(p graphql.ResolveParams) (interface{}, error) {
  // reflect...
}

== Example Implementation

type DogResolver struct { // Implements DogResolver
  DogAliases
  store store.BreedStore
}

// NOTE:
// All other fields are satisified by DogAliases but since this one
// requires hitting the store we implement it in our resolver.
func (r *DogResolver) Breed(p graphql.ResolveParams) interface{} {
  dog := v.(*Dog)
  return r.BreedsById(dog.BreedIDs)
}

func (ViewerAliases) Namespaces

func (_ ViewerAliases) Namespaces(p graphql.ResolveParams) (interface{}, error)

Namespaces implements response to request for 'namespaces' field.

func (ViewerAliases) User

func (_ ViewerAliases) User(p graphql.ResolveParams) (interface{}, error)

User implements response to request for 'user' field.

type ViewerFieldResolvers

type ViewerFieldResolvers interface {
	ViewerNamespacesFieldResolver
	ViewerUserFieldResolver
}

ViewerFieldResolvers represents a collection of methods whose products represent the response values of the 'Viewer' type.

== Example SDL

"""
Dog's are not hooman.
"""
type Dog implements Pet {
  "name of this fine beast."
  name:  String!

  "breed of this silly animal; probably shibe."
  breed: [Breed]
}

== Example generated interface

// DogResolver ...
type DogFieldResolvers interface {
  DogNameFieldResolver
  DogBreedFieldResolver

  // IsTypeOf is used to determine if a given value is associated with the Dog type
  IsTypeOf(interface{}, graphql.IsTypeOfParams) bool
}

== Example implementation ...

// DogResolver implements DogFieldResolvers interface
type DogResolver struct {
  logger logrus.LogEntry
  store interface{
    store.BreedStore
    store.DogStore
  }
}

// Name implements response to request for name field.
func (r *DogResolver) Name(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  return dog.GetName()
}

// Breed implements response to request for breed field.
func (r *DogResolver) Breed(p graphql.ResolveParams) (interface{}, error) {
  // ... implementation details ...
  dog := p.Source.(DogGetter)
  breed := r.store.GetBreed(dog.GetBreedName())
  return breed
}

// IsTypeOf is used to determine if a given value is associated with the Dog type
func (r *DogResolver) IsTypeOf(p graphql.IsTypeOfParams) bool {
  // ... implementation details ...
  _, ok := p.Value.(DogGetter)
  return ok
}

type ViewerNamespacesFieldResolver

type ViewerNamespacesFieldResolver interface {
	// Namespaces implements response to request for namespaces field.
	Namespaces(p graphql.ResolveParams) (interface{}, error)
}

ViewerNamespacesFieldResolver implement to resolve requests for the Viewer's namespaces field.

type ViewerUserFieldResolver

type ViewerUserFieldResolver interface {
	// User implements response to request for user field.
	User(p graphql.ResolveParams) (interface{}, error)
}

ViewerUserFieldResolver implement to resolve requests for the Viewer's user field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL