Documentation
¶
Overview ¶
Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer
Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer ¶
Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer ¶
Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer
Index ¶
- func NewEdgeClusterResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (edgecluster.EdgeClusterResolverContract, error)
- func NewEdgeClusterTenantResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (edgecluster.EdgeClusterTenantResolverContract, error)
- func NewEdgeClusterTypeConnectionResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (edgecluster.EdgeClusterTypeConnectionResolverContract, error)
- func NewEdgeClusterTypeEdgeResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (edgecluster.EdgeClusterTypeEdgeResolverContract, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEdgeClusterResolver ¶
func NewEdgeClusterResolver( ctx context.Context, resolverCreator types.ResolverCreatorContract, logger *zap.Logger, edgeClusterClientService edgecluster.EdgeClusterClientContract, edgeClusterID string, edgeCluster *edgeclusterGrpcContract.EdgeCluster) (edgecluster.EdgeClusterResolverContract, error)
NewEdgeClusterResolver creates new instance of the edgeClusterResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers logger: Mandatory. Reference to the logger service edgeClusterID: Mandatory. the edge cluster unique identifier Returns the new instance or error if something goes wrong
func NewEdgeClusterTenantResolver ¶ added in v0.0.9
func NewEdgeClusterTenantResolver( ctx context.Context, resolverCreator types.ResolverCreatorContract, logger *zap.Logger, tenantID string) (edgecluster.EdgeClusterTenantResolverContract, error)
NewEdgeClusterTenantResolver creates new instance of the edgeClusterTenantResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers tenantID: Mandatory. the tenant unique identifier Returns the new instance or error if something goes wrong
func NewEdgeClusterTypeConnectionResolver ¶
func NewEdgeClusterTypeConnectionResolver( ctx context.Context, resolverCreator types.ResolverCreatorContract, edgeClusters []*edgeclusterGrpcContract.EdgeClusterWithCursor, hasPreviousPage bool, hasNextPage bool, totalCount int32) (edgecluster.EdgeClusterTypeConnectionResolverContract, error)
NewEdgeClusterTypeConnectionResolver creates new instance of the edgeClusterTypeConnectionResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers edgeClusters: Mandatory. Reference the list of edge clusters hasPreviousPage: Mandatory. Indicates whether more edges exist prior to the set defined by the clients arguments hasNextPage: Mandatory. Indicates whether more edges exist following the set defined by the clients arguments totalCount: Mandatory. The total count of matched edge clusters Returns the new instance or error if something goes wrong
func NewEdgeClusterTypeEdgeResolver ¶
func NewEdgeClusterTypeEdgeResolver( ctx context.Context, resolverCreator types.ResolverCreatorContract, edgeClusterID string, edgeCluster *edgeclusterGrpcContract.EdgeCluster, cursor string) (edgecluster.EdgeClusterTypeEdgeResolverContract, error)
NewEdgeClusterTypeEdgeResolver creates new instance of the edgeClusterTypeEdgeResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers edgeClusterID: Mandatory. the edge cluster unique identifier edgeCluster: Optional. The edge cluster details cursor: Mandatory. the cursor Returns the new instance or error if something goes wrong
Types ¶
This section is empty.