Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for ObjectReference (0.48 sec)

  1. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    		pv.Name = fmt.Sprintf("pv%d-%s-%s", i, pod.Name, pod.Namespace)
    		pv.Spec.FlexVolume = &corev1.FlexPersistentVolumeSource{SecretRef: &corev1.SecretReference{Name: fmt.Sprintf("secret-%s", pv.Name)}}
    		pv.Spec.ClaimRef = &corev1.ObjectReference{Name: fmt.Sprintf("pvc%d-%s", i, pod.Name), Namespace: pod.Namespace}
    		pvs = append(pvs, pv)
    
    		pod.Spec.Volumes = append(pod.Spec.Volumes, corev1.Volume{VolumeSource: corev1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  2. pkg/apis/batch/zz_generated.deepcopy.go

    func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
    	*out = *in
    	if in.Active != nil {
    		in, out := &in.Active, &out.Active
    		*out = make([]core.ObjectReference, len(*in))
    		copy(*out, *in)
    	}
    	if in.LastScheduleTime != nil {
    		in, out := &in.LastScheduleTime, &out.LastScheduleTime
    		*out = (*in).DeepCopy()
    	}
    	if in.LastSuccessfulTime != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go

    func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
    	*out = *in
    	if in.Active != nil {
    		in, out := &in.Active, &out.Active
    		*out = make([]corev1.ObjectReference, len(*in))
    		copy(*out, *in)
    	}
    	if in.LastScheduleTime != nil {
    		in, out := &in.LastScheduleTime, &out.LastScheduleTime
    		*out = (*in).DeepCopy()
    	}
    	if in.LastSuccessfulTime != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. pkg/apis/core/fuzzer/fuzzer.go

    	return []interface{}{
    		func(q *resource.Quantity, c fuzz.Continue) {
    			*q = *resource.NewQuantity(c.Int63n(1000), resource.DecimalExponent)
    		},
    		func(j *core.ObjectReference, c fuzz.Continue) {
    			// We have to customize the randomization of TypeMetas because their
    			// APIVersion and Kind must remain blank in memory.
    			j.APIVersion = c.RandString()
    			j.Kind = c.RandString()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. pkg/controller/volume/persistentvolume/framework_test.go

    			VolumeMode:                    &fs,
    		},
    		Status: v1.PersistentVolumeStatus{
    			Phase: phase,
    		},
    	}
    
    	if boundToClaimName != "" {
    		volume.Spec.ClaimRef = &v1.ObjectReference{
    			Kind:       "PersistentVolumeClaim",
    			APIVersion: "v1",
    			UID:        types.UID(boundToClaimUID),
    			Namespace:  testNamespace,
    			Name:       boundToClaimName,
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret_test.go

    	sa := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testServiceAccountName,
    			Namespace: testNamespace,
    		},
    	}
    
    	for _, secret := range secrets {
    		sa.Secrets = append(sa.Secrets, v1.ObjectReference{
    			Name:      secret,
    			Namespace: testNamespace,
    		})
    	}
    
    	return sa
    }
    
    func makeSecret(name, caData, token string) *v1.Secret {
    	out := &v1.Secret{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  7. pkg/controller/serviceaccount/tokens_controller.go

    		return nil
    	}
    
    	// Short-circuit if the secret is no longer referenced
    	if !getSecretReferences(serviceAccount).Has(secretName) {
    		return nil
    	}
    
    	// Remove the secret
    	secrets := []v1.ObjectReference{}
    	for _, s := range serviceAccount.Secrets {
    		if s.Name != secretName {
    			secrets = append(secrets, s)
    		}
    	}
    	serviceAccount.Secrets = secrets
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  8. pkg/volume/hostpath/host_path_test.go

    			PersistentVolumeSource: v1.PersistentVolumeSource{
    				HostPath: &v1.HostPathVolumeSource{Path: "foo", Type: newHostPathType(string(v1.HostPathDirectoryOrCreate))},
    			},
    			ClaimRef: &v1.ObjectReference{
    				Name: "claimA",
    			},
    		},
    	}
    	defer os.RemoveAll("foo")
    
    	claim := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "claimA",
    			Namespace: "nsA",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. pilot/pkg/xds/mesh_network_test.go

    			ObjectMeta: baseMeta,
    			Endpoints: []discoveryv1.Endpoint{{
    				Addresses:  []string{w.ip},
    				Conditions: discoveryv1.EndpointConditions{},
    				Hostname:   nil,
    				TargetRef: &corev1.ObjectReference{
    					APIVersion: "v1",
    					Kind:       "Pod",
    					Name:       podMeta.Name,
    					Namespace:  podMeta.Namespace,
    				},
    				DeprecatedTopology: nil,
    				NodeName:           nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/batch/v1/generated.proto

    }
    
    // CronJobStatus represents the current state of a cron job.
    message CronJobStatus {
      // A list of pointers to currently running jobs.
      // +optional
      // +listType=atomic
      repeated k8s.io.api.core.v1.ObjectReference active = 1;
    
      // Information when was the last time the job was successfully scheduled.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top