Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
- **Feature:** added KmsKey model
- **Feature:** added KmsKey to Instance, CreateInstancePayload and UpdateInstancePayload
- `edge`:
- [v0.3.0](services/edge/CHANGELOG.md#v030)
- **Breaking change:** Rename methods: `PostInstances` to `CreateInstance` and `GetInstances` to `ListInstances`
- [v0.2.0](services/edge/CHANGELOG.md#v020)
- **Feature:** Add waiter methods for the API
- [v0.1.0](services/edge/CHANGELOG.md#v010)
Expand Down
4 changes: 2 additions & 2 deletions examples/edge/edge.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ func main() {

// Create an Edge Instance with default values
var (
payload = edge.NewPostInstancesPayloadWithDefaults()
payload = edge.NewCreateInstancePayloadWithDefaults()
instance *edge.Instance
ctx = context.Background()
)
payload.DisplayName = utils.Ptr("example")
instance, err = client.PostInstances(ctx, projectId, region).PostInstancesPayload(*payload).Execute()
instance, err = client.CreateInstance(ctx, projectId, region).CreateInstancePayload(*payload).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "[Edge API] Failed to create Instance: %v\n", err)
os.Exit(1)
Expand Down
5 changes: 4 additions & 1 deletion services/edge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## v0.3.0
- **Breaking change:** Rename methods: `PostInstances` to `CreateInstance` and `GetInstances` to `ListInstances`

## v0.2.0
- **Feature:** Add waiter methods for the API
- **Feature:** Add waiter methods for the API

## v0.1.0
- **New:** STACKIT Edge Cloud service
2 changes: 1 addition & 1 deletion services/edge/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.2.0
v0.3.0
Loading
Loading