...

Text file src/edge-infra.dev/pkg/edge/api/graph/schema/registration_queries.graphql

Documentation: edge-infra.dev/pkg/edge/api/graph/schema

     1extend type Mutation {
     2  """
     3  registerCluster registers the cluster with edge. The cluster will not be setup until bootstrap api is called and the manifests created are applied.
     4  """
     5  registerCluster(payload: RegistrationPayload!): RegistrationResponse!
     6    @hasRole(
     7      roles: [
     8        EDGE_ORG_ADMIN
     9        EDGE_BANNER_ADMIN
    10        EDGE_BANNER_OPERATOR
    11        TOTP_ROLE
    12      ]
    13    )
    14  """
    15  resetCluster refreshes all activation codes for terminals in this cluster, and marks the cluster as in-active
    16	note: must be forced (i.e., force: true) as this is a destructive operation
    17  """
    18  resetCluster(
    19      clusterEdgeId: String! @hasClusterAccess(field: "clusterEdgeId")
    20      force: Boolean!
    21    ): Boolean!
    22    @hasRole(
    23      roles: [
    24        EDGE_ORG_ADMIN
    25        EDGE_BANNER_ADMIN
    26      ]
    27    )
    28}

View as plain text