Skip to content

Commit efefe0b

Browse files
authored
feat: add support for hosted arc basic v3 (#128)
1 parent 6b9de70 commit efefe0b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

util/plans.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const (
1313
ArcStandard
1414
ArcEnterprise
1515
HostedArcBasic
16+
HostedArcBasicV2
1617
HostedArcStandard
1718
HostedArcEnterprise
1819
Sandbox
@@ -40,6 +41,7 @@ func (o Plan) String() string {
4041
"arc-standard",
4142
"arc-enterprise",
4243
"hosted-arc-basic",
44+
"hosted-arc-basic-v2",
4345
"hosted-arc-standard",
4446
"hosted-arc-enterprise",
4547
"sandbox",
@@ -77,6 +79,8 @@ func (o *Plan) UnmarshalJSON(bytes []byte) error {
7779
*o = ArcEnterprise
7880
case HostedArcBasic.String():
7981
*o = HostedArcBasic
82+
case HostedArcBasicV2.String():
83+
*o = HostedArcBasicV2
8084
case HostedArcStandard.String():
8185
*o = HostedArcStandard
8286
case HostedArcEnterprise.String():
@@ -131,6 +135,8 @@ func (o Plan) MarshalJSON() ([]byte, error) {
131135
plan = ArcEnterprise.String()
132136
case HostedArcBasic:
133137
plan = HostedArcBasic.String()
138+
case HostedArcBasicV2:
139+
plan = HostedArcBasicV2.String()
134140
case HostedArcStandard:
135141
plan = HostedArcStandard.String()
136142
case HostedArcEnterprise:

0 commit comments

Comments
 (0)