forked from nanobox-io/nanobox
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7450280
commit 9bece63
Showing
5 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9bece63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠ gofmt failed (.)
commands/deploy.go
}{} ) -// func init() { DeployCmd.Flags().BoolVarP(&deployCmdFlags.skipCompile, "skip-compile", "", false, "skip compiling the app") DeployCmd.Flags().BoolVarP(&deployCmdFlags.force, "force", "", false, "force the deploy even if you have used this build on a previous deploy")
commands/dev/stop.go
steps.Build("dev stop", stopCheck, stopFn) } -// // stopFn ... func stopFn(ccmd *cobra.Command, args []string) { // TODO: check the app and return some message
commands/dns.go
} ) -// func init() { DnsCmd.AddCommand(dns.AddCmd) DnsCmd.AddCommand(dns.RemoveCmd)
commands/env.go
} ) -// func init() { // hidden subcommands EnvCmd.AddCommand(env.ServerCmd)
commands/env/server.go
} ) -// func init() { ServerCmd.AddCommand(ServerStartCmd) ServerCmd.AddCommand(ServerStopCmd)
commands/evar.go
} ) -// func init() { EvarCmd.AddCommand(evar.AddCmd) EvarCmd.AddCommand(evar.LoadCmd)
commands/login.go
}{} ) -// func init() { LoginCmd.Flags().StringVarP(&loginCmdFlags.username, "username", "u", "", "username") LoginCmd.Flags().StringVarP(&loginCmdFlags.password, "password", "p", "", "password")
commands/remote.go
} ) -// func init() { RemoteCmd.AddCommand(RemoteAddCmd) RemoteCmd.AddCommand(RemoteListCmd)
commands/tunnel.go
}{} ) -// func init() { TunnelCmd.Flags().StringVarP(&portMap, "port", "p", "", "Specify a local[:destination] port to listen on and connect to.") }
generators/router/router.go
"github.com/mu-box/microbox/models" ) -// func loadBoxfile(appModel *models.App) boxfile.Boxfile { return boxfile.New([]byte(appModel.DeployedBoxfile)) }
generators/router/routes.go
processors/clean.go
"github.com/mu-box/microbox/util/locker" ) -// func Clean(envModels []*models.Env) error { locker.GlobalLock() defer locker.GlobalUnlock()
processors/code/setup.go
"github.com/mu-box/microbox/util/hookit" ) -// func Setup(appModel *models.App, componentModel *models.Component, warehouseConfig WarehouseConfig) error { // generate the missing component data if err := componentModel.Generate(appModel, "code"); err != nil {
processors/deploy.go
"github.com/mu-box/microbox/util/odin" ) -// func Deploy(envModel *models.Env, deployConfig DeployConfig) error { appID := deployConfig.App
processors/platform/portal.go
return nil } -// func portalClient(appModel *models.App) portal.PortalClient { return portal.New(appModel.LocalIPs["env"]+":8443", "123") }
util/display/characters.go
util/provider/dockermachine.go
return nil } -// func (machine DockerMachine) RemoveEnvDir(id string) error { if id == "" { return fmt.Errorf("invalid env id")
util/provider/native.go
return cmd.CombinedOutput() } -// func (native Native) RemoveEnvDir(id string) error { if id == "" { return nil
9bece63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠ gocyclo failed (.)
6 function(s) exceeding a complexity of 15
Show Detail
9bece63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠ goimports failed (.)
commands/deploy.go
}{} ) -// func init() { DeployCmd.Flags().BoolVarP(&deployCmdFlags.skipCompile, "skip-compile", "", false, "skip compiling the app") DeployCmd.Flags().BoolVarP(&deployCmdFlags.force, "force", "", false, "force the deploy even if you have used this build on a previous deploy")
commands/dev/stop.go
steps.Build("dev stop", stopCheck, stopFn) } -// // stopFn ... func stopFn(ccmd *cobra.Command, args []string) { // TODO: check the app and return some message
commands/dns.go
} ) -// func init() { DnsCmd.AddCommand(dns.AddCmd) DnsCmd.AddCommand(dns.RemoveCmd)
commands/env.go
} ) -// func init() { // hidden subcommands EnvCmd.AddCommand(env.ServerCmd)
commands/env/server.go
} ) -// func init() { ServerCmd.AddCommand(ServerStartCmd) ServerCmd.AddCommand(ServerStopCmd)
commands/evar.go
} ) -// func init() { EvarCmd.AddCommand(evar.AddCmd) EvarCmd.AddCommand(evar.LoadCmd)
commands/login.go
}{} ) -// func init() { LoginCmd.Flags().StringVarP(&loginCmdFlags.username, "username", "u", "", "username") LoginCmd.Flags().StringVarP(&loginCmdFlags.password, "password", "p", "", "password")
commands/remote.go
} ) -// func init() { RemoteCmd.AddCommand(RemoteAddCmd) RemoteCmd.AddCommand(RemoteListCmd)
commands/tunnel.go
}{} ) -// func init() { TunnelCmd.Flags().StringVarP(&portMap, "port", "p", "", "Specify a local[:destination] port to listen on and connect to.") }
generators/router/router.go
"github.com/mu-box/microbox/models" ) -// func loadBoxfile(appModel *models.App) boxfile.Boxfile { return boxfile.New([]byte(appModel.DeployedBoxfile)) }
generators/router/routes.go
processors/clean.go
"github.com/mu-box/microbox/util/locker" ) -// func Clean(envModels []*models.Env) error { locker.GlobalLock() defer locker.GlobalUnlock()
processors/code/setup.go
"github.com/mu-box/microbox/util/hookit" ) -// func Setup(appModel *models.App, componentModel *models.Component, warehouseConfig WarehouseConfig) error { // generate the missing component data if err := componentModel.Generate(appModel, "code"); err != nil {
processors/deploy.go
"github.com/mu-box/microbox/util/odin" ) -// func Deploy(envModel *models.Env, deployConfig DeployConfig) error { appID := deployConfig.App
processors/platform/portal.go
return nil } -// func portalClient(appModel *models.App) portal.PortalClient { return portal.New(appModel.LocalIPs["env"]+":8443", "123") }
util/display/characters.go
util/provider/dockermachine.go
return nil } -// func (machine DockerMachine) RemoveEnvDir(id string) error { if id == "" { return fmt.Errorf("invalid env id")
util/provider/native.go
return cmd.CombinedOutput() } -// func (native Native) RemoveEnvDir(id string) error { if id == "" { return nil
9bece63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠ Failure Summary