func (o loggableGitCloneOptions) MarshalZerologObject(e *zerolog.Event) {
	if o.URL != "" {
		e.Str("URL", o.URL)
	}
	if o.Auth != nil {
		e.Stringer("Auth", o.Auth)
	}
	if o.RemoteName != "" {
		e.Str("RemoteName", o.RemoteName)
	}
	if o.ReferenceName != "" {
		e.Stringer("ReferenceName", o.ReferenceName)
	}
	if o.SingleBranch {
		e.Bool("SingleBranch", o.SingleBranch)
	}
	if o.NoCheckout {
		e.Bool("NoCheckout", o.NoCheckout)
	}
	if o.Depth != 0 {
		e.Int("Depth", o.Depth)
	}
	if o.RecurseSubmodules != 0 {
		e.Uint("RecurseSubmodules", uint(o.RecurseSubmodules))
	}
	if o.Tags != 0 {
		e.Int("Tags", int(o.Tags))
	}
	if o.InsecureSkipTLS {
		e.Bool("InsecureSkipTLS", o.InsecureSkipTLS)
	}
	if o.CABundle != nil {
		e.Bytes("CABundle", o.CABundle)
	}
}
// MarshalZerologObject implements
// github.com/rs/zerolog.LogObjectMarshaler.MarshalZerologObject.
//
// We cannot use zerolog's default object marshaler because it logs the auth
// credentials.
MarshalZerologObject implements
github.com/rs/zerolog.LogObjectMarshaler.MarshalZerologObject.

We cannot use zerolog's default object marshaler because it logs the auth
credentials.
// MarshalZerologObject implements // github . com / rs / zerolog . LogObjectMarshaler . MarshalZerologObject . // // We cannot use zerolog ' s default object marshaler because it logs the auth // credentials .
func (o loggableGitCloneOptions) MarshalZerologObject(e *zerolog.Event) {
	if o.URL != "" {
		e.Str("URL", o.URL)
	}
	if o.Auth != nil {
		e.Stringer("Auth", o.Auth)
	}
	if o.RemoteName != "" {
		e.Str("RemoteName", o.RemoteName)
	}
	if o.ReferenceName != "" {
		e.Stringer("ReferenceName", o.ReferenceName)
	}
	if o.SingleBranch {
		e.Bool("SingleBranch", o.SingleBranch)
	}
	if o.NoCheckout {
		e.Bool("NoCheckout", o.NoCheckout)
	}
	if o.Depth != 0 {
		e.Int("Depth", o.Depth)
	}
	if o.RecurseSubmodules != 0 {
		e.Uint("RecurseSubmodules", uint(o.RecurseSubmodules))
	}
	if o.Tags != 0 {
		e.Int("Tags", int(o.Tags))
	}
	if o.InsecureSkipTLS {
		e.Bool("InsecureSkipTLS", o.InsecureSkipTLS)
	}
	if o.CABundle != nil {
		e.Bytes("CABundle", o.CABundle)
	}
}
func ( o loggableGitCloneOptions ) MarshalZerologObject ( e * zerolog . Event ) { if o . URL != " " { e . Str ( " " , o . URL ) } if o . Auth != nil { e . Stringer ( " " , o . Auth ) } if o . RemoteName != " " { e . Str ( " " , o . RemoteName ) } if o . ReferenceName != " " { e . Stringer ( " " , o . ReferenceName ) } if o . SingleBranch { e . Bool ( " " , o . SingleBranch ) } if o . NoCheckout { e . Bool ( " " , o . NoCheckout ) } if o . Depth != 0 { e . Int ( " " , o . Depth ) } if o . RecurseSubmodules != 0 { e . Uint ( " " , uint ( o . RecurseSubmodules ) ) } if o . Tags != 0 { e . Int ( " " , int ( o . Tags ) ) } if o . InsecureSkipTLS { e . Bool ( " " , o . InsecureSkipTLS ) } if o . CABundle != nil { e . Bytes ( " " , o . CABundle ) } }
MarshalZerologObject implements
github.com/rs/zerolog.LogObjectMarshaler.MarshalZerologObject.
MarshalZerologObject implements github . com / rs / zerolog . LogObjectMarshaler . MarshalZerologObject .