MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / IsInitialized

Method IsInitialized

internal/api/client.go:44–46  ·  view source on GitHub ↗

IsInitialized returns true if credentials are present.

()

Source from the content-addressed store, hash-verified

42
43// IsInitialized returns true if credentials are present.
44func (c *Client) IsInitialized() bool {
45 return c.Config != nil && c.Config.APIKey != nil
46}
47
48// SaveConfig persists credentials and updates the in-memory copy.
49func (c *Client) SaveConfig(cfg *config.Config) error {

Callers 4

NewAppFunction · 0.80
runMetadataRefreshFunction · 0.80
runInitFunction · 0.80
runPricingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected