List ingresses
client.ingresses.list(RequestOptionsoptions?): IngressListResponse { id, created_at, name, rules }
/ingresses
List ingresses
Returns
List ingresses
import Hypeman from '@onkernel/hypeman';
const client = new Hypeman({
apiKey: 'My API Key',
});
const ingresses = await client.ingresses.list();
console.log(ingresses);
[
{
"id": "2OgJqXsP7j1qLVVYvGJDNiYVlPO",
"created_at": "2025-01-15T10:00:00Z",
"name": "my-api-ingress",
"rules": [
{
"match": {
"hostname": "{instance}.example.com",
"port": 8080
},
"target": {
"instance": "{instance}",
"port": 8080
},
"redirect_http": true,
"tls": true
}
]
}
]
Returns Examples
[
{
"id": "2OgJqXsP7j1qLVVYvGJDNiYVlPO",
"created_at": "2025-01-15T10:00:00Z",
"name": "my-api-ingress",
"rules": [
{
"match": {
"hostname": "{instance}.example.com",
"port": 8080
},
"target": {
"instance": "{instance}",
"port": 8080
},
"redirect_http": true,
"tls": true
}
]
}
]