Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions connection-interface/connection-interface-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"schema-version": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"connection-interface"
]
},
"metadata": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"aws-ecs-conn",
"aws-rds-conn"
]
}
}
},
"description": {
"type": "string"
},
"version": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"
}
},
"required": [
"name",
"description",
"version"
]
},
"spec": {
"outputs": {
"type": "array",
"items": {
"type": {
"type": "string",
"enum": [
"boolean",
"secret",
"objecy",
"array",
"number",
"string"
]
}
}
}
}
}
}
24 changes: 24 additions & 0 deletions connection-interface/v1/aws-ecs-conn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
schemaVersion: v1
kind: connection-interface
metadata:
name: aws-ecs-conn
description: Connection Interface for AWS ECS
version: 1.0.0
spec:
outputs:
autoscaling_capacity_providers:
type: array
items:
autoscaling_capacity_provider:
type: string
cluster_arn:
type: secret
cluster_capacity_providers:
type: array
items:
cluster_capacity_provider:
type: string
cluster_id:
type: secret
cluster_name:
type: string
22 changes: 22 additions & 0 deletions connection-interface/v1/aws-rds-conn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
schemaVersion: v1
kind: connection-interface
metadata:
name: aws-rds-conn
description: Connection Interface for AWS RDS
version: 1.0.0
spec:
outputs:
type:
type: string
name:
type: string
host:
type: string
port:
type: string
user:
type: string
pass:
type: secret
policy:
type: secret