pkg/datasource/k8s/config/crd/bases/datasource.sentinel.io_flowrules.yaml (106 lines of code) (raw):

--- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.2.5 creationTimestamp: null name: flowrules.datasource.sentinel.io spec: group: datasource.sentinel.io names: kind: FlowRules listKind: FlowRulesList plural: flowrules singular: flowrules scope: Namespaced validation: openAPIV3Schema: description: FlowRules is the Schema for the flowrules API 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 spec: description: FlowRulesSpec defines the desired state of FlowRules properties: rules: items: properties: controlBehavior: enum: - Reject - Throttling type: string id: maxLength: 32 minLength: 0 type: string maxQueueingTimeMs: format: int32 minimum: 0 type: integer refResource: maxLength: 64 minLength: 1 type: string relationStrategy: enum: - CurrentResource - AssociatedResource type: string resource: maxLength: 64 minLength: 1 type: string statIntervalInMs: format: int32 minimum: 1 type: integer threshold: format: int64 minimum: 0 type: integer tokenCalculateStrategy: enum: - Direct - WarmUp type: string warmUpColdFactor: format: int32 minimum: 2 type: integer warmUpPeriodSec: format: int32 minimum: 1 type: integer required: - resource - threshold type: object type: array type: object status: description: FlowRulesStatus defines the observed state of FlowRules type: object type: object version: v1alpha1 versions: - name: v1alpha1 served: true storage: true status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: []