Affected by GO-2024-2688
and 1 other vulnerabilities
GO-2024-2688 : KubeVirt NULL pointer dereference flaw in kubevirt.io/kubevirt
GO-2024-2816 : kubevirt allows a local attacker to execute arbitrary code via a crafted command in kubevirt.io/kubevirt
Discover Packages
kubevirt.io/kubevirt
pkg
virtctl
create
params
package
Version:
v1.0.0-beta.0
Opens a new window with list of versions in this module.
Published: May 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Map(flagName, paramsStr string , obj interface{}) error
Map assigns the parameter value into the right struct field, which is represented by obj.
For example, if we use Map("param1", "value1", &myFlag) with MyFlag struct above, Param1 field would be
assigned with "value1".
SplitPrefixedName splits prefixedName with "/" as a separator
func Supported(obj interface{}) string
Supported returns the list of supported flags for a parameter struct. This is mainly used to show the user the
list of supported parameters
Source Files
¶
Click to show internal directories.
Click to hide internal directories.