MCPcopy Create free account
hub / github.com/anchordotdev/cli / apiAuth

Method apiAuth

lcl/lcl.go:78–88  ·  view source on GitHub ↗
(ctx context.Context, drv *ui.Driver)

Source from the content-addressed store, hash-verified

76}
77
78func (c *Command) apiAuth(ctx context.Context, drv *ui.Driver) error {
79 cmd := &auth.Client{
80 Anc: c.anc,
81 Hint: models.LclSignInHint,
82 Source: "lclhost",
83 }
84
85 var err error
86 c.anc, err = cmd.Perform(ctx, drv)
87 return err
88}
89
90func (c *Command) systemConfig(ctx context.Context, drv *ui.Driver) error {
91 // audit diagnostic service

Callers 1

runMethod · 0.95

Calls 1

PerformMethod · 0.95

Tested by

no test coverage detected