MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / NewAPITokenList

Function NewAPITokenList

app/cli/pkg/action/apitoken_list.go:29–31  ·  view source on GitHub ↗
(cfg *ActionsOpts)

Source from the content-addressed store, hash-verified

27}
28
29func NewAPITokenList(cfg *ActionsOpts) *APITokenList {
30 return &APITokenList{cfg}
31}
32
33func (action *APITokenList) Run(ctx context.Context, statusFilter string, project string, scope string) ([]*APITokenItem, error) {
34 client := pb.NewAPITokenServiceClient(action.cfg.CPConnection)

Callers 1

newAPITokenListCmdFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected