INNER CODE UNIT · JavaScript
Selector
astefanutti/kubebox · lib/client.js:114
const Selector = T => class extends T {
fieldSelector(selector) {
const uri = URI('').addQuery('fieldSelector', selector);
merge(this.options, { path: uri.toString() });
return this;
}
labelSelector(selector) {
const uri = URI('').addQuery('labelSelector', selector);
merge(this.options, { path: uri.toString() });
return this;
}
};
const Limit = T => class extends T {
// we may want to add a continue method to handle continued request if needed