Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Kubernetes.OpenAPI.API.CoordinationV1
Description
Synopsis
- createNamespacedLease :: (Consumes CreateNamespacedLease contentType, MimeRender contentType V1Lease) => ContentType contentType -> Accept accept -> V1Lease -> Namespace -> KubernetesRequest CreateNamespacedLease contentType V1Lease accept
- data CreateNamespacedLease
- deleteCollectionNamespacedLease :: Consumes DeleteCollectionNamespacedLease contentType => ContentType contentType -> Accept accept -> Namespace -> KubernetesRequest DeleteCollectionNamespacedLease contentType V1Status accept
- data DeleteCollectionNamespacedLease
- deleteNamespacedLease :: Consumes DeleteNamespacedLease contentType => ContentType contentType -> Accept accept -> Name -> Namespace -> KubernetesRequest DeleteNamespacedLease contentType V1Status accept
- data DeleteNamespacedLease
- getAPIResources :: Accept accept -> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept
- data GetAPIResources
- listLeaseForAllNamespaces :: Accept accept -> KubernetesRequest ListLeaseForAllNamespaces MimeNoContent V1LeaseList accept
- data ListLeaseForAllNamespaces
- listNamespacedLease :: Accept accept -> Namespace -> KubernetesRequest ListNamespacedLease MimeNoContent V1LeaseList accept
- data ListNamespacedLease
- patchNamespacedLease :: (Consumes PatchNamespacedLease contentType, MimeRender contentType Body) => ContentType contentType -> Accept accept -> Body -> Name -> Namespace -> KubernetesRequest PatchNamespacedLease contentType V1Lease accept
- data PatchNamespacedLease
- readNamespacedLease :: Accept accept -> Name -> Namespace -> KubernetesRequest ReadNamespacedLease MimeNoContent V1Lease accept
- data ReadNamespacedLease
- replaceNamespacedLease :: (Consumes ReplaceNamespacedLease contentType, MimeRender contentType V1Lease) => ContentType contentType -> Accept accept -> V1Lease -> Name -> Namespace -> KubernetesRequest ReplaceNamespacedLease contentType V1Lease accept
- data ReplaceNamespacedLease
Operations
CoordinationV1
createNamespacedLease
createNamespacedLease Source #
Arguments
:: (Consumes CreateNamespacedLease contentType, MimeRender contentType V1Lease) | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> V1Lease | "body" |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest CreateNamespacedLease contentType V1Lease accept |
POST /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
create a Lease
AuthMethod: AuthApiKeyBearerToken
data CreateNamespacedLease Source #
Instances
HasBodyParam CreateNamespacedLease V1Lease Source # | |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods setBodyParam :: (Consumes CreateNamespacedLease contentType, MimeRender contentType V1Lease) => KubernetesRequest CreateNamespacedLease contentType res accept -> V1Lease -> KubernetesRequest CreateNamespacedLease contentType res accept Source # | |
HasOptionalParam CreateNamespacedLease DryRun Source # | Optional Param "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest CreateNamespacedLease contentType res accept -> DryRun -> KubernetesRequest CreateNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest CreateNamespacedLease contentType res accept -> DryRun -> KubernetesRequest CreateNamespacedLease contentType res accept Source # | |
HasOptionalParam CreateNamespacedLease FieldManager Source # | Optional Param "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest CreateNamespacedLease contentType res accept -> FieldManager -> KubernetesRequest CreateNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest CreateNamespacedLease contentType res accept -> FieldManager -> KubernetesRequest CreateNamespacedLease contentType res accept Source # | |
HasOptionalParam CreateNamespacedLease FieldValidation Source # | Optional Param "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POSTPUTPATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest CreateNamespacedLease contentType res accept -> FieldValidation -> KubernetesRequest CreateNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest CreateNamespacedLease contentType res accept -> FieldValidation -> KubernetesRequest CreateNamespacedLease contentType res accept Source # | |
HasOptionalParam CreateNamespacedLease Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest CreateNamespacedLease contentType res accept -> Pretty -> KubernetesRequest CreateNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest CreateNamespacedLease contentType res accept -> Pretty -> KubernetesRequest CreateNamespacedLease contentType res accept Source # | |
MimeType mtype => Consumes CreateNamespacedLease mtype Source # | */* |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces CreateNamespacedLease MimeCbor Source # | application/cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces CreateNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces CreateNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces CreateNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |
deleteCollectionNamespacedLease
deleteCollectionNamespacedLease Source #
Arguments
:: Consumes DeleteCollectionNamespacedLease contentType | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest DeleteCollectionNamespacedLease contentType V1Status accept |
DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
delete collection of Lease
AuthMethod: AuthApiKeyBearerToken
data DeleteCollectionNamespacedLease Source #
Instances
HasBodyParam DeleteCollectionNamespacedLease V1DeleteOptions Source # | |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods setBodyParam :: (Consumes DeleteCollectionNamespacedLease contentType, MimeRender contentType V1DeleteOptions) => KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> V1DeleteOptions -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease Continue Source # | Optional Param "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> Continue -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> Continue -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease DryRun Source # | Optional Param "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> DryRun -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> DryRun -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease FieldSelector Source # | Optional Param "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> FieldSelector -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> FieldSelector -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease GracePeriodSeconds Source # | Optional Param "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> GracePeriodSeconds -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> GracePeriodSeconds -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease IgnoreStoreReadErrorWithClusterBreakingPotential Source # | Optional Param "ignoreStoreReadErrorWithClusterBreakingPotential" - if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> IgnoreStoreReadErrorWithClusterBreakingPotential -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> IgnoreStoreReadErrorWithClusterBreakingPotential -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease LabelSelector Source # | Optional Param "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> LabelSelector -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> LabelSelector -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease Limit Source # | Optional Param "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> Limit -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> Limit -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease OrphanDependents Source # | Optional Param "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If truefalse, the "orphan" finalizer will be added toremoved from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> OrphanDependents -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> OrphanDependents -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> Pretty -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> Pretty -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease PropagationPolicy Source # | Optional Param "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> PropagationPolicy -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> PropagationPolicy -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease ResourceVersion Source # | Optional Param "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> ResourceVersion -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> ResourceVersion -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease ResourceVersionMatch Source # | Optional Param "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> ResourceVersionMatch -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> ResourceVersionMatch -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease SendInitialEvents Source # | Optional Param "sendInitialEvents" - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> SendInitialEvents -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> SendInitialEvents -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedLease TimeoutSeconds Source # | Optional Param "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> TimeoutSeconds -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> TimeoutSeconds -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # | |
MimeType mtype => Consumes DeleteCollectionNamespacedLease mtype Source # | */* |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteCollectionNamespacedLease MimeCbor Source # | application/cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteCollectionNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteCollectionNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteCollectionNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |
deleteNamespacedLease
deleteNamespacedLease Source #
Arguments
:: Consumes DeleteNamespacedLease contentType | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> Name | "name" - name of the Lease |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest DeleteNamespacedLease contentType V1Status accept |
DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
delete a Lease
AuthMethod: AuthApiKeyBearerToken
data DeleteNamespacedLease Source #
Instances
HasBodyParam DeleteNamespacedLease V1DeleteOptions Source # | |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods setBodyParam :: (Consumes DeleteNamespacedLease contentType, MimeRender contentType V1DeleteOptions) => KubernetesRequest DeleteNamespacedLease contentType res accept -> V1DeleteOptions -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteNamespacedLease DryRun Source # | Optional Param "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteNamespacedLease contentType res accept -> DryRun -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedLease contentType res accept -> DryRun -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteNamespacedLease GracePeriodSeconds Source # | Optional Param "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteNamespacedLease contentType res accept -> GracePeriodSeconds -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedLease contentType res accept -> GracePeriodSeconds -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteNamespacedLease IgnoreStoreReadErrorWithClusterBreakingPotential Source # | Optional Param "ignoreStoreReadErrorWithClusterBreakingPotential" - if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteNamespacedLease contentType res accept -> IgnoreStoreReadErrorWithClusterBreakingPotential -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedLease contentType res accept -> IgnoreStoreReadErrorWithClusterBreakingPotential -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteNamespacedLease OrphanDependents Source # | Optional Param "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If truefalse, the "orphan" finalizer will be added toremoved from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteNamespacedLease contentType res accept -> OrphanDependents -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedLease contentType res accept -> OrphanDependents -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteNamespacedLease Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteNamespacedLease contentType res accept -> Pretty -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedLease contentType res accept -> Pretty -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # | |
HasOptionalParam DeleteNamespacedLease PropagationPolicy Source # | Optional Param "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest DeleteNamespacedLease contentType res accept -> PropagationPolicy -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedLease contentType res accept -> PropagationPolicy -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # | |
MimeType mtype => Consumes DeleteNamespacedLease mtype Source # | */* |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteNamespacedLease MimeCbor Source # | application/cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |
getAPIResources
Arguments
:: Accept accept | request accept ( |
-> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept |
data GetAPIResources Source #
Instances
Produces GetAPIResources MimeCbor Source # | application/cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces GetAPIResources MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces GetAPIResources MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces GetAPIResources MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |
listLeaseForAllNamespaces
listLeaseForAllNamespaces Source #
Arguments
:: Accept accept | request accept ( |
-> KubernetesRequest ListLeaseForAllNamespaces MimeNoContent V1LeaseList accept |
GET /apis/coordination.k8s.io/v1/leases
list or watch objects of kind Lease
AuthMethod: AuthApiKeyBearerToken
data ListLeaseForAllNamespaces Source #
Instances
HasOptionalParam ListLeaseForAllNamespaces AllowWatchBookmarks Source # | Optional Param "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> AllowWatchBookmarks -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> AllowWatchBookmarks -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces Continue Source # | Optional Param "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> Continue -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> Continue -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces FieldSelector Source # | Optional Param "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> FieldSelector -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> FieldSelector -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces LabelSelector Source # | Optional Param "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> LabelSelector -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> LabelSelector -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces Limit Source # | Optional Param "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> Limit -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> Limit -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> Pretty -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> Pretty -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces ResourceVersion Source # | Optional Param "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> ResourceVersion -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> ResourceVersion -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces ResourceVersionMatch Source # | Optional Param "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> ResourceVersionMatch -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> ResourceVersionMatch -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces SendInitialEvents Source # | Optional Param "sendInitialEvents" - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> SendInitialEvents -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> SendInitialEvents -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces TimeoutSeconds Source # | Optional Param "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> TimeoutSeconds -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> TimeoutSeconds -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListLeaseForAllNamespaces Watch Source # | Optional Param "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> Watch -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListLeaseForAllNamespaces contentType res accept -> Watch -> KubernetesRequest ListLeaseForAllNamespaces contentType res accept Source # | |
Produces ListLeaseForAllNamespaces MimeCbor Source # | application/cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeCborSeq Source # | application/cbor-seq |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeJsonstreamwatch Source # | application/json;stream=watch |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeVndKubernetesProtobufstreamwatch Source # | application/vnd.kubernetes.protobuf;stream=watch |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |
listNamespacedLease
Arguments
:: Accept accept | request accept ( |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest ListNamespacedLease MimeNoContent V1LeaseList accept |
GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
list or watch objects of kind Lease
AuthMethod: AuthApiKeyBearerToken
data ListNamespacedLease Source #
Instances
HasOptionalParam ListNamespacedLease AllowWatchBookmarks Source # | Optional Param "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> AllowWatchBookmarks -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> AllowWatchBookmarks -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease Continue Source # | Optional Param "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> Continue -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> Continue -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease FieldSelector Source # | Optional Param "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> FieldSelector -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> FieldSelector -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease LabelSelector Source # | Optional Param "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> LabelSelector -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> LabelSelector -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease Limit Source # | Optional Param "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> Limit -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> Limit -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> Pretty -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> Pretty -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease ResourceVersion Source # | Optional Param "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> ResourceVersion -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> ResourceVersion -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease ResourceVersionMatch Source # | Optional Param "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> ResourceVersionMatch -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> ResourceVersionMatch -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease SendInitialEvents Source # | Optional Param "sendInitialEvents" - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> SendInitialEvents -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> SendInitialEvents -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease TimeoutSeconds Source # | Optional Param "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> TimeoutSeconds -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> TimeoutSeconds -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
HasOptionalParam ListNamespacedLease Watch Source # | Optional Param "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ListNamespacedLease contentType res accept -> Watch -> KubernetesRequest ListNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedLease contentType res accept -> Watch -> KubernetesRequest ListNamespacedLease contentType res accept Source # | |
Produces ListNamespacedLease MimeCbor Source # | application/cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeCborSeq Source # | application/cbor-seq |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeJsonstreamwatch Source # | application/json;stream=watch |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeVndKubernetesProtobufstreamwatch Source # | application/vnd.kubernetes.protobuf;stream=watch |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |
patchNamespacedLease
Arguments
:: (Consumes PatchNamespacedLease contentType, MimeRender contentType Body) | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> Body | "body" |
-> Name | "name" - name of the Lease |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest PatchNamespacedLease contentType V1Lease accept |
PATCH /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
partially update the specified Lease
AuthMethod: AuthApiKeyBearerToken
data PatchNamespacedLease Source #
Instances
HasBodyParam PatchNamespacedLease Body Source # | |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods setBodyParam :: (Consumes PatchNamespacedLease contentType, MimeRender contentType Body) => KubernetesRequest PatchNamespacedLease contentType res accept -> Body -> KubernetesRequest PatchNamespacedLease contentType res accept Source # | |
HasOptionalParam PatchNamespacedLease DryRun Source # | Optional Param "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest PatchNamespacedLease contentType res accept -> DryRun -> KubernetesRequest PatchNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest PatchNamespacedLease contentType res accept -> DryRun -> KubernetesRequest PatchNamespacedLease contentType res accept Source # | |
HasOptionalParam PatchNamespacedLease FieldManager Source # | Optional Param "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest PatchNamespacedLease contentType res accept -> FieldManager -> KubernetesRequest PatchNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest PatchNamespacedLease contentType res accept -> FieldManager -> KubernetesRequest PatchNamespacedLease contentType res accept Source # | |
HasOptionalParam PatchNamespacedLease FieldValidation Source # | Optional Param "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POSTPUTPATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest PatchNamespacedLease contentType res accept -> FieldValidation -> KubernetesRequest PatchNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest PatchNamespacedLease contentType res accept -> FieldValidation -> KubernetesRequest PatchNamespacedLease contentType res accept Source # | |
HasOptionalParam PatchNamespacedLease Force Source # | Optional Param "force" - Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest PatchNamespacedLease contentType res accept -> Force -> KubernetesRequest PatchNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest PatchNamespacedLease contentType res accept -> Force -> KubernetesRequest PatchNamespacedLease contentType res accept Source # | |
HasOptionalParam PatchNamespacedLease Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest PatchNamespacedLease contentType res accept -> Pretty -> KubernetesRequest PatchNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest PatchNamespacedLease contentType res accept -> Pretty -> KubernetesRequest PatchNamespacedLease contentType res accept Source # | |
Consumes PatchNamespacedLease MimeApplyPatchcbor Source # | application/apply-patch+cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Consumes PatchNamespacedLease MimeApplyPatchyaml Source # | application/apply-patch+yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Consumes PatchNamespacedLease MimeJsonPatchjson Source # | application/json-patch+json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Consumes PatchNamespacedLease MimeMergePatchjson Source # | application/merge-patch+json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Consumes PatchNamespacedLease MimeStrategicMergePatchjson Source # | application/strategic-merge-patch+json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces PatchNamespacedLease MimeCbor Source # | application/cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces PatchNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces PatchNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces PatchNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |
readNamespacedLease
Arguments
:: Accept accept | request accept ( |
-> Name | "name" - name of the Lease |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest ReadNamespacedLease MimeNoContent V1Lease accept |
GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
read the specified Lease
AuthMethod: AuthApiKeyBearerToken
data ReadNamespacedLease Source #
Instances
replaceNamespacedLease
replaceNamespacedLease Source #
Arguments
:: (Consumes ReplaceNamespacedLease contentType, MimeRender contentType V1Lease) | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> V1Lease | "body" |
-> Name | "name" - name of the Lease |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest ReplaceNamespacedLease contentType V1Lease accept |
PUT /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
replace the specified Lease
AuthMethod: AuthApiKeyBearerToken
data ReplaceNamespacedLease Source #
Instances
HasBodyParam ReplaceNamespacedLease V1Lease Source # | |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods setBodyParam :: (Consumes ReplaceNamespacedLease contentType, MimeRender contentType V1Lease) => KubernetesRequest ReplaceNamespacedLease contentType res accept -> V1Lease -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # | |
HasOptionalParam ReplaceNamespacedLease DryRun Source # | Optional Param "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ReplaceNamespacedLease contentType res accept -> DryRun -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ReplaceNamespacedLease contentType res accept -> DryRun -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # | |
HasOptionalParam ReplaceNamespacedLease FieldManager Source # | Optional Param "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ReplaceNamespacedLease contentType res accept -> FieldManager -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ReplaceNamespacedLease contentType res accept -> FieldManager -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # | |
HasOptionalParam ReplaceNamespacedLease FieldValidation Source # | Optional Param "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POSTPUTPATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ReplaceNamespacedLease contentType res accept -> FieldValidation -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ReplaceNamespacedLease contentType res accept -> FieldValidation -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # | |
HasOptionalParam ReplaceNamespacedLease Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 Methods applyOptionalParam :: KubernetesRequest ReplaceNamespacedLease contentType res accept -> Pretty -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest ReplaceNamespacedLease contentType res accept -> Pretty -> KubernetesRequest ReplaceNamespacedLease contentType res accept Source # | |
MimeType mtype => Consumes ReplaceNamespacedLease mtype Source # | */* |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ReplaceNamespacedLease MimeCbor Source # | application/cbor |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ReplaceNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ReplaceNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ReplaceNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |