- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for hasn (1.3 sec)
-
istioctl/pkg/writer/ztunnel/configdump/certificates.go
) // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintSecretDump(outputFormat string) error { if c.ztunnelDump == nil { return fmt.Errorf("config writer has not been primed") } secretDump := c.ztunnelDump.Certificates out, err := json.MarshalIndent(secretDump, "", " ") if err != nil { return fmt.Errorf("failed to marshal secrets dump: %v", err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
v, ok := podLabels[me.Key] if ok { return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false } case metav1.LabelSelectorOpNotIn: v, ok := podLabels[me.Key] if !ok { continue } for _, nv := range me.Values { if nv == v { return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false } } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
// PrintEndpointsSummary prints just the endpoints config summary to the ConfigWriter stdout func (c *ConfigWriter) PrintEndpointsSummary(filter EndpointFilter) error { if c.clusters == nil { return fmt.Errorf("config writer has not been primed") } w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0) clusterEndpoint := make([]EndpointCluster, 0) for _, cluster := range c.clusters.ClusterStatuses {
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) -
istioctl/pkg/util/configdump/wrapper.go
msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}} return msg.ProtoReflect().Type(), nil } return typ, nil } // Wrapper is a wrapper around the Envoy ConfigDump // It has extra helper functions for handling any/struct/marshal protobuf pain type Wrapper struct { *admin.ConfigDump } // UnmarshalJSON is a custom unmarshaller to handle protobuf pain
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 1.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
resp = append(resp, fc) } return resp } func getMatches(f *listener.FilterChainMatch) string { match := f if match == nil { match = &listener.FilterChainMatch{} } // filterChaince also has SuffixLen, SourceType, SourcePrefixRanges which are not rendered. descrs := []string{} if len(match.ServerNames) > 0 { descrs = append(descrs, fmt.Sprintf("SNI: %s", strings.Join(match.ServerNames, ","))) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
// // We always need the IPs, but this is fine because this AddPodToMesh can be called from the CNI plugin as well, // which always has the firsthand info of the IPs, even before K8S does - so we pass them separately here because // we actually may have them before K8S in the Pod object.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
cni/pkg/install/cniconfig.go
return cniConfigFilepath, err } if cfg.chainedCNIPlugin && strings.HasSuffix(cniConfigFilepath, ".conf") { // If the old CNI config filename ends with .conf, rename it to .conflist, because it has to be changed to a list installLog.Infof("Renaming %s extension to .conflist", cniConfigFilepath) err = os.Rename(cniConfigFilepath, cniConfigFilepath+"list") if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
ns.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient} testDoAddRun(t, cniConf, testNSName, pod, ns) wasCalled := serverClose() // Pod has sidecar annotation from injector, should not be added to mesh assert.Equal(t, wasCalled, false) } func TestCmdAddPodWithGenericSidecar(t *testing.T) { url, serverClose := setupCNIEventClientWithMockServer(false)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener.go
} var err error listener, err := net.Listen("unix", path) if err != nil { return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err) } // Update file permission so that cni plugin has permission to access it. if _, err := os.Stat(path); err != nil { return nil, fmt.Errorf("cni listener file %q doesn't exist", path) } if err := os.Chmod(path, 0o666); err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.7K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// and kubelet (skippable) traffic would have the same srcip once they got to the pod, and would be indistinguishable. // // Note that SortedList is used here because the istio sets class has no order guarantees, // and our unit tests will flake if rules have a nondeterministic ordering. // CLI: -t mangle -A ISTIO_PRERT -s 169.254.7.127 -p tcp -m tcp --dport <PROBEPORT> -j ACCEPT //
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0)