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