MCPcopy Create free account
hub / github.com/cloudbase/garm / WithBasePath

Method WithBasePath

client/garm_api_client.go:123–126  ·  view source on GitHub ↗

WithBasePath overrides the default basePath, provided by the meta section of the spec file.

(basePath string)

Source from the content-addressed store, hash-verified

121// WithBasePath overrides the default basePath,
122// provided by the meta section of the spec file.
123func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig {
124 cfg.BasePath = basePath
125 return cfg
126}
127
128// WithSchemes overrides the default schemes,
129// provided by the meta section of the spec file.

Callers 2

SetupSuiteMethod · 0.80
initAPIClientFunction · 0.80

Calls

no outgoing calls

Tested by 1

SetupSuiteMethod · 0.64