• Michail Kargakis's avatar
    kubectl: Validate flag usage against generators · 71934b76
    Michail Kargakis authored
    This commit moves the generators into separate buckets and creates
    separate calls for each one group. This helps in providing just the
    necessary generators to each generator command.
    
    Validation of flags against generators is also added so that flags
    that are not meant to be used with a specific generator will result
    in error.
    71934b76
generate.go 5.36 KB