Skip to content

Commit

Permalink
more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
janelletavares committed Feb 7, 2022
1 parent 57d2358 commit bc3a263
Show file tree
Hide file tree
Showing 9 changed files with 251 additions and 14 deletions.
4 changes: 1 addition & 3 deletions cmd/meroxa/root/environments/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ func (c *Create) Execute(ctx context.Context) error {
c.logger.Infof(ctx, "Provisioning environment...")

environment, err := c.client.CreateEnvironment(ctx, e)
fmt.Printf("err: %+v\n", err)
fmt.Printf("env: %+v\n", environment)

if err != nil {
return err
Expand All @@ -150,7 +148,7 @@ func (c *Create) Execute(ctx context.Context) error {
}

func prettyString(a interface{}) (string, error) {
j, err := json.MarshalIndent(a, "", " ")
j, err := json.MarshalIndent(a, "", " ")
if err != nil {
return "", err
}
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ require (
gopkg.in/ini.v1 v1.62.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

replace github.com/meroxa/meroxa-go => ../meroxa-go
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHX
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-runewidth v0.0.10 h1:CoZ3S2P7pvtP45xOtBw+/mDL2z0RKI576gSkzRRpdGg=
github.com/mattn/go-runewidth v0.0.10/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
github.com/meroxa/meroxa-go v0.0.0-20220106054005-172177555369 h1:1vvy60iQj8EWpuaRZfdrw1MwN8TfcmdaE+YE1GQU5Jo=
github.com/meroxa/meroxa-go v0.0.0-20220106054005-172177555369/go.mod h1:HDFszURCM1cOpKE699o5Hs0T2tEIXqY+vFcsur3RiwY=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
Expand Down
36 changes: 32 additions & 4 deletions vendor/github.com/meroxa/meroxa-go/pkg/meroxa/environment.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

121 changes: 121 additions & 0 deletions vendor/github.com/meroxa/meroxa-go/pkg/meroxa/function.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions vendor/github.com/meroxa/meroxa-go/pkg/meroxa/meroxa.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/github.com/meroxa/meroxa-go/pkg/meroxa/pipeline.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

83 changes: 79 additions & 4 deletions vendor/github.com/meroxa/meroxa-go/pkg/mock/mock_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bc3a263

Please sign in to comment.