generated

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

Types

type BlockedQueryInputResolver added in v0.7.0

type BlockedQueryInputResolver interface {
	Types(ctx context.Context, obj *v1alpha1.BlockedQuery, data []v1alpha1.BlockedQueryType) error
}

type BlockedQueryResolver added in v0.7.0

type BlockedQueryResolver interface {
	Types(ctx context.Context, obj *v1alpha1.BlockedQuery) ([]v1alpha1.BlockedQueryType, error)
}

type ComplexityRoot

type ComplexityRoot struct {
	BlockedQuery struct {
		Hash    func(childComplexity int) int
		Pattern func(childComplexity int) int
		Regex   func(childComplexity int) int
		Types   func(childComplexity int) int
	}

	DimensionMappings struct {
		Join        func(childComplexity int) int
		Name        func(childComplexity int) int
		SourceLabel func(childComplexity int) int
	}

	FilterPolicy struct {
		Exclude func(childComplexity int) int
		Include func(childComplexity int) int
	}

	Group struct {
		Members func(childComplexity int) int
		Name    func(childComplexity int) int
	}

	LoginBindings struct {
		Groups func(childComplexity int) int
		Users  func(childComplexity int) int
	}

	LokiLimits struct {
		BlockedQueries                       func(childComplexity int) int
		CardinalityLimit                     func(childComplexity int) int
		CreationGracePeriod                  func(childComplexity int) int
		DeletionMode                         func(childComplexity int) int
		EnforceMetricName                    func(childComplexity int) int
		IncrementDuplicateTimestamp          func(childComplexity int) int
		IndexGatewayShardSize                func(childComplexity int) int
		IngestionBurstSizeMB                 func(childComplexity int) int
		IngestionRateMB                      func(childComplexity int) int
		IngestionRateStrategy                func(childComplexity int) int
		MaxCacheFreshness                    func(childComplexity int) int
		MaxChunksPerQuery                    func(childComplexity int) int
		MaxConcurrentTailRequests            func(childComplexity int) int
		MaxEntriesLimitPerQuery              func(childComplexity int) int
		MaxGlobalStreamsPerUser              func(childComplexity int) int
		MaxLabelNameLength                   func(childComplexity int) int
		MaxLabelNamesPerSeries               func(childComplexity int) int
		MaxLabelValueLength                  func(childComplexity int) int
		MaxLineSize                          func(childComplexity int) int
		MaxLineSizeTruncate                  func(childComplexity int) int
		MaxLocalStreamsPerUser               func(childComplexity int) int
		MaxQuerierBytesRead                  func(childComplexity int) int
		MaxQueriersPerTenant                 func(childComplexity int) int
		MaxQueryBytesRead                    func(childComplexity int) int
		MaxQueryLength                       func(childComplexity int) int
		MaxQueryLookback                     func(childComplexity int) int
		MaxQueryParallelism                  func(childComplexity int) int
		MaxQueryRange                        func(childComplexity int) int
		MaxQuerySeries                       func(childComplexity int) int
		MaxStatsCacheFreshness               func(childComplexity int) int
		MaxStreamsMatchersPerQuery           func(childComplexity int) int
		MinShardingLookback                  func(childComplexity int) int
		PerStreamRateLimit                   func(childComplexity int) int
		PerStreamRateLimitBurst              func(childComplexity int) int
		QueryReadyIndexNumDays               func(childComplexity int) int
		QuerySplitDuration                   func(childComplexity int) int
		QueryTimeout                         func(childComplexity int) int
		RejectOldSamples                     func(childComplexity int) int
		RejectOldSamplesMaxAge               func(childComplexity int) int
		RequiredLabels                       func(childComplexity int) int
		RequiredNumberLabels                 func(childComplexity int) int
		RetentionPeriod                      func(childComplexity int) int
		RulerAlertManagerConfig              func(childComplexity int) int
		RulerEvaluationDelay                 func(childComplexity int) int
		RulerMaxRuleGroupsPerTenant          func(childComplexity int) int
		RulerMaxRulesPerRuleGroup            func(childComplexity int) int
		RulerRemoteEvaluationMaxResponseSize func(childComplexity int) int
		RulerRemoteEvaluationTimeout         func(childComplexity int) int
		RulerRemoteWriteDisabled             func(childComplexity int) int
		RulerTenantShardSize                 func(childComplexity int) int
		ShardStreams                         func(childComplexity int) int
		StreamRetention                      func(childComplexity int) int
		TSDBMaxBytesPerShard                 func(childComplexity int) int
		TSDBMaxQueryParallelism              func(childComplexity int) int
		UnorderedWrites                      func(childComplexity int) int
		VolumeEnabled                        func(childComplexity int) int
		VolumeMaxSeries                      func(childComplexity int) int
	}

	MatchPolicyAttribute struct {
		Key   func(childComplexity int) int
		Value func(childComplexity int) int
	}

	MimirLimits struct {
		AcceptHASamples                               func(childComplexity int) int
		ActiveSeriesCustomTrackersConfig              func(childComplexity int) int
		AlertmanagerMaxAlertsCount                    func(childComplexity int) int
		AlertmanagerMaxAlertsSizeBytes                func(childComplexity int) int
		AlertmanagerMaxConfigSizeBytes                func(childComplexity int) int
		AlertmanagerMaxDispatcherAggregationGroups    func(childComplexity int) int
		AlertmanagerMaxTemplateSizeBytes              func(childComplexity int) int
		AlertmanagerMaxTemplatesCount                 func(childComplexity int) int
		AlertmanagerReceiversBlockCIDRNetworks        func(childComplexity int) int
		AlertmanagerReceiversBlockPrivateAddresses    func(childComplexity int) int
		CardinalityAnalysisEnabled                    func(childComplexity int) int
		CompactorBlockUploadEnabled                   func(childComplexity int) int
		CompactorBlockUploadMaxBlockSizeBytes         func(childComplexity int) int
		CompactorBlockUploadValidationEnabled         func(childComplexity int) int
		CompactorBlockUploadVerifyChunks              func(childComplexity int) int
		CompactorBlocksRetentionPeriod                func(childComplexity int) int
		CompactorPartialBlockDeletionDelay            func(childComplexity int) int
		CompactorSplitAndMergeShards                  func(childComplexity int) int
		CompactorSplitGroups                          func(childComplexity int) int
		CompactorTenantShardSize                      func(childComplexity int) int
		CreationGracePeriod                           func(childComplexity int) int
		DropLabels                                    func(childComplexity int) int
		EnforceMetadataMetricName                     func(childComplexity int) int
		HAClusterLabel                                func(childComplexity int) int
		HAMaxClusters                                 func(childComplexity int) int
		HAReplicaLabel                                func(childComplexity int) int
		IngestionBurstSize                            func(childComplexity int) int
		IngestionRate                                 func(childComplexity int) int
		IngestionTenantShardSize                      func(childComplexity int) int
		LabelNamesAndValuesResultsMaxSizeBytes        func(childComplexity int) int
		LabelValuesMaxCardinalityLabelNamesPerRequest func(childComplexity int) int
		MaxCacheFreshness                             func(childComplexity int) int
		MaxChunksPerQuery                             func(childComplexity int) int
		MaxFetchedChunkBytesPerQuery                  func(childComplexity int) int
		MaxFetchedSeriesPerQuery                      func(childComplexity int) int
		MaxGlobalExemplarsPerUser                     func(childComplexity int) int
		MaxGlobalMetadataPerMetric                    func(childComplexity int) int
		MaxGlobalMetricsWithMetadataPerUser           func(childComplexity int) int
		MaxGlobalSeriesPerMetric                      func(childComplexity int) int
		MaxGlobalSeriesPerUser                        func(childComplexity int) int
		MaxLabelNameLength                            func(childComplexity int) int
		MaxLabelNamesPerSeries                        func(childComplexity int) int
		MaxLabelValueLength                           func(childComplexity int) int
		MaxLabelsQueryLength                          func(childComplexity int) int
		MaxMetadataLength                             func(childComplexity int) int
		MaxNativeHistogramBuckets                     func(childComplexity int) int
		MaxPartialQueryLength                         func(childComplexity int) int
		MaxQueriersPerTenant                          func(childComplexity int) int
		MaxQueryExpressionSizeBytes                   func(childComplexity int) int
		MaxQueryLookback                              func(childComplexity int) int
		MaxQueryParallelism                           func(childComplexity int) int
		MaxTotalQueryLength                           func(childComplexity int) int
		MetricRelabelConfigs                          func(childComplexity int) int
		NativeHistogramsIngestionEnabled              func(childComplexity int) int
		NotificationRateLimit                         func(childComplexity int) int
		NotificationRateLimitPerIntegration           func(childComplexity int) int
		OutOfOrderBlocksExternalLabelEnabled          func(childComplexity int) int
		OutOfOrderTimeWindow                          func(childComplexity int) int
		QueryIngestersWithin                          func(childComplexity int) int
		QueryShardingMaxRegexpSizeBytes               func(childComplexity int) int
		QueryShardingMaxShardedQueries                func(childComplexity int) int
		QueryShardingTotalShards                      func(childComplexity int) int
		RequestBurstSize                              func(childComplexity int) int
		RequestRate                                   func(childComplexity int) int
		ResultsCacheForUnalignedQueryEnabled          func(childComplexity int) int
		ResultsCacheTTL                               func(childComplexity int) int
		ResultsCacheTTLForCardinalityQuery            func(childComplexity int) int
		ResultsCacheTTLForLabelsQuery                 func(childComplexity int) int
		ResultsCacheTTLForOutOfOrderTimeWindow        func(childComplexity int) int
		RulerAlertingRulesEvaluationEnabled           func(childComplexity int) int
		RulerEvaluationDelay                          func(childComplexity int) int
		RulerMaxRuleGroupsPerTenant                   func(childComplexity int) int
		RulerMaxRulesPerRuleGroup                     func(childComplexity int) int
		RulerRecordingRulesEvaluationEnabled          func(childComplexity int) int
		RulerSyncRulesOnChangesEnabled                func(childComplexity int) int
		RulerTenantShardSize                          func(childComplexity int) int
		S3SSEKMSEncryptionContext                     func(childComplexity int) int
		S3SSEKMSKeyID                                 func(childComplexity int) int
		S3SSEType                                     func(childComplexity int) int
		SeparateMetricsGroupLabel                     func(childComplexity int) int
		SplitInstantQueriesByInterval                 func(childComplexity int) int
		StoreGatewayTenantShardSize                   func(childComplexity int) int
	}

	Mutation struct {
		AcceptOAuth2ConsentRequest func(childComplexity int, challenge string, grantAccessTokenAudience []string, grantScope []string, remember *bool, rememberFor *int64) int
		AcceptOAuth2LoginRequest   func(childComplexity int, challenge string, acr *string, amr []string, context map[string]interface{}, remember *bool, rememberFor *int64, subject string) int
		CreateOAuth2Client         func(childComplexity int, allowedCorsOrigins []string, audience []string, authorizationCodeGrantAccessTokenLifespan *string, authorizationCodeGrantIDTokenLifespan *string, authorizationCodeGrantRefreshTokenLifespan *string, backChannelLogoutSessionRequired *bool, backChannelLogoutURI *string, clientCredentialsGrantAccessTokenLifespan *string, clientName *string, clientSecret *string, clientSecretExpiresAt *int64, clientURI *string, contacts []string, frontchannelLogoutSessionRequired *bool, frontchannelLogoutURI *string, grantTypes []string, implicitGrantAccessTokenLifespan *string, implicitGrantIDTokenLifespan *string, jwks map[string]interface{}, jwksURI *string, jwtBearerGrantAccessTokenLifespan *string, logoURI *string, metadata map[string]interface{}, policyURI *string, postLogoutRedirectUris []string, redirectUris []string, responseTypes []string, scope *string, sectorIdentifierURI *string, subjectType *string, tokenEndpointAuthMethod *string, tokenEndpointAuthSigningAlgorithm *string, tosURI *string, userinfoSignedResponseAlgorithm *string, loginBindings *model.LoginBindingsInput) int
		CreateObservabilityTenant  func(childComplexity int, id string, name *string, admins *model.ObservabilityTenantPermissionBindingsInput, metricsReaders *model.ObservabilityTenantPermissionBindingsInput, metricsWriters *model.ObservabilityTenantPermissionBindingsInput, metricsDeleters *model.ObservabilityTenantPermissionBindingsInput, metricsRulesReaders *model.ObservabilityTenantPermissionBindingsInput, metricsRulesWriters *model.ObservabilityTenantPermissionBindingsInput, metricsRulesDeleters *model.ObservabilityTenantPermissionBindingsInput, metricsAlertsReaders *model.ObservabilityTenantPermissionBindingsInput, metricsAlertsWriters *model.ObservabilityTenantPermissionBindingsInput, logsReaders *model.ObservabilityTenantPermissionBindingsInput, logsWriters *model.ObservabilityTenantPermissionBindingsInput, logsDeleters *model.ObservabilityTenantPermissionBindingsInput, logsRulesReaders *model.ObservabilityTenantPermissionBindingsInput, logsRulesWriters *model.ObservabilityTenantPermissionBindingsInput, logsRulesDeleters *model.ObservabilityTenantPermissionBindingsInput, tracesReaders *model.ObservabilityTenantPermissionBindingsInput, tracesWriters *model.ObservabilityTenantPermissionBindingsInput, limits *model.ObservabilityTenantLimitsInput) int
		CreateUser                 func(childComplexity int, email string, name *model.NameInput) int
		DeleteGroup                func(childComplexity int, name string) int
		DeleteOAuth2Client         func(childComplexity int, clientID string) int
		DeleteObservabilityTenant  func(childComplexity int, id string) int
		DeleteUser                 func(childComplexity int, id string) int
		Group                      func(childComplexity int, name string, members []*model.UserInput) int
		Organization               func(childComplexity int, admins []*model.UserInput) int
		RejectOAuth2ConsentRequest func(childComplexity int, challenge string) int
		RejectOAuth2LoginRequest   func(childComplexity int, challenge string) int
		UpdateOAuth2Client         func(childComplexity int, allowedCorsOrigins []string, audience []string, authorizationCodeGrantAccessTokenLifespan *string, authorizationCodeGrantIDTokenLifespan *string, authorizationCodeGrantRefreshTokenLifespan *string, backChannelLogoutSessionRequired *bool, backChannelLogoutURI *string, clientCredentialsGrantAccessTokenLifespan *string, clientID string, clientName *string, clientSecret *string, clientSecretExpiresAt *int64, clientURI *string, contacts []string, frontchannelLogoutSessionRequired *bool, frontchannelLogoutURI *string, grantTypes []string, implicitGrantAccessTokenLifespan *string, implicitGrantIDTokenLifespan *string, jwks map[string]interface{}, jwksURI *string, jwtBearerGrantAccessTokenLifespan *string, logoURI *string, metadata map[string]interface{}, policyURI *string, postLogoutRedirectUris []string, redirectUris []string, responseTypes []string, scope *string, sectorIdentifierURI *string, subjectType *string, tokenEndpointAuthMethod *string, tokenEndpointAuthSigningAlgorithm *string, tosURI *string, userinfoSignedResponseAlgorithm *string, loginBindings *model.LoginBindingsInput) int
		UpdateObservabilityTenant  func(childComplexity int, id string, name *string, admins *model.ObservabilityTenantPermissionBindingsInput, metricsReaders *model.ObservabilityTenantPermissionBindingsInput, metricsWriters *model.ObservabilityTenantPermissionBindingsInput, metricsDeleters *model.ObservabilityTenantPermissionBindingsInput, metricsRulesReaders *model.ObservabilityTenantPermissionBindingsInput, metricsRulesWriters *model.ObservabilityTenantPermissionBindingsInput, metricsRulesDeleters *model.ObservabilityTenantPermissionBindingsInput, metricsAlertsReaders *model.ObservabilityTenantPermissionBindingsInput, metricsAlertsWriters *model.ObservabilityTenantPermissionBindingsInput, logsReaders *model.ObservabilityTenantPermissionBindingsInput, logsWriters *model.ObservabilityTenantPermissionBindingsInput, logsDeleters *model.ObservabilityTenantPermissionBindingsInput, logsRulesReaders *model.ObservabilityTenantPermissionBindingsInput, logsRulesWriters *model.ObservabilityTenantPermissionBindingsInput, logsRulesDeleters *model.ObservabilityTenantPermissionBindingsInput, tracesReaders *model.ObservabilityTenantPermissionBindingsInput, tracesWriters *model.ObservabilityTenantPermissionBindingsInput, limits *model.ObservabilityTenantLimitsInput) int
	}

	Name struct {
		First func(childComplexity int) int
		Last  func(childComplexity int) int
	}

	NotifierBasicAuth struct {
		Password func(childComplexity int) int
		Username func(childComplexity int) int
	}

	NotifierConfig struct {
		BasicAuth  func(childComplexity int) int
		HeaderAuth func(childComplexity int) int
		TLS        func(childComplexity int) int
	}

	NotifierHeaderAuth struct {
		Credentials     func(childComplexity int) int
		CredentialsFile func(childComplexity int) int
		Type            func(childComplexity int) int
	}

	NotifierTLSClientConfig struct {
		CAPath             func(childComplexity int) int
		CertPath           func(childComplexity int) int
		CipherSuites       func(childComplexity int) int
		InsecureSkipVerify func(childComplexity int) int
		KeyPath            func(childComplexity int) int
		MinVersion         func(childComplexity int) int
		ServerName         func(childComplexity int) int
	}

	OAuth2Client struct {
		AllowedCorsOrigins                         func(childComplexity int) int
		Audience                                   func(childComplexity int) int
		AuthorizationCodeGrantAccessTokenLifespan  func(childComplexity int) int
		AuthorizationCodeGrantIDTokenLifespan      func(childComplexity int) int
		AuthorizationCodeGrantRefreshTokenLifespan func(childComplexity int) int
		BackChannelLogoutSessionRequired           func(childComplexity int) int
		BackChannelLogoutURI                       func(childComplexity int) int
		ClientCredentialsGrantAccessTokenLifespan  func(childComplexity int) int
		ClientID                                   func(childComplexity int) int
		ClientName                                 func(childComplexity int) int
		ClientSecret                               func(childComplexity int) int
		ClientSecretExpiresAt                      func(childComplexity int) int
		ClientURI                                  func(childComplexity int) int
		Contacts                                   func(childComplexity int) int
		CreatedAt                                  func(childComplexity int) int
		FrontchannelLogoutSessionRequired          func(childComplexity int) int
		FrontchannelLogoutURI                      func(childComplexity int) int
		GrantTypes                                 func(childComplexity int) int
		ImplicitGrantAccessTokenLifespan           func(childComplexity int) int
		ImplicitGrantIDTokenLifespan               func(childComplexity int) int
		Jwks                                       func(childComplexity int) int
		JwksURI                                    func(childComplexity int) int
		JwtBearerGrantAccessTokenLifespan          func(childComplexity int) int
		LoginBindings                              func(childComplexity int) int
		LogoURI                                    func(childComplexity int) int
		Metadata                                   func(childComplexity int) int
		Owner                                      func(childComplexity int) int
		PolicyURI                                  func(childComplexity int) int
		PostLogoutRedirectUris                     func(childComplexity int) int
		RedirectUris                               func(childComplexity int) int
		ResponseTypes                              func(childComplexity int) int
		Scope                                      func(childComplexity int) int
		SectorIdentifierURI                        func(childComplexity int) int
		SubjectType                                func(childComplexity int) int
		TokenEndpointAuthMethod                    func(childComplexity int) int
		TokenEndpointAuthSigningAlgorithm          func(childComplexity int) int
		TosURI                                     func(childComplexity int) int
		UpdatedAt                                  func(childComplexity int) int
		UserinfoSignedResponseAlgorithm            func(childComplexity int) int
	}

	OAuth2ConsentRequest struct {
		Acr                          func(childComplexity int) int
		Amr                          func(childComplexity int) int
		Challenge                    func(childComplexity int) int
		Client                       func(childComplexity int) int
		Context                      func(childComplexity int) int
		LoginChallenge               func(childComplexity int) int
		LoginSessionID               func(childComplexity int) int
		OidcContext                  func(childComplexity int) int
		RedirectTo                   func(childComplexity int) int
		RequestURL                   func(childComplexity int) int
		RequestedAccessTokenAudience func(childComplexity int) int
		RequestedScope               func(childComplexity int) int
		Skip                         func(childComplexity int) int
		Subject                      func(childComplexity int) int
	}

	OAuth2LoginRequest struct {
		Challenge                    func(childComplexity int) int
		Client                       func(childComplexity int) int
		OidcContext                  func(childComplexity int) int
		RedirectTo                   func(childComplexity int) int
		RequestURL                   func(childComplexity int) int
		RequestedAccessTokenAudience func(childComplexity int) int
		RequestedScope               func(childComplexity int) int
		SessionID                    func(childComplexity int) int
		Skip                         func(childComplexity int) int
		Subject                      func(childComplexity int) int
	}

	OAuth2RedirectTo struct {
		RedirectTo func(childComplexity int) int
	}

	ObservabilityTenant struct {
		Admins               func(childComplexity int) int
		DisplayName          func(childComplexity int) int
		ID                   func(childComplexity int) int
		Limits               func(childComplexity int) int
		LogsDeleters         func(childComplexity int) int
		LogsReaders          func(childComplexity int) int
		LogsRulesDeleters    func(childComplexity int) int
		LogsRulesReaders     func(childComplexity int) int
		LogsRulesWriters     func(childComplexity int) int
		LogsWriters          func(childComplexity int) int
		MetricsAlertsReaders func(childComplexity int) int
		MetricsAlertsWriters func(childComplexity int) int
		MetricsDeleters      func(childComplexity int) int
		MetricsReaders       func(childComplexity int) int
		MetricsRulesDeleters func(childComplexity int) int
		MetricsRulesReaders  func(childComplexity int) int
		MetricsRulesWriters  func(childComplexity int) int
		MetricsWriters       func(childComplexity int) int
		TracesReaders        func(childComplexity int) int
		TracesWriters        func(childComplexity int) int
	}

	ObservabilityTenantLimits struct {
		Loki  func(childComplexity int) int
		Mimir func(childComplexity int) int
		Tempo func(childComplexity int) int
	}

	ObservabilityTenantPermissionBindings struct {
		Groups        func(childComplexity int) int
		Oauth2Clients func(childComplexity int) int
		Users         func(childComplexity int) int
	}

	OidcContext struct {
		AcrValues         func(childComplexity int) int
		Display           func(childComplexity int) int
		IDTokenHintClaims func(childComplexity int) int
		LoginHint         func(childComplexity int) int
		UILocales         func(childComplexity int) int
	}

	Organization struct {
		Admins func(childComplexity int) int
	}

	PolicyMatch struct {
		Attributes func(childComplexity int) int
		MatchType  func(childComplexity int) int
	}

	Query struct {
		GetOAuth2Client          func(childComplexity int, clientID string) int
		GetObservabilityTenant   func(childComplexity int, id string) int
		GetUser                  func(childComplexity int, id *string, email *string) int
		ListGroups               func(childComplexity int) int
		ListOAuth2Clients        func(childComplexity int) int
		ListObservabilityTenants func(childComplexity int) int
		ListUsers                func(childComplexity int) int
		Oauth2ConsentRequest     func(childComplexity int, challenge string) int
		Oauth2LoginRequest       func(childComplexity int, challenge string) int
		Organization             func(childComplexity int) int
	}

	RelabelConfig struct {
		Action       func(childComplexity int) int
		Modulus      func(childComplexity int) int
		Regex        func(childComplexity int) int
		Replacement  func(childComplexity int) int
		Separator    func(childComplexity int) int
		SourceLabels func(childComplexity int) int
		TargetLabel  func(childComplexity int) int
	}

	RulerAlertManagerConfig struct {
		AlertRelabelConfigs         func(childComplexity int) int
		AlertmanagerDiscovery       func(childComplexity int) int
		AlertmanagerRefreshInterval func(childComplexity int) int
		AlertmanagerURL             func(childComplexity int) int
		AlertmanangerEnableV2API    func(childComplexity int) int
		NotificationQueueCapacity   func(childComplexity int) int
		NotificationTimeout         func(childComplexity int) int
		Notifier                    func(childComplexity int) int
	}

	ShardstreamsConfig struct {
		DesiredRate    func(childComplexity int) int
		Enabled        func(childComplexity int) int
		LoggingEnabled func(childComplexity int) int
	}

	StreamRetention struct {
		Period   func(childComplexity int) int
		Priority func(childComplexity int) int
		Selector func(childComplexity int) int
	}

	TempoLimits struct {
		BlockRetention                                                 func(childComplexity int) int
		Forwarders                                                     func(childComplexity int) int
		IngestionBurstSizeBytes                                        func(childComplexity int) int
		IngestionRateLimitBytes                                        func(childComplexity int) int
		IngestionRateStrategy                                          func(childComplexity int) int
		MaxBlocksPerTagValuesQuery                                     func(childComplexity int) int
		MaxBytesPerTagValuesQuery                                      func(childComplexity int) int
		MaxBytesPerTrace                                               func(childComplexity int) int
		MaxGlobalTracesPerUser                                         func(childComplexity int) int
		MaxLocalTracesPerUser                                          func(childComplexity int) int
		MaxSearchDuration                                              func(childComplexity int) int
		MetricsGeneratorCollectionInterval                             func(childComplexity int) int
		MetricsGeneratorDisableCollection                              func(childComplexity int) int
		MetricsGeneratorForwarderQueueSize                             func(childComplexity int) int
		MetricsGeneratorForwarderWorkers                               func(childComplexity int) int
		MetricsGeneratorMaxActiveSeries                                func(childComplexity int) int
		MetricsGeneratorProcessorLocalBlocksCompleteBlockTimeout       func(childComplexity int) int
		MetricsGeneratorProcessorLocalBlocksFlushCheckPeriod           func(childComplexity int) int
		MetricsGeneratorProcessorLocalBlocksMaxBlockBytes              func(childComplexity int) int
		MetricsGeneratorProcessorLocalBlocksMaxBlockDuration           func(childComplexity int) int
		MetricsGeneratorProcessorLocalBlocksMaxLiveTraces              func(childComplexity int) int
		MetricsGeneratorProcessorLocalBlocksTraceIdlePeriod            func(childComplexity int) int
		MetricsGeneratorProcessorServiceGraphsDimensions               func(childComplexity int) int
		MetricsGeneratorProcessorServiceGraphsEnableClientServerPrefix func(childComplexity int) int
		MetricsGeneratorProcessorServiceGraphsHistogramBuckets         func(childComplexity int) int
		MetricsGeneratorProcessorServiceGraphsPeerAttributes           func(childComplexity int) int
		MetricsGeneratorProcessorSpanMetricsDimensionMappings          func(childComplexity int) int
		MetricsGeneratorProcessorSpanMetricsDimensions                 func(childComplexity int) int
		MetricsGeneratorProcessorSpanMetricsEnableTargetInfo           func(childComplexity int) int
		MetricsGeneratorProcessorSpanMetricsFilterPolicies             func(childComplexity int) int
		MetricsGeneratorProcessorSpanMetricsHistogramBuckets           func(childComplexity int) int
		MetricsGeneratorProcessorSpanMetricsIntrinsicDimensions        func(childComplexity int) int
		MetricsGeneratorProcessors                                     func(childComplexity int) int
		MetricsGeneratorRingSize                                       func(childComplexity int) int
	}

	User struct {
		Email        func(childComplexity int) int
		Groups       func(childComplexity int) int
		ID           func(childComplexity int) int
		Name         func(childComplexity int) int
		RecoveryLink func(childComplexity int) int
	}
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type DirectiveRoot

type DirectiveRoot struct {
	CheckPermissions func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
	IsAuthenticated  func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
}

type GroupResolver

type GroupResolver interface {
	Members(ctx context.Context, obj *model.Group) ([]*model.User, error)
}

type LoginBindingsResolver

type LoginBindingsResolver interface {
	Users(ctx context.Context, obj *model.LoginBindings) ([]*model.User, error)
	Groups(ctx context.Context, obj *model.LoginBindings) ([]*model.Group, error)
}

type MutationResolver

type MutationResolver interface {
	CreateUser(ctx context.Context, email string, name *model.NameInput) (*model.User, error)
	DeleteUser(ctx context.Context, id string) (*model.User, error)
	Group(ctx context.Context, name string, members []*model.UserInput) (*model.Group, error)
	DeleteGroup(ctx context.Context, name string) (*model.Group, error)
	CreateOAuth2Client(ctx context.Context, allowedCorsOrigins []string, audience []string, authorizationCodeGrantAccessTokenLifespan *string, authorizationCodeGrantIDTokenLifespan *string, authorizationCodeGrantRefreshTokenLifespan *string, backChannelLogoutSessionRequired *bool, backChannelLogoutURI *string, clientCredentialsGrantAccessTokenLifespan *string, clientName *string, clientSecret *string, clientSecretExpiresAt *int64, clientURI *string, contacts []string, frontchannelLogoutSessionRequired *bool, frontchannelLogoutURI *string, grantTypes []string, implicitGrantAccessTokenLifespan *string, implicitGrantIDTokenLifespan *string, jwks map[string]interface{}, jwksURI *string, jwtBearerGrantAccessTokenLifespan *string, logoURI *string, metadata map[string]interface{}, policyURI *string, postLogoutRedirectUris []string, redirectUris []string, responseTypes []string, scope *string, sectorIdentifierURI *string, subjectType *string, tokenEndpointAuthMethod *string, tokenEndpointAuthSigningAlgorithm *string, tosURI *string, userinfoSignedResponseAlgorithm *string, loginBindings *model.LoginBindingsInput) (*model.OAuth2Client, error)
	UpdateOAuth2Client(ctx context.Context, allowedCorsOrigins []string, audience []string, authorizationCodeGrantAccessTokenLifespan *string, authorizationCodeGrantIDTokenLifespan *string, authorizationCodeGrantRefreshTokenLifespan *string, backChannelLogoutSessionRequired *bool, backChannelLogoutURI *string, clientCredentialsGrantAccessTokenLifespan *string, clientID string, clientName *string, clientSecret *string, clientSecretExpiresAt *int64, clientURI *string, contacts []string, frontchannelLogoutSessionRequired *bool, frontchannelLogoutURI *string, grantTypes []string, implicitGrantAccessTokenLifespan *string, implicitGrantIDTokenLifespan *string, jwks map[string]interface{}, jwksURI *string, jwtBearerGrantAccessTokenLifespan *string, logoURI *string, metadata map[string]interface{}, policyURI *string, postLogoutRedirectUris []string, redirectUris []string, responseTypes []string, scope *string, sectorIdentifierURI *string, subjectType *string, tokenEndpointAuthMethod *string, tokenEndpointAuthSigningAlgorithm *string, tosURI *string, userinfoSignedResponseAlgorithm *string, loginBindings *model.LoginBindingsInput) (*model.OAuth2Client, error)
	DeleteOAuth2Client(ctx context.Context, clientID string) (*model.OAuth2Client, error)
	AcceptOAuth2ConsentRequest(ctx context.Context, challenge string, grantAccessTokenAudience []string, grantScope []string, remember *bool, rememberFor *int64) (*model.OAuth2RedirectTo, error)
	RejectOAuth2ConsentRequest(ctx context.Context, challenge string) (*model.OAuth2RedirectTo, error)
	AcceptOAuth2LoginRequest(ctx context.Context, challenge string, acr *string, amr []string, context map[string]interface{}, remember *bool, rememberFor *int64, subject string) (*model.OAuth2RedirectTo, error)
	RejectOAuth2LoginRequest(ctx context.Context, challenge string) (*model.OAuth2RedirectTo, error)
	CreateObservabilityTenant(ctx context.Context, id string, name *string, admins *model.ObservabilityTenantPermissionBindingsInput, metricsReaders *model.ObservabilityTenantPermissionBindingsInput, metricsWriters *model.ObservabilityTenantPermissionBindingsInput, metricsDeleters *model.ObservabilityTenantPermissionBindingsInput, metricsRulesReaders *model.ObservabilityTenantPermissionBindingsInput, metricsRulesWriters *model.ObservabilityTenantPermissionBindingsInput, metricsRulesDeleters *model.ObservabilityTenantPermissionBindingsInput, metricsAlertsReaders *model.ObservabilityTenantPermissionBindingsInput, metricsAlertsWriters *model.ObservabilityTenantPermissionBindingsInput, logsReaders *model.ObservabilityTenantPermissionBindingsInput, logsWriters *model.ObservabilityTenantPermissionBindingsInput, logsDeleters *model.ObservabilityTenantPermissionBindingsInput, logsRulesReaders *model.ObservabilityTenantPermissionBindingsInput, logsRulesWriters *model.ObservabilityTenantPermissionBindingsInput, logsRulesDeleters *model.ObservabilityTenantPermissionBindingsInput, tracesReaders *model.ObservabilityTenantPermissionBindingsInput, tracesWriters *model.ObservabilityTenantPermissionBindingsInput, limits *model.ObservabilityTenantLimitsInput) (*model.ObservabilityTenant, error)
	UpdateObservabilityTenant(ctx context.Context, id string, name *string, admins *model.ObservabilityTenantPermissionBindingsInput, metricsReaders *model.ObservabilityTenantPermissionBindingsInput, metricsWriters *model.ObservabilityTenantPermissionBindingsInput, metricsDeleters *model.ObservabilityTenantPermissionBindingsInput, metricsRulesReaders *model.ObservabilityTenantPermissionBindingsInput, metricsRulesWriters *model.ObservabilityTenantPermissionBindingsInput, metricsRulesDeleters *model.ObservabilityTenantPermissionBindingsInput, metricsAlertsReaders *model.ObservabilityTenantPermissionBindingsInput, metricsAlertsWriters *model.ObservabilityTenantPermissionBindingsInput, logsReaders *model.ObservabilityTenantPermissionBindingsInput, logsWriters *model.ObservabilityTenantPermissionBindingsInput, logsDeleters *model.ObservabilityTenantPermissionBindingsInput, logsRulesReaders *model.ObservabilityTenantPermissionBindingsInput, logsRulesWriters *model.ObservabilityTenantPermissionBindingsInput, logsRulesDeleters *model.ObservabilityTenantPermissionBindingsInput, tracesReaders *model.ObservabilityTenantPermissionBindingsInput, tracesWriters *model.ObservabilityTenantPermissionBindingsInput, limits *model.ObservabilityTenantLimitsInput) (*model.ObservabilityTenant, error)
	DeleteObservabilityTenant(ctx context.Context, id string) (*model.ObservabilityTenant, error)
	Organization(ctx context.Context, admins []*model.UserInput) (*model.Organization, error)
}

type OAuth2ClientResolver

type OAuth2ClientResolver interface {
	Owner(ctx context.Context, obj *model.OAuth2Client) (*string, error)

	LoginBindings(ctx context.Context, obj *model.OAuth2Client) (*model.LoginBindings, error)
}

type ObservabilityTenantResolver

type ObservabilityTenantResolver interface {
	Admins(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	MetricsReaders(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	MetricsWriters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	MetricsDeleters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	MetricsRulesReaders(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	MetricsRulesWriters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	MetricsRulesDeleters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	MetricsAlertsReaders(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	MetricsAlertsWriters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	LogsReaders(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	LogsWriters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	LogsDeleters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	LogsRulesReaders(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	LogsRulesWriters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	LogsRulesDeleters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	TracesReaders(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
	TracesWriters(ctx context.Context, obj *model.ObservabilityTenant) (*model.ObservabilityTenantPermissionBindings, error)
}

type OrganizationResolver

type OrganizationResolver interface {
	Admins(ctx context.Context, obj *model.Organization) ([]*model.User, error)
}

type QueryResolver

type QueryResolver interface {
	ListUsers(ctx context.Context) ([]*model.User, error)
	GetUser(ctx context.Context, id *string, email *string) (*model.User, error)
	ListGroups(ctx context.Context) ([]*model.Group, error)
	ListOAuth2Clients(ctx context.Context) ([]*model.OAuth2Client, error)
	GetOAuth2Client(ctx context.Context, clientID string) (*model.OAuth2Client, error)
	Oauth2ConsentRequest(ctx context.Context, challenge string) (*model.OAuth2ConsentRequest, error)
	Oauth2LoginRequest(ctx context.Context, challenge string) (*model.OAuth2LoginRequest, error)
	ListObservabilityTenants(ctx context.Context) ([]*model.ObservabilityTenant, error)
	GetObservabilityTenant(ctx context.Context, id string) (*model.ObservabilityTenant, error)
	Organization(ctx context.Context) (*model.Organization, error)
}

type ResolverRoot

type ResolverRoot interface {
	BlockedQuery() BlockedQueryResolver
	Group() GroupResolver
	LoginBindings() LoginBindingsResolver
	Mutation() MutationResolver
	OAuth2Client() OAuth2ClientResolver
	ObservabilityTenant() ObservabilityTenantResolver
	ObservabilityTenantPermissionBindings() ObservabilityTenantPermissionBindingsResolver
	Organization() OrganizationResolver
	Query() QueryResolver
	User() UserResolver
	BlockedQueryInput() BlockedQueryInputResolver
}

type UserResolver

type UserResolver interface {
	Groups(ctx context.Context, obj *model.User) ([]*model.Group, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL