This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc/tutorial/kubernetes: update to latest
Change-Id: I7ecef4cc9dbc2d8514200b7e578d90489b692a0d Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4203 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
- Loading branch information
Showing
6 changed files
with
99 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
doc/tutorial/kubernetes/quick/cue.mod/gen/k8s.io/api/core/v1/well_known_taints_go_gen.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Code generated by cue get go. DO NOT EDIT. | ||
|
||
//cue:generate cue get go k8s.io/api/core/v1 | ||
|
||
package v1 | ||
|
||
// TaintNodeNotReady will be added when node is not ready | ||
// and feature-gate for TaintBasedEvictions flag is enabled, | ||
// and removed when node becomes ready. | ||
TaintNodeNotReady :: "node.kubernetes.io/not-ready" | ||
|
||
// TaintNodeUnreachable will be added when node becomes unreachable | ||
// (corresponding to NodeReady status ConditionUnknown) | ||
// and feature-gate for TaintBasedEvictions flag is enabled, | ||
// and removed when node becomes reachable (NodeReady status ConditionTrue). | ||
TaintNodeUnreachable :: "node.kubernetes.io/unreachable" | ||
|
||
// TaintNodeUnschedulable will be added when node becomes unschedulable | ||
// and feature-gate for TaintNodesByCondition flag is enabled, | ||
// and removed when node becomes scheduable. | ||
TaintNodeUnschedulable :: "node.kubernetes.io/unschedulable" | ||
|
||
// TaintNodeMemoryPressure will be added when node has memory pressure | ||
// and feature-gate for TaintNodesByCondition flag is enabled, | ||
// and removed when node has enough memory. | ||
TaintNodeMemoryPressure :: "node.kubernetes.io/memory-pressure" | ||
|
||
// TaintNodeDiskPressure will be added when node has disk pressure | ||
// and feature-gate for TaintNodesByCondition flag is enabled, | ||
// and removed when node has enough disk. | ||
TaintNodeDiskPressure :: "node.kubernetes.io/disk-pressure" | ||
|
||
// TaintNodeNetworkUnavailable will be added when node's network is unavailable | ||
// and feature-gate for TaintNodesByCondition flag is enabled, | ||
// and removed when network becomes ready. | ||
TaintNodeNetworkUnavailable :: "node.kubernetes.io/network-unavailable" | ||
|
||
// TaintNodePIDPressure will be added when node has pid pressure | ||
// and feature-gate for TaintNodesByCondition flag is enabled, | ||
// and removed when node has enough disk. | ||
TaintNodePIDPressure :: "node.kubernetes.io/pid-pressure" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...utorial/kubernetes/quick/cue.mod/gen/k8s.io/apimachinery/pkg/runtime/negotiate_go_gen.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Code generated by cue get go. DO NOT EDIT. | ||
|
||
//cue:generate cue get go k8s.io/apimachinery/pkg/runtime | ||
|
||
package runtime | ||
|
||
// NegotiateError is returned when a ClientNegotiator is unable to locate | ||
// a serializer for the requested operation. | ||
NegotiateError :: { | ||
ContentType: string | ||
Stream: bool | ||
} |