Skip to content

Commit

Permalink
Add generated MultiNodeEnvironment CRD, client, and deepcopy
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Klues <[email protected]>
  • Loading branch information
klueska committed Jan 9, 2025
1 parent 69ecab8 commit ab4a55f
Show file tree
Hide file tree
Showing 17 changed files with 1,179 additions and 0 deletions.
73 changes: 73 additions & 0 deletions api/nvidia.com/resource/gpu/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: multinodeenvironments.gpu.nvidia.com
spec:
group: gpu.nvidia.com
names:
kind: MultiNodeEnvironment
listKind: MultiNodeEnvironmentList
plural: multinodeenvironments
singular: multinodeenvironment
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: MultiNodeEnvironment prepares a set of nodes to run a multi-node
workload in.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: MultiNodeEnvironmentSpec provides the spec for a MultiNodeEnvironment.
properties:
numNodes:
type: integer
resourceClaimName:
type: string
required:
- numNodes
- resourceClaimName
type: object
type: object
served: true
storage: true
120 changes: 120 additions & 0 deletions pkg/nvidia.com/resource/clientset/versioned/clientset.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions pkg/nvidia.com/resource/clientset/versioned/fake/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ab4a55f

Please sign in to comment.