- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for midpoint (0.19 sec)
-
istioctl/pkg/writer/envoy/clusters/clusters.go
clusterEndpoint = retrieveSortedEndpointClusterSlice(clusterEndpoint) fmt.Fprintln(w, "ENDPOINT\tSTATUS\tOUTLIER CHECK\tCLUSTER") for _, ce := range clusterEndpoint { var endpoint string if ce.port != 0 { endpoint = ce.address + ":" + strconv.Itoa(ce.port) } else { endpoint = ce.address }
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/clioptions/central.go
// (Currently just --endpoint) func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) { cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"), "XDS Endpoint") cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"), "XDS Endpoint certificate directory")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig_test.go
want string wantErr bool }{ { name: "resetState.run() should throw an error if the /scopej endpoint is missing", state: &resetState{client: ctrzClientNoScopejHandler}, wantErr: true, }, { name: "logLevelState.run() should throw an error if the /scopej endpoint is missing", state: &logLevelState{ client: ctrzClientNoScopejHandler, outputLogLevel: "test:debug",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 6.2K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump.go
package configdump import ( "encoding/json" "fmt" "io" "text/tabwriter" "sigs.k8s.io/yaml" ) // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint type ConfigWriter struct { Stdout io.Writer ztunnelDump *ZtunnelDump FullDump []byte } // Prime loads the config dump into the writer ready for printing func (c *ConfigWriter) Prime(b []byte) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
} // queryDebugSynczViaAgents sends a debug/syncz xDS request via Istio Agents. // By this way, even if istioctl cannot access a specific `istiod` instance directly, // `istioctl` can access the debug endpoint. // If `all` is true, `queryDebugSynczViaAgents` iterates all the pod having a proxy // except the pods of which status information is already queried.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint_test.go
t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/endpoint/configdump.json") cw.Prime(cd) err := cw.PrintEndpointsSummary(tt.filter) assert.NoError(t, err) wantOutputFile := path.Join("testdata/endpoint", fmt.Sprintf("%s_output.txt", tt.name)) util.CompareContent(t, gotOut.Bytes(), wantOutputFile) }) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 12 02:25:59 GMT 2022 - 2.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
"-p", "tcp", "-m", "mark", "--mark", inpodTproxyMark, "-j", "ACCEPT", ) // Do not redirect app calls to back itself via Ztunnel when using the endpoint address // e.g. appN => appN by lo iptablesBuilder.AppendVersionedRule("127.0.0.1/32", "::1/128", iptableslog.UndefinedCommand, ChainInpodOutput, iptablesconstants.NAT, "!", "-d", iptablesconstants.IPVersionSpecific,
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) -
istioctl/pkg/proxyconfig/proxyconfig.go
endpointConfigCmd := &cobra.Command{ Use: "endpoint [<type>/]<name>[.<namespace>]", Short: "Retrieves endpoint configuration for the Envoy in the specified pod", Long: `Retrieve information about endpoint configuration for the Envoy instance in the specified pod.`, Example: ` # Retrieve full endpoint configuration for a given pod from Envoy. istioctl proxy-config endpoint <pod-name[.namespace]>
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
sdscompare "istio.io/istio/istioctl/pkg/writer/compare/sds" "istio.io/istio/pkg/util/protomarshal" ) // ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint type ConfigWriter struct { Stdout io.Writer configDump *configdump.Wrapper } // includeConfigType is a flag to indicate whether to include the config type in the output var includeConfigType bool
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
return false } return true } func retrieveEndpointStatus(ep *endpoint.LbEndpoint) core.HealthStatus { return ep.GetHealthStatus() } func retrieveEndpointPort(ep *endpoint.LbEndpoint) uint32 { return ep.GetEndpoint().GetAddress().GetSocketAddress().GetPortValue() } func retrieveEndpointAddress(ep *endpoint.LbEndpoint) string { addr := ep.GetEndpoint().GetAddress()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 5.6K bytes - Viewed (0)