Skip to content

Commit fd7b820

Browse files
committed
fix typos and other minor errors
1 parent 217b7dc commit fd7b820

24 files changed

Lines changed: 39 additions & 39 deletions

api/common/v1alpha1/common_types_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
)
1010

1111
var _ = Describe("TolerateTaints", func() {
12-
It("returns true upon empty taints", func() {
12+
It("should return true upon empty taints", func() {
1313
Expect(TolerateTaints(nil, nil)).To(BeTrue(), "expected empty tolerations tolerate empty taints")
1414

1515
tolerations := []Toleration{
@@ -22,7 +22,7 @@ var _ = Describe("TolerateTaints", func() {
2222
Expect(TolerateTaints(tolerations, nil)).To(BeTrue(), "expected non-empty tolerations tolerate empty taints")
2323
})
2424

25-
It("returns false upon empty tolerations and non-empty taints", func() {
25+
It("should return false upon empty tolerations and non-empty taints", func() {
2626
taints := []Taint{
2727
{
2828
Key: "key",
@@ -32,7 +32,7 @@ var _ = Describe("TolerateTaints", func() {
3232
Expect(TolerateTaints(nil, taints)).To(BeFalse(), "expected empty tolerations don't tolerate non-empty taints")
3333
})
3434

35-
It("returns false when tolerations don't cover all taints", func() {
35+
It("should return false when tolerations don't cover all taints", func() {
3636
tolerations := []Toleration{
3737
{
3838
Key: "key",
@@ -54,7 +54,7 @@ var _ = Describe("TolerateTaints", func() {
5454
Expect(TolerateTaints(tolerations, taints)).To(BeFalse(), "expected the tolerations don't cover all the taints")
5555
})
5656

57-
It("returns false when tolerations cover all taints", func() {
57+
It("should return false when tolerations cover all taints", func() {
5858
tolerations := []Toleration{
5959
{
6060
Key: "key",

api/compute/v1alpha1/machine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ type EmptyDiskVolumeSource struct {
122122
SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
123123
}
124124

125-
// NetworkInterfaceStatus reports the status of an NetworkInterfaceSource.
125+
// NetworkInterfaceStatus reports the status of a NetworkInterfaceSource.
126126
type NetworkInterfaceStatus struct {
127127
// Name is the name of the NetworkInterface to whom the status belongs to.
128128
Name string `json:"name"`

api/networking/v1alpha1/loadbalancerrouting_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type LoadBalancerRouting struct {
2020
// NetworkRef is the network the load balancer is assigned to.
2121
NetworkRef commonv1alpha1.LocalUIDReference `json:"networkRef"`
2222

23-
// Destinations are the destinations for an LoadBalancer.
23+
// Destinations are the destinations for a LoadBalancer.
2424
Destinations []LoadBalancerDestination `json:"destinations"`
2525
}
2626

client-go/openapi/zz_generated.openapi.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api-reference/compute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ NetworkInterface to use.</p>
13801380
(<em>Appears on:</em><a href="#compute.ironcore.dev/v1alpha1.MachineStatus">MachineStatus</a>)
13811381
</p>
13821382
<div>
1383-
<p>NetworkInterfaceStatus reports the status of an NetworkInterfaceSource.</p>
1383+
<p>NetworkInterfaceStatus reports the status of a NetworkInterfaceSource.</p>
13841384
</div>
13851385
<table>
13861386
<thead>

docs/api-reference/networking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ github.com/ironcore-dev/ironcore/api/common/v1alpha1.LocalUIDReference
244244
</em>
245245
</td>
246246
<td>
247-
<p>Destinations are the destinations for an LoadBalancer.</p>
247+
<p>Destinations are the destinations for a LoadBalancer.</p>
248248
</td>
249249
</tr>
250250
</tbody>

docs/concepts/machine-exec-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The `exec` feature allows accessing the serial console of a
55
The following parties are involved in implementing `exec`:
66

77
* `ironcore-apiserver`
8-
* `machinepollet`
8+
* `machinepoollet`
99
* `iri-machine` implementor
1010

1111
The connection flow between those components looks like the following:

gen/swagger.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65975,7 +65975,7 @@
6597565975
"type": "string"
6597665976
},
6597765977
"destinations": {
65978-
"description": "Destinations are the destinations for an LoadBalancer.",
65978+
"description": "Destinations are the destinations for a LoadBalancer.",
6597965979
"type": "array",
6598065980
"items": {
6598165981
"$ref": "#/definitions/com.github.ironcore-dev.ironcore.api.networking.v1alpha1.LoadBalancerDestination"
@@ -71520,7 +71520,7 @@
7152071520
"$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy"
7152171521
},
7152271522
"podReplacementPolicy": {
71523-
"description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.\n\nPossible enum values:\n - `\"Failed\"` means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod.\n - `\"TerminatingOrFailed\"` means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed.",
71523+
"description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is a beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.\n\nPossible enum values:\n - `\"Failed\"` means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod.\n - `\"TerminatingOrFailed\"` means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed.",
7152471524
"type": "string",
7152571525
"enum": [
7152671526
"Failed",
@@ -71888,7 +71888,7 @@
7188871888
],
7188971889
"properties": {
7189071890
"expirationSeconds": {
71891-
"description": "expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.\n\nThe v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.\n\nCertificate signers may not honor this field for various reasons:\n\n 1. Old signer that is unaware of the field (such as the in-tree\n implementations prior to v1.22)\n 2. Signer whose configured maximum is shorter than the requested duration\n 3. Signer whose configured minimum is longer than the requested duration\n\nThe minimum valid value for expirationSeconds is 600, i.e. 10 minutes.",
71891+
"description": "expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and notAfter fields in the issued certificate to determine the actual duration.\n\nThe v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.\n\nCertificate signers may not honor this field for various reasons:\n\n 1. Old signer that is unaware of the field (such as the in-tree\n implementations prior to v1.22)\n 2. Signer whose configured maximum is shorter than the requested duration\n 3. Signer whose configured minimum is longer than the requested duration\n\nThe minimum valid value for expirationSeconds is 600, i.e. 10 minutes.",
7189271892
"type": "integer",
7189371893
"format": "int32"
7189471894
},
@@ -76493,7 +76493,7 @@
7649376493
"x-kubernetes-patch-strategy": "merge"
7649476494
},
7649576495
"initContainers": {
76496-
"description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
76496+
"description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
7649776497
"type": "array",
7649876498
"items": {
7649976499
"$ref": "#/definitions/io.k8s.api.core.v1.Container"
@@ -82686,7 +82686,7 @@
8268682686
}
8268782687
},
8268882688
"io.k8s.apimachinery.pkg.api.resource.Quantity": {
82689-
"description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` <quantity> ::= <signedNumber><suffix>\n\n\t(Note that <suffix> may be empty, from the \"\" case in <decimalSI>.)\n\n<digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n<decimalSI> ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n<decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
82689+
"description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` <quantity> ::= <signedNumber><suffix>\n\n\t(Note that <suffix> may be empty, from the \"\" case in <decimalSI>.)\n\n<digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n<decimalSI> ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n<decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that will cause implementors to also use a fixed point implementation.",
8269082690
"type": "string"
8269182691
},
8269282692
"io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": {
@@ -84680,4 +84680,4 @@
8468084680
"BearerToken": []
8468184681
}
8468284682
]
84683-
}
84683+
}

0 commit comments

Comments
 (0)