-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from Peefy/add-more-kubernetes-modules
feat: add more kubernetes modules
- Loading branch information
Showing
35 changed files
with
65,848 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[package] | ||
name = "datadog-operator" | ||
edition = "0.0.1" | ||
version = "0.0.1" | ||
|
Empty file.
12,398 changes: 12,398 additions & 0 deletions
12,398
datadog-operator/v1alpha1/datadoghq_com_v1alpha1_datadog_agent.k
Large diffs are not rendered by default.
Oops, something went wrong.
119 changes: 119 additions & 0 deletions
119
datadog-operator/v1alpha1/datadoghq_com_v1alpha1_datadog_metric.k
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
""" | ||
This file was generated by the KCL auto-gen tool. DO NOT EDIT. | ||
Editing this file might prove futile when you re-run the KCL auto-gen generate command. | ||
""" | ||
import k8s.apimachinery.pkg.apis.meta.v1 | ||
|
||
|
||
schema DatadogMetric: | ||
""" | ||
DatadogMetric allows autoscaling on arbitrary Datadog query | ||
|
||
Attributes | ||
---------- | ||
apiVersion : str, default is "datadoghq.com/v1alpha1", required | ||
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 | ||
kind : str, default is "DatadogMetric", required | ||
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 | ||
metadata : v1.ObjectMeta, default is Undefined, optional | ||
metadata | ||
spec : DatadoghqComV1alpha1DatadogMetricSpec, default is Undefined, optional | ||
spec | ||
status : DatadoghqComV1alpha1DatadogMetricStatus, default is Undefined, optional | ||
status | ||
""" | ||
|
||
|
||
apiVersion: "datadoghq.com/v1alpha1" = "datadoghq.com/v1alpha1" | ||
|
||
kind: "DatadogMetric" = "DatadogMetric" | ||
|
||
metadata?: v1.ObjectMeta | ||
|
||
spec?: DatadoghqComV1alpha1DatadogMetricSpec | ||
|
||
status?: DatadoghqComV1alpha1DatadogMetricStatus | ||
|
||
|
||
schema DatadoghqComV1alpha1DatadogMetricSpec: | ||
""" | ||
DatadogMetricSpec defines the desired state of DatadogMetric | ||
|
||
Attributes | ||
---------- | ||
externalMetricName : str, default is Undefined, optional | ||
ExternalMetricName is reserved for internal use | ||
maxAge : str, default is Undefined, optional | ||
MaxAge provides the max age for the metric query (overrides the default setting `external_metrics_provider.max_age`) | ||
query : str, default is Undefined, optional | ||
Query is the raw datadog query | ||
timeWindow : str, default is Undefined, optional | ||
TimeWindow provides the time window for the metric query, defaults to MaxAge. | ||
""" | ||
|
||
|
||
externalMetricName?: str | ||
|
||
maxAge?: str | ||
|
||
query?: str | ||
|
||
timeWindow?: str | ||
|
||
|
||
schema DatadoghqComV1alpha1DatadogMetricStatus: | ||
""" | ||
DatadogMetricStatus defines the observed state of DatadogMetric | ||
|
||
Attributes | ||
---------- | ||
autoscalerReferences : str, default is Undefined, optional | ||
List of autoscalers currently using this DatadogMetric | ||
conditions : [DatadoghqComV1alpha1DatadogMetricStatusConditionsItems0], default is Undefined, optional | ||
Conditions Represents the latest available observations of a DatadogMetric's current state. | ||
currentValue : str, default is Undefined, required | ||
Value is the latest value of the metric | ||
""" | ||
|
||
|
||
autoscalerReferences?: str | ||
|
||
conditions?: [DatadoghqComV1alpha1DatadogMetricStatusConditionsItems0] | ||
|
||
currentValue: str | ||
|
||
|
||
schema DatadoghqComV1alpha1DatadogMetricStatusConditionsItems0: | ||
""" | ||
DatadogMetricCondition describes the state of a DatadogMetric at a certain point. | ||
|
||
Attributes | ||
---------- | ||
lastTransitionTime : str, default is Undefined, optional | ||
Last time the condition transitioned from one status to another. | ||
lastUpdateTime : str, default is Undefined, optional | ||
Last time the condition was updated. | ||
message : str, default is Undefined, optional | ||
A human readable message indicating details about the transition. | ||
reason : str, default is Undefined, optional | ||
The reason for the condition's last transition. | ||
status : str, default is Undefined, required | ||
Status of the condition, one of True, False, Unknown. | ||
$type : str, default is Undefined, required | ||
Type of DatadogMetric condition. | ||
""" | ||
|
||
|
||
lastTransitionTime?: str | ||
|
||
lastUpdateTime?: str | ||
|
||
message?: str | ||
|
||
reason?: str | ||
|
||
status: str | ||
|
||
$type: str | ||
|
||
|
Oops, something went wrong.