(cfg *ActionsOpts)
| 30 | } |
| 31 | |
| 32 | func NewAPITokenCreate(cfg *ActionsOpts) *APITokenCreate { |
| 33 | return &APITokenCreate{cfg} |
| 34 | } |
| 35 | |
| 36 | func (action *APITokenCreate) Run(ctx context.Context, name, description, projectName string, expiresIn *time.Duration) (*APITokenItem, error) { |
| 37 | client := pb.NewAPITokenServiceClient(action.cfg.CPConnection) |
no outgoing calls
no test coverage detected