mirror of https://github.com/dapr/docs.git
block out the other schemas
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
76b869cb81
commit
3770cf0712
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
type: docs
|
type: docs
|
||||||
title: "Component schema"
|
title: "Component spec"
|
||||||
linkTitle: "Component schema"
|
linkTitle: "Component"
|
||||||
weight: 1000
|
weight: 1000
|
||||||
description: "The basic schema for a Dapr component"
|
description: "The basic spec for a Dapr component"
|
||||||
---
|
---
|
||||||
|
|
||||||
Dapr defines and registers components using a [CustomResourceDefinition](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/). All components are defined as a CRD and can be applied to any hosting environment where Dapr is running, not just Kubernetes.
|
Dapr defines and registers components using a [CustomResourceDefinition](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/). All components are defined as a CRD and can be applied to any hosting environment where Dapr is running, not just Kubernetes.
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
type: docs
|
type: docs
|
||||||
title: "HTTPEndpoint spec"
|
title: "HTTPEndpoint spec"
|
||||||
linkTitle: "HTTPEndpoint spec"
|
linkTitle: "HTTPEndpoint"
|
||||||
description: "The HTTPEndpoint resource spec"
|
description: "The basic spec for a Dapr HTTPEndpoint resource"
|
||||||
weight: 3000
|
weight: 4000
|
||||||
aliases:
|
aliases:
|
||||||
- "/operations/httpEndpoints/"
|
- "/operations/httpEndpoints/"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,143 @@
|
||||||
---
|
---
|
||||||
type: docs
|
type: docs
|
||||||
title: "Resiliency schema"
|
title: "Resiliency spec"
|
||||||
linkTitle: "Resiliency schema"
|
linkTitle: "Resiliency spec"
|
||||||
weight: 2000
|
weight: 3000
|
||||||
description: "The basic schema for a Dapr component"
|
description: "The basic spec for a Dapr resiliency resource"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
```yml
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
controller-gen.kubebuilder.io/version: v0.5.0
|
||||||
|
creationTimestamp: null
|
||||||
|
name: resiliencies.dapr.io
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/part-of: "dapr"
|
||||||
|
spec:
|
||||||
|
group: dapr.io
|
||||||
|
names:
|
||||||
|
kind: Resiliency
|
||||||
|
listKind: ResiliencyList
|
||||||
|
plural: resiliencies
|
||||||
|
singular: resiliency
|
||||||
|
categories:
|
||||||
|
- dapr
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
scopes:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
spec:
|
||||||
|
properties:
|
||||||
|
policies:
|
||||||
|
properties:
|
||||||
|
circuitBreakers:
|
||||||
|
additionalProperties:
|
||||||
|
properties:
|
||||||
|
interval:
|
||||||
|
type: string
|
||||||
|
maxRequests:
|
||||||
|
type: integer
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
|
trip:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
retries:
|
||||||
|
additionalProperties:
|
||||||
|
properties:
|
||||||
|
duration:
|
||||||
|
type: string
|
||||||
|
maxInterval:
|
||||||
|
type: string
|
||||||
|
maxRetries:
|
||||||
|
type: integer
|
||||||
|
policy:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
timeouts:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
targets:
|
||||||
|
properties:
|
||||||
|
actors:
|
||||||
|
additionalProperties:
|
||||||
|
properties:
|
||||||
|
circuitBreaker:
|
||||||
|
type: string
|
||||||
|
circuitBreakerCacheSize:
|
||||||
|
type: integer
|
||||||
|
circuitBreakerScope:
|
||||||
|
type: string
|
||||||
|
retry:
|
||||||
|
type: string
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
apps:
|
||||||
|
additionalProperties:
|
||||||
|
properties:
|
||||||
|
circuitBreaker:
|
||||||
|
type: string
|
||||||
|
circuitBreakerCacheSize:
|
||||||
|
type: integer
|
||||||
|
retry:
|
||||||
|
type: string
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
components:
|
||||||
|
additionalProperties:
|
||||||
|
properties:
|
||||||
|
inbound:
|
||||||
|
properties:
|
||||||
|
circuitBreaker:
|
||||||
|
type: string
|
||||||
|
retry:
|
||||||
|
type: string
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
outbound:
|
||||||
|
properties:
|
||||||
|
circuitBreaker:
|
||||||
|
type: string
|
||||||
|
retry:
|
||||||
|
type: string
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- policies
|
||||||
|
- targets
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
```
|
Loading…
Reference in New Issue