Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 235 for WithKind (0.17 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/controllerrevision.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(controllerRevision.Name)
    	b.WithNamespace(controllerRevision.Namespace)
    
    	b.WithKind("ControllerRevision")
    	b.WithAPIVersion("apps/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
    - 12.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulset.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(statefulSet.Name)
    	b.WithNamespace(statefulSet.Namespace)
    
    	b.WithKind("StatefulSet")
    	b.WithAPIVersion("apps/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
    - 12.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicy.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(validatingAdmissionPolicy.Name)
    
    	b.WithKind("ValidatingAdmissionPolicy")
    	b.WithAPIVersion("admissionregistration.k8s.io/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 06 00:00:21 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhookconfiguration.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(validatingWebhookConfiguration.Name)
    
    	b.WithKind("ValidatingWebhookConfiguration")
    	b.WithAPIVersion("admissionregistration.k8s.io/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
    - 13.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/pod.go

    	b.WithNamespace(pod.Namespace)
    
    	b.WithKind("Pod")
    	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.
    // If called multiple times, the Kind field is set to the value of the last call.
    func (b *PodApplyConfiguration) WithKind(value string) *PodApplyConfiguration {
    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/core/v1/resourcequota.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(resourceQuota.Name)
    	b.WithNamespace(resourceQuota.Namespace)
    
    	b.WithKind("ResourceQuota")
    	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
    - 12.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequest.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(certificateSigningRequest.Name)
    
    	b.WithKind("CertificateSigningRequest")
    	b.WithAPIVersion("certificates.k8s.io/v1beta1")
    	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
    - 13.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/lease.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(lease.Name)
    	b.WithNamespace(lease.Namespace)
    
    	b.WithKind("Lease")
    	b.WithAPIVersion("coordination.k8s.io/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.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response_test.go

    }
    
    func (e *mockEncoder) Identifier() runtime.Identifier {
    	return runtime.Identifier("")
    }
    
    func TestCacheableObject(t *testing.T) {
    	pomGVK := metav1.SchemeGroupVersion.WithKind("PartialObjectMetadata")
    	tableGVK := metav1.SchemeGroupVersion.WithKind("Table")
    
    	status := &metav1.Status{Status: "status"}
    	pod := &examplev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "name",
    			Namespace: "namespace",
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 09:07:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/register.go

    // Kind takes an unqualified kind and returns back a Group qualified GroupKind
    func Kind(kind string) schema.GroupKind {
    	return SchemeGroupVersion.WithKind(kind).GroupKind()
    }
    
    // Resource takes an unqualified resource and returns back a Group qualified GroupResource
    func Resource(resource string) schema.GroupResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 20:51:51 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top