Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createNamespacedNetworkPolicy :: (Consumes CreateNamespacedNetworkPolicy contentType, MimeRender contentType V1NetworkPolicy) => ContentType contentType -> Accept accept -> V1NetworkPolicy -> Namespace -> KubernetesRequest CreateNamespacedNetworkPolicy contentType V1NetworkPolicy accept
- data CreateNamespacedNetworkPolicy
- deleteCollectionNamespacedNetworkPolicy :: Consumes DeleteCollectionNamespacedNetworkPolicy contentType => ContentType contentType -> Accept accept -> Namespace -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType V1Status accept
- data DeleteCollectionNamespacedNetworkPolicy
- deleteNamespacedNetworkPolicy :: Consumes DeleteNamespacedNetworkPolicy contentType => ContentType contentType -> Accept accept -> Name -> Namespace -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType V1Status accept
- data DeleteNamespacedNetworkPolicy
- getAPIResources :: Accept accept -> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept
- data GetAPIResources
- listNamespacedNetworkPolicy :: Accept accept -> Namespace -> KubernetesRequest ListNamespacedNetworkPolicy MimeNoContent V1NetworkPolicyList accept
- data ListNamespacedNetworkPolicy
- listNetworkPolicyForAllNamespaces :: Accept accept -> KubernetesRequest ListNetworkPolicyForAllNamespaces MimeNoContent V1NetworkPolicyList accept
- data ListNetworkPolicyForAllNamespaces
- patchNamespacedNetworkPolicy :: (Consumes PatchNamespacedNetworkPolicy contentType, MimeRender contentType Body) => ContentType contentType -> Accept accept -> Body -> Name -> Namespace -> KubernetesRequest PatchNamespacedNetworkPolicy contentType V1NetworkPolicy accept
- data PatchNamespacedNetworkPolicy
- readNamespacedNetworkPolicy :: Accept accept -> Name -> Namespace -> KubernetesRequest ReadNamespacedNetworkPolicy MimeNoContent V1NetworkPolicy accept
- data ReadNamespacedNetworkPolicy
- replaceNamespacedNetworkPolicy :: (Consumes ReplaceNamespacedNetworkPolicy contentType, MimeRender contentType V1NetworkPolicy) => ContentType contentType -> Accept accept -> V1NetworkPolicy -> Name -> Namespace -> KubernetesRequest ReplaceNamespacedNetworkPolicy contentType V1NetworkPolicy accept
- data ReplaceNamespacedNetworkPolicy
Operations
NetworkingV1
createNamespacedNetworkPolicy
createNamespacedNetworkPolicy Source #
:: (Consumes CreateNamespacedNetworkPolicy contentType, MimeRender contentType V1NetworkPolicy) | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> V1NetworkPolicy | "body" |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest CreateNamespacedNetworkPolicy contentType V1NetworkPolicy accept |
POST /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies
create a NetworkPolicy
AuthMethod: AuthApiKeyBearerToken
data CreateNamespacedNetworkPolicy Source #
Instances
deleteCollectionNamespacedNetworkPolicy
deleteCollectionNamespacedNetworkPolicy Source #
:: Consumes DeleteCollectionNamespacedNetworkPolicy contentType | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType V1Status accept |
DELETE /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies
delete collection of NetworkPolicy
AuthMethod: AuthApiKeyBearerToken
data DeleteCollectionNamespacedNetworkPolicy Source #
Instances
Produces DeleteCollectionNamespacedNetworkPolicy MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces DeleteCollectionNamespacedNetworkPolicy MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces DeleteCollectionNamespacedNetworkPolicy MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
MimeType mtype => Consumes DeleteCollectionNamespacedNetworkPolicy mtype Source # | */* |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> Watch -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> Watch -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> TimeoutSeconds -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> TimeoutSeconds -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> ResourceVersion -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> ResourceVersion -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> PropagationPolicy -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> PropagationPolicy -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> Pretty -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> Pretty -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> OrphanDependents -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> OrphanDependents -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> Limit -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> Limit -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> LabelSelector -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> LabelSelector -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> GracePeriodSeconds -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> GracePeriodSeconds -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> FieldSelector -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> FieldSelector -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> DryRun -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> DryRun -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> Continue -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> Continue -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteCollectionNamespacedNetworkPolicy 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. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> AllowWatchBookmarks -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> AllowWatchBookmarks -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # | |
HasBodyParam DeleteCollectionNamespacedNetworkPolicy V1DeleteOptions Source # | |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 setBodyParam :: (Consumes DeleteCollectionNamespacedNetworkPolicy contentType, MimeRender contentType V1DeleteOptions) => KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept -> V1DeleteOptions -> KubernetesRequest DeleteCollectionNamespacedNetworkPolicy contentType res accept Source # |
deleteNamespacedNetworkPolicy
deleteNamespacedNetworkPolicy Source #
:: Consumes DeleteNamespacedNetworkPolicy contentType | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> Name | "name" - name of the NetworkPolicy |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest DeleteNamespacedNetworkPolicy contentType V1Status accept |
DELETE /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}
delete a NetworkPolicy
AuthMethod: AuthApiKeyBearerToken
data DeleteNamespacedNetworkPolicy Source #
Instances
Produces DeleteNamespacedNetworkPolicy MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces DeleteNamespacedNetworkPolicy MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces DeleteNamespacedNetworkPolicy MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
MimeType mtype => Consumes DeleteNamespacedNetworkPolicy mtype Source # | */* |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
HasOptionalParam DeleteNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> PropagationPolicy -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> PropagationPolicy -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteNamespacedNetworkPolicy Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> Pretty -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> Pretty -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> OrphanDependents -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> OrphanDependents -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> GracePeriodSeconds -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> GracePeriodSeconds -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam DeleteNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> DryRun -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> DryRun -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept Source # | |
HasBodyParam DeleteNamespacedNetworkPolicy V1DeleteOptions Source # | |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 setBodyParam :: (Consumes DeleteNamespacedNetworkPolicy contentType, MimeRender contentType V1DeleteOptions) => KubernetesRequest DeleteNamespacedNetworkPolicy contentType res accept -> V1DeleteOptions -> KubernetesRequest DeleteNamespacedNetworkPolicy 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.NetworkingV1 | |
Produces GetAPIResources MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces GetAPIResources MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 |
listNamespacedNetworkPolicy
listNamespacedNetworkPolicy Source #
:: Accept accept | request accept ( |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest ListNamespacedNetworkPolicy MimeNoContent V1NetworkPolicyList accept |
GET /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies
list or watch objects of kind NetworkPolicy
AuthMethod: AuthApiKeyBearerToken
data ListNamespacedNetworkPolicy Source #
Instances
Produces ListNamespacedNetworkPolicy MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces ListNamespacedNetworkPolicy MimeVndKubernetesProtobufstreamwatch Source # | application/vnd.kubernetes.protobuf;stream=watch |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces ListNamespacedNetworkPolicy MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces ListNamespacedNetworkPolicy MimeJsonstreamwatch Source # | application/json;stream=watch |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces ListNamespacedNetworkPolicy MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
HasOptionalParam ListNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> Watch -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> Watch -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam ListNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> TimeoutSeconds -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> TimeoutSeconds -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam ListNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> ResourceVersion -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> ResourceVersion -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam ListNamespacedNetworkPolicy Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> Pretty -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> Pretty -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam ListNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> Limit -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> Limit -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam ListNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> LabelSelector -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> LabelSelector -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam ListNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> FieldSelector -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> FieldSelector -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam ListNamespacedNetworkPolicy 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> Continue -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> Continue -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # | |
HasOptionalParam ListNamespacedNetworkPolicy 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. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> AllowWatchBookmarks -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # (-&-) :: KubernetesRequest ListNamespacedNetworkPolicy contentType res accept -> AllowWatchBookmarks -> KubernetesRequest ListNamespacedNetworkPolicy contentType res accept Source # |
listNetworkPolicyForAllNamespaces
listNetworkPolicyForAllNamespaces Source #
:: Accept accept | request accept ( |
-> KubernetesRequest ListNetworkPolicyForAllNamespaces MimeNoContent V1NetworkPolicyList accept |
GET /apis/networking.k8s.io/v1/networkpolicies
list or watch objects of kind NetworkPolicy
AuthMethod: AuthApiKeyBearerToken
data ListNetworkPolicyForAllNamespaces Source #
Instances
Produces ListNetworkPolicyForAllNamespaces MimeYaml Source # | application/yaml |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces ListNetworkPolicyForAllNamespaces MimeVndKubernetesProtobufstreamwatch Source # | application/vnd.kubernetes.protobuf;stream=watch |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces ListNetworkPolicyForAllNamespaces MimeVndKubernetesProtobuf Source # | application/vnd.kubernetes.protobuf |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces ListNetworkPolicyForAllNamespaces MimeJsonstreamwatch Source # | application/json;stream=watch |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
Produces ListNetworkPolicyForAllNamespaces MimeJSON Source # | application/json |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 | |
HasOptionalParam ListNetworkPolicyForAllNamespaces 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> Watch -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> Watch -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListNetworkPolicyForAllNamespaces 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> TimeoutSeconds -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> TimeoutSeconds -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListNetworkPolicyForAllNamespaces 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> ResourceVersion -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> ResourceVersion -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListNetworkPolicyForAllNamespaces Pretty Source # | Optional Param "pretty" - If |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> Pretty -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> Pretty -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListNetworkPolicyForAllNamespaces 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> Limit -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> Limit -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListNetworkPolicyForAllNamespaces 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> LabelSelector -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> LabelSelector -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListNetworkPolicyForAllNamespaces 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> FieldSelector -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> FieldSelector -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListNetworkPolicyForAllNamespaces 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.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> Continue -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> Continue -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # | |
HasOptionalParam ListNetworkPolicyForAllNamespaces 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. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. |
Defined in Kubernetes.OpenAPI.API.NetworkingV1 applyOptionalParam :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> AllowWatchBookmarks -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # (-&-) :: KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept -> AllowWatchBookmarks -> KubernetesRequest ListNetworkPolicyForAllNamespaces contentType res accept Source # |
patchNamespacedNetworkPolicy
patchNamespacedNetworkPolicy Source #
:: (Consumes PatchNamespacedNetworkPolicy contentType, MimeRender contentType Body) | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> Body | "body" |
-> Name | "name" - name of the NetworkPolicy |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest PatchNamespacedNetworkPolicy contentType V1NetworkPolicy accept |
PATCH /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}
partially update the specified NetworkPolicy
AuthMethod: AuthApiKeyBearerToken
data PatchNamespacedNetworkPolicy Source #
Instances
readNamespacedNetworkPolicy
readNamespacedNetworkPolicy Source #
:: Accept accept | request accept ( |
-> Name | "name" - name of the NetworkPolicy |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest ReadNamespacedNetworkPolicy MimeNoContent V1NetworkPolicy accept |
GET /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}
read the specified NetworkPolicy
AuthMethod: AuthApiKeyBearerToken
data ReadNamespacedNetworkPolicy Source #
Instances
replaceNamespacedNetworkPolicy
replaceNamespacedNetworkPolicy Source #
:: (Consumes ReplaceNamespacedNetworkPolicy contentType, MimeRender contentType V1NetworkPolicy) | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> V1NetworkPolicy | "body" |
-> Name | "name" - name of the NetworkPolicy |
-> Namespace | "namespace" - object name and auth scope, such as for teams and projects |
-> KubernetesRequest ReplaceNamespacedNetworkPolicy contentType V1NetworkPolicy accept |
PUT /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}
replace the specified NetworkPolicy
AuthMethod: AuthApiKeyBearerToken
data ReplaceNamespacedNetworkPolicy Source #