Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddCapabilities (0.11 sec)

  1. pkg/kubelet/kuberuntime/security_context.go

    	if opts == nil {
    		return nil
    	}
    
    	capabilities := &runtimeapi.Capability{
    		AddCapabilities:  make([]string, len(opts.Add)),
    		DropCapabilities: make([]string, len(opts.Drop)),
    	}
    	for index, value := range opts.Add {
    		capabilities.AddCapabilities[index] = string(value)
    	}
    	for index, value := range opts.Drop {
    		capabilities.DropCapabilities[index] = string(value)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top