MCPcopy Create free account
hub / github.com/rilldata/rill / toMagicAuthTokensTable

Function toMagicAuthTokensTable

cli/pkg/printer/resources.go:442–450  ·  view source on GitHub ↗
(tkns []*adminv1.MagicAuthToken)

Source from the content-addressed store, hash-verified

440}
441
442func toMagicAuthTokensTable(tkns []*adminv1.MagicAuthToken) []*magicAuthToken {
443 res := make([]*magicAuthToken, 0, len(tkns))
444
445 for _, tkn := range tkns {
446 res = append(res, toMagicAuthTokenRow(tkn))
447 }
448
449 return res
450}
451
452func toMagicAuthTokenRow(t *adminv1.MagicAuthToken) *magicAuthToken {
453 filters := ""

Callers 1

PrintMagicAuthTokensMethod · 0.85

Calls 1

toMagicAuthTokenRowFunction · 0.85

Tested by

no test coverage detected