Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 119 for runtimeclass (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/registry/node/rest/runtime_class.go

    	serverstorage "k8s.io/apiserver/pkg/server/storage"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	nodeinternal "k8s.io/kubernetes/pkg/apis/node"
    	runtimeclassstorage "k8s.io/kubernetes/pkg/registry/node/runtimeclass/storage"
    )
    
    // RESTStorageProvider is a REST storage provider for node.k8s.io
    type RESTStorageProvider struct{}
    
    // NewRESTStorage returns a RESTStorageProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 14:40:26 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/node/v1beta1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *RuntimeClass) APILifecycleIntroduced() (major, minor int) {
    	return 1, 13
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__node.k8s.io__v1_openapi.json

              }
            },
            "type": "object"
          },
          "io.k8s.api.node.v1.RuntimeClass": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 122.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/node/v1alpha1/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_a8fee97bf5273e47, []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
    - 40.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    		rcn             *string
    		expectedHandler string
    		expectError     bool
    	}{
    		"unspecified RuntimeClass": {rcn: nil, expectedHandler: ""},
    		"valid RuntimeClass":       {rcn: pointer.String(rctest.SandboxRuntimeClass), expectedHandler: rctest.SandboxRuntimeHandler},
    		"missing RuntimeClass":     {rcn: pointer.String("phantom"), expectError: true},
    	}
    	for name, test := range tests {
    		t.Run(name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/node/v1/register.go

    	AddToScheme = SchemeBuilder.AddToScheme
    )
    
    // addKnownTypes adds the list of known types to api.Scheme.
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&RuntimeClass{},
    		&RuntimeClassList{},
    	)
    
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 11 19:22:32 UTC 2020
    - 1.7K bytes
    - Viewed (0)
Back to top