Skip to content

Commit

Permalink
feat: add support for runtime id (check & check groups (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nacho Anaya committed Jul 14, 2021
1 parent 693ea06 commit 96d4200
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 37 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bugs.md
examples/demo/demo
.vscode/
.DS_Store
19 changes: 0 additions & 19 deletions .vscode/settings.json

This file was deleted.

21 changes: 3 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.3.0] - 2021-07-14
### Added
- Support for versioned runtimes [#31](https://github.com/checkly/checkly-go-sdk/issues/31)

## [1.2.0] - 2021-06-02
### Added
- Support for PagerDuty alert channels integration

### Changed
N/A

### Removed
N/A

## [1.1.0] - 2021-05-20
### Added
- Support for API high frequency checks [#26](https://github.com/checkly/checkly-go-sdk/issues/26).

### Changed
N/A

### Removed
N/A

## [1.0.1] - 2021-02-25
### Added
N/A

### Changed
- Set `autoAssignAlerts` as false for all request

### Removed
N/A
2 changes: 2 additions & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ type Check struct {
GroupID int64 `json:"groupId,omitempty"`
GroupOrder int `json:"groupOrder,omitempty"`
AlertChannelSubscriptions []AlertChannelSubscription `json:"alertChannelSubscriptions,omitempty"`
RuntimeID *string `json:"runtimeId"`
}

// Request represents the parameters for the request made by the check.
Expand Down Expand Up @@ -380,6 +381,7 @@ type Group struct {
LocalSetupScript string `json:"localSetupScript,omitempty"`
LocalTearDownScript string `json:"localTearDownScript,omitempty"`
AlertChannelSubscriptions []AlertChannelSubscription `json:"alertChannelSubscriptions,omitempty"`
RuntimeID *string `json:"runtimeId"`
}

// APICheckDefaults represents the default settings for API checks within a
Expand Down

0 comments on commit 96d4200

Please sign in to comment.