Skip to content

Commit 42d84d4

Browse files
committed
1 parent 7f72368 commit 42d84d4

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66

77
### Features
88

9+
<a name-"v0.7.1"></a>
10+
11+
## [v0.7.1](https://github.com/linode/linodego/compare/v0.7.0..v0.7.1) (2018-02-05)
12+
13+
### Features
14+
15+
* add `ClassDedicated` constant (`dedicated`) for use in `LinodeType` `Class` values
16+
See the [Dedicated CPU Announcement](https://blog.linode.com/2019/02/05/introducing-linode-dedicated-cpu-instances/)
17+
918
<a name-"v0.7.0"></a>
1019

1120
## [v0.7.0](https://github.com/linode/linodego/compare/v0.6.2..v0.7.0) (2018-12-03)

types.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
type LinodeType struct {
1010
ID string `json:"id"`
1111
Disk int `json:"disk"`
12-
Class LinodeTypeClass `json:"class"` // enum: nanode, standard, highmem
12+
Class LinodeTypeClass `json:"class"` // enum: nanode, standard, highmem, dedicated
1313
Price *LinodePrice `json:"price"`
1414
Label string `json:"label"`
1515
Addons *LinodeAddons `json:"addons"`
@@ -40,9 +40,10 @@ type LinodeTypeClass string
4040

4141
// LinodeTypeClass contants are the Instance Type Classes that an Instance Type can be assigned
4242
const (
43-
ClassNanode LinodeTypeClass = "nanode"
44-
ClassStandard LinodeTypeClass = "standard"
45-
ClassHighmem LinodeTypeClass = "highmem"
43+
ClassNanode LinodeTypeClass = "nanode"
44+
ClassStandard LinodeTypeClass = "standard"
45+
ClassHighmem LinodeTypeClass = "highmem"
46+
ClassDedicated LinodeTypeClass = "dedicated"
4647
)
4748

4849
// LinodeTypesPagedResponse represents a linode types API response for listing

0 commit comments

Comments
 (0)