EndpointsMock.ts 830 B

1234567891011121314151617181920212223242526272829303132
  1. import { Endpoint } from "@src/@types/Endpoint";
  2. export const OPENSTACK_ENDPOINT_MOCK: Endpoint = {
  3. id: "openstack",
  4. name: "OpenStack",
  5. description: "Openstack endpoint",
  6. type: "openstack",
  7. created_at: "2023-11-26T12:00:00Z",
  8. mapped_regions: ["us-east-1"],
  9. connection_info: {
  10. host: "https://api.example.com:1234/path",
  11. username: "admin",
  12. password: "password",
  13. project_name: "admin",
  14. project_domain_name: "Default",
  15. user_domain_name: "Default",
  16. },
  17. };
  18. export const VMWARE_ENDPOINT_MOCK: Endpoint = {
  19. id: "vmware",
  20. name: "VMware",
  21. description: "VMware endpoint",
  22. type: "vmware_vsphere",
  23. created_at: "2023-11-26T12:00:00Z",
  24. mapped_regions: ["us-east-1"],
  25. connection_info: {
  26. host: "https://api.example.com:1234/path",
  27. username: "admin",
  28. password: "password",
  29. },
  30. };