Skip to content

Commit db24069

Browse files
committed
chore: compress cassettes for lb
1 parent ac76827 commit db24069

File tree

3 files changed

+2208
-1561
lines changed

3 files changed

+2208
-1561
lines changed

cmd/vcr-compressor/main.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ package main
22

33
import (
44
"encoding/json"
5+
"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
6+
"github.com/scaleway/scaleway-sdk-go/api/vpcgw/v2"
57
"log"
68
"os"
79

@@ -16,6 +18,18 @@ var transientStates = map[string]bool{
1618
k8s.PoolStatusDeleting.String(): true,
1719
k8s.PoolStatusScaling.String(): true,
1820
k8s.PoolStatusUpgrading.String(): true,
21+
22+
lb.InstanceStatusPending.String(): true,
23+
lb.InstanceStatusMigrating.String(): true,
24+
lb.LBStatusPending.String(): true,
25+
lb.LBStatusMigrating.String(): true,
26+
lb.LBStatusCreating.String(): true,
27+
lb.LBStatusDeleting.String(): true,
28+
lb.CertificateStatusPending.String(): true,
29+
30+
vpcgw.GatewayStatusAllocating.String(): true,
31+
vpcgw.GatewayStatusStopping.String(): true,
32+
vpcgw.GatewayStatusConfiguring.String(): true,
1933
}
2034

2135
func main() {

0 commit comments

Comments
 (0)