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

Function NewServer

api/client/client.go:54–56  ·  view source on GitHub ↗

NewServer sets up a new server target. The address should be of The format [protocol:]name[:port] of the remote CFSSL instance. If no protocol is given http is default. If no port is specified, the CFSSL default port (8888) is used. If the name is a comma-separated list of hosts, an ordered group wi

(addr string)

Source from the content-addressed store, hash-verified

52// is specified, the CFSSL default port (8888) is used. If the name is
53// a comma-separated list of hosts, an ordered group will be returned.
54func NewServer(addr string) Remote {
55 return NewServerTLS(addr, nil)
56}
57
58// NewServerTLS is the TLS version of NewServer
59func NewServerTLS(addr string, tlsConfig *tls.Config) Remote {

Callers 6

cfsslIsAvailableFunction · 0.92
TestNewServerFunction · 0.85
TestInvalidPortFunction · 0.85
TestAuthSignFunction · 0.85
TestSignFunction · 0.85
TestNewServerGroupFunction · 0.85

Calls 1

NewServerTLSFunction · 0.85

Tested by 6

cfsslIsAvailableFunction · 0.74
TestNewServerFunction · 0.68
TestInvalidPortFunction · 0.68
TestAuthSignFunction · 0.68
TestSignFunction · 0.68
TestNewServerGroupFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…