- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for sortBy (0.15 sec)
-
istioctl/pkg/util/handlers/handlers.go
} // We need to pass in a sorter, and the one used by `kubectl logs` is good enough. sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) } timeout := 2 * time.Second if getFirstPodFunc == nil { getFirstPodFunc = polymorphichelpers.GetFirstPod } pod, _, err := getFirstPodFunc(client, namespace, selector, timeout, sortBy) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
return nil, fmt.Errorf("unexpected request") } }), } getFirstPodFunc = func(client corev1client.PodsGetter, namespace string, selector string, timeout time.Duration, sortBy func([]*corev1.Pod) sort.Interface) ( *corev1.Pod, int, error, ) { return attachPod(namespace), 1, nil } for _, tt := range tests { t.Run(strings.Split(tt.name, ".")[0], func(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Jan 14 02:41:27 GMT 2023 - 2.6K bytes - Viewed (0) -
istioctl/pkg/util/configdump/listener.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "sort" admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3" v3 "istio.io/istio/pilot/pkg/xds/v3" )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 2.5K bytes - Viewed (1) -
common/Makefile.common.mk
# help works by looking over all Makefile includes matching `target: ## comment` regex and outputting them help: ## Show this help @egrep -h '^[a-zA-Z_\.-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 02 20:07:36 GMT 2024 - 5.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
verifiedWorkloads := make([]*ZtunnelWorkload, 0, len(zDump.Workloads)) for _, wl := range zDump.Workloads { if filter.Verify(wl) { verifiedWorkloads = append(verifiedWorkloads, wl) } } // Sort by name, node sort.Slice(verifiedWorkloads, func(i, j int) bool { in := verifiedWorkloads[i].Namespace + "." + verifiedWorkloads[i].Name jn := verifiedWorkloads[j].Namespace + "." + verifiedWorkloads[j].Name if in != jn {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
// See the License for the specific language governing permissions and // limitations under the License. package authz import ( "fmt" "io" "regexp" "sort" "strings" "text/tabwriter" listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3" rbacpb "github.com/envoyproxy/go-control-plane/envoy/config/rbac/v3"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "encoding/json" "fmt" "sort" "strings" "text/tabwriter" cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3" "sigs.k8s.io/yaml" "istio.io/istio/istioctl/pkg/util/proto" "istio.io/istio/pilot/pkg/model"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
Namespace string InternalDebugAllIstiod bool } func (s *DebugWriter) PrintAll(drs map[string]*discovery.DiscoveryResponse) error { // Gather the statuses before printing so they may be sorted mappedResp := map[string]string{} for id, dr := range drs { for _, resource := range dr.Resources { if s.InternalDebugAllIstiod { mappedResp[id] = string(resource.Value) + "\n" } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
// See the License for the specific language governing permissions and // limitations under the License. package clusters import ( "encoding/json" "fmt" "io" "sort" "strconv" "strings" "text/tabwriter" admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" "sigs.k8s.io/yaml"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0)