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
46c215b
commit a80e7dd
Showing
5 changed files
with
79 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[](http://microbox.cloud/open-source#microboxdesktop) | ||
[](https://travis-ci.org/mu-box/microbox) | ||
[](http://microbox.cloud/open-source#microboxdesktop) | ||
[](https://github.com/mu-box/microbox/actions) | ||
|
||
## Microbox | ||
|
||
|
@@ -81,4 +81,4 @@ Microbox uses [govendor](https://github.com/kardianos/govendor#the-vendor-tool-f | |
|
||
For help using Microbox or if you have any questions/suggestions, please reach out to [email protected] or find us on [slack](https://slack.microbox.rocks/). You can also [create a new issue on this project](https://github.com/mu-box/microbox/issues/new). | ||
|
||
[](https://microbox.cloud/open-source/) | ||
[](https://microbox.cloud/open-source/) |
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
a80e7dd
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.
⚠ misspell failed (.)
a80e7dd
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
a80e7dd
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 (.)
13 function(s) exceeding a complexity of 15
Show Detail
a80e7dd
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
a80e7dd
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.
⚠ ineffassign failed (.)
a80e7dd
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.
⚠ errcheck failed (.)
a80e7dd
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.
⚠ gosec failed (.)
Show Detail
Code Reference
a80e7dd
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.
⚠ shadow failed (.)
a80e7dd
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.
⚠ staticcheck failed (.)
Checks Document
a80e7dd
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
a80e7dd
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.
⚠ misspell failed (.)
a80e7dd
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
a80e7dd
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
a80e7dd
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
a80e7dd
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.
⚠ ineffassign failed (.)
a80e7dd
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.
⚠ errcheck failed (.)
a80e7dd
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.
⚠ gosec failed (.)
Show Detail
Code Reference
a80e7dd
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.
⚠ shadow failed (.)
a80e7dd
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.
⚠ staticcheck failed (.)
Checks Document
a80e7dd
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