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 CuOption 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 SvcGrpInfo func(childComplexity int, id *string) 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_FooTypeABC 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 { Annotations func(childComplexity int) int 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 Id func(childComplexity int) int IntOrString 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, timeInterval *string, someUserArg1 *string, someUserArg2 *int, someUserArg3 *bool) 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 TargetPort 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 } Policypkg_ACPConfig struct { Conditions func(childComplexity int) int Description func(childComplexity int) 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 Tags func(childComplexity int) int } Policypkg_AccessControlPolicy struct { Id func(childComplexity int) int ParentLabels func(childComplexity int) int PolicyConfigs func(childComplexity int, id *string) int } Policypkg_VMpolicy struct { Id func(childComplexity int) int ParentLabels 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, timeInterval *string, someUserArg1 *string, someUserArg2 *int, someUserArg3 *bool) int QueryGnsQM1 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_SvcGroupLinkInfo struct { ClusterName func(childComplexity int) int DomainName func(childComplexity int) int Id func(childComplexity int) int ParentLabels func(childComplexity int) int ServiceName func(childComplexity int) int ServiceType 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.PolicypkgAccessControlPolicy, error) FooExample(ctx context.Context, obj *model.ConfigConfig, id *string) ([]*model.ConfigFooTypeABC, 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.PolicypkgVMpolicy, error) Domain(ctx context.Context, obj *model.ConfigConfig, id *string) (*model.ConfigDomain, error) SvcGrpInfo(ctx context.Context, obj *model.ConfigConfig, id *string) (*model.ServicegroupSvcGroupLinkInfo, error) }
type DirectiveRoot ¶
type DirectiveRoot struct { Jsonencoded func(ctx context.Context, obj interface{}, next graphql.Resolver, file *string, gofile *string, name *string) (res interface{}, err error) Protobuf func(ctx context.Context, obj interface{}, next graphql.Resolver, file string, name string) (res interface{}, err error) Relation func(ctx context.Context, obj interface{}, next graphql.Resolver, name *string, parameters *string, softlink *string, uuidkey *string) (res interface{}, err error) TimeseriesAPI func(ctx context.Context, obj interface{}, next graphql.Resolver, file string, handler string) (res interface{}, err error) }
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, timeInterval *string, someUserArg1 *string, someUserArg2 *int, someUserArg3 *bool) (*model.TimeSeriesData, error) GnsAccessControlPolicy(ctx context.Context, obj *model.GnsGns, id *string) (*model.PolicypkgAccessControlPolicy, error) FooChild(ctx context.Context, obj *model.GnsGns) (*model.GnsBarChild, error) }
type Policypkg_AccessControlPolicyResolver ¶
type Policypkg_AccessControlPolicyResolver interface {
PolicyConfigs(ctx context.Context, obj *model.PolicypkgAccessControlPolicy, id *string) ([]*model.PolicypkgACPConfig, error)
}
type Policypkg_VMpolicyResolver ¶
type Policypkg_VMpolicyResolver interface { QueryGns1(ctx context.Context, obj *model.PolicypkgVMpolicy, startTime *string, endTime *string, interval *string, isServiceDeployment *bool, startVal *int) (*model.NexusGraphqlResponse, error) QueryGnsQM1(ctx context.Context, obj *model.PolicypkgVMpolicy) (*model.TimeSeriesData, error) QueryGnsQM(ctx context.Context, obj *model.PolicypkgVMpolicy, startTime *string, endTime *string, timeInterval *string, someUserArg1 *string, someUserArg2 *int, someUserArg3 *bool) (*model.TimeSeriesData, error) }
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Query() QueryResolver Config_Config() Config_ConfigResolver Gns_Gns() Gns_GnsResolver Policypkg_AccessControlPolicy() Policypkg_AccessControlPolicyResolver Policypkg_VMpolicy() Policypkg_VMpolicyResolver Root_Root() Root_RootResolver }
type Root_RootResolver ¶
Click to show internal directories.
Click to hide internal directories.