Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 285 for diag (0.19 sec)

  1. pkg/config/analysis/diag/messages.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 (
    	"sort"
    )
    
    // Messages is a slice of Message items.
    type Messages []Message
    
    // Add a new message to the messages
    func (ms *Messages) Add(m ...Message) {
    	*ms = append(*ms, m...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 02:47:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. pkg/config/analysis/diag/message_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 (
    	"encoding/json"
    	"fmt"
    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/url"
    )
    
    func TestMessage_String(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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. pkg/config/analysis/diag/message.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 (
    	"encoding/json"
    	"fmt"
    	"strconv"
    	"strings"
    
    	"istio.io/api/analysis/v1alpha1"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/url"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 10 02:05:07 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go

    	"crypto/tls"
    	"fmt"
    	"net"
    	"net/http"
    	"net/url"
    
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/apimachinery/third_party/forked/golang/netutil"
    	"k8s.io/klog/v2"
    )
    
    // DialURL will dial the specified URL using the underlying dialer held by the passed
    // RoundTripper. The primary use of this method is to support proxying upgradable connections.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go

    		},
    
    		"insecure, custom dial": {
    			TLSConfig: &tls.Config{InsecureSkipVerify: true},
    			Dial:      d.DialContext,
    		},
    		"secure, no roots, custom dial": {
    			TLSConfig:   &tls.Config{InsecureSkipVerify: false},
    			Dial:        d.DialContext,
    			ExpectError: "unknown authority|not trusted",
    		},
    		"secure with roots, custom dial": {
    			TLSConfig: &tls.Config{InsecureSkipVerify: false, RootCAs: roots},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/egressselector/metrics/metrics.go

    	// StageConnect indicates that the dial failed at establishing connection to the proxy server.
    	StageConnect = "connect"
    	// StageProxy indicates that the dial failed at requesting the proxy server to proxy.
    	StageProxy = "proxy"
    )
    
    var (
    	// Use buckets ranging from 5 ms to 12.5 seconds.
    	latencyBuckets = []float64{0.005, 0.025, 0.1, 0.5, 2.5, 12.5}
    
    	// Metrics provides access to all dial metrics.
    	Metrics = newDialMetrics()
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 01 23:36:51 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top