Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 119 for runtimeclass (0.49 sec)

  1. pkg/kubelet/runtimeclass/testing/fake_manager.go

    func StartManagerSync(m *runtimeclass.Manager) func() {
    	stopCh := make(chan struct{})
    	m.Start(stopCh)
    	m.WaitForCacheSync(stopCh)
    	return func() {
    		close(stopCh)
    	}
    }
    
    // NewRuntimeClass is a helper to generate a RuntimeClass resource with
    // the given name & handler.
    func NewRuntimeClass(name, handler string) *nodev1.RuntimeClass {
    	return &nodev1.RuntimeClass{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. pkg/registry/node/runtimeclass/doc.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 19:07:54 UTC 2019
    - 653 bytes
    - Viewed (0)
  3. api/discovery/apis__node.k8s.io__v1.json

    {
      "apiVersion": "v1",
      "groupVersion": "node.k8s.io/v1",
      "kind": "APIResourceList",
      "resources": [
        {
          "kind": "RuntimeClass",
          "name": "runtimeclasses",
          "namespaced": false,
          "singularName": "runtimeclass",
          "storageVersionHash": "WQTu1GL3T2Q=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
            "list",
            "patch",
            "update",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 466 bytes
    - Viewed (0)
  4. 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)
  5. pkg/apis/node/v1alpha1/conversion.go

    )
    
    // Convert_v1alpha1_RuntimeClass_To_node_RuntimeClass must override the automatic
    // conversion since we unnested the spec struct after v1alpha1
    func Convert_v1alpha1_RuntimeClass_To_node_RuntimeClass(in *v1alpha1.RuntimeClass, out *node.RuntimeClass, s conversion.Scope) error {
    	out.ObjectMeta = in.ObjectMeta
    	out.Handler = in.Spec.RuntimeHandler
    
    	if in.Spec.Overhead != nil {
    		out.Overhead = &node.Overhead{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 24 18:21:00 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top