Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for pluginwatcher (4.48 sec)

  1. pkg/kubelet/pluginmanager/cache/types.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cache
    
    import "time"
    
    // PluginHandler is an interface a client of the pluginwatcher API needs to implement in
    // order to consume plugins
    // The PluginHandler follows the simple following state machine:
    //
    //	                       +--------------------------------------+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. pkg/kubelet/pluginmanager/plugin_manager_test.go

    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/client-go/tools/record"
    	registerapi "k8s.io/kubelet/pkg/apis/pluginregistration/v1"
    
    	"k8s.io/kubernetes/pkg/kubelet/config"
    	"k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher"
    )
    
    var (
    	socketDir         string
    	supportedVersions = []string{"v1beta1", "v1beta2"}
    )
    
    type fakePluginHandler struct {
    	events []string
    	sync.RWMutex
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/dra/plugin/plugin.go

    		return nil, errors.New("timed out waiting for gRPC connection to be ready")
    	}
    
    	p.conn = conn
    	return p.conn, nil
    }
    
    // RegistrationHandler is the handler which is fed to the pluginwatcher API.
    type RegistrationHandler struct {
    	controller *nodeResourcesController
    }
    
    // NewPluginHandler returns new registration handler.
    //
    // Must only be called once per process because it manages global state.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/container_manager.go

    	// GetPodCgroupRoot returns the cgroup which contains all pods.
    	GetPodCgroupRoot() string
    
    	// GetPluginRegistrationHandler returns a plugin registration handler
    	// The pluginwatcher's Handlers allow to have a single module for handling
    	// registration.
    	GetPluginRegistrationHandler() cache.PluginHandler
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top