Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 235 for WithKind (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinition.go

    func CustomResourceDefinition(name string) *CustomResourceDefinitionApplyConfiguration {
    	b := &CustomResourceDefinitionApplyConfiguration{}
    	b.WithName(name)
    	b.WithKind("CustomResourceDefinition")
    	b.WithAPIVersion("apiextensions.k8s.io/v1beta1")
    	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: Mon Aug 28 12:38:10 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/certificates/v1/register.go

    var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
    
    // 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 Jun 05 04:50:01 UTC 2020
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/register.go

    var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
    
    // 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: Thu Oct 24 18:21:00 UTC 2019
    - 2K bytes
    - Viewed (0)
  4. pkg/registry/apps/replicaset/storage/storage.go

    	case extensionsv1beta1.SchemeGroupVersion:
    		return extensionsv1beta1.SchemeGroupVersion.WithKind("Scale")
    	case appsv1beta1.SchemeGroupVersion:
    		return appsv1beta1.SchemeGroupVersion.WithKind("Scale")
    	case appsv1beta2.SchemeGroupVersion:
    		return appsv1beta2.SchemeGroupVersion.WithKind("Scale")
    	default:
    		return autoscalingv1.SchemeGroupVersion.WithKind("Scale")
    	}
    }
    
    // New creates a new Scale object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscaler.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(horizontalPodAutoscaler.Name)
    	b.WithNamespace(horizontalPodAutoscaler.Namespace)
    
    	b.WithKind("HorizontalPodAutoscaler")
    	b.WithAPIVersion("autoscaling/v2beta1")
    	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)
  6. staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/lease.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(lease.Name)
    	b.WithNamespace(lease.Namespace)
    
    	b.WithKind("Lease")
    	b.WithAPIVersion("coordination.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
    - 11.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhookconfiguration.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(validatingWebhookConfiguration.Name)
    
    	b.WithKind("ValidatingWebhookConfiguration")
    	b.WithAPIVersion("admissionregistration.k8s.io/v1beta1")
    	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: Wed Mar 23 17:59:55 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicaset.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(replicaSet.Name)
    	b.WithNamespace(replicaSet.Namespace)
    
    	b.WithKind("ReplicaSet")
    	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.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulset.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(statefulSet.Name)
    	b.WithNamespace(statefulSet.Namespace)
    
    	b.WithKind("StatefulSet")
    	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)
  10. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/controllerrevision.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(controllerRevision.Name)
    	b.WithNamespace(controllerRevision.Namespace)
    
    	b.WithKind("ControllerRevision")
    	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.7K bytes
    - Viewed (0)
Back to top