func FuzzMicroTimeStrict(b []byte) int {
	var microTimeHolder struct {
		T metav1.MicroTime `json:"t"`
	}
	if err := sigyaml.UnmarshalStrict(b, &microTimeHolder); err != nil {
		return 0
	}
	result, err := sigyaml.Marshal(&microTimeHolder)
	if err != nil {
		panic(err)
	}
	// Result is in the format "t: <time>\n", so strip off the trailing
	// newline and convert microTimeHolder.T to the expected format. If
	// time is zero, the value is marshaled to "null".
	resultStr := strings.TrimSpace(string(result[:]))
	var inputStr string
	if microTimeHolder.T.Time.IsZero() {
		inputStr = "t: null"
	} else {
		inputStr = fmt.Sprintf("t: %s", microTimeHolder.T.Time)
	}
	if resultStr != inputStr {
		panic(fmt.Sprintf("result(%v) != input(%v)", resultStr, inputStr))
	}
	return 1
}
// FuzzMicroTimeStrict is a fuzz target for strict-unmarshaling MicroTime
// defined in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks
// that the unmarshaled result can be marshaled back to the input.
FuzzMicroTimeStrict is a fuzz target for strict-unmarshaling MicroTime
defined in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks
that the unmarshaled result can be marshaled back to the input.
// FuzzMicroTimeStrict is a fuzz target for strict - unmarshaling MicroTime // defined in " k8s . io / apimachinery / pkg / apis / meta / v1 " . This target also checks // that the unmarshaled result can be marshaled back to the input .
func FuzzMicroTimeStrict(b []byte) int {
	var microTimeHolder struct {
		T metav1.MicroTime `json:"t"`
	}
	if err := sigyaml.UnmarshalStrict(b, &microTimeHolder); err != nil {
		return 0
	}
	result, err := sigyaml.Marshal(&microTimeHolder)
	if err != nil {
		panic(err)
	}
	resultStr := strings.TrimSpace(string(result[:]))
	var inputStr string
	if microTimeHolder.T.Time.IsZero() {
		inputStr = "t: null"
	} else {
		inputStr = fmt.Sprintf("t: %s", microTimeHolder.T.Time)
	}
	if resultStr != inputStr {
		panic(fmt.Sprintf("result(%v) != input(%v)", resultStr, inputStr))
	}
	return 1
}
func FuzzMicroTimeStrict ( b [ ] byte ) int { var microTimeHolder struct { T metav1 . MicroTime `json:"t"` } if err := sigyaml . UnmarshalStrict ( b , & microTimeHolder ) ; err != nil { return 0 } result , err := sigyaml . Marshal ( & microTimeHolder ) if err != nil { panic ( err ) } resultStr := strings . TrimSpace ( string ( result [ : ] ) ) var inputStr string if microTimeHolder . T . Time . IsZero ( ) { inputStr = " " } else { inputStr = fmt . Sprintf ( " " , microTimeHolder . T . Time ) } if resultStr != inputStr { panic ( fmt . Sprintf ( " " , resultStr , inputStr ) ) } return 1 }
FuzzMicroTimeStrict is a fuzz target for strict-unmarshaling MicroTime
defined in "k8s.io/apimachinery/pkg/apis/meta/v1".
FuzzMicroTimeStrict is a fuzz target for strict - unmarshaling MicroTime defined in " k8s . io / apimachinery / pkg / apis / meta / v1 " .
// Result is in the format "t: <time>\n", so strip off the trailing // newline and convert microTimeHolder.T to the expected format. If // time is zero, the value is marshaled to "null".