- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 299 for Strings (0.19 sec)
-
istioctl/pkg/writer/envoy/configdump/ecds.go
package configdump import ( "fmt" "sort" "strings" "text/tabwriter" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" "sigs.k8s.io/yaml" "istio.io/istio/pkg/util/protomarshal" ) const typeURLPrefix = "type.googleapis.com/" func (c *ConfigWriter) PrintEcds(outputFormat string) error { if c.configDump == nil {
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/checkinject/checkinject.go
} return fmt.Sprintf("No matching namespace labels (%s) "+ "or pod labels (%s)", strings.Join(nsMatchedLabels, ", "), strings.Join(podMatchedLabels, ", ")) } return noMatchingReason(whs), false } func extractMatchedSelectorInfo(ls *metav1.LabelSelector, objLabels map[string]string) (matched bool, injLabel string) { if ls == nil { return true, "" } selector, err := metav1.LabelSelectorAsSelector(ls)
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) -
cni/pkg/config/config.go
// init container termination message and exit code. SidecarAnnotation string InitContainerName string InitTerminationMsg string InitExitCode int // Label and field selectors to select pods managed by race repair. LabelSelectors string FieldSelectors string } func (c InstallConfig) String() string { var b strings.Builder b.WriteString("CNINetDir: " + c.CNINetDir + "\n")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
writer io.Writer, istioNamespace string, xdsResponses map[string]*discovery.DiscoveryResponse, ) (map[string]*discovery.DiscoveryResponse, error) { for _, response := range xdsResponses { for _, resource := range response.Resources { eString := string(resource.Value) switch { case strings.Contains(eString, "You must provide a proxyID in the query string"):
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) -
cni/pkg/repair/repaircontroller.go
// If we are filtering on init container termination message and the termination message of 'state' does not match, exit trimmedTerminationMessage := strings.TrimSpace(c.cfg.InitTerminationMsg) return trimmedTerminationMessage == "" || trimmedTerminationMessage == strings.TrimSpace(state.Message) } // Helper function; checks that container exit code matches filter matchExitCode := func(state *corev1.ContainerStateTerminated) bool {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/xds/google.go
return true } func updateAuthHdrs(ctx context.Context, uri []string, kind string, creds credentials.PerRPCCredentials, dst map[string]string, dstHdr string) error { ret, err := creds.GetRequestMetadata(ctx, uri...) if err != nil { return err } for k, v := range ret { if !strings.EqualFold(k, "authorization") { if _, ok := dst[k]; ok {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Nov 14 20:23:34 GMT 2022 - 3.4K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
package plugin import ( "context" "fmt" "strings" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/log" "istio.io/istio/pkg/util/sets" ) type PodInfo struct { Containers sets.String Labels map[string]string Annotations map[string]string ProxyType string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
err = w.printSecretItemsJSON(secrets) case TABULAR: err = w.printSecretItemsTabular(secrets) } return err } var ( secretItemColumns = []string{"RESOURCE NAME", "TYPE", "STATUS", "VALID CERT", "SERIAL NUMBER", "NOT AFTER", "NOT BEFORE"} secretDiffColumns = []string{"RESOURCE NAME", "TYPE", "VALID CERT", "NODE AGENT", "PROXY", "SERIAL NUMBER", "NOT AFTER", "NOT BEFORE"} ) // printSecretItemsTabular prints the secret in table format
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 21 14:17:23 GMT 2023 - 4.1K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
cniNetDir string kubeconfigFilename string logLevel string k8sServiceHost string k8sServicePort string k8sNodeName string logUDSAddress string cniEventAddress string } func getPluginConfig(cfg *config.InstallConfig) pluginConfig { return pluginConfig{ mountedCNINetDir: cfg.MountedCNINetDir, cniConfName: cfg.CNIConfName, chainedCNIPlugin: cfg.ChainedCNIPlugin,
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) -
istioctl/pkg/writer/ztunnel/configdump/connections.go
return err } } fmt.Fprintln(c.Stdout, string(out)) return nil } func (c *ConfigWriter) PrintConnectionsSummary(filter ConnectionsFilter) error { w := c.tabwriter() d := c.ztunnelDump serviceNames := map[string]string{} workloadNames := map[string]string{} for netIP, s := range d.Services { _, ip, _ := strings.Cut(netIP, "/") serviceNames[ip] = s.Hostname }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 3.3K bytes - Viewed (0)