prow/git/git.go
func (c *Client) SetCredentials(user string, tokenGenerator func() []byte) {
	c.credLock.Lock()
	defer c.credLock.Unlock()
	c.user = user
	c.tokenGenerator = tokenGenerator
}
func (c *Client) SetCredentials(user string, tokenGenerator func() []byte) {
	c.credLock.Lock()
	defer c.credLock.Unlock()
	c.user = user
	c.tokenGenerator = tokenGenerator
}
func ( c * Client ) SetCredentials ( user string , tokenGenerator func ( ) [ ] byte ) { c . credLock . Lock ( ) defer c . credLock . Unlock ( ) c . user = user c . tokenGenerator = tokenGenerator }
// SetCredentials sets credentials in the client to be used for pushing to
// or pulling from remote repositories.
SetCredentials sets credentials in the client to be used for pushing to or pulling from remote repositories .