Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for constants (0.14 sec)

  1. cni/pkg/nodeagent/informers_test.go

    			UID:       "1234",
    			Labels:    map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone},
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   "test",
    			Labels: map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient},
    		},
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    		CNINetDir:        viper.GetString(constants.CNINetDir),
    		MountedCNINetDir: viper.GetString(constants.MountedCNINetDir),
    		CNIConfName:      viper.GetString(constants.CNIConfName),
    		ChainedCNIPlugin: viper.GetBool(constants.ChainedCNIPlugin),
    
    		CNINetworkConfigFile: viper.GetString(constants.CNINetworkConfigFile),
    		CNINetworkConfig:     viper.GetString(constants.CNINetworkConfig),
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    	pod, ns := buildFakePodAndNSForClient()
    
    	app := corev1.Container{Name: "app"}
    	ns.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient}
    	pod.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone}
    	pod.Spec.Containers = []corev1.Container{app}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    // or support for sparse files.
    //
    // The Writer currently provides no support for sparse files.
    type Format int
    
    // Constants to identify various tar formats.
    const (
    	// Deliberately hide the meaning of constants from public API.
    	_ Format = (1 << iota) / 4 // Sequence of 0, 0, 1, 2, 4, 8, etc...
    
    	// FormatUnknown indicates that the format is unknown.
    	FormatUnknown
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    func fakeInstallOperator(reconciler *helmreconciler.HelmReconciler, chartSource chartSourceType) error {
    	ocArgs := &operatorCommonArgs{
    		manifestsPath:     string(chartSource),
    		istioNamespace:    constants.IstioSystemNamespace,
    		watchedNamespaces: constants.IstioSystemNamespace,
    		operatorNamespace: operatorDefaultNamespace,
    		// placeholders, since the fake API server does not actually pull images and create pods.
    		hub: "fake hub",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. cni/test/install_cni.go

    	} else {
    		preConfFile = resultFileName
    	}
    	setEnv(cniNetworkConfigName, cniNetworkConfig, t)
    
    	// disable monitoring & uds logging
    	viper.Set(constants.MonitoringPort, 0)
    	viper.Set(constants.LogUDSAddress, "")
    	viper.Set(constants.RepairEnabled, false)
    
    	ctx, cancel := context.WithCancel(context.Background())
    	wg := sync.WaitGroup{}
    	wg.Add(1)
    	defer func() {
    		cancel()
    		wg.Wait()
    	}()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload_test.go

    			}
    			continue
    		}
    		if checkGolden {
    			t.Run(f.Name(), func(t *testing.T) {
    				contents := util.ReadFile(t, path.Join(testdir, f.Name()))
    				goldenFile := path.Join(testdir, f.Name()+goldenSuffix)
    				util.RefreshGoldenFile(t, contents, goldenFile)
    				util.CompareContent(t, contents, goldenFile)
    			})
    		}
    	}
    }
    
    func TestConvertToMap(t *testing.T) {
    	tests := []struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. src/archive/zip/struct.go

    	dataDescriptor64Len      = 24         // two uint32: signature, crc32 | two uint64: compressed size, size
    	directory64LocLen        = 20         //
    	directory64EndLen        = 56         // + extra
    
    	// Constants for the first byte in CreatorVersion.
    	creatorFAT    = 0
    	creatorUnix   = 3
    	creatorNTFS   = 11
    	creatorVFAT   = 14
    	creatorMacOSX = 19
    
    	// Version numbers.
    	zipVersion20 = 20 // 2.0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  9. internal/event/target/nats.go

    	NATSClientCert    = "client_cert"
    	NATSClientKey     = "client_key"
    
    	// Streaming constants - deprecated
    	NATSStreaming                   = "streaming"
    	NATSStreamingClusterID          = "streaming_cluster_id"
    	NATSStreamingAsync              = "streaming_async"
    	NATSStreamingMaxPubAcksInFlight = "streaming_max_pub_acks_in_flight"
    
    	// JetStream constants
    	NATSJetStream = "jetstream"
    
    	EnvNATSEnable        = "MINIO_NOTIFY_NATS_ENABLE"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret.go

    	flagset.StringVar(&o.ServiceAccountName, "service-account", "",
    		"Create a secret with this service account's credentials. Default value is \""+
    			constants.DefaultServiceAccountName+"\" if --type is \"remote\", \""+
    			constants.DefaultConfigServiceAccountName+"\" if --type is \"config\".")
    	flagset.BoolVar(&o.CreateServiceAccount, "create-service-account", true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
Back to top