Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for WithKind (0.1 sec)

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

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(daemonSet.Name)
    	b.WithNamespace(daemonSet.Namespace)
    
    	b.WithKind("DaemonSet")
    	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
    - 12K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscaler.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(horizontalPodAutoscaler.Name)
    	b.WithNamespace(horizontalPodAutoscaler.Namespace)
    
    	b.WithKind("HorizontalPodAutoscaler")
    	b.WithAPIVersion("autoscaling/v2beta2")
    	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.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/controllerrevision.go

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

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(deployment.Name)
    	b.WithNamespace(deployment.Namespace)
    
    	b.WithKind("Deployment")
    	b.WithAPIVersion("apps/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
    - 12.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonset.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(daemonSet.Name)
    	b.WithNamespace(daemonSet.Namespace)
    
    	b.WithKind("DaemonSet")
    	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.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscaler.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(horizontalPodAutoscaler.Name)
    	b.WithNamespace(horizontalPodAutoscaler.Namespace)
    
    	b.WithKind("HorizontalPodAutoscaler")
    	b.WithAPIVersion("autoscaling/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.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscaler.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(horizontalPodAutoscaler.Name)
    	b.WithNamespace(horizontalPodAutoscaler.Namespace)
    
    	b.WithKind("HorizontalPodAutoscaler")
    	b.WithAPIVersion("autoscaling/v2")
    	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.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(cronJob.Name)
    	b.WithNamespace(cronJob.Namespace)
    
    	b.WithKind("CronJob")
    	b.WithAPIVersion("batch/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
    - 11.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(configMap.Name)
    	b.WithNamespace(configMap.Namespace)
    
    	b.WithKind("ConfigMap")
    	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.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    			if kind.Group != src.Group {
    				continue
    			}
    			if len(kind.Kind) > 0 && kind.Kind != src.Kind {
    				continue
    			}
    			return v.target.WithKind(src.Kind), true
    		}
    	}
    	if v.coerce && len(kinds) > 0 {
    		return v.target.WithKind(kinds[0].Kind), true
    	}
    	return schema.GroupVersionKind{}, false
    }
    
    // Identifier implements GroupVersioner interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top