Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 235 for WithKind (0.12 sec)

  1. pkg/apis/discovery/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: Mon Aug 26 21:50:00 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  2. plugin/pkg/admission/eventratelimit/apis/eventratelimit/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: Thu May 23 18:00:06 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectreference.go

    	return &ObjectReferenceApplyConfiguration{}
    }
    
    // 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 *ObjectReferenceApplyConfiguration) WithKind(value string) *ObjectReferenceApplyConfiguration {
    	b.Kind = &value
    	return b
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  4. pkg/apis/certificates/v1alpha1/conversion.go

    */
    
    package v1alpha1
    
    import (
    	"fmt"
    
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func addConversionFuncs(scheme *runtime.Scheme) error {
    	return scheme.AddFieldLabelConversionFunc(
    		SchemeGroupVersion.WithKind("ClusterTrustBundle"),
    		func(label, value string) (string, string, error) {
    			switch label {
    			case "metadata.name", "spec.signerName":
    				return label, value, nil
    			default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 03:10:18 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go

    		return errors.NewForbidden(a.GetResource().GroupResource(), a.GetName(), fmt.Errorf("this namespace may not be deleted"))
    	}
    
    	// always allow non-namespaced resources
    	if len(a.GetNamespace()) == 0 && a.GetKind().GroupKind() != v1.SchemeGroupVersion.WithKind("Namespace").GroupKind() {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  6. pkg/apis/events/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: Sat Mar 23 04:20:49 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. pkg/apis/flowcontrol/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: Tue Oct 29 04:26:12 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  8. pkg/apis/autoscaling/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: Wed Apr 24 07:13:01 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/example2/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: Mon Nov 13 20:55:33 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go

    // apply.
    func Example(name, namespace string) *ExampleApplyConfiguration {
    	b := &ExampleApplyConfiguration{}
    	b.WithName(name)
    	b.WithNamespace(namespace)
    	b.WithKind("Example")
    	b.WithAPIVersion("cr.example.apiextensions.k8s.io/v1")
    	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.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top