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

Method GetTokenSecret

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

GetTokenSecret returns the API token secret for token-based authentication. Returns empty string if using password authentication.

()

Source from the content-addressed store, hash-verified

97 // GetTokenSecret returns the API token secret for token-based authentication.
98 // Returns empty string if using password authentication.
99 GetTokenSecret() string
100
101 // GetInsecure returns true if TLS certificate verification should be skipped.
102 GetInsecure() bool

Callers 3

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