Home
last modified time | relevance | path

Searched refs:apiv2 (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/mail/mailhog/MailHog-1.0.0/vendor/github.com/mailhog/MailHog-Server/api/
H A Dv2.go28 apiv2 := &APIv2{
56 apiv2.broadcast(msg)
61 return apiv2
102 apiv2.defaultOptions(w, req)
126 apiv2.defaultOptions(w, req)
159 apiv2.defaultOptions(w, req)
174 apiv2.defaultOptions(w, req)
181 apiv2.config.Monkey = nil
217 apiv2.config.Monkey = &jim
251 apiv2.wsHub.Serve(w, req)
[all …]
/dports/sysutils/istio/istio-1.6.7/pilot/pkg/networking/core/v1alpha3/
H A Dcluster_builder_test.go90 …cluster: &apiv2.Cluster{Name: "foo", ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Clu…
108 ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Cluster_EDS},
117 …cluster: &apiv2.Cluster{Name: "foo", ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Clu…
135 ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Cluster_EDS},
144 …cluster: &apiv2.Cluster{Name: "foo", ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Clu…
169 ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Cluster_EDS},
246 func compareClusters(t *testing.T, ec *apiv2.Cluster, gc *apiv2.Cluster) {
274 …cluster: &apiv2.Cluster{Name: "foo", ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Clust…
279 …cluster: &apiv2.Cluster{Name: "foo", ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Cluster…
327 ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Cluster_EDS},
[all …]
H A Dcluster_builder.go88 subsetClusters := make([]*apiv2.Cluster, 0)
145 cluster := &apiv2.Cluster{
151 case apiv2.Cluster_STRICT_DNS:
157 case apiv2.Cluster_STATIC:
191 clusters := make([]*apiv2.Cluster, 0, 2)
224 cluster := &apiv2.Cluster{
226 ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Cluster_STATIC},
236 cluster := &apiv2.Cluster{
238 ClusterDiscoveryType: &apiv2.Cluster_Type{Type: apiv2.Cluster_ORIGINAL_DST},
283 case *apiv2.Cluster_Type:
[all …]
H A Dcluster.go97 clusters := make([]*apiv2.Cluster, 0)
155 clusters := make([]*apiv2.Cluster, 0)
505 return apiv2.Cluster_EDS
507 return apiv2.Cluster_STRICT_DNS
512 return apiv2.Cluster_EDS
515 return apiv2.Cluster_ORIGINAL_DST
517 return apiv2.Cluster_EDS
519 return apiv2.Cluster_EDS
626 cluster *apiv2.Cluster
930 cluster.ClusterDiscoveryType = &apiv2.Cluster_Type{Type: apiv2.Cluster_ORIGINAL_DST}
[all …]
H A Dcluster_test.go1799 …g.Expect(clusters[0].GetClusterDiscoveryType()).To(Equal(&apiv2.Cluster_Type{Type: apiv2.Cluster_O…
1822 …g.Expect(clusters[0].GetClusterDiscoveryType()).To(Equal(&apiv2.Cluster_Type{Type: apiv2.Cluster_O…
2119 …g.Expect(cluster.GetClusterDiscoveryType()).To(Equal(&apiv2.Cluster_Type{Type: apiv2.Cluster_EDS}))
2233 discoveryType apiv2.Cluster_DiscoveryType
2235 expectedLbPolicy apiv2.Cluster_LbPolicy
2239 discoveryType: apiv2.Cluster_ORIGINAL_DST,
2244 discoveryType: apiv2.Cluster_EDS,
2246 expectedLbPolicy: apiv2.Cluster_MAGLEV,
2258 cluster := &apiv2.Cluster{
2304 discoveryType apiv2.Cluster_DiscoveryType
[all …]
/dports/security/lego/lego-4.5.3/vendor/github.com/exoscale/egoscale/v2/
H A Danti_affinity_group.go6 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
40 apiv2.WithZone(ctx, zone),
64 resp, err := c.ListAntiAffinityGroupsWithResponse(apiv2.WithZone(ctx, zone))
80 resp, err := c.GetAntiAffinityGroupWithResponse(apiv2.WithZone(ctx, zone), id)
101 return nil, apiv2.ErrNotFound
106 resp, err := c.DeleteAntiAffinityGroupWithResponse(apiv2.WithZone(ctx, zone), id)
H A Dssh_key.go6 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
26 apiv2.WithZone(ctx, zone),
42 resp, err := c.ListSshKeysWithResponse(apiv2.WithZone(ctx, zone))
58 resp, err := c.GetSshKeyWithResponse(apiv2.WithZone(ctx, zone), name)
68 resp, err := c.DeleteSshKeyWithResponse(apiv2.WithZone(ctx, zone), id)
H A Dsnapshot.go7 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
48 resp, err := s.c.ExportSnapshotWithResponse(apiv2.WithZone(ctx, s.zone), *s.ID)
61 …expSnapshot, err := s.c.GetSnapshotWithResponse(apiv2.WithZone(ctx, s.zone), *res.(*papi.Reference…
76 resp, err := c.ListSnapshotsWithResponse(apiv2.WithZone(ctx, zone))
92 resp, err := c.GetSnapshotWithResponse(apiv2.WithZone(ctx, zone), id)
102 resp, err := c.DeleteSnapshotWithResponse(apiv2.WithZone(ctx, zone), id)
H A Dinstance.go8 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
363 apiv2.WithZone(ctx, i.zone),
397 apiv2.WithZone(ctx, i.zone),
418 apiv2.WithZone(ctx, i.zone),
439 apiv2.WithZone(ctx, i.zone),
615 apiv2.WithZone(ctx, zone),
699 resp, err := c.GetInstanceWithResponse(apiv2.WithZone(ctx, zone), id)
726 return nil, apiv2.ErrTooManyFound
736 return nil, apiv2.ErrNotFound
746 apiv2.WithZone(ctx, zone),
[all …]
H A Dprivate_network.go7 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
82 apiv2.WithZone(ctx, p.zone),
114 apiv2.WithZone(ctx, zone),
159 resp, err := c.ListPrivateNetworksWithResponse(apiv2.WithZone(ctx, zone))
175 resp, err := c.GetPrivateNetworkWithResponse(apiv2.WithZone(ctx, zone), id)
202 return nil, apiv2.ErrTooManyFound
212 return nil, apiv2.ErrNotFound
222 apiv2.WithZone(ctx, zone),
266 resp, err := c.DeletePrivateNetworkWithResponse(apiv2.WithZone(ctx, zone), id)
H A Ddeploy_target.go6 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
41 resp, err := c.ListDeployTargetsWithResponse(apiv2.WithZone(ctx, zone))
57 resp, err := c.GetDeployTargetWithResponse(apiv2.WithZone(ctx, zone), id)
78 return nil, apiv2.ErrNotFound
H A Dsks.go9 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
230 apiv2.WithZone(ctx, c.zone),
255 apiv2.WithZone(ctx, c.zone),
282 apiv2.WithZone(ctx, c.zone),
374 apiv2.WithZone(ctx, c.zone),
456 apiv2.WithZone(ctx, c.zone),
484 apiv2.WithZone(ctx, c.zone),
511 apiv2.WithZone(ctx, c.zone),
537 apiv2.WithZone(ctx, zone),
647 apiv2.WithZone(ctx, zone),
[all …]
H A Dtemplate.go7 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
57 apiv2.WithZone(ctx, zone),
87 resp, err := c.ListTemplatesWithResponse(apiv2.WithZone(ctx, zone), &papi.ListTemplatesParams{
111 resp, err := c.GetTemplateWithResponse(apiv2.WithZone(ctx, zone), id)
121 resp, err := c.DeleteTemplateWithResponse(apiv2.WithZone(ctx, zone), id)
H A Delastic_ip.go8 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
85 apiv2.WithZone(ctx, zone),
130 resp, err := c.ListElasticIpsWithResponse(apiv2.WithZone(ctx, zone))
146 resp, err := c.GetElasticIpWithResponse(apiv2.WithZone(ctx, zone), id)
167 return nil, apiv2.ErrNotFound
182 apiv2.WithZone(ctx, zone),
226 resp, err := c.DeleteElasticIpWithResponse(apiv2.WithZone(ctx, zone), id)
H A Ddatabase.go8 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
235 resp, err := c.ListDbaasServiceTypesWithResponse(apiv2.WithZone(ctx, zone))
251 resp, err := c.GetDbaasServiceTypeWithResponse(apiv2.WithZone(ctx, zone), name)
266 apiv2.WithZone(ctx, zone),
307 resp, err := c.ListDbaasServicesWithResponse(apiv2.WithZone(ctx, zone))
323 resp, err := c.GetDbaasServiceWithResponse(apiv2.WithZone(ctx, zone), name)
334 apiv2.WithZone(ctx, zone),
372 _, err := c.TerminateDbaasServiceWithResponse(apiv2.WithZone(ctx, zone), name)
/dports/net/traefik/traefik-2.6.1/vendor/github.com/exoscale/egoscale/v2/
H A Danti_affinity_group.go6 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
40 apiv2.WithZone(ctx, zone),
64 resp, err := c.ListAntiAffinityGroupsWithResponse(apiv2.WithZone(ctx, zone))
80 resp, err := c.GetAntiAffinityGroupWithResponse(apiv2.WithZone(ctx, zone), id)
101 return nil, apiv2.ErrNotFound
106 resp, err := c.DeleteAntiAffinityGroupWithResponse(apiv2.WithZone(ctx, zone), id)
H A Dssh_key.go6 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
26 apiv2.WithZone(ctx, zone),
42 resp, err := c.ListSshKeysWithResponse(apiv2.WithZone(ctx, zone))
58 resp, err := c.GetSshKeyWithResponse(apiv2.WithZone(ctx, zone), name)
68 resp, err := c.DeleteSshKeyWithResponse(apiv2.WithZone(ctx, zone), id)
H A Dsnapshot.go7 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
48 resp, err := s.c.ExportSnapshotWithResponse(apiv2.WithZone(ctx, s.zone), *s.ID)
61 …expSnapshot, err := s.c.GetSnapshotWithResponse(apiv2.WithZone(ctx, s.zone), *res.(*papi.Reference…
76 resp, err := c.ListSnapshotsWithResponse(apiv2.WithZone(ctx, zone))
92 resp, err := c.GetSnapshotWithResponse(apiv2.WithZone(ctx, zone), id)
102 resp, err := c.DeleteSnapshotWithResponse(apiv2.WithZone(ctx, zone), id)
H A Dinstance.go8 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
363 apiv2.WithZone(ctx, i.zone),
397 apiv2.WithZone(ctx, i.zone),
418 apiv2.WithZone(ctx, i.zone),
439 apiv2.WithZone(ctx, i.zone),
615 apiv2.WithZone(ctx, zone),
699 resp, err := c.GetInstanceWithResponse(apiv2.WithZone(ctx, zone), id)
726 return nil, apiv2.ErrTooManyFound
736 return nil, apiv2.ErrNotFound
746 apiv2.WithZone(ctx, zone),
[all …]
H A Dprivate_network.go7 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
82 apiv2.WithZone(ctx, p.zone),
114 apiv2.WithZone(ctx, zone),
159 resp, err := c.ListPrivateNetworksWithResponse(apiv2.WithZone(ctx, zone))
175 resp, err := c.GetPrivateNetworkWithResponse(apiv2.WithZone(ctx, zone), id)
202 return nil, apiv2.ErrTooManyFound
212 return nil, apiv2.ErrNotFound
222 apiv2.WithZone(ctx, zone),
266 resp, err := c.DeletePrivateNetworkWithResponse(apiv2.WithZone(ctx, zone), id)
H A Ddeploy_target.go6 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
41 resp, err := c.ListDeployTargetsWithResponse(apiv2.WithZone(ctx, zone))
57 resp, err := c.GetDeployTargetWithResponse(apiv2.WithZone(ctx, zone), id)
78 return nil, apiv2.ErrNotFound
H A Dsks.go9 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
230 apiv2.WithZone(ctx, c.zone),
255 apiv2.WithZone(ctx, c.zone),
282 apiv2.WithZone(ctx, c.zone),
374 apiv2.WithZone(ctx, c.zone),
456 apiv2.WithZone(ctx, c.zone),
484 apiv2.WithZone(ctx, c.zone),
511 apiv2.WithZone(ctx, c.zone),
537 apiv2.WithZone(ctx, zone),
647 apiv2.WithZone(ctx, zone),
[all …]
H A Dtemplate.go7 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
57 apiv2.WithZone(ctx, zone),
87 resp, err := c.ListTemplatesWithResponse(apiv2.WithZone(ctx, zone), &papi.ListTemplatesParams{
111 resp, err := c.GetTemplateWithResponse(apiv2.WithZone(ctx, zone), id)
121 resp, err := c.DeleteTemplateWithResponse(apiv2.WithZone(ctx, zone), id)
H A Delastic_ip.go8 apiv2 "github.com/exoscale/egoscale/v2/api" packageName
85 apiv2.WithZone(ctx, zone),
130 resp, err := c.ListElasticIpsWithResponse(apiv2.WithZone(ctx, zone))
146 resp, err := c.GetElasticIpWithResponse(apiv2.WithZone(ctx, zone), id)
167 return nil, apiv2.ErrNotFound
182 apiv2.WithZone(ctx, zone),
226 resp, err := c.DeleteElasticIpWithResponse(apiv2.WithZone(ctx, zone), id)
/dports/sysutils/istio/istio-1.6.7/pilot/pkg/networking/core/v1alpha3/loadbalancer/
H A Dloadbalancer_test.go21 apiv2 "github.com/envoyproxy/go-control-plane/envoy/api/v2" packageName
352 func buildFakeCluster() *apiv2.Cluster {
353 return &apiv2.Cluster{
355 LoadAssignment: &apiv2.ClusterLoadAssignment{
413 func buildSmallCluster() *apiv2.Cluster {
414 return &apiv2.Cluster{
416 LoadAssignment: &apiv2.ClusterLoadAssignment{
445 func buildSmallClusterWithNilLocalities() *apiv2.Cluster {
446 return &apiv2.Cluster{
448 LoadAssignment: &apiv2.ClusterLoadAssignment{

1234567