Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for runtimeclass (0.25 sec)

  1. pkg/apis/node/validation/validation_test.go

    	tests := []struct {
    		name        string
    		rc          node.RuntimeClass
    		expectError bool
    	}{{
    		name:        "invalid name",
    		expectError: true,
    		rc: node.RuntimeClass{
    			ObjectMeta: metav1.ObjectMeta{Name: "&!@#"},
    			Handler:    "foo",
    		},
    	}, {
    		name:        "invalid Handler name",
    		expectError: true,
    		rc: node.RuntimeClass{
    			ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    			Handler:    "&@#$",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/node/v1/zz_generated.deepcopy.go

    func (in *RuntimeClass) DeepCopy() *RuntimeClass {
    	if in == nil {
    		return nil
    	}
    	out := new(RuntimeClass)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *RuntimeClass) DeepCopyObject() runtime.Object {
    	if c := in.DeepCopy(); c != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/node/v1beta1/zz_generated.deepcopy.go

    func (in *RuntimeClass) DeepCopy() *RuntimeClass {
    	if in == nil {
    		return nil
    	}
    	out := new(RuntimeClass)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *RuntimeClass) DeepCopyObject() runtime.Object {
    	if c := in.DeepCopy(); c != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/node/v1alpha1/zz_generated.deepcopy.go

    func (in *RuntimeClass) DeepCopyInto(out *RuntimeClass) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClass.
    func (in *RuntimeClass) DeepCopy() *RuntimeClass {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. pkg/apis/node/validation/validation.go

    	"k8s.io/kubernetes/pkg/apis/core"
    	corevalidation "k8s.io/kubernetes/pkg/apis/core/validation"
    	"k8s.io/kubernetes/pkg/apis/node"
    )
    
    // ValidateRuntimeClass validates the RuntimeClass
    func ValidateRuntimeClass(rc *node.RuntimeClass) field.ErrorList {
    	allErrs := apivalidation.ValidateObjectMeta(&rc.ObjectMeta, false, apivalidation.NameIsDNSSubdomain, field.NewPath("metadata"))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/options/plugins.go

    	gc.PluginName,                           // OwnerReferencesPermissionEnforcement
    	resize.PluginName,                       // PersistentVolumeClaimResize
    	runtimeclass.PluginName,                 // RuntimeClass
    	certapproval.PluginName,                 // CertificateApproval
    	certsigning.PluginName,                  // CertificateSigning
    	ctbattest.PluginName,                    // ClusterTrustBundleAttest
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 17:20:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. pkg/kubelet/runtimeclass/runtimeclass_manager_test.go

    limitations under the License.
    */
    
    package runtimeclass_test
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    
    	"k8s.io/kubernetes/pkg/kubelet/runtimeclass"
    	rctest "k8s.io/kubernetes/pkg/kubelet/runtimeclass/testing"
    	"k8s.io/utils/pointer"
    )
    
    func TestLookupRuntimeHandler(t *testing.T) {
    	tests := []struct {
    		rcn         *string
    		expected    string
    		expectError bool
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:44:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/node/v1beta1/generated.pb.go

    }
    
    var xxx_messageInfo_Overhead proto.InternalMessageInfo
    
    func (m *RuntimeClass) Reset()      { *m = RuntimeClass{} }
    func (*RuntimeClass) ProtoMessage() {}
    func (*RuntimeClass) Descriptor() ([]byte, []int) {
    	return fileDescriptor_73bb62abe8438af4, []int{1}
    }
    func (m *RuntimeClass) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *RuntimeClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/node/v1/generated.pb.go

    }
    
    var xxx_messageInfo_Overhead proto.InternalMessageInfo
    
    func (m *RuntimeClass) Reset()      { *m = RuntimeClass{} }
    func (*RuntimeClass) ProtoMessage() {}
    func (*RuntimeClass) Descriptor() ([]byte, []int) {
    	return fileDescriptor_9007436710e7565b, []int{1}
    }
    func (m *RuntimeClass) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *RuntimeClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  10. pkg/api/node/util_test.go

    		name     string
    		template *node.RuntimeClass
    		expected []string
    	}{
    		{
    			name:     "null",
    			template: nil,
    			expected: nil,
    		},
    		{
    			name: "no warning",
    			template: &node.RuntimeClass{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "foo",
    				},
    			},
    			expected: nil,
    		},
    		{
    			name: "warning",
    			template: &node.RuntimeClass{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top