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

Method GetPassword

pkg/api/interfaces/interfaces.go:88–88  ·  view source on GitHub ↗

GetPassword returns the password for password-based authentication. Returns empty string if using token authentication.

()

Source from the content-addressed store, hash-verified

86 // GetPassword returns the password for password-based authentication.
87 // Returns empty string if using token authentication.
88 GetPassword() string
89
90 // GetRealm returns the authentication realm (e.g., "pam", "pve").
91 GetRealm() string

Callers 4

NewClientFunction · 0.65
TestConfigAdapterFunction · 0.65

Implementers 6

MockConfigpkg/api/mock_config_test.go
ExampleConfigpkg/api/example_usage.go
MockConfigpkg/api/testutils/mocks.go
TestConfigpkg/api/testutils/mocks.go
Configinternal/config/config.go
mockConfiginternal/taskmanager/manager_test.go

Calls

no outgoing calls

Tested by 2

TestConfigAdapterFunction · 0.52