RoleAggregate

Describes whether certain runners are blessed to run a Role.

Properties

blessings (BlessingsWithMeta)
The blessings data associated with the role
id (string, required)

The unique id of this role

Example: "constructor"

pending (PendingStatesWithMeta)
The pending states data associated with the role
role (RoleWithMeta, required)
The role data with metadata

Example

{
   "blessings" : {
      "meta" : {
         "created_time" : "2019-01-01T00:00:00Z",
         "modified_time" : "2019-01-01T00:00:00Z",
         "version" : 0
      },
      "value" : {
         "runner_ids_to_blessing" : {
            "some_property" : {
               "value" : true
            }
         }
      }
   },
   "id" : "string",
   "pending" : {
      "meta" : null,
      "value" : {
         "runner_ids_to_pending_state" : {
            "some_property" : {
               "value" : true
            }
         }
      }
   },
   "role" : {
      "meta" : null,
      "value" : {
         "auto_blessed" : true,
         "containers" : [
            {
               "container_set_name" : "string",
               "kind" : "string",
               "name" : "string",
               "options" : {
                  "acls" : [
                     {
                        "id" : "string",
                        "perms" : 0,
                        "scheme" : "string"
                     }
                  ],
                  "auths" : [
                     {
                        "auth" : "string",
                        "scheme" : "string"
                     }
                  ],
                  "container_set_secret" : "string",
                  "enabled" : true,
                  "enabled_by_named_feature_flag" : "string",
                  "overrides" : {
                     "container_config" : {
                        "env" : [
                           "string"
                        ],
                        "host_config" : {
                           "binds" : [
                              "string"
                           ],
                           "cpu_period" : 0,
                           "extra_hosts" : [
                              "string"
                           ],
                           "network_mode" : "string",
                           "port_bindings" : {
                              "some_property" : [
                                 {
                                    "host_ip" : "string",
                                    "host_port" : "string"
                                 }
                              ]
                           },
                           "privileged" : true,
                           "restart_policy" : {
                              "maximum_retry_count" : 0,
                              "name" : "string"
                           }
                        }
                     }
                  },
                  "runners_secret" : "string"
               }
            }
         ],
         "id" : "string"
      }
   }
}