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

Struct MockConfig

pkg/api/mock_config_test.go:4–12  ·  view source on GitHub ↗

MockConfig implements interfaces.Config for testing purposes.

Source from the content-addressed store, hash-verified

2
3// MockConfig implements interfaces.Config for testing purposes.
4type MockConfig struct {
5 Addr string
6 User string
7 Password string
8 Realm string
9 TokenID string
10 TokenSecret string
11 Insecure bool
12}
13
14func (c *MockConfig) GetAddr() string {
15 return c.Addr

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected