1 package seededpostgres
2
3 import (
4 testApi "edge-infra.dev/pkg/edge/api/graph/test"
5 "edge-infra.dev/pkg/edge/api/sql/plugin"
6 )
7
8
9 var Seed = []plugin.Seed{
10 {
11 Name: "seed-fleet-labels.tmpl",
12 Priority: 0,
13 FuncRef: "GetEdgeFleetLabels",
14 },
15 {
16 Name: "seed-type-labels.tmpl",
17 Priority: 1,
18 FuncRef: "GetEdgeTypeLabels",
19 },
20 {
21 Name: "seed-tenants.tmpl",
22 Priority: 2,
23 Data: testApi.Tenants,
24 },
25 {
26 Name: "seed-banners.tmpl",
27 Priority: 3,
28 Data: testApi.Banners,
29 },
30 {
31 Name: "seed-clusters.tmpl",
32 Priority: 4,
33 Data: testApi.Clusters,
34 },
35 {
36 Name: "seed-custom-labels.tmpl",
37 Priority: 5,
38 Data: testApi.Labels,
39 },
40 {
41 Name: "seed-cluster-labels.tmpl",
42 Priority: 6,
43 Data: testApi.ClusterLabels,
44 },
45 {
46 Name: "seed-terminals.tmpl",
47 Priority: 7,
48 Data: testApi.Terminals,
49 },
50 {
51 Name: "seed-terminal-interfaces.tmpl",
52 Priority: 8,
53 Data: testApi.TerminalInterfaces,
54 },
55 {
56 Name: "seed-terminal-addresses.tmpl",
57 Priority: 9,
58 Data: testApi.TerminalAddresses,
59 },
60 {
61 Name: "seed-helm-workloads.tmpl",
62 Priority: 10,
63 Data: testApi.HelmWorkloads,
64 },
65 {
66 Name: "seed-helm-secrets.tmpl",
67 Priority: 11,
68 Data: testApi.HelmSecrets,
69 },
70 {
71 Name: "seed-cluster-config.tmpl",
72 Priority: 12,
73 Data: testApi.ClusterConfig,
74 },
75 {
76 Name: "seed-cluster-network-services.tmpl",
77 Priority: 13,
78 Data: testApi.ClusterNetworkServices,
79 },
80 {
81 Name: "seed-namespaces.tmpl",
82 Priority: 14,
83 Data: testApi.Namespaces,
84 },
85 {
86 Name: "seed-cluster-namespaces.tmpl",
87 Priority: 15,
88 Data: testApi.ClusterNamespaces,
89 },
90 {
91 Name: "seed-vms.tmpl",
92 Priority: 16,
93 Data: testApi.VirtualMachines,
94 },
95 {
96 Name: "seed-terminal-labels.tmpl",
97 Priority: 17,
98 Data: testApi.TerminalLabels,
99 },
100 {
101 Name: "seed-vm-disks.tmpl",
102 Priority: 18,
103 Data: testApi.VirtualMachineDisks,
104 },
105 {
106 Name: "seed-cluster-artifact-versions.tmpl",
107 Priority: 19,
108 Data: testApi.ClusterArtifactVersions,
109 },
110 {
111 Name: "seed-cluster-bootstrap-tokens.tmpl",
112 Priority: 20,
113 Data: testApi.ClusterBootstrapTokens,
114 },
115 {
116 Name: "seed-terminal-disks.tmpl",
117 Priority: 21,
118 Data: testApi.TerminalDisks,
119 },
120 {
121 Name: "seed-cluster-events.tmpl",
122 Priority: 22,
123 Data: testApi.ClusterEvents,
124 },
125 {
126 Name: "seed-workload-labels.tmpl",
127 Priority: 23,
128 Data: testApi.HelmWorkloadLabels,
129 },
130 {
131 Name: "seed-artifact-registries.tmpl",
132 Priority: 24,
133 Data: testApi.ArtifactRegistries,
134 },
135 {
136 Name: "seed-cluster-artifact-registries.tmpl",
137 Priority: 25,
138 Data: testApi.ClusterArtifactRegistries,
139 },
140 {
141 Name: "seed-log-replays.tmpl",
142 Priority: 26,
143 Data: testApi.LogReplays,
144 },
145 {
146 Name: "seed-watched-field-objects.tmpl",
147 Priority: 27,
148 Data: testApi.WatchedFieldObjects,
149 },
150 {
151 Name: "seed-watched-field-values.tmpl",
152 Priority: 28,
153 Data: testApi.WatchedFieldValues,
154 },
155 {
156 Name: "seed-workload-cluster-mapping.tmpl",
157 Priority: 29,
158 Data: testApi.WorkloadClusterMappings,
159 },
160 {
161 Name: "seed-cluster-secret-leases.tmpl",
162 Priority: 30,
163 Data: testApi.ClusterSecretLeases,
164 }, {
165 Name: "seed-cluster-secrets.tmpl",
166 Priority: 31,
167 Data: testApi.ClusterSecrets,
168 },
169 }
170
View as plain text