Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WithKind (0.49 sec)

  1. pkg/controller/statefulset/stateful_set.go

    	"k8s.io/klog/v2"
    )
    
    // controllerKind contains the schema.GroupVersionKind for this controller type.
    var controllerKind = apps.SchemeGroupVersion.WithKind("StatefulSet")
    
    // podKind contains the schema.GroupVersionKind for pods.
    var podKind = v1.SchemeGroupVersion.WithKind("Pod")
    
    // StatefulSetController controls statefulsets.
    type StatefulSetController struct {
    	// client interface
    	kubeClient clientset.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    	controllerName := "<none>"
    	if controllerRef != nil {
    		withKind := true
    		gv, err := schema.ParseGroupVersion(controllerRef.APIVersion)
    		if err != nil {
    			return nil, err
    		}
    		gvk := gv.WithKind(controllerRef.Kind)
    		controllerName = formatResourceName(gvk.GroupKind(), controllerRef.Name, withKind)
    	}
    	revision := obj.Revision
    	age := translateTimestampSince(obj.CreationTimestamp)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	// CreateOptions or UpdateOptions types, so we can update the converter.
    	for i := 0; i < 20; i++ {
    		in := &metav1.UpdateOptions{}
    		f.Fuzz(in)
    		in.TypeMeta.SetGroupVersionKind(metav1.SchemeGroupVersion.WithKind("CreateOptions"))
    
    		out := newCreateOptionsFromUpdateOptions(in)
    
    		// This sequence is intending to elide type information, but produce an
    		// intermediate structure (map) that can be manually patched up to make
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/utils/clock"
    	"k8s.io/utils/ptr"
    )
    
    // controllerKind contains the schema.GroupVersionKind for this controller type.
    var controllerKind = batch.SchemeGroupVersion.WithKind("Job")
    
    var (
    	// syncJobBatchPeriod is the batch period for controller sync invocations for a Job.
    	syncJobBatchPeriod = time.Second
    	// DefaultJobApiBackOff is the default API backoff period. Exported for tests.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top