Skip to content

[UI] Update CreateModule forms to be consistent with Swagger definition #253

@nascentcore-eng

Description

@nascentcore-eng

Describe what should be done

{
  "ebpf": {
    "code": "string",
    // This is an enum
    "fmt": 0,
    // This is an enum
    "lang": 0,
    "perf_buffer_name": "string",
    "probes": [
      {
        "binary_path": "string",
        "entry": "string",
        "return": "string",
        "sample_period_nanos": 0,
        "target": "string",
        // This is an enum
        "type": 0
      }
    ]
  },
  "id": "string",
  "name": "string",
  "wasm": {
    // This is a binary blob
    "code": [
      0
    ],
    // enum, same as above
    "fmt": 0,
    // enum, same as above
    "lang": 0,
    "fn_name": "string",
    "output_schema": {
      "fields": [
        {
          "name": "string",
          // enum, same as above
          "type": 0
        }
      ],
      "name": "string"
    }
  }
}

Describe alternatives considered
None

Additional context
None

Metadata

Metadata

Assignees

Labels

component:uiStarship's management Web UI, the portal for users to interact with Starshiptask

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions