You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728
  1. // Copyright 2024 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package actions
  4. import "code.gitea.io/gitea/services/context"
  5. // API for actions of a repository or organization
  6. type API interface {
  7. // ListActionsSecrets list secrets
  8. ListActionsSecrets(*context.APIContext)
  9. // CreateOrUpdateSecret create or update a secret
  10. CreateOrUpdateSecret(*context.APIContext)
  11. // DeleteSecret delete a secret
  12. DeleteSecret(*context.APIContext)
  13. // ListVariables list variables
  14. ListVariables(*context.APIContext)
  15. // GetVariable get a variable
  16. GetVariable(*context.APIContext)
  17. // DeleteVariable delete a variable
  18. DeleteVariable(*context.APIContext)
  19. // CreateVariable create a variable
  20. CreateVariable(*context.APIContext)
  21. // UpdateVariable update a variable
  22. UpdateVariable(*context.APIContext)
  23. // GetRegistrationToken get registration token
  24. GetRegistrationToken(*context.APIContext)
  25. }