Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for WithUID (0.1 sec)

  1. pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go

    		},
    	}
    	pod.Spec.Volumes = append(pod.Spec.Volumes, volume)
    	return pod
    }
    
    func withStatus(phase v1.PodPhase, pod *v1.Pod) *v1.Pod {
    	pod.Status.Phase = phase
    	return pod
    }
    
    func withUID(uid types.UID, pod *v1.Pod) *v1.Pod {
    	pod.ObjectMeta.UID = uid
    	return pod
    }
    
    func pvc() *v1.PersistentVolumeClaim {
    	return &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *ExampleApplyConfiguration) WithUID(value types.UID) *ExampleApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinition.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *CustomResourceDefinitionApplyConfiguration) WithUID(value types.UID) *CustomResourceDefinitionApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinition.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *CustomResourceDefinitionApplyConfiguration) WithUID(value types.UID) *CustomResourceDefinitionApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/job.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *JobApplyConfiguration) WithUID(value types.UID) *JobApplyConfiguration {
    	b.ensureObjectMetaApplyConfigurationExists()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundle.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *ClusterTrustBundleApplyConfiguration) WithUID(value types.UID) *ClusterTrustBundleApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 03:10:59 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrange.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *LimitRangeApplyConfiguration) WithUID(value types.UID) *LimitRangeApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversion.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *StorageVersionApplyConfiguration) WithUID(value types.UID) *StorageVersionApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deployment.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *DeploymentApplyConfiguration) WithUID(value types.UID) *DeploymentApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) WithUID(value types.UID) *ValidatingAdmissionPolicyBindingApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 20:51:52 UTC 2022
    - 13.3K bytes
    - Viewed (0)
Back to top