MCPcopy Create free account
hub / github.com/cloudflare/cfssl / updateRemote

Method updateRemote

config/config.go:373–378  ·  view source on GitHub ↗

updateRemote takes a signing profile and initializes the remote server object to the hostname:port combination sent by remote.

(remote string)

Source from the content-addressed store, hash-verified

371// updateRemote takes a signing profile and initializes the remote server object
372// to the hostname:port combination sent by remote.
373func (p *SigningProfile) updateRemote(remote string) error {
374 if remote != "" {
375 p.RemoteServer = remote
376 }
377 return nil
378}
379
380// OverrideRemotes takes a signing configuration and updates the remote server object
381// to the hostname:port combination sent by remote

Callers 2

populateMethod · 0.95
OverrideRemotesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected