Skip to content

Commit 632cd9b

Browse files
committed
Add generated MultiNodeEnvironment CRD, client, and deepcopy
Signed-off-by: Kevin Klues <[email protected]>
1 parent 430a891 commit 632cd9b

File tree

25 files changed

+1849
-0
lines changed

25 files changed

+1849
-0
lines changed

api/nvidia.com/resource/gpu/v1alpha1/zz_generated.deepcopy.go

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.14.0
7+
name: multinodeenvironments.gpu.nvidia.com
8+
spec:
9+
group: gpu.nvidia.com
10+
names:
11+
kind: MultiNodeEnvironment
12+
listKind: MultiNodeEnvironmentList
13+
plural: multinodeenvironments
14+
singular: multinodeenvironment
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: MultiNodeEnvironment prepares a set of nodes to run a multi-node
21+
workload in.
22+
properties:
23+
apiVersion:
24+
description: |-
25+
APIVersion defines the versioned schema of this representation of an object.
26+
Servers should convert recognized schemas to the latest internal value, and
27+
may reject unrecognized values.
28+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
29+
type: string
30+
kind:
31+
description: |-
32+
Kind is a string value representing the REST resource this object represents.
33+
Servers may infer this from the endpoint the client submits requests to.
34+
Cannot be updated.
35+
In CamelCase.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
37+
type: string
38+
metadata:
39+
type: object
40+
spec:
41+
description: MultiNodeEnvironmentSpec provides the spec for a MultiNodeEnvironment.
42+
properties:
43+
numNodes:
44+
type: integer
45+
resourceClaimName:
46+
type: string
47+
required:
48+
- numNodes
49+
- resourceClaimName
50+
type: object
51+
type: object
52+
served: true
53+
storage: true

pkg/nvidia.com/resource/clientset/versioned/clientset.go

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

pkg/nvidia.com/resource/clientset/versioned/fake/clientset_generated.go

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

pkg/nvidia.com/resource/clientset/versioned/fake/doc.go

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

0 commit comments

Comments
 (0)