You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kubernetes/client/models/core_v1_endpoint_port.py
+2-8
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ def port(self, port):
141
141
defprotocol(self):
142
142
"""Gets the protocol of this CoreV1EndpointPort. # noqa: E501
143
143
144
-
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. # noqa: E501
144
+
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501
145
145
146
146
:return: The protocol of this CoreV1EndpointPort. # noqa: E501
147
147
:rtype: str
@@ -152,17 +152,11 @@ def protocol(self):
152
152
defprotocol(self, protocol):
153
153
"""Sets the protocol of this CoreV1EndpointPort.
154
154
155
-
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. # noqa: E501
155
+
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501
156
156
157
157
:param protocol: The protocol of this CoreV1EndpointPort. # noqa: E501
Copy file name to clipboardExpand all lines: kubernetes/client/models/v1_certificate_signing_request_condition.py
+2-8
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ def status(self, status):
196
196
deftype(self):
197
197
"""Gets the type of this V1CertificateSigningRequestCondition. # noqa: E501
198
198
199
-
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. Possible enum values: - `\"Approved\"` Approved indicates the request was approved and should be issued by the signer. - `\"Denied\"` Denied indicates the request was denied and should not be issued by the signer. - `\"Failed\"` Failed indicates the signer failed to issue the certificate. # noqa: E501
199
+
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. # noqa: E501
200
200
201
201
:return: The type of this V1CertificateSigningRequestCondition. # noqa: E501
202
202
:rtype: str
@@ -207,19 +207,13 @@ def type(self):
207
207
deftype(self, type):
208
208
"""Sets the type of this V1CertificateSigningRequestCondition.
209
209
210
-
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. Possible enum values: - `\"Approved\"` Approved indicates the request was approved and should be issued by the signer. - `\"Denied\"` Denied indicates the request was denied and should not be issued by the signer. - `\"Failed\"` Failed indicates the signer failed to issue the certificate. # noqa: E501
210
+
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. # noqa: E501
211
211
212
212
:param type: The type of this V1CertificateSigningRequestCondition. # noqa: E501
Copy file name to clipboardExpand all lines: kubernetes/client/models/v1_container.py
+4-16
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,7 @@ def image(self, image):
275
275
defimage_pull_policy(self):
276
276
"""Gets the image_pull_policy of this V1Container. # noqa: E501
277
277
278
-
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images Possible enum values: - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails. - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails. - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present # noqa: E501
278
+
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images # noqa: E501
279
279
280
280
:return: The image_pull_policy of this V1Container. # noqa: E501
"""Sets the image_pull_policy of this V1Container.
288
288
289
-
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images Possible enum values: - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails. - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails. - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present # noqa: E501
289
+
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images # noqa: E501
290
290
291
291
:param image_pull_policy: The image_pull_policy of this V1Container. # noqa: E501
"""Gets the termination_message_policy of this V1Container. # noqa: E501
549
543
550
-
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. Possible enum values: - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents. - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits. # noqa: E501
544
+
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. # noqa: E501
551
545
552
546
:return: The termination_message_policy of this V1Container. # noqa: E501
"""Sets the termination_message_policy of this V1Container.
560
554
561
-
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. Possible enum values: - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents. - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits. # noqa: E501
555
+
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. # noqa: E501
562
556
563
557
:param termination_message_policy: The termination_message_policy of this V1Container. # noqa: E501
Copy file name to clipboardExpand all lines: kubernetes/client/models/v1_container_port.py
+2-8
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ def name(self, name):
169
169
defprotocol(self):
170
170
"""Gets the protocol of this V1ContainerPort. # noqa: E501
171
171
172
-
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. # noqa: E501
172
+
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". # noqa: E501
173
173
174
174
:return: The protocol of this V1ContainerPort. # noqa: E501
175
175
:rtype: str
@@ -180,17 +180,11 @@ def protocol(self):
180
180
defprotocol(self, protocol):
181
181
"""Sets the protocol of this V1ContainerPort.
182
182
183
-
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. # noqa: E501
183
+
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". # noqa: E501
184
184
185
185
:param protocol: The protocol of this V1ContainerPort. # noqa: E501
"""Gets the concurrency_policy of this V1CronJobSpec. # noqa: E501
86
86
87
-
Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one Possible enum values: - `\"Allow\"` allows CronJobs to run concurrently. - `\"Forbid\"` forbids concurrent runs, skipping next run if previous hasn't finished yet. - `\"Replace\"` cancels currently running job and replaces it with a new one. # noqa: E501
87
+
Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one # noqa: E501
88
88
89
89
:return: The concurrency_policy of this V1CronJobSpec. # noqa: E501
90
90
:rtype: str
@@ -95,17 +95,11 @@ def concurrency_policy(self):
95
95
defconcurrency_policy(self, concurrency_policy):
96
96
"""Sets the concurrency_policy of this V1CronJobSpec.
97
97
98
-
Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one Possible enum values: - `\"Allow\"` allows CronJobs to run concurrently. - `\"Forbid\"` forbids concurrent runs, skipping next run if previous hasn't finished yet. - `\"Replace\"` cancels currently running job and replaces it with a new one. # noqa: E501
98
+
Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one # noqa: E501
99
99
100
100
:param concurrency_policy: The concurrency_policy of this V1CronJobSpec. # noqa: E501
"""Gets the type of this V1DaemonSetUpdateStrategy. # noqa: E501
84
84
85
-
Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. Possible enum values: - `\"OnDelete\"` Replace the old daemons only when it's killed - `\"RollingUpdate\"` Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other. # noqa: E501
85
+
Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. # noqa: E501
86
86
87
87
:return: The type of this V1DaemonSetUpdateStrategy. # noqa: E501
88
88
:rtype: str
@@ -93,17 +93,11 @@ def type(self):
93
93
deftype(self, type):
94
94
"""Sets the type of this V1DaemonSetUpdateStrategy.
95
95
96
-
Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. Possible enum values: - `\"OnDelete\"` Replace the old daemons only when it's killed - `\"RollingUpdate\"` Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other. # noqa: E501
96
+
Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. # noqa: E501
97
97
98
98
:param type: The type of this V1DaemonSetUpdateStrategy. # noqa: E501
0 commit comments