kubernetes-client-core-0.1.0.1: Auto-generated kubernetes-client-core API Client

Safe HaskellNone
LanguageHaskell2010

Kubernetes.OpenAPI.API.CoordinationV1

Contents

Description

 
Synopsis

Operations

CoordinationV1

createNamespacedLease

createNamespacedLease Source #

Arguments

:: (Consumes CreateNamespacedLease contentType, MimeRender contentType V1Lease) 
=> ContentType contentType

request content-type (MimeType)

-> Accept accept

request accept (MimeType)

-> 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
Produces CreateNamespacedLease MimeYaml Source #
application/yaml
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces CreateNamespacedLease MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces CreateNamespacedLease MimeJSON Source #
application/json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

MimeType mtype => Consumes CreateNamespacedLease mtype Source #
*/*
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam CreateNamespacedLease Pretty Source #

Optional Param "pretty" - If true, then the output is pretty printed.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasBodyParam CreateNamespacedLease V1Lease Source # 
Instance details

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 #

deleteCollectionNamespacedLease

deleteCollectionNamespacedLease Source #

Arguments

:: Accept accept

request accept (MimeType)

-> 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
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces DeleteCollectionNamespacedLease MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces DeleteCollectionNamespacedLease MimeJSON Source #
application/json
Instance details

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam DeleteCollectionNamespacedLease Pretty Source #

Optional Param "pretty" - If true, then the output is pretty printed.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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 continue field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam DeleteCollectionNamespacedLease LabelSelector Source #

Optional Param "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam DeleteCollectionNamespacedLease FieldSelector Source #

Optional Param "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

deleteNamespacedLease

deleteNamespacedLease Source #

Arguments

:: Consumes DeleteNamespacedLease contentType 
=> ContentType contentType

request content-type (MimeType)

-> Accept accept

request accept (MimeType)

-> 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
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces DeleteNamespacedLease MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces DeleteNamespacedLease MimeJSON Source #
application/json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

MimeType mtype => Consumes DeleteNamespacedLease mtype Source #
*/*
Instance details

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: Orphan - orphan the dependents; Background - allow the garbage collector to delete the dependents in the background; Foreground - a cascading policy that deletes all dependents in the foreground.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam DeleteNamespacedLease Pretty Source #

Optional Param "pretty" - If true, then the output is pretty printed.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasBodyParam DeleteNamespacedLease V1DeleteOptions Source # 
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

getAPIResources

getAPIResources Source #

Arguments

:: Accept accept

request accept (MimeType)

-> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept 
GET /apis/coordination.k8s.io/v1/

get available resources

AuthMethod: AuthApiKeyBearerToken

data GetAPIResources Source #

Instances
Produces GetAPIResources MimeYaml Source #
application/yaml
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces GetAPIResources MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces GetAPIResources MimeJSON Source #
application/json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

listLeaseForAllNamespaces

listLeaseForAllNamespaces Source #

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
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ListLeaseForAllNamespaces MimeVndKubernetesProtobufstreamwatch Source #
application/vnd.kubernetes.protobuf;stream=watch
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ListLeaseForAllNamespaces MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ListLeaseForAllNamespaces MimeJsonstreamwatch Source #
application/json;stream=watch
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ListLeaseForAllNamespaces MimeJSON Source #
application/json
Instance details

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam ListLeaseForAllNamespaces Pretty Source #

Optional Param "pretty" - If true, then the output is pretty printed.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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 continue field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam ListLeaseForAllNamespaces LabelSelector Source #

Optional Param "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam ListLeaseForAllNamespaces FieldSelector Source #

Optional Param "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

listNamespacedLease

listNamespacedLease Source #

Arguments

:: Accept accept

request accept (MimeType)

-> 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
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ListNamespacedLease MimeVndKubernetesProtobufstreamwatch Source #
application/vnd.kubernetes.protobuf;stream=watch
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ListNamespacedLease MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ListNamespacedLease MimeJsonstreamwatch Source #
application/json;stream=watch
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ListNamespacedLease MimeJSON Source #
application/json
Instance details

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.

Instance details

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 #

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam ListNamespacedLease Pretty Source #

Optional Param "pretty" - If true, then the output is pretty printed.

Instance details

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 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 continue field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

Instance details

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 LabelSelector Source #

Optional Param "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam ListNamespacedLease FieldSelector Source #

Optional Param "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

patchNamespacedLease

patchNamespacedLease Source #

Arguments

:: (Consumes PatchNamespacedLease contentType, MimeRender contentType Body) 
=> ContentType contentType

request content-type (MimeType)

-> Accept accept

request accept (MimeType)

-> 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
Produces PatchNamespacedLease MimeYaml Source #
application/yaml
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces PatchNamespacedLease MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces PatchNamespacedLease MimeJSON Source #
application/json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Consumes PatchNamespacedLease MimeStrategicMergePatchjson Source #
application/strategic-merge-patch+json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Consumes PatchNamespacedLease MimeMergePatchjson Source #
application/merge-patch+json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Consumes PatchNamespacedLease MimeJsonPatchjson Source #
application/json-patch+json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam PatchNamespacedLease Pretty Source #

Optional Param "pretty" - If true, then the output is pretty printed.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

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 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).

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasBodyParam PatchNamespacedLease Body Source # 
Instance details

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 #

readNamespacedLease

readNamespacedLease Source #

Arguments

:: Accept accept

request accept (MimeType)

-> 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
Produces ReadNamespacedLease MimeYaml Source #
application/yaml
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ReadNamespacedLease MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ReadNamespacedLease MimeJSON Source #
application/json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam ReadNamespacedLease Pretty Source #

Optional Param "pretty" - If true, then the output is pretty printed.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Methods

applyOptionalParam :: KubernetesRequest ReadNamespacedLease contentType res accept -> Pretty -> KubernetesRequest ReadNamespacedLease contentType res accept Source #

(-&-) :: KubernetesRequest ReadNamespacedLease contentType res accept -> Pretty -> KubernetesRequest ReadNamespacedLease contentType res accept Source #

HasOptionalParam ReadNamespacedLease Export Source #

Optional Param "export" - Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Methods

applyOptionalParam :: KubernetesRequest ReadNamespacedLease contentType res accept -> Export -> KubernetesRequest ReadNamespacedLease contentType res accept Source #

(-&-) :: KubernetesRequest ReadNamespacedLease contentType res accept -> Export -> KubernetesRequest ReadNamespacedLease contentType res accept Source #

HasOptionalParam ReadNamespacedLease Exact Source #

Optional Param "exact" - Should the export be exact. Exact export maintains cluster-specific fields like Namespace. Deprecated. Planned for removal in 1.18.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Methods

applyOptionalParam :: KubernetesRequest ReadNamespacedLease contentType res accept -> Exact -> KubernetesRequest ReadNamespacedLease contentType res accept Source #

(-&-) :: KubernetesRequest ReadNamespacedLease contentType res accept -> Exact -> KubernetesRequest ReadNamespacedLease contentType res accept Source #

replaceNamespacedLease

replaceNamespacedLease Source #

Arguments

:: (Consumes ReplaceNamespacedLease contentType, MimeRender contentType V1Lease) 
=> ContentType contentType

request content-type (MimeType)

-> Accept accept

request accept (MimeType)

-> 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
Produces ReplaceNamespacedLease MimeYaml Source #
application/yaml
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ReplaceNamespacedLease MimeVndKubernetesProtobuf Source #
application/vnd.kubernetes.protobuf
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

Produces ReplaceNamespacedLease MimeJSON Source #
application/json
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

MimeType mtype => Consumes ReplaceNamespacedLease mtype Source #
*/*
Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasOptionalParam ReplaceNamespacedLease Pretty Source #

Optional Param "pretty" - If true, then the output is pretty printed.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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.

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

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

Instance details

Defined in Kubernetes.OpenAPI.API.CoordinationV1

HasBodyParam ReplaceNamespacedLease V1Lease Source # 
Instance details

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 #