...
1 package resolver
2
3
4
5
6
7 import (
8 "context"
9
10 "edge-infra.dev/pkg/edge/api/graph/model"
11 )
12
13
14 func (r *mutationResolver) BootstrapCluster(ctx context.Context, payload model.BootstrapPayload) (*model.BootstrapResponse, error) {
15 return r.beginBootstrapCluster(ctx, payload)
16 }
17
18
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