Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for Babel (0.2 sec)

  1. cmd/metrics-v2_test.go

    	)
    	observations := []struct {
    		val   float64
    		label string
    	}{
    		{
    			val:   0.02,
    			label: labels[0],
    		},
    		{
    			val:   0.07,
    			label: labels[1],
    		},
    		{
    			val:   0.11,
    			label: labels[1],
    		},
    		{
    			val:   0.19,
    			label: labels[1],
    		},
    		{
    			val:   0.31,
    			label: labels[1],
    		},
    		{
    			val:   0.61,
    			label: labels[3],
    		},
    		{
    			val:   0.79,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/configdump.go

    		sb strings.Builder
    	)
    
    	fmt.Fprintf(&sb, "%d.%d.%d", version.GetMajorNumber(), version.GetMinorNumber(), version.GetPatch())
    	if label, ok := md[buildLabelKey]; ok {
    		fmt.Fprintf(&sb, "-%s", label.GetStringValue())
    	}
    	if status, ok := md[statusKey]; ok {
    		fmt.Fprintf(&sb, "/%s", status.GetStringValue())
    	}
    	if typ, ok := md[buildTypeKey]; ok {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. cmd/metrics-v3-types.go

    // histogram.
    //
    // `renameLabels` is a map of label names to rename. The keys are the original
    // label names and the values are the new label names.
    //
    // TODO: bucketFilter doc
    //
    // `extraLabels` are additional labels to add to each metric. They are ordered
    // label name and value pairs.
    func (m *MetricValues) SetHistogram(name MetricName, hist *prometheus.HistogramVec,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig.go

    					opts.Revision = "default"
    				}
    				if len(istiodLabelSelector) > 0 {
    					istiodLabelSelector = fmt.Sprintf("%s,%s=%s", istiodLabelSelector, label.IoIstioRev.Name, opts.Revision)
    				} else {
    					istiodLabelSelector = fmt.Sprintf("%s=%s", label.IoIstioRev.Name, opts.Revision)
    				}
    				pl, err := client.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.IstioNamespace()), istiodLabelSelector)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/util.go

    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/util"
    )
    
    func GetRevisionWebhooks(ctx context.Context, client kubernetes.Interface) ([]admitv1.MutatingWebhookConfiguration, error) {
    	webhooks, err := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{
    		LabelSelector: label.IoIstioRev.Name,
    	})
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  6. cmd/metrics-v3-system-drive.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"strconv"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // label constants
    const (
    	driveL      = "drive"
    	poolIndexL  = "pool_index"
    	setIndexL   = "set_index"
    	driveIndexL = "drive_index"
    
    	apiL = "api"
    
    	sectorSize = uint64(512)
    	kib        = float64(1 << 10)
    )
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    			// choose to do so.
    			//
    			// NOTE: This is a warning and not an error because the user may not intend to label their namespace as ambient.
    			//
    			// e.g. Users are handling ambient redirection per workload rather than at the namespace level.
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    		return r
    	}()
    	codecs       = serializer.NewCodecFactory(runtimeScheme)
    	deserializer = codecs.UniversalDeserializer()
    )
    
    // GetFirstPod returns a pod matching the namespace and label selector
    // and the number of all pods that match the label selector.
    // This is forked from  polymorphichelpers.GetFirstPod to not watch and instead return an error if no pods are found
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate_test.go

    	"k8s.io/apimachinery/pkg/runtime/serializer"
    
    	"istio.io/api/label"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var (
    	defaultRevisionCanonicalWebhook = admitv1.MutatingWebhookConfiguration{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   "istio-sidecar-injector",
    			Labels: map[string]string{label.IoIstioRev.Name: "default"},
    		},
    		Webhooks: []admitv1.MutatingWebhook{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  10. cni/pkg/config/config.go

    	// The node name that the CNI DaemonSet runs on
    	NodeName string
    
    	// Key and value for broken pod label
    	LabelKey   string
    	LabelValue string
    
    	// Whether to fix race condition by repairing them
    	RepairPods bool
    
    	// Whether to fix race condition by delete broken pods
    	DeletePods bool
    
    	// Whether to label broken pods
    	LabelPods bool
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top