MCPcopy
hub / github.com/hasura/graphql-engine / Deploy

Method Deploy

cli/pkg/deploy/project_deploy.go:19–27  ·  view source on GitHub ↗
(opts ...ProjectDeployExecutorOptions)

Source from the content-addressed store, hash-verified

17type ProjectDeployOption func(deploy *ProjectDeploy)
18
19func (p *ProjectDeploy) Deploy(opts ...ProjectDeployExecutorOptions) error {
20 var op errors.Op = "deploy.ProjectDeploy.Deploy"
21 executor := newProjectDeployExecutor(p.ec)
22 err := executor.deploy(opts...)
23 if err != nil {
24 return errors.E(op, err)
25 }
26 return nil
27}
28
29func WithAdminSecret(adminSecret string) ProjectDeployOption {
30 return func(deploy *ProjectDeploy) {

Calls 2

newProjectDeployExecutorFunction · 0.85
deployMethod · 0.80