Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for newConfigMap (0.18 sec)

  1. pkg/controller/bootstrap/bootstrapsigner_test.go

    			api.NamespacePublic,
    			newConfigMap(testTokenID, "eyJhbGciOiJIUzI1NiIsImtpZCI6ImFiYzEyMyJ9..QSxpUG7Q542CirTI2ECPSZjvBOJURUW5a7XqFpNI958")),
    	}
    
    	verifyActions(t, expected, cl.Actions())
    }
    
    func TestNoSignNeeded(t *testing.T) {
    	signer, cl, secrets, configMaps, err := newSigner()
    	if err != nil {
    		t.Fatalf("error creating Signer: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. pkg/registry/core/configmap/strategy.go

    func (strategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (strategy) PrepareForUpdate(ctx context.Context, newObj, oldObj runtime.Object) {
    	oldConfigMap := oldObj.(*api.ConfigMap)
    	newConfigMap := newObj.(*api.ConfigMap)
    	dropDisabledFields(newConfigMap, oldConfigMap)
    }
    
    func (strategy) ValidateUpdate(ctx context.Context, newObj, oldObj runtime.Object) field.ErrorList {
    	oldCfg, newCfg := oldObj.(*api.ConfigMap), newObj.(*api.ConfigMap)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. pkg/kubelet/configmap/configmap_manager.go

    	}
    	watchConfigMap := func(namespace string, opts metav1.ListOptions) (watch.Interface, error) {
    		return kubeClient.CoreV1().ConfigMaps(namespace).Watch(context.TODO(), opts)
    	}
    	newConfigMap := func() runtime.Object {
    		return &v1.ConfigMap{}
    	}
    	isImmutable := func(object runtime.Object) bool {
    		if configMap, ok := object.(*v1.ConfigMap); ok {
    			return configMap.Immutable != nil && *configMap.Immutable
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/configmap.go

    }
    
    type meshConfig struct {
    	configMap
    	meshConfig *meshconfig.MeshConfig
    }
    
    type injectConfig struct {
    	configMap
    	injectConfig *inject.Config
    	values       *inject.ValuesConfig
    }
    
    func newConfigMap(ctx resource.Context, namespace string, revisions resource.RevVerMap) *configMap {
    	return &configMap{
    		ctx:       ctx,
    		namespace: namespace,
    		revisions: revisions,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/kube.go

    		values:               iop.Spec.Values.Fields,
    		installer:            newInstaller(ctx, workDir),
    		meshConfig:           &meshConfig{configMap: *newConfigMap(ctx, cfg.SystemNamespace, revisions)},
    		injectConfig:         &injectConfig{configMap: *newConfigMap(ctx, cfg.SystemNamespace, revisions)},
    		iopFiles:             iopFiles,
    		ingress:              map[string]map[string]ingress.Instance{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation_test.go

    		emptyNs                 = newConfigMap("validname", "", nil, nil)
    		invalidNs               = newConfigMap("validname", "NoUppercaseOrSpecialCharsLike=Equals", nil, nil)
    		invalidKey              = newConfigMap("validname", "validns", map[string]string{"a*b": "value"}, nil)
    		leadingDotKey           = newConfigMap("validname", "validns", map[string]string{".ab": "value"}, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top