Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for Messages (0.13 sec)

  1. istioctl/pkg/writer/compare/comparator.go

    		return err
    	}
    	return c.RouteDiff()
    }
    
    // nonstrictResolver is an AnyResolver that ignores unknown proto messages
    type nonstrictResolver struct{}
    
    var envoyResolver nonstrictResolver
    
    func (m *nonstrictResolver) Resolve(typeURL string) (legacyproto.Message, error) {
    	// See https://github.com/golang/protobuf/issues/747#issuecomment-437463120
    	mname := typeURL
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. pilot/pkg/model/kstatus/helper.go

    		return StatusTrue
    	default:
    		return StatusFalse
    	}
    }
    
    // WrappedStatus provides a wrapper around a status message that keeps track of whether or not any
    // changes have been made. This allows users to declarative write status, without worrying about
    // tracking changes. When read to commit (typically to Kubernetes), any messages with Dirty=false can
    // be discarded.
    type WrappedStatus struct {
    	// Status is the object that is wrapped.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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