Skip to content

Commit

Permalink
update go instance example
Browse files Browse the repository at this point in the history
  • Loading branch information
philipkrueck committed Mar 19, 2024
1 parent 6e51fb8 commit 8136330
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 429 deletions.
12 changes: 6 additions & 6 deletions examples/instance/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
module github.com/genesiscloud/pulumi-genesiscloud/examples/instance/go

go 1.22
go 1.22.1

require github.com/pulumi/pulumi/sdk/v3 v3.111.1

require github.com/genesiscloud/pulumi-genesiscloud/sdk/go v0.0.3
require (
github.com/genesiscloud/pulumi-genesiscloud/sdk v0.0.5
github.com/pulumi/pulumi/sdk/v3 v3.111.1
)

replace github.com/genesiscloud/pulumi-genesiscloud/sdk/go => ../../../sdk/go
replace github.com/genesiscloud/pulumi-genesiscloud/sdk => ../../../sdk

require (
dario.cat/mergo v1.0.0 // indirect
Expand Down Expand Up @@ -68,7 +69,6 @@ require (
github.com/skeema/knownhosts v1.2.1 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
Expand Down
6 changes: 1 addition & 5 deletions examples/instance/go/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,13 @@ github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U=
Expand Down
2 changes: 1 addition & 1 deletion examples/instance/py/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pulumi>=3.0.0,<4.0.0
pulumi-genesiscloud>=0.0.3,<0.0.4
pulumi-genesiscloud>=0.0.5,<0.0.6
2 changes: 1 addition & 1 deletion examples/instance/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
},
"dependencies": {
"@pulumi/pulumi": "^3.0.0",
"@genesiscloud/pulumi-genesiscloud": "^0.0.3"
"@genesiscloud/pulumi-genesiscloud": "^0.0.5"
}
}
3 changes: 1 addition & 2 deletions provider/cmd/pulumi-resource-genesiscloud/schema.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "genesiscloud",
"version": "v0.0.5",
"version": "v0.0.6",
"description": "A Pulumi package for creating and managing genesiscloud cloud resources.",
"keywords": ["pulumi", "genesiscloud", "category/cloud"],
"homepage": "https://www.genesiscloud.com",
"license": "Apache-2.0",
"attribution": "This Pulumi package is based on the [`genesiscloud` Terraform Provider](https://github.com/genesiscloud/terraform-provider-genesiscloud).",
"repository": "https://github.com/genesiscloud/pulumi-genesiscloud",
"pluginDownloadURL": "https://github.com/genesiscloud/pulumi-genesiscloud/releases/",
"publisher": "Genesis Cloud",
"meta": { "moduleFormat": "(.*)(?:/[^/]*)" },
"language": {
"csharp": {
Expand Down
1 change: 0 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func Provider() tfbridge.ProviderInfo {
// Change this to your personal name (or a company name) that you
// would like to be shown in the Pulumi Registry if this package is published
// there.
Publisher: "Genesis Cloud",
// LogoURL is optional but useful to help identify your package in the Pulumi Registry
// if this package is published there.
//
Expand Down
4 changes: 2 additions & 2 deletions sdk/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/genesiscloud/pulumi-genesiscloud/sdk

go 1.21
go 1.22.1

require (
github.com/blang/semver v3.5.1+incompatible
github.com/pulumi/pulumi/sdk/v3 v3.108.1
github.com/pulumi/pulumi/sdk/v3 v3.111.1
)

require (
Expand Down
4 changes: 2 additions & 2 deletions sdk/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE=
github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw=
github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k=
github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc=
github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg=
github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw=
github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=
Expand Down
92 changes: 0 additions & 92 deletions sdk/go/go.mod

This file was deleted.

Loading

0 comments on commit 8136330

Please sign in to comment.