func IsCrdAvailable(crdKind string) func() (bool, error) {
	return func() (bool, error) {
		var stdout, stderr bytes.Buffer
		err := kubectl.Run(&stdout, &stderr, "get", crdKind)

		return err == nil, nil
	}
}
// IsCrdAvailable check if given CRD name is available
IsCrdAvailable check if given CRD name is available
// IsCrdAvailable check if given CRD name is available
func IsCrdAvailable(crdKind string) func() (bool, error) {
	return func() (bool, error) {
		var stdout, stderr bytes.Buffer
		err := kubectl.Run(&stdout, &stderr, "get", crdKind)
		return err == nil, nil
	}
}
func IsCrdAvailable ( crdKind string ) func ( ) ( bool , error ) { return func ( ) ( bool , error ) { var stdout , stderr bytes . Buffer err := kubectl . Run ( & stdout , & stderr , " " , crdKind ) return err == nil , nil } }
IsCrdAvailable check if given CRD name is available
IsCrdAvailable check if given CRD name is available