// NewGetWriteConnectionSecretToReference returns a NewMethod that writes a
// GetWriteConnectionSecretToReference method for the supplied Object to the
// supplied file.
NewGetWriteConnectionSecretToReference returns a NewMethod that writes a
GetWriteConnectionSecretToReference method for the supplied Object to the
supplied file.
// NewGetWriteConnectionSecretToReference returns a NewMethod that writes a // GetWriteConnectionSecretToReference method for the supplied Object to the // supplied file .
func NewGetWriteConnectionSecretToReference(receiver, core string) New {
	return func(f *jen.File, o types.Object) {
		f.Commentf("GetWriteConnectionSecretToReference of this %s.", o.Name())
		f.Func().Params(jen.Id(receiver).Op("*").Id(o.Name())).Id("GetWriteConnectionSecretToReference").Params().Qual(core, "LocalObjectReference").Block(
			jen.Return(jen.Id(receiver).Dot(fields.NameSpec).Dot("WriteConnectionSecretToReference")),
		)
	}
}
func NewGetWriteConnectionSecretToReference ( 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 ( ) . Qual ( core , " " ) . Block ( jen . Return ( jen . Id ( receiver ) . Dot ( fields . NameSpec ) . Dot ( " " ) ) , ) } }
NewGetWriteConnectionSecretToReference returns a NewMethod that writes a
GetWriteConnectionSecretToReference method for the supplied Object to the
supplied file.
NewGetWriteConnectionSecretToReference returns a NewMethod that writes a GetWriteConnectionSecretToReference method for the supplied Object to the supplied file .