resolver

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Resolver

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

func NewResolver

func NewResolver(config ResolverConfig) (*Resolver, error)

func (*Resolver) Mutation added in v1.4.0

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

Mutation returns exec.MutationResolver implementation.

func (*Resolver) Query

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

Query returns exec.QueryResolver implementation.

type ResolverConfig

type ResolverConfig struct {
	Log       *zap.SugaredLogger
	Analytics analytics.Reporter

	InstallationProvider   string
	InstallationCodename   string
	InstallationK8sApiUrl  string
	InstallationK8sAuthUrl string
	InstallationK8sCaCert  string
	AnalyticsEnv           string
}

Jump to

Keyboard shortcuts

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