Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 103 for Messages (0.27 sec)

  1. pkg/config/analysis/local/analyze_test.go

    	sa.AddDefaultResources()
    	g.Expect(sa.stores).To(HaveLen(0))
    }
    
    func TestEmptyContext(t *testing.T) {
    	fakeType := diag.NewMessageType(diag.Warning, "IST9999", "Fake message for testing")
    
    	ctx := istiodContext{
    		messages: map[string]*diag.Messages{
    			"full": {
    				diag.NewMessage(fakeType, nil),
    			},
    			"empty": {},
    		},
    	}
    	ctx.GetMessages()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 07:43:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. pkg/log/options.go

    		sort.Strings(keys)
    		s := strings.Join(keys, ", ")
    
    		stringVar(&o.outputLevels, "log_output_level", o.outputLevels,
    			fmt.Sprintf("Comma-separated minimum per-scope logging level of messages to output, in the form of "+
    				"<scope>:<level>,<scope>:<level>,... where scope can be one of [%s] and level can be one of %s",
    				s, levelListString))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. cni/pkg/plugin/cnieventclient.go

    	"istio.io/istio/cni/pkg/nodeagent"
    )
    
    // newCNIClient is a unit test override variable for mocking.
    var newCNIClient = buildClient
    
    // An udsCore write entries to an UDS server with HTTP Post. Log messages will be encoded into a JSON array.
    type CNIEventClient struct {
    	client *http.Client
    	url    string
    }
    
    func buildClient(address, path string) CNIEventClient {
    	c := &http.Client{
    		Transport: &http.Transport{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. pkg/model/xds.go

    	WorkloadAuthorizationType = APITypePrefix + "istio.security.Authorization"
    )
    
    // GetShortType returns an abbreviated form of a type, useful for logging or human friendly messages
    func GetShortType(typeURL string) string {
    	switch typeURL {
    	case ClusterType:
    		return "CDS"
    	case ListenerType:
    		return "LDS"
    	case RouteType:
    		return "RDS"
    	case EndpointType:
    		return "EDS"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. pkg/test/framework/errors/deprecations.go

    			if IsDeprecatedError(e) {
    				return true
    			}
    		}
    	}
    
    	return false
    }
    
    func (de *DeprecatedError) Error() string {
    	return de.msg
    }
    
    // FindDeprecatedMessagesInEnvoyLog looks for deprecated messages in the `logs` parameter. If found, it will return
    // a DeprecatedError. Use `extraInfo` to pass additional info, like pod namespace/name, etc.
    func FindDeprecatedMessagesInEnvoyLog(logs, extraInfo string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/authz/authorizationpolicies.go

    			}
    		}
    
    		// If AuthzPolicy is mesh-wide and selectorless,
    		// no need to keep the analysis
    		return
    	}
    
    	// If the AuthzPolicy is namespace-wide and there are present Pods,
    	// no messages should be triggered.
    	if ap.GetSelector() == nil {
    		if len(podLabelsMap[apNs]) == 0 {
    			c.Report(gvk.AuthorizationPolicy, msg.NewNoMatchingWorkloadsFound(r, ""))
    		}
    		return
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 20:57:29 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. operator/pkg/controller/istiocontrolplane/errdict.go

    )
    
    const (
    	LikelyCauseFirstPrefix  = "The likely cause is "
    	LikelyCauseSecondPrefix = "Another possible cause could be "
    )
    
    // General boilerplate.
    const (
    	// Boilerplate messages applicable all over the code base.
    
    	// Action
    	actionIfErrPersistsCheckBugList            = "If this error persists, " + actionCheckBugList
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver_test.go

    	assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid)
    	// send ack so the server doesn't wait for us.
    	sendAck(ztunClient)
    
    	// second message should be the snap sent message
    	m, fds = readRequest(t, ztunClient)
    	assert.Equal(t, len(fds), 0)
    
    	sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent
    	if sent == nil {
    		panic("expected snapshot sent")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. pkg/kube/adapter.go

    	// the admission webhook to add additional context to the audit log for this request.
    	AuditAnnotations map[string]string `json:"auditAnnotations,omitempty"`
    
    	// warnings is a list of warning messages to return to the requesting API client.
    	// Warning messages describe a problem the client making the API request should correct or be aware of.
    	// Limit warnings to 120 characters if possible.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 10 16:40:00 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/workload.go

    		w.sidecar = nil
    	}
    	return err
    }
    
    func (w *workload) checkDeprecation() error {
    	logs, err := w.sidecar.Logs()
    	if err != nil {
    		return fmt.Errorf("could not get sidecar logs to inspect for deprecation messages: %v", err)
    	}
    
    	info := fmt.Sprintf("pod: %s/%s", w.pod.Namespace, w.pod.Name)
    	return errors.FindDeprecatedMessagesInEnvoyLog(logs, info)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 19:46:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top