/
cluster_client.go
36 lines (34 loc) · 1.35 KB
/
cluster_client.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package scope
import (
"context"
)
type ClusterScopeClient interface {
ReconcileVCN(ctx context.Context) error
ReconcileInternetGateway(ctx context.Context) error
ReconcileNatGateway(ctx context.Context) error
ReconcileServiceGateway(ctx context.Context) error
ReconcileNSG(ctx context.Context) error
ReconcileRouteTable(ctx context.Context) error
ReconcileSubnet(ctx context.Context) error
ReconcileApiServerNLB(ctx context.Context) error
ReconcileApiServerLB(ctx context.Context) error
ReconcileFailureDomains(ctx context.Context) error
ReconcileDRG(ctx context.Context) error
DeleteDRG(ctx context.Context) error
ReconcileDRGVCNAttachment(ctx context.Context) error
ReconcileDRGRPCAttachment(ctx context.Context) error
DeleteApiServerNLB(ctx context.Context) error
DeleteApiServerLB(ctx context.Context) error
DeleteNSGs(ctx context.Context) error
DeleteSubnets(ctx context.Context) error
DeleteRouteTables(ctx context.Context) error
DeleteSecurityLists(ctx context.Context) error
DeleteServiceGateway(ctx context.Context) error
DeleteNatGateway(ctx context.Context) error
DeleteInternetGateway(ctx context.Context) error
DeleteVCN(ctx context.Context) error
DeleteDRGVCNAttachment(ctx context.Context) error
DeleteDRGRPCAttachment(ctx context.Context) error
GetOCIClusterAccessor() OCIClusterAccessor
SetRegionKey(ctx context.Context) error
}