Documentation
¶
Index ¶
- func CheckLegacyCredentials(_ context.Context, fs afero.Fs, configDir string) setup.CheckResult
- func CheckLegacyThemes(_ context.Context, fs afero.Fs, configDir string) setup.CheckResult
- func CheckProjectCredentials(_ context.Context, fs afero.Fs, dir string) setup.CheckResult
- func NewCmdAuth(props *props.Props) *setup.Command
- func RunAuth(ctx context.Context, props *props.Props, opts *AuthOptions, args []string) error
- type AuthOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLegacyCredentials ¶ added in v0.9.0
CheckLegacyCredentials reports credentials still sitting in the general user config, and names the command that moves them (spec 0042 §3.4).
Distinct from GTB's own credential check, which scans a closed list of ITS keys and knows nothing about platforms.* — see CheckProjectCredentials.
func CheckLegacyThemes ¶ added in v0.9.0
CheckLegacyThemes reports a theme catalog still living in the legacy user config, and names the command that moves it (spec 0042 §3.6, 0046 Q3).
Migration is explicit, so something has to say it is available — otherwise the split is a change nobody knows to complete, and the legacy file quietly stays the real home forever.
func CheckProjectCredentials ¶ added in v0.9.0
CheckProjectCredentials reports literal credentials in dir's .keryx.yaml — the file a project commits. Exported for its unit test and so the studio can reuse it.