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

Method WithSchemes

client/garm_api_client.go:130–133  ·  view source on GitHub ↗

WithSchemes overrides the default schemes, provided by the meta section of the spec file.

(schemes []string)

Source from the content-addressed store, hash-verified

128// WithSchemes overrides the default schemes,
129// provided by the meta section of the spec file.
130func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig {
131 cfg.Schemes = schemes
132 return cfg
133}
134
135// GarmAPI is a client for garm API
136type GarmAPI struct {

Callers 2

SetupSuiteMethod · 0.80
initAPIClientFunction · 0.80

Calls

no outgoing calls

Tested by 1

SetupSuiteMethod · 0.64