Interface: ApiListOptions
Defined in: lib/k8s/KubeObject.ts:744
QueryParamaters is a map of query parameters for the Kubernetes API.
Extends
Properties
allowWatchBookmarks?
optional allowWatchBookmarks?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:99
allowWatchBookmarks means watch events with type "BOOKMARK" will also be sent.
Can be 'true'
See
https://kubernetes.io/docs/reference/using-api/api-concepts/#watch-bookmarks
Inherited from
QueryParameters.allowWatchBookmarks
cluster?
optional cluster?: string;
Defined in: lib/k8s/KubeObject.ts:755
The cluster to list objects from. By default uses the current cluster being viewed. If clusters is set, then we use that and "cluster" is ignored.
clusters?
optional clusters?: string[];
Defined in: lib/k8s/KubeObject.ts:748
The clusters to list objects from. By default uses the current clusters being viewed.
continue?
optional continue?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:47
Continue token for paging through large result sets.
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.
See
https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks
Inherited from
dryRun?
optional dryRun?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:54
dryRun causes apiserver to simulate the request, and report whether the object would be modified. Can be '' or 'All'
See
https://kubernetes.io/docs/reference/using-api/api-concepts/#dry-run
Inherited from
fieldSelector?
optional fieldSelector?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:60
fieldSeletor restricts the list of returned objects by their fields. Defaults to everything.
See
https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/
Inherited from
labelSelector?
optional labelSelector?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:67
labelSelector restricts the list of returned objects by their labels. Defaults to everything.
See
- https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
- https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
Inherited from
limit?
optional limit?: string | number;
Defined in: lib/k8s/api/v1/queryParameters.ts:84
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.
See
https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks
Inherited from
namespace?
optional namespace?: string | string[];
Defined in: lib/k8s/KubeObject.ts:750
The namespace to list objects from.
pretty?
optional pretty?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:119
If 'true', then the output is pretty printed. Can be '' or 'true'
See
https://kubernetes.io/docs/reference/using-api/api-concepts/#output-options
Inherited from
resourceVersion?
optional resourceVersion?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:92
resourceVersion sets a constraint on what resource versions a request may be served from. Defaults to unset
See
- https://kubernetes.io/docs/reference/using-api/api-concepts/#efficient-detection-of-changes
- https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions
Inherited from
QueryParameters.resourceVersion
resourceVersionMatch?
optional resourceVersionMatch?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:113
The resource version to match.
See
https://kubernetes.io/docs/reference/using-api/api-concepts/#semantics-for-get-and-list
Inherited from
QueryParameters.resourceVersionMatch
sendInitialEvents?
optional sendInitialEvents?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:107
sendInitialEvents controls whether the server will send the events for a watch before sending the current list state.
Can be 'true'.
See
https://kubernetes.io/docs/reference/using-api/api-concepts/#streaming-lists
Inherited from
QueryParameters.sendInitialEvents
watch?
optional watch?: string;
Defined in: lib/k8s/api/v1/queryParameters.ts:126
watch instead of a list or get, watch for changes to the requested object(s).
Can be 1.
See
https://kubernetes.io/docs/reference/using-api/api-concepts/#efficient-detection-of-changes