...

Source file src/edge-infra.dev/pkg/edge/api/graph/resolver/bootstrap_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  // BootstrapCluster is the resolver for the bootstrapCluster field.
    14  func (r *mutationResolver) BootstrapCluster(ctx context.Context, payload model.BootstrapPayload) (*model.BootstrapResponse, error) {
    15  	return r.beginBootstrapCluster(ctx, payload)
    16  }
    17  
    18  // TerminalBootstrap is the resolver for the terminalBootstrap field.
    19  func (r *queryResolver) TerminalBootstrap(ctx context.Context, macAddresses []string, edgeOSVersion *string) (*model.TerminalBootstrap, error) {
    20  	return r.beginTerminalBootstrap(ctx, macAddresses, edgeOSVersion)
    21  }
    22  

View as plain text