graph

package
v0.0.0-...-e64e0cb Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 69 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(config gengql.Config, log logrus.FieldLogger) (*handler.Server, error)

Types

type Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

func NewMetrics

func NewMetrics(meter metric.Meter) (*Metrics, error)

func (*Metrics) ExtensionName

func (a *Metrics) ExtensionName() string

func (*Metrics) InterceptField

func (a *Metrics) InterceptField(ctx context.Context, next graphql.Resolver) (interface{}, error)

func (*Metrics) InterceptResponse

func (a *Metrics) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response

func (*Metrics) Validate

func (a *Metrics) Validate(_ graphql.ExecutableSchema) error

type PubsubTopic

type PubsubTopic interface {
	Publish(ctx context.Context, msg protoreflect.ProtoMessage, attrs map[string]string) (string, error)
	String() string
}

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(topic PubsubTopic, opts ...ResolverOption) *Resolver

func (*Resolver) Application

func (r *Resolver) Application() gengql.ApplicationResolver

func (*Resolver) BigQueryDataset

func (r *Resolver) BigQueryDataset() gengql.BigQueryDatasetResolver

func (*Resolver) Bucket

func (r *Resolver) Bucket() gengql.BucketResolver

func (*Resolver) ContainerImage

func (r *Resolver) ContainerImage() gengql.ContainerImageResolver

func (*Resolver) ContainerImageWorkloadReference

func (r *Resolver) ContainerImageWorkloadReference() gengql.ContainerImageWorkloadReferenceResolver

func (*Resolver) DeleteApplicationPayload

func (r *Resolver) DeleteApplicationPayload() gengql.DeleteApplicationPayloadResolver

func (*Resolver) DeleteJobPayload

func (r *Resolver) DeleteJobPayload() gengql.DeleteJobPayloadResolver

func (*Resolver) Deployment

func (r *Resolver) Deployment() gengql.DeploymentResolver

func (*Resolver) DeploymentInfo

func (r *Resolver) DeploymentInfo() gengql.DeploymentInfoResolver

func (*Resolver) ImageVulnerability

func (r *Resolver) ImageVulnerability() gengql.ImageVulnerabilityResolver

func (*Resolver) ImageVulnerabilityAnalysisTrail

func (r *Resolver) ImageVulnerabilityAnalysisTrail() gengql.ImageVulnerabilityAnalysisTrailResolver

func (*Resolver) Ingress

func (r *Resolver) Ingress() gengql.IngressResolver

func (*Resolver) Job

func (r *Resolver) Job() gengql.JobResolver

func (*Resolver) JobRun

func (r *Resolver) JobRun() gengql.JobRunResolver

func (*Resolver) KafkaTopic

func (r *Resolver) KafkaTopic() gengql.KafkaTopicResolver

func (*Resolver) KafkaTopicAcl

func (r *Resolver) KafkaTopicAcl() gengql.KafkaTopicAclResolver

func (*Resolver) Mutation

func (r *Resolver) Mutation() gengql.MutationResolver

func (*Resolver) NetworkPolicyRule

func (r *Resolver) NetworkPolicyRule() gengql.NetworkPolicyRuleResolver

func (*Resolver) OpenSearch

func (r *Resolver) OpenSearch() gengql.OpenSearchResolver

func (*Resolver) OpenSearchAccess

func (r *Resolver) OpenSearchAccess() gengql.OpenSearchAccessResolver

func (*Resolver) Query

func (r *Resolver) Query() gengql.QueryResolver

func (*Resolver) Reconciler

func (r *Resolver) Reconciler() gengql.ReconcilerResolver

func (*Resolver) ReconcilerError

func (r *Resolver) ReconcilerError() gengql.ReconcilerErrorResolver

func (*Resolver) RedisInstance

func (r *Resolver) RedisInstance() gengql.RedisInstanceResolver

func (*Resolver) RedisInstanceAccess

func (r *Resolver) RedisInstanceAccess() gengql.RedisInstanceAccessResolver

func (*Resolver) RemoveTeamMemberPayload

func (r *Resolver) RemoveTeamMemberPayload() gengql.RemoveTeamMemberPayloadResolver

func (*Resolver) Repository

func (r *Resolver) Repository() gengql.RepositoryResolver

func (*Resolver) RestartApplicationPayload

func (r *Resolver) RestartApplicationPayload() gengql.RestartApplicationPayloadResolver

func (*Resolver) Secret

func (r *Resolver) Secret() gengql.SecretResolver

func (*Resolver) SqlDatabase

func (r *Resolver) SqlDatabase() gengql.SqlDatabaseResolver

func (*Resolver) SqlInstance

func (r *Resolver) SqlInstance() gengql.SqlInstanceResolver

func (*Resolver) SqlInstanceMetrics

func (r *Resolver) SqlInstanceMetrics() gengql.SqlInstanceMetricsResolver

func (*Resolver) Subscription

func (r *Resolver) Subscription() gengql.SubscriptionResolver

func (*Resolver) Team

func (r *Resolver) Team() gengql.TeamResolver

func (*Resolver) TeamCost

func (r *Resolver) TeamCost() gengql.TeamCostResolver

func (*Resolver) TeamDeleteKey

func (r *Resolver) TeamDeleteKey() gengql.TeamDeleteKeyResolver

func (*Resolver) TeamEnvironment

func (r *Resolver) TeamEnvironment() gengql.TeamEnvironmentResolver

func (*Resolver) TeamEnvironmentCost

func (r *Resolver) TeamEnvironmentCost() gengql.TeamEnvironmentCostResolver

func (*Resolver) TeamInventoryCounts

func (r *Resolver) TeamInventoryCounts() gengql.TeamInventoryCountsResolver

func (*Resolver) TeamMember

func (r *Resolver) TeamMember() gengql.TeamMemberResolver

func (*Resolver) TeamMemberAddedAuditEntryData

func (r *Resolver) TeamMemberAddedAuditEntryData() gengql.TeamMemberAddedAuditEntryDataResolver

func (*Resolver) TeamMemberRemovedAuditEntryData

func (r *Resolver) TeamMemberRemovedAuditEntryData() gengql.TeamMemberRemovedAuditEntryDataResolver

func (*Resolver) TeamMemberSetRoleAuditEntryData

func (r *Resolver) TeamMemberSetRoleAuditEntryData() gengql.TeamMemberSetRoleAuditEntryDataResolver

func (*Resolver) TeamServiceUtilization

func (r *Resolver) TeamServiceUtilization() gengql.TeamServiceUtilizationResolver

func (*Resolver) TeamServiceUtilizationSqlInstances

func (r *Resolver) TeamServiceUtilizationSqlInstances() gengql.TeamServiceUtilizationSqlInstancesResolver

func (*Resolver) TeamUtilizationData

func (r *Resolver) TeamUtilizationData() gengql.TeamUtilizationDataResolver

func (*Resolver) TeamUtilizationEnvironmentDataPoint

func (r *Resolver) TeamUtilizationEnvironmentDataPoint() gengql.TeamUtilizationEnvironmentDataPointResolver

func (*Resolver) TeamVulnerabilitySummary

func (r *Resolver) TeamVulnerabilitySummary() gengql.TeamVulnerabilitySummaryResolver

func (*Resolver) TriggerJobPayload

func (r *Resolver) TriggerJobPayload() gengql.TriggerJobPayloadResolver

func (*Resolver) UnleashInstance

func (r *Resolver) UnleashInstance() gengql.UnleashInstanceResolver

func (*Resolver) UnleashInstanceMetrics

func (r *Resolver) UnleashInstanceMetrics() gengql.UnleashInstanceMetricsResolver

func (*Resolver) User

func (r *Resolver) User() gengql.UserResolver

func (*Resolver) WorkloadCost

func (r *Resolver) WorkloadCost() gengql.WorkloadCostResolver

func (*Resolver) WorkloadCostPoint

func (r *Resolver) WorkloadCostPoint() gengql.WorkloadCostPointResolver

func (*Resolver) WorkloadUtilization

func (r *Resolver) WorkloadUtilization() gengql.WorkloadUtilizationResolver

func (*Resolver) WorkloadUtilizationData

func (r *Resolver) WorkloadUtilizationData() gengql.WorkloadUtilizationDataResolver

type ResolverOption

type ResolverOption func(*Resolver)

func WithLogger

func WithLogger(log logrus.FieldLogger) ResolverOption

type SSE

type SSE struct{}

func (SSE) Do

func (SSE) Supports

func (t SSE) Supports(r *http.Request) bool

type TopicWrapper

type TopicWrapper struct {
	Topic *pubsub.Topic
}

func (*TopicWrapper) Publish

func (t *TopicWrapper) Publish(ctx context.Context, msg protoreflect.ProtoMessage, attrs map[string]string) (string, error)

func (*TopicWrapper) String

func (t *TopicWrapper) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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