36643b77b4
- upgrade from apiextension v1beta1 to v1 - generate yaml manifest for crd intead of applying it at runtime - users will have to apply the manifest with kubectl - kg and kgctl log an error if the crd is not present - now validation should actually work Signed-off-by: leonnicolas <leonloechner@gmx.de>
11 lines
140 B
Go
11 lines
140 B
Go
package flect
|
|
|
|
type ruleFn func(string) string
|
|
|
|
type rule struct {
|
|
suffix string
|
|
fn ruleFn
|
|
}
|
|
|
|
func noop(s string) string { return s }
|