Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for WithKind (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top