Skip to content

Commit 01a3a24

Browse files
committed
Auto generated code with kubebuilder 1.0.3.
1 parent f35d5f7 commit 01a3a24

File tree

8 files changed

+67
-16
lines changed

8 files changed

+67
-16
lines changed

cluster-registry-crd.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
creationTimestamp: null
55
labels:
66
api: ""
7-
kubebuilder.k8s.io: 0.1.12
7+
kubebuilder.k8s.io: 1.0.3
88
name: clusters.clusterregistry.k8s.io
99
spec:
1010
group: clusterregistry.k8s.io
@@ -85,7 +85,6 @@ spec:
8585
type: object
8686
type: array
8787
type: object
88-
type: object
8988
version: v1alpha1
9089
status:
9190
acceptedNames:

docs/reference/build/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,7 @@ <h2 id="time-v1">Time v1</h2>
829829
</tr>
830830
</tbody>
831831
</table>
832+
<p>Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.</p>
832833
<aside class="notice">
833834
Appears In:
834835

docs/reference/openapi-spec/swagger.json

+4
Original file line numberDiff line numberDiff line change
@@ -16543,6 +16543,7 @@
1654316543
},
1654416544
"k8s.io/apimachinery/pkg/api/resource.Quantity": {
1654516545
"Schema": {
16546+
"description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n\u003cquantity\u003e ::= \u003csignedNumber\u003e\u003csuffix\u003e\n (Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\u003cdigit\u003e ::= 0 | 1 | ... | 9 \u003cdigits\u003e ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e ::= \"+\" | \"-\" \u003csignedNumber\u003e ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\u003cdecimalSI\u003e ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e\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 a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNOTE: We reserve the right to amend this canonical format, perhaps to\n allow 1.5 to be canonical.\n or after March 2015.\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.",
1654616547
"type": "string"
1654716548
},
1654816549
"Dependencies": null
@@ -17211,6 +17212,7 @@
1721117212
},
1721217213
"k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": {
1721317214
"Schema": {
17215+
"description": "MicroTime is version of Time with microsecond level precision.",
1721417216
"type": "string",
1721517217
"format": "date-time"
1721617218
},
@@ -17507,6 +17509,7 @@
1750717509
},
1750817510
"k8s.io/apimachinery/pkg/apis/meta/v1.Time": {
1750917511
"Schema": {
17512+
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
1751017513
"type": "string",
1751117514
"format": "date-time"
1751217515
},
@@ -17635,6 +17638,7 @@
1763517638
},
1763617639
"k8s.io/apimachinery/pkg/util/intstr.IntOrString": {
1763717640
"Schema": {
17641+
"description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.",
1763817642
"type": "string",
1763917643
"format": "int-or-string"
1764017644
},

pkg/apis/clusterregistry/v1alpha1/zz_generated.kubebuilder.go

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ var (
8484
Scope: "Namespaced",
8585
Validation: &v1beta1.CustomResourceValidation{
8686
OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
87-
Type: "object",
8887
Properties: map[string]v1beta1.JSONSchemaProps{
8988
"apiVersion": {
9089
Type: "string",

pkg/client/clientset/versioned/clientset.go

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/fake/clientset_generated.go

+5-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/typed/clusterregistry/v1alpha1/fake/fake_cluster.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/informers/externalversions/factory.go

+55-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)