// NewSetWriteConnectionSecretToReference returns a NewMethod that writes a
// SetWriteConnectionSecretToReference method for the supplied Object to the
// supplied file.
NewSetWriteConnectionSecretToReference returns a NewMethod that writes a
SetWriteConnectionSecretToReference method for the supplied Object to the
supplied file.
// NewSetWriteConnectionSecretToReference returns a NewMethod that writes a // SetWriteConnectionSecretToReference method for the supplied Object to the // supplied file .
func NewSetWriteConnectionSecretToReference(receiver, core string) New {
	return func(f *jen.File, o types.Object) {
		f.Commentf("SetWriteConnectionSecretToReference of this %s.", o.Name())
		f.Func().Params(jen.Id(receiver).Op("*").Id(o.Name())).Id("SetWriteConnectionSecretToReference").Params(jen.Id("r").Qual(core, "LocalObjectReference")).Block(
			jen.Id(receiver).Dot(fields.NameSpec).Dot("WriteConnectionSecretToReference").Op("=").Id("r"),
		)
	}
}
func NewSetWriteConnectionSecretToReference ( receiver , core string ) New { return func ( f * jen . File , o types . Object ) { f . Commentf ( " " , o . Name ( ) ) f . Func ( ) . Params ( jen . Id ( receiver ) . Op ( " " ) . Id ( o . Name ( ) ) ) . Id ( " " ) . Params ( jen . Id ( " " ) . Qual ( core , " " ) ) . Block ( jen . Id ( receiver ) . Dot ( fields . NameSpec ) . Dot ( " " ) . Op ( " " ) . Id ( " " ) , ) } }
NewSetWriteConnectionSecretToReference returns a NewMethod that writes a
SetWriteConnectionSecretToReference method for the supplied Object to the
supplied file.
NewSetWriteConnectionSecretToReference returns a NewMethod that writes a SetWriteConnectionSecretToReference method for the supplied Object to the supplied file .