github.com/kubeshop/testkube@v1.17.23/internal/graphql/schemas/executors.graphqls (about)

     1  extend type Subscription {
     2      """
     3      `executor` will return a stream of `Executor` objects.
     4      """
     5      executors(selector: String! = ""): [ExecutorDetails!]!
     6  }
     7  
     8  extend type Query {
     9      """
    10      List executors available in cluster
    11  
    12      Equivalent to GET /executors
    13      """
    14      executors(selector: String! = ""): [ExecutorDetails!]!
    15  }
    16  
    17  type ExecutorDetails {
    18      name: String!
    19      executor: Executor!
    20  }
    21  
    22  """CRD based executor data"""
    23  type Executor {
    24      """additional executor binary arguments"""
    25      args: [String!]
    26  
    27      """container executor image command"""
    28      command: [String!]
    29  
    30      """list of handled content types"""
    31      contentTypes: [String!]
    32  
    33      """
    34      ExecutorType one of "rest" for rest openapi based executors
    35      or "job" which will be default runners for testkube or "container"
    36      for container executors
    37      """
    38      executorType: String!
    39  
    40      """Available executor features"""
    41      features: [String!]
    42  
    43      """Image for kube-job"""
    44      image: String!
    45  
    46      """container image pull secrets"""
    47      imagePullSecrets: [LocalObjectReference!]
    48  
    49      """Job template to launch executor"""
    50      jobTemplate: String!
    51  
    52      """executor labels"""
    53      labels: StringMap
    54  
    55      """Executor meta data"""
    56      meta: ExecutorMeta
    57  
    58      """
    59      Types defines what types can be handled by executor e.g. "postman/collection", ":curl/command" etc
    60      """
    61      types: [String!]!
    62  
    63      """URI for rest based executors"""
    64      uri: String!
    65  }
    66  
    67  """Reference to Kubernetes object"""
    68  type LocalObjectReference {
    69      name: String!
    70  }
    71  
    72  """Executor meta data"""
    73  type ExecutorMeta {
    74      """URI for executor docs"""
    75      docsURI: String
    76  
    77      """URI for executor icon"""
    78      iconURI: String
    79  
    80      """executor tooltips"""
    81      tooltips: StringMap
    82  }