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

Function NewAPITokenRevoke

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

Source from the content-addressed store, hash-verified

27}
28
29func NewAPITokenRevoke(cfg *ActionsOpts) *APITokenRevoke {
30 return &APITokenRevoke{cfg}
31}
32
33func (action *APITokenRevoke) Run(ctx context.Context, id string) error {
34 client := pb.NewAPITokenServiceClient(action.cfg.CPConnection)

Callers 1

newAPITokenRevokeCmdFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected