Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OtherAttributes (0.13 sec)

  1. pkg/volume/plugins.go

    	// It is used to generate unique recycler pod name.
    	PVName string
    
    	// OtherAttributes stores config as strings.  These strings are opaque to
    	// the system and only understood by the binary hosting the plugin and the
    	// plugin itself.
    	OtherAttributes map[string]string
    
    	// ProvisioningEnabled configures whether provisioning of this plugin is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. pkg/volume/testing/testing.go

    	}
    }
    
    func ProbeVolumePlugins(config volume.VolumeConfig) []volume.VolumePlugin {
    	if _, ok := config.OtherAttributes["fake-property"]; ok {
    		return []volume.VolumePlugin{
    			&FakeVolumePlugin{
    				PluginName: "fake-plugin",
    				Host:       nil,
    				// SomeFakeProperty: config.OtherAttributes["fake-property"] -- string, may require parsing by plugin
    			},
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top