Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for csiNode (0.13 sec)

  1. pkg/scheduler/framework/plugins/nodevolumelimits/utils.go

    )
    
    // isCSIMigrationOn returns a boolean value indicating whether
    // the CSI migration has been enabled for a particular storage plugin.
    func isCSIMigrationOn(csiNode *storagev1.CSINode, pluginName string) bool {
    	if csiNode == nil || len(pluginName) == 0 {
    		return false
    	}
    
    	// In-tree storage to CSI driver migration feature should be enabled,
    	// along with the plugin-specific one
    	switch pluginName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. pkg/scheduler/testing/framework/fake_listers.go

    // CSINodeLister declares a storagev1.CSINode type for testing.
    type CSINodeLister []storagev1.CSINode
    
    // Get returns a fake CSINode object.
    func (n CSINodeLister) Get(name string) (*storagev1.CSINode, error) {
    	for _, cn := range n {
    		if cn.Name == name {
    			return &cn, nil
    		}
    	}
    	return nil, errors.NewNotFound(storagev1.Resource("csinodes"), name)
    }
    
    // List lists all CSINodes in the indexer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. pkg/apis/storage/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.CSINode)(nil), (*storage.CSINode)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_CSINode_To_storage_CSINode(a.(*v1.CSINode), b.(*storage.CSINode), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*storage.CSINode)(nil), (*v1.CSINode)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 39.2K bytes
    - Viewed (0)
  4. pkg/apis/storage/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta1.CSINode)(nil), (*storage.CSINode)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_CSINode_To_storage_CSINode(a.(*v1beta1.CSINode), b.(*storage.CSINode), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*storage.CSINode)(nil), (*v1beta1.CSINode)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 41K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_plugin.go

    		return nil
    	}
    	kubeClient := host.GetKubeClient()
    	if kubeClient == nil {
    		// Kubelet running in standalone mode. Skip CSINode initialization
    		klog.Warning("Skipping CSINode initialization, kubelet running in standalone mode")
    		return nil
    	}
    
    	kvh.SetKubeletError(errors.New("CSINode is not yet initialized"))
    
    	go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go

    func (in *CSINode) DeepCopyInto(out *CSINode) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
    func (in *CSINode) DeepCopy() *CSINode {
    	if in == nil {
    		return nil
    	}
    	out := new(CSINode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/storage/v1beta1/generated.proto

    }
    
    // DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode.
    // See the release notes for more information.
    // CSINode holds information about all CSI drivers installed on a node.
    // CSI drivers do not need to create the CSINode object directly. As long as
    // they use the node-driver-registrar sidecar container, the kubelet will
    // automatically populate the CSINode object for the CSI driver as part of
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go

    	"":         "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:18:43 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  9. pkg/apis/storage/validation/validation.go

    	}
    
    	return allErrs
    }
    
    // ValidateCSINode validates a CSINode.
    func ValidateCSINode(csiNode *storage.CSINode, validationOpts CSINodeValidationOptions) field.ErrorList {
    	allErrs := apivalidation.ValidateObjectMeta(&csiNode.ObjectMeta, false, apivalidation.ValidateNodeName, field.NewPath("metadata"))
    	allErrs = append(allErrs, validateCSINodeSpec(&csiNode.Spec, field.NewPath("spec"), validationOpts)...)
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 00:47:13 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1/zz_generated.deepcopy.go

    func (in *CSINode) DeepCopyInto(out *CSINode) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
    func (in *CSINode) DeepCopy() *CSINode {
    	if in == nil {
    		return nil
    	}
    	out := new(CSINode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 17.1K bytes
    - Viewed (0)
Back to top