Schema: Stack
(v0.0.1)
Stack
kind: Stack
metadata:
name: string
labels:
property1: string
property2: string
annotations:
? property1
? property2
spec:
connection:
timeout: string
transport:
redis:
uri: string
timeout: 0
runtime:
env:
property1: string
property2: string
stacked: true
models:
- name: string
uid: 0
annotations:
? property1
? property2
model:
name: string
mcl:
strategy: string
models:
- name: string
runtime:
env:
property1: string
property2: string
files:
- string
x32: true
i386: true
channels:
- name: string
alias: string
expectedModelCount: 0
selectors:
property1: string
property2: string
annotations:
? property1
? property2
A stack definition.
Properties
Name | Type | Required | Description |
---|---|---|---|
kind | string | true | Indicate the type of object. |
metadata | object | false | Information relating to an object. |
» name | string | false | The name of the object. |
» labels | object | false | Identifying information used to identify objects within the system (e.g. giving a specific ’label’ to an object). |
»» additionalProperties | string | false | none |
» annotations | object | false | Non identifying information (i.e. information specific to the object itself). |
»» additionalProperties | any | false | none |
spec | StackSpec | true | none |
Enumerated Values
Property | Value |
---|---|
kind | Stack |
StackSpec
connection:
timeout: string
transport:
redis:
uri: string
timeout: 0
runtime:
env:
property1: string
property2: string
stacked: true
models:
- name: string
uid: 0
annotations:
? property1
? property2
model:
name: string
mcl:
strategy: string
models:
- name: string
runtime:
env:
property1: string
property2: string
files:
- string
x32: true
i386: true
channels:
- name: string
alias: string
expectedModelCount: 0
selectors:
property1: string
property2: string
annotations:
? property1
? property2
Properties
Name | Type | Required | Description |
---|---|---|---|
connection | object | false | none |
» timeout | string | false | Model timeout for messages from the transport. |
» transport | object | false | none |
oneOf
Name | Type | Required | Description |
---|---|---|---|
»» anonymous | object | false | none |
»»» redis | RedisConnection | true | Redis connection. |
xor
Name | Type | Required | Description |
---|---|---|---|
»» anonymous | object | false | none |
»»» redispubsub | RedisConnection | true | Redis connection. |
xor
Name | Type | Required | Description |
---|---|---|---|
»» anonymous | object | false | none |
»»» mq | MessageQueue | true | Message Queue based connection. |
continued
Name | Type | Required | Description |
---|---|---|---|
runtime | StackRuntime | false | Runtime properties of a Stack. |
models | [ModelInstance] | false | [A model instance object.] |
ModelInstance
name: string
uid: 0
annotations:
? property1
? property2
model:
name: string
mcl:
strategy: string
models:
- name: string
runtime:
env:
property1: string
property2: string
files:
- string
x32: true
i386: true
channels:
- name: string
alias: string
expectedModelCount: 0
selectors:
property1: string
property2: string
annotations:
? property1
? property2
A model instance object.
Properties
Name | Type | Required | Description |
---|---|---|---|
name | string | true | none |
uid | integer | true | none |
annotations | object | false | Non identifying information (i.e. information specific to the object itself). |
» additionalProperties | any | false | none |
model | object | true | none |
» name | string | true | none |
» mcl | object | false | none |
»» strategy | string | true | none |
»» models | [object] | true | A list of models belonging to this MCL. |
»»» name | string | true | The name of the MCL model. |
runtime | ModelInstanceRuntime | false | Runtime properties of a Model Instance. |
channels | [object] | false | none |
» name | string | false | The name of the channel, used when connecting this channel to the SimBus. |
» alias | string | false | The alias of the channel, used when the channel name will be determined elsewhere. |
» expectedModelCount | integer | false | Indicates how many models are expected to connect to this channel (used by SimBus only). |
» selectors | object | false | Identifying information used to identify objects within the system (e.g. giving a specific ’label’ to an object). |
»» additionalProperties | string | false | none |
» annotations | object | false | Non identifying information (i.e. information specific to the object itself). |
»» additionalProperties | any | false | none |
StackRuntime
env:
property1: string
property2: string
stacked: true
Runtime properties of a Stack.
Properties
Name | Type | Required | Description |
---|---|---|---|
env | object | false | Environment variables. |
» additionalProperties | string | false | none |
stacked | boolean | false | Run all Models (of this stack) in a single instance of ModelC. |
ModelInstanceRuntime
env:
property1: string
property2: string
files:
- string
x32: true
i386: true
Runtime properties of a Model Instance.
Properties
Name | Type | Required | Description |
---|---|---|---|
env | object | false | Environment variables. |
» additionalProperties | string | false | none |
files | [string] | false | Additional file arguments passed to ModelC. |
x32 | boolean | false | Run Model with 32bit ModelC executable (x32 abi) |
i386 | boolean | false | Run Model with 32bit ModelC executable (i386 abi) |
RedisConnection
uri: string
timeout: 0
Redis connection.
Properties
Name | Type | Required | Description |
---|---|---|---|
uri | string | false | none |
timeout | integer | false | none |
MessageQueue
uri: string
Message Queue based connection.
Properties
Name | Type | Required | Description |
---|---|---|---|
uri | string | false | none |
undefined