Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76bd09d

Browse files
authored
Merge pull request kubernetes-client#27 from kubernetes-incubator/gen
Update generated client
2 parents d466aa3 + 3e9c0b0 commit 76bd09d

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

docs/V1Secret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**data** | **dict(str, list[int])** | Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional]
6+
**data** | **dict(str, str)** | Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional]
77
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
88
**string_data** | **dict(str, str)** | stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. | [optional]
99
**type** | **str** | Used to facilitate programmatic handling of secret data. | [optional]

k8sclient/models/v1_secret.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, data=None, metadata=None, string_data=None, type=None):
4242
and the value is json key in definition.
4343
"""
4444
self.swagger_types = {
45-
'data': 'dict(str, list[int])',
45+
'data': 'dict(str, str)',
4646
'metadata': 'V1ObjectMeta',
4747
'string_data': 'dict(str, str)',
4848
'type': 'str'
@@ -68,7 +68,7 @@ def data(self):
6868
Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
6969
7070
:return: The data of this V1Secret.
71-
:rtype: dict(str, list[int])
71+
:rtype: dict(str, str)
7272
"""
7373
return self._data
7474

@@ -79,7 +79,7 @@ def data(self, data):
7979
Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
8080
8181
:param data: The data of this V1Secret.
82-
:type: dict(str, list[int])
82+
:type: dict(str, str)
8383
"""
8484

8585
self._data = data

scripts/swagger.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34956,11 +34956,8 @@
3495634956
"description": "Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4",
3495734957
"type": "object",
3495834958
"additionalProperties": {
34959-
"type": "array",
34960-
"items": {
34961-
"type": "integer",
34962-
"format": "byte"
34963-
}
34959+
"type": "string",
34960+
"format": "byte"
3496434961
}
3496534962
},
3496634963
"metadata": {

0 commit comments

Comments
 (0)