consul/ui/packages/consul-ui/app/search/predicates/service.js

12 lines
239 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export default {
Name: (item) => item.Name,
Tags: (item) => item.Tags || [],
PeerName: (item) => item.PeerName,
Partition: (item) => item.Partition,
};