Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 235 for WithKind (0.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionnames.go

    	}
    	return b
    }
    
    // WithKind sets the Kind 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 Kind field is set to the value of the last call.
    func (b *CustomResourceDefinitionNamesApplyConfiguration) WithKind(value string) *CustomResourceDefinitionNamesApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversion.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(storageVersion.Name)
    
    	b.WithKind("StorageVersion")
    	b.WithAPIVersion("internal.apiserver.k8s.io/v1alpha1")
    	return b, nil
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deployment.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(deployment.Name)
    	b.WithNamespace(deployment.Namespace)
    
    	b.WithKind("Deployment")
    	b.WithAPIVersion("apps/v1beta2")
    	return b, nil
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(validatingAdmissionPolicyBinding.Name)
    
    	b.WithKind("ValidatingAdmissionPolicyBinding")
    	b.WithAPIVersion("admissionregistration.k8s.io/v1alpha1")
    	return b, nil
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 20:51:52 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/job.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(job.Name)
    	b.WithNamespace(job.Namespace)
    
    	b.WithKind("Job")
    	b.WithAPIVersion("batch/v1")
    	return b, nil
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    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

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(clusterTrustBundle.Name)
    
    	b.WithKind("ClusterTrustBundle")
    	b.WithAPIVersion("certificates.k8s.io/v1alpha1")
    	return b, nil
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    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

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(limitRange.Name)
    	b.WithNamespace(limitRange.Namespace)
    
    	b.WithKind("LimitRange")
    	b.WithAPIVersion("v1")
    	return b, nil
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    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. pkg/apis/batch/v1beta1/conversion.go

    	for _, k := range []string{"Job", "JobTemplate", "CronJob"} {
    		kind := k // don't close over range variables
    		err = scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.WithKind(kind),
    			func(label, value string) (string, string, error) {
    				switch label {
    				case "metadata.name", "metadata.namespace", "status.successful":
    					return label, value, nil
    				default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 03 19:47:20 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go

    				}
    				// For backwards compatibility, we need to allow existing clients to submit per group DeleteOptions
    				// It is also allowed to pass a body with meta.k8s.io/v1.DeleteOptions
    				defaultGVK := scope.MetaGroupVersion.WithKind("DeleteOptions")
    				obj, gvk, err := metainternalversionscheme.Codecs.DecoderToVersion(s.Serializer, defaultGVK.GroupVersion()).Decode(body, &defaultGVK, options)
    				if err != nil {
    					scope.err(err, w, req)
    					return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  10. pkg/apis/storagemigration/register.go

    // Kind takes an unqualified kind and returns a Group qualified GroupKind
    func Kind(kind string) schema.GroupKind {
    	return SchemeGroupVersion.WithKind(kind).GroupKind()
    }
    
    // Resource takes an unqualified resource and returns a Group qualified GroupResource
    func Resource(resource string) schema.GroupResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top