Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createNamespacedLease :: (Consumes CreateNamespacedLease contentType, MimeRender contentType V1Lease) => ContentType contentType -> Accept accept -> V1Lease -> Namespace -> KubernetesRequest CreateNamespacedLease contentType V1Lease accept
- data CreateNamespacedLease
- deleteCollectionNamespacedLease :: Accept accept -> Namespace -> KubernetesRequest DeleteCollectionNamespacedLease MimeNoContent 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 #
:: (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
deleteCollectionNamespacedLease
deleteCollectionNamespacedLease Source #
:: Accept accept | request accept ( |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest DeleteCollectionNamespacedLease MimeNoContent V1Status accept |
DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
delete collection of Lease
AuthMethod: AuthApiKeyBearerToken
data DeleteCollectionNamespacedLease Source #
Instances
Produces DeleteCollectionNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteCollectionNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteCollectionNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
HasOptionalParam DeleteCollectionNamespacedLease 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 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> Watch -> KubernetesRequest DeleteCollectionNamespacedLease contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedLease contentType res accept -> Watch -> 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 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 # | |
HasOptionalParam DeleteCollectionNamespacedLease ResourceVersion Source # | Optional Param "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 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 Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 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 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 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 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 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 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 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 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 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 # |
deleteNamespacedLease
deleteNamespacedLease Source #
:: 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
Produces DeleteNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces DeleteNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
MimeType mtype => Consumes DeleteNamespacedLease mtype Source # | */* |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
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 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 # | |
HasOptionalParam DeleteNamespacedLease Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 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 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 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 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 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 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 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 # | |
HasBodyParam DeleteNamespacedLease V1DeleteOptions Source # | |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 setBodyParam :: (Consumes DeleteNamespacedLease contentType, MimeRender contentType V1DeleteOptions) => KubernetesRequest DeleteNamespacedLease contentType res accept -> V1DeleteOptions -> KubernetesRequest DeleteNamespacedLease contentType res accept Source # |
getAPIResources
:: Accept accept | request accept ( |
-> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept |
data GetAPIResources Source #
Instances
Produces GetAPIResources MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces GetAPIResources MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces GetAPIResources MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 |
listLeaseForAllNamespaces
listLeaseForAllNamespaces Source #
:: 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
Produces ListLeaseForAllNamespaces MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeVndKubernetesProtobufstreamwatch Source # | application/vnd.kubernetes.protobuf;stream=watch |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeJsonstreamwatch Source # | application/json;stream=watch |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListLeaseForAllNamespaces MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
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 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 # | |
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 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 ResourceVersion Source # | Optional Param "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 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 Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 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 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 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 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 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 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 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 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 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 # |
listNamespacedLease
:: 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
Produces ListNamespacedLease MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeVndKubernetesProtobufstreamwatch Source # | application/vnd.kubernetes.protobuf;stream=watch |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeJsonstreamwatch Source # | application/json;stream=watch |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
Produces ListNamespacedLease MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 | |
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 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 # | |
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 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 ResourceVersion Source # | Optional Param "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 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 Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.CoordinationV1 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 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 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 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 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 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 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 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 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 # |
patchNamespacedLease
:: (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
readNamespacedLease
:: 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 #
:: (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 #