MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / TestConfig

Struct TestConfig

pkg/api/testutils/mocks.go:201–209  ·  view source on GitHub ↗

TestConfig is a simple test implementation of the Config interface.

Source from the content-addressed store, hash-verified

199
200// TestConfig is a simple test implementation of the Config interface.
201type TestConfig struct {
202 Addr string
203 User string
204 Password string
205 Realm string
206 TokenID string
207 TokenSecret string
208 Insecure bool
209}
210
211func (c *TestConfig) GetAddr() string { return c.Addr }
212func (c *TestConfig) GetUser() string { return c.User }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected