summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorluogangyi <luogangyi@cmsr.chinamobile.com>2020-07-30 14:52:55 +0800
committerluogangyi <luogangyi@cmsr.chinamobile.com>2020-08-02 17:19:29 +0800
commit41866b1885bd71feb4042c7473fd4d047a55a50a (patch)
treea4858ff0c65fb917efc6c41e69db77427735472f /build
parentMerge pull request #2010 from daixiang0/kill (diff)
downloadkubeedge-41866b1885bd71feb4042c7473fd4d047a55a50a.tar.gz
extend property types
Diffstat (limited to 'build')
-rw-r--r--build/crds/devices/devices_v1alpha2_devicemodel.yaml74
1 files changed, 74 insertions, 0 deletions
diff --git a/build/crds/devices/devices_v1alpha2_devicemodel.yaml b/build/crds/devices/devices_v1alpha2_devicemodel.yaml
index 58c4124d6..307a4d399 100644
--- a/build/crds/devices/devices_v1alpha2_devicemodel.yaml
+++ b/build/crds/devices/devices_v1alpha2_devicemodel.yaml
@@ -77,6 +77,80 @@ spec:
required:
- accessMode
type: object
+ double:
+ properties:
+ accessMode:
+ description: 'Required: Access mode of property, ReadWrite
+ or ReadOnly.'
+ type: string
+ enum:
+ - ReadOnly
+ - ReadWrite
+ defaultValue:
+ format: double
+ type: number
+ maximum:
+ format: double
+ type: number
+ minimum:
+ format: double
+ type: number
+ unit:
+ description: The unit of the property
+ type: string
+ required:
+ - accessMode
+ type: object
+ float:
+ properties:
+ accessMode:
+ description: 'Required: Access mode of property, ReadWrite
+ or ReadOnly.'
+ type: string
+ enum:
+ - ReadOnly
+ - ReadWrite
+ defaultValue:
+ format: float
+ type: number
+ maximum:
+ format: float
+ type: number
+ minimum:
+ format: float
+ type: number
+ unit:
+ description: The unit of the property
+ type: string
+ required:
+ - accessMode
+ type: object
+ boolean:
+ properties:
+ accessMode:
+ description: 'Required: Access mode of property, ReadWrite
+ or ReadOnly.'
+ type: string
+ enum:
+ - ReadOnly
+ - ReadWrite
+ defaultValue:
+ type: boolean
+ required:
+ - accessMode
+ type: object
+ bytes:
+ properties:
+ accessMode:
+ description: 'Required: Access mode of property, ReadWrite
+ or ReadOnly.'
+ type: string
+ enum:
+ - ReadOnly
+ - ReadWrite
+ required:
+ - accessMode
+ type: object
type: object
required:
- name