...

Source file src/edge-infra.dev/pkg/edge/api/graph/resolver/ca_bundle_queries.resolvers.go

Documentation: edge-infra.dev/pkg/edge/api/graph/resolver

     1  package resolver
     2  
     3  // This file will be automatically regenerated based on the schema, any resolver implementations
     4  // will be copied through when generating and any unknown code will be moved to the end.
     5  // Code generated by github.com/99designs/gqlgen version v0.17.45
     6  
     7  import (
     8  	"context"
     9  
    10  	"edge-infra.dev/pkg/edge/api/graph/model"
    11  )
    12  
    13  // GetCABundle is the resolver for the getCABundle field.
    14  func (r *queryResolver) GetCABundle(ctx context.Context, bannerEdgeID string) (*model.CaBundle, error) {
    15  	topLevelProject := r.Config.Bff.TopLevelProjectID
    16  	return r.CABundleService.GetCABundle(ctx, bannerEdgeID, topLevelProject)
    17  }
    18  

View as plain text