Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	}
    }
    
    func (p *exampleHandler) ValidatePlugin(pluginName string, endpoint string, versions []string) error {
    	p.SendEvent(pluginName, exampleEventValidate)
    
    	n, ok := p.DecreasePluginCount(pluginName)
    	if !ok && n > 0 {
    		return fmt.Errorf("pluginName('%s') wasn't expected (count is %d)", pluginName, n)
    	}
    
    	if !reflect.DeepEqual(versions, p.SupportedVersions) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 12:00:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top