Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 452 for diag (0.73 sec)

  1. pkg/config/analysis/diag/messages_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package diag
    
    import (
    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/pkg/url"
    )
    
    func TestMessages_Sort(t *testing.T) {
    	g := NewWithT(t)
    
    	firstMsg := NewMessage(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. tests/integration/pilot/analyze_test.go

    package pilot
    
    import (
    	"encoding/json"
    	"fmt"
    	"strings"
    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/istioctl/pkg/analyze"
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/istioctl"
    	"istio.io/istio/pkg/test/framework/components/namespace"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    func diagnose(data []byte) string {
    	diag, err := modes.Diagnostic.Diagnose(data)
    	if err != nil {
    		// Since the input must already be well-formed CBOR, converting it to diagnostic
    		// notation should not fail.
    		util.HandleError(err)
    
    		return hex.EncodeToString(data)
    	}
    	return diag
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag.go

    		return err
    	}
    	sa.AddRunningKubeSourceWithRevision(k, revision, false)
    	res, err := sa.Analyze(make(chan struct{}))
    	if err != nil {
    		return err
    	}
    	relevantMessages := diag.Messages{}
    	for _, msg := range res.Messages.FilterOutLowerThan(diag.Error) {
    		if msg.Resource.Metadata.FullName.Name == resource.LocalName(name) {
    			relevantMessages = append(relevantMessages, msg)
    		}
    	}
    	if len(relevantMessages) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go

    			t.Errorf("%v: error decoding %v: %v", initial, string(b), err)
    		}
    		if !final.Equal(&initial) {
    			diag, err := cbor.Diagnose(b)
    			if err != nil {
    				t.Logf("failed to produce diagnostic encoding of 0x%x: %v", b, err)
    			}
    			t.Errorf("expected equal: %v, %v (cbor was '%s')", initial, final, diag)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. tools/bug-report/pkg/content/content.go

    import (
    	"fmt"
    	"strings"
    	"time"
    
    	"github.com/hashicorp/go-multierror"
    
    	"istio.io/istio/istioctl/pkg/util/formatting"
    	"istio.io/istio/pkg/config/analysis/analyzers"
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/analysis/local"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/istiomultierror"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/obj6.go

    		cmplxdest := false
    		pAs := p.As
    		var dest obj.Addr
    		if p.To.Type != obj.TYPE_REG || pAs != mov {
    			if ctxt.Arch.Family == sys.AMD64 {
    				ctxt.Diag("do not know how to handle LEA-type insn to non-register in %v with -dynlink", p)
    			}
    			cmplxdest = true
    			dest = p.To
    			p.As = mov
    			p.To.Type = obj.TYPE_REG
    			p.To.Reg = reg
    			p.To.Sym = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/analyzers_test.go

    	"istio.io/istio/pkg/config/analysis/analyzers/webhook"
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/analysis/local"
    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/config/schema/collections"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type message struct {
    	messageType *diag.MessageType
    	origin      string
    }
    
    type testCase struct {
    	name             string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    			t.Errorf("%v: error decoding %v: %v", initial, string(b), err)
    		}
    		if !final.Equal(&initial) {
    			diag, err := cbor.Diagnose(b)
    			if err != nil {
    				t.Logf("failed to produce diagnostic encoding of 0x%x: %v", b, err)
    			}
    			t.Errorf("expected equal: %v, %v (cbor was '%s')", initial, final, diag)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    			exit := 0
    			for _, res := range results {
    				if res.err != nil {
    					log.Println(res.err)
    					exit = 1
    				}
    			}
    			for _, res := range results {
    				for _, diag := range res.diagnostics {
    					analysisflags.PrintPlain(fset, diag)
    					exit = 1
    				}
    			}
    			os.Exit(exit)
    		}
    	}
    
    	os.Exit(0)
    }
    
    func readConfig(filename string) (*Config, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top