Skip to content

Commit f017db3

Browse files
committed
chore(k8s/magiclove/cilium): update types
1 parent 53ead06 commit f017db3

File tree

550 files changed

+35291
-666
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

550 files changed

+35291
-666
lines changed

cue.mod/gen/github.com/cilium/cilium/api/v1/models/BUILD.bazel

Lines changed: 0 additions & 149 deletions
This file was deleted.

cue.mod/gen/github.com/cilium/cilium/api/v1/models/b_p_f_map_entry_go_gen.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package models
99
// swagger:model BPFMapEntry
1010
#BPFMapEntry: {
1111
// Desired action to be performed
12-
// Enum: [ok insert delete]
12+
// Enum: ["ok","insert","delete"]
1313
"desired-action"?: string @go(DesiredAction)
1414

1515
// Key of map entry

cue.mod/gen/github.com/cilium/cilium/api/v1/models/backend_address_go_gen.cue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ package models
2222
// on related annotation of global service. Applicable for active state only.
2323
preferred?: bool @go(Preferred)
2424

25+
// Layer 4 protocol (TCP, UDP, etc)
26+
protocol?: string @go(Protocol)
27+
2528
// State of the backend for load-balancing service traffic
26-
// Enum: [active terminating quarantined maintenance]
29+
// Enum: ["active","terminating","quarantined","maintenance"]
2730
state?: string @go(State)
2831

2932
// Backend weight

cue.mod/gen/github.com/cilium/cilium/api/v1/models/bandwidth_manager_go_gen.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package models
1111
// swagger:model BandwidthManager
1212
#BandwidthManager: {
1313
// congestion control
14-
// Enum: [cubic bbr]
14+
// Enum: ["cubic","bbr"]
1515
congestionControl?: string @go(CongestionControl)
1616

1717
// devices

cue.mod/gen/github.com/cilium/cilium/api/v1/models/bgp_graceful_restart_go_gen.cue

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

77
// BgpGracefulRestart BGP graceful restart parameters negotiated with the peer.
88
//
9-
// +k8s:deepcopy-gen=true
10-
//
119
// swagger:model BgpGracefulRestart
1210
#BgpGracefulRestart: {
1311
// When set, graceful restart capability is negotiated for all AFI/SAFIs of

cue.mod/gen/github.com/cilium/cilium/api/v1/models/bgp_peer_families_go_gen.cue

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

77
// BgpPeerFamilies BGP AFI SAFI state of the peer
88
//
9-
// +k8s:deepcopy-gen=true
10-
//
119
// swagger:model BgpPeerFamilies
1210
#BgpPeerFamilies: {
1311
// Number of routes accepted from the peer of this address family

cue.mod/gen/github.com/cilium/cilium/api/v1/models/bgp_route_policy_go_gen.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package models
1818
statements: [...null | #BgpRoutePolicyStatement] @go(Statements,[]*BgpRoutePolicyStatement)
1919

2020
// Type of the route policy
21-
// Enum: [export import]
21+
// Enum: ["export","import"]
2222
type?: string @go(Type)
2323
}
2424

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Code generated by cue get go. DO NOT EDIT.
2+
3+
//cue:generate cue get go github.com/cilium/cilium/api/v1/models
4+
5+
package models
6+
7+
// BgpRoutePolicyNexthopAction BGP nexthop action
8+
//
9+
// swagger:model BgpRoutePolicyNexthopAction
10+
#BgpRoutePolicyNexthopAction: {
11+
// Set nexthop to the IP address of itself
12+
self?: bool @go(Self)
13+
14+
// Don't change nexthop
15+
unchanged?: bool @go(Unchanged)
16+
}

cue.mod/gen/github.com/cilium/cilium/api/v1/models/bgp_route_policy_statement_go_gen.cue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,20 @@ package models
1414
// List of BGP large community values to be added to the matched route
1515
"add-large-communities": [...string] @go(AddLargeCommunities,[]string)
1616

17+
// Matches any of the provided address families. If empty matches all address families.
18+
"match-families": [...null | #BgpFamily] @go(MatchFamilies,[]*BgpFamily)
19+
1720
// Matches any of the provided BGP neighbor IP addresses. If empty matches all neighbors.
1821
"match-neighbors": [...string] @go(MatchNeighbors,[]string)
1922

2023
// Matches any of the provided prefixes. If empty matches all prefixes.
2124
"match-prefixes": [...null | #BgpRoutePolicyPrefixMatch] @go(MatchPrefixes,[]*BgpRoutePolicyPrefixMatch)
2225

26+
// BGP nexthop action
27+
nexthop?: null | #BgpRoutePolicyNexthopAction @go(Nexthop,*BgpRoutePolicyNexthopAction)
28+
2329
// RIB processing action taken on the matched route
24-
// Enum: [none accept reject]
30+
// Enum: ["none","accept","reject"]
2531
"route-action"?: string @go(RouteAction)
2632

2733
// BGP local preference value to be set on the matched route

cue.mod/gen/github.com/cilium/cilium/api/v1/models/c_id_r_policy_go_gen.cue

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

77
// CIDRPolicy CIDR endpoint policy
88
//
9-
// +k8s:deepcopy-gen=true
10-
//
119
// swagger:model CIDRPolicy
1210
#CIDRPolicy: {
1311
// List of CIDR egress rules

0 commit comments

Comments
 (0)