Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFile ¶ added in v0.117.0
type ConfigFile struct {
// Legacy single token (for backward compatibility)
Token string `json:"token,omitempty"`
// New profile-based configuration
Profiles map[string]Profile `json:"profiles,omitempty"`
DefaultProfile string `json:"defaultProfile,omitempty"`
}
ConfigFile represents the structure of ~/.replicated/config.yaml
type Credentials ¶
type Profile ¶ added in v0.117.0
type Profile struct {
APIToken string `json:"apiToken"`
APIOrigin string `json:"apiOrigin,omitempty"`
RegistryOrigin string `json:"registryOrigin,omitempty"`
// Namespace is used for okteto dev environments to auto-generate service URLs
// e.g., namespace="noahecampbell" generates:
// - vendor-api-noahecampbell.okteto.repldev.com
// - vendor-web-noahecampbell.okteto.repldev.com
// - etc.
Namespace string `json:"namespace,omitempty"`
}
Profile represents a named authentication profile
Click to show internal directories.
Click to hide internal directories.