generated

package
v0.0.0-...-d70f863 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 12 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 ComplexityRoot

type ComplexityRoot struct {
	NexusGraphqlResponse struct {
		Code         func(childComplexity int) int
		Data         func(childComplexity int) int
		Last         func(childComplexity int) int
		Message      func(childComplexity int) int
		TotalRecords func(childComplexity int) int
	}

	Query struct {
		Root func(childComplexity int) int
	}

	TimeSeriesData struct {
		Code         func(childComplexity int) int
		Data         func(childComplexity int) int
		Last         func(childComplexity int) int
		Message      func(childComplexity int) int
		TotalRecords func(childComplexity int) int
	}

	Config_Config struct {
		ABCHost           func(childComplexity int) int
		ACPPolicies       func(childComplexity int, id *string) int
		ClusterNamespaces func(childComplexity int) int
		Dns               func(childComplexity int) int
		Domain            func(childComplexity int, id *string) int
		FooExample        func(childComplexity int, id *string) int
		Gns               func(childComplexity int, id *string) int
		Id                func(childComplexity int) int
		Instance          func(childComplexity int) int
		MyStr0            func(childComplexity int) int
		MyStr1            func(childComplexity int) int
		MyStr2            func(childComplexity int) int
		ParentLabels      func(childComplexity int) int
		QueryExample      func(childComplexity int, startTime *string, endTime *string, interval *string, isServiceDeployment *bool, startVal *int) int
		TestValMarkers    func(childComplexity int) int
		VMPPolicies       func(childComplexity int, id *string) int
		XYZPort           func(childComplexity int) int
	}

	Config_Domain struct {
		Id               func(childComplexity int) int
		MapOfArrsPoints  func(childComplexity int) int
		ParentLabels     func(childComplexity int) int
		PointInt         func(childComplexity int) int
		PointMap         func(childComplexity int) int
		PointPort        func(childComplexity int) int
		PointSlice       func(childComplexity int) int
		PointString      func(childComplexity int) int
		PointStruct      func(childComplexity int) int
		SliceOfArrPoints func(childComplexity int) int
		SliceOfPoints    func(childComplexity int) int
	}

	Config_FooType struct {
		FooA         func(childComplexity int) int
		FooB         func(childComplexity int) int
		FooD         func(childComplexity int) int
		FooF         func(childComplexity int) int
		Id           func(childComplexity int) int
		ParentLabels func(childComplexity int) int
	}

	Gns_BarChild struct {
		Id           func(childComplexity int) int
		Name         func(childComplexity int) int
		ParentLabels func(childComplexity int) int
	}

	Gns_Dns struct {
		Id           func(childComplexity int) int
		ParentLabels func(childComplexity int) int
	}

	Gns_Gns struct {
		Description              func(childComplexity int) int
		DifferentSpec            func(childComplexity int) int
		Domain                   func(childComplexity int) int
		FooChild                 func(childComplexity int) int
		GnsAccessControlPolicy   func(childComplexity int, id *string) int
		GnsServiceGroups         func(childComplexity int, id *string) int
		Id                       func(childComplexity int) int
		MapPointer               func(childComplexity int) int
		Meta                     func(childComplexity int) int
		OtherDescription         func(childComplexity int) int
		ParentLabels             func(childComplexity int) int
		Port                     func(childComplexity int) int
		QueryGns1                func(childComplexity int, startTime *string, endTime *string, interval *string, isServiceDeployment *bool, startVal *int) int
		QueryGnsQm               func(childComplexity int, startTime *string, endTime *string, interval *string) int
		QueryGnsQm1              func(childComplexity int) int
		ServiceSegmentRef        func(childComplexity int) int
		ServiceSegmentRefMap     func(childComplexity int) int
		ServiceSegmentRefPointer func(childComplexity int) int
		ServiceSegmentRefs       func(childComplexity int) int
		SlicePointer             func(childComplexity int) int
		UseSharedGateway         func(childComplexity int) int
		WorkloadSpec             func(childComplexity int) int
	}

	Gns_IgnoreChild struct {
		Id           func(childComplexity int) int
		Name         func(childComplexity int) int
		ParentLabels func(childComplexity int) int
	}

	Policy_ACPConfig struct {
		Conditions      func(childComplexity int) int
		Description     func(childComplexity int) int
		DestSvcGroups   func(childComplexity int, id *string) int
		DisplayName     func(childComplexity int) int
		Gns             func(childComplexity int) int
		Id              func(childComplexity int) int
		ParentLabels    func(childComplexity int) int
		ProjectId       func(childComplexity int) int
		SourceSvcGroups func(childComplexity int, id *string) int
		Tags            func(childComplexity int) int
	}

	Policy_AccessControlPolicy struct {
		Id            func(childComplexity int) int
		ParentLabels  func(childComplexity int) int
		PolicyConfigs func(childComplexity int, id *string) int
	}

	Policy_VMpolicy struct {
		Id           func(childComplexity int) int
		ParentLabels func(childComplexity int) int
	}

	Root_Root struct {
		Config       func(childComplexity int, id *string) int
		Id           func(childComplexity int) int
		ParentLabels func(childComplexity int) int
	}

	Servicegroup_SvcGroup struct {
		Color        func(childComplexity int) int
		Description  func(childComplexity int) int
		DisplayName  func(childComplexity int) int
		Id           func(childComplexity int) int
		ParentLabels func(childComplexity int) int
	}
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type Config_ConfigResolver

type Config_ConfigResolver interface {
	QueryExample(ctx context.Context, obj *model.ConfigConfig, startTime *string, endTime *string, interval *string, isServiceDeployment *bool, startVal *int) (*model.NexusGraphqlResponse, error)
	ACPPolicies(ctx context.Context, obj *model.ConfigConfig, id *string) ([]*model.PolicyAccessControlPolicy, error)
	FooExample(ctx context.Context, obj *model.ConfigConfig, id *string) ([]*model.ConfigFooType, error)

	Gns(ctx context.Context, obj *model.ConfigConfig, id *string) (*model.GnsGns, error)
	Dns(ctx context.Context, obj *model.ConfigConfig) (*model.GnsDns, error)
	VMPPolicies(ctx context.Context, obj *model.ConfigConfig, id *string) (*model.PolicyVMpolicy, error)
	Domain(ctx context.Context, obj *model.ConfigConfig, id *string) (*model.ConfigDomain, error)
}

type DirectiveRoot

type DirectiveRoot struct {
}

type Gns_GnsResolver

type Gns_GnsResolver interface {
	QueryGns1(ctx context.Context, obj *model.GnsGns, startTime *string, endTime *string, interval *string, isServiceDeployment *bool, startVal *int) (*model.NexusGraphqlResponse, error)
	QueryGnsQm1(ctx context.Context, obj *model.GnsGns) (*model.TimeSeriesData, error)
	QueryGnsQm(ctx context.Context, obj *model.GnsGns, startTime *string, endTime *string, interval *string) (*model.TimeSeriesData, error)
	GnsServiceGroups(ctx context.Context, obj *model.GnsGns, id *string) ([]*model.ServicegroupSvcGroup, error)

	GnsAccessControlPolicy(ctx context.Context, obj *model.GnsGns, id *string) (*model.PolicyAccessControlPolicy, error)
	FooChild(ctx context.Context, obj *model.GnsGns) (*model.GnsBarChild, error)
}

type Policy_ACPConfigResolver

type Policy_ACPConfigResolver interface {
	DestSvcGroups(ctx context.Context, obj *model.PolicyACPConfig, id *string) ([]*model.ServicegroupSvcGroup, error)
	SourceSvcGroups(ctx context.Context, obj *model.PolicyACPConfig, id *string) ([]*model.ServicegroupSvcGroup, error)
}

type Policy_AccessControlPolicyResolver

type Policy_AccessControlPolicyResolver interface {
	PolicyConfigs(ctx context.Context, obj *model.PolicyAccessControlPolicy, id *string) ([]*model.PolicyACPConfig, error)
}

type QueryResolver

type QueryResolver interface {
	Root(ctx context.Context) (*model.RootRoot, error)
}

type ResolverRoot

type ResolverRoot interface {
	Query() QueryResolver
	Config_Config() Config_ConfigResolver
	Gns_Gns() Gns_GnsResolver
	Policy_ACPConfig() Policy_ACPConfigResolver
	Policy_AccessControlPolicy() Policy_AccessControlPolicyResolver
	Root_Root() Root_RootResolver
}

type Root_RootResolver

type Root_RootResolver interface {
	Config(ctx context.Context, obj *model.RootRoot, id *string) (*model.ConfigConfig, error)
}

Jump to

Keyboard shortcuts

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