Discover Packages
github.com/openshift/hypershift
cmd
cluster
kubevirt
params
package
Version:
v0.1.46
Opens a new window with list of versions in this module.
Published: Aug 29, 2024
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".
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.