Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetPluginInfo (0.38 sec)

  1. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    		p := NewTestExamplePlugin(pluginName, registerapi.DevicePlugin, socketPath, supportedVersions...)
    		require.NoError(t, p.Serve("v1beta1", "v1beta2"))
    
    		pluginInfo := GetPluginInfo(p)
    		waitForRegistration(t, pluginInfo.SocketPath, dsw)
    
    		// Check the desired state for plugins
    		dswPlugins := dsw.GetPluginsToRegister()
    		if len(dswPlugins) != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin.go

    		pluginType:         pluginType,
    		endpoint:           endpoint,
    		versions:           advertisedVersions,
    		registrationStatus: make(chan registerapi.RegistrationStatus),
    	}
    }
    
    // GetPluginInfo returns a PluginInfo object
    func GetPluginInfo(plugin *examplePlugin) cache.PluginInfo {
    	return cache.PluginInfo{
    		SocketPath: plugin.endpoint,
    	}
    }
    
    // GetInfo is the RPC invoked by plugin watcher
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 10 07:44:16 UTC 2021
    - 5K bytes
    - Viewed (0)
  3. pkg/volume/csi/fake/fake_client.go

    type IdentityClient struct {
    	nextErr error
    }
    
    // SetNextError injects expected error
    func (f *IdentityClient) SetNextError(err error) {
    	f.nextErr = err
    }
    
    // GetPluginInfo returns plugin info
    func (f *IdentityClient) GetPluginInfo(ctx context.Context, in *csipb.GetPluginInfoRequest, opts ...grpc.CallOption) (*csipb.GetPluginInfoResponse, error) {
    	return nil, nil
    }
    
    // GetPluginCapabilities implements csi method
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 16K bytes
    - Viewed (0)
Back to top