Documentation ¶
Overview ¶
+groupName=metric.datadog.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Metadata
- func (in *Metadata) DeepCopy() *Metadata
- func (in *Metadata) DeepCopyInto(out *Metadata)
- func (in *Metadata) DeepCopyObject() runtime.Object
- func (r *Metadata) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Metadata) ValidateCreate() error
- func (r *Metadata) ValidateDelete() error
- func (r *Metadata) ValidateUpdate(old runtime.Object) error
- type MetadataList
- type MetadataSpec
- type MetadataSpecResource
- type MetadataStatus
- type TagConfiguration
- func (in *TagConfiguration) DeepCopy() *TagConfiguration
- func (in *TagConfiguration) DeepCopyInto(out *TagConfiguration)
- func (in *TagConfiguration) DeepCopyObject() runtime.Object
- func (r *TagConfiguration) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *TagConfiguration) ValidateCreate() error
- func (r *TagConfiguration) ValidateDelete() error
- func (r *TagConfiguration) ValidateUpdate(old runtime.Object) error
- type TagConfigurationList
- type TagConfigurationSpec
- type TagConfigurationSpecAggregations
- type TagConfigurationSpecResource
- type TagConfigurationStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: metric.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Metadata ¶
type Metadata struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MetadataSpec `json:"spec,omitempty"` Status MetadataStatus `json:"status,omitempty"` }
func (*Metadata) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Metadata) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Metadata) SetupWebhookWithManager ¶
func (*Metadata) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Metadata) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type MetadataList ¶
type MetadataList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Metadata CRD objects Items []Metadata `json:"items,omitempty"` }
MetadataList is a list of Metadatas
func (*MetadataList) DeepCopy ¶
func (in *MetadataList) DeepCopy() *MetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataList.
func (*MetadataList) DeepCopyInto ¶
func (in *MetadataList) DeepCopyInto(out *MetadataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetadataList) DeepCopyObject ¶
func (in *MetadataList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetadataSpec ¶
type MetadataSpec struct { State *MetadataSpecResource `json:"state,omitempty" tf:"-"` Resource MetadataSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*MetadataSpec) DeepCopy ¶
func (in *MetadataSpec) DeepCopy() *MetadataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataSpec.
func (*MetadataSpec) DeepCopyInto ¶
func (in *MetadataSpec) DeepCopyInto(out *MetadataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataSpecResource ¶
type MetadataSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // A description of the metric. // +optional Description *string `json:"description,omitempty" tf:"description"` // The name of the metric. Metric *string `json:"metric" tf:"metric"` // Per unit of the metric such as `second` in `bytes per second`. // +optional PerUnit *string `json:"perUnit,omitempty" tf:"per_unit"` // A short name of the metric. // +optional ShortName *string `json:"shortName,omitempty" tf:"short_name"` // If applicable, statsd flush interval in seconds for the metric. // +optional StatsdInterval *int64 `json:"statsdInterval,omitempty" tf:"statsd_interval"` // Type of the metric. // +optional Type *string `json:"type,omitempty" tf:"type"` // Primary unit of the metric such as `byte` or `operation`. // +optional Unit *string `json:"unit,omitempty" tf:"unit"` }
func (*MetadataSpecResource) DeepCopy ¶
func (in *MetadataSpecResource) DeepCopy() *MetadataSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataSpecResource.
func (*MetadataSpecResource) DeepCopyInto ¶
func (in *MetadataSpecResource) DeepCopyInto(out *MetadataSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataStatus ¶
type MetadataStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*MetadataStatus) DeepCopy ¶
func (in *MetadataStatus) DeepCopy() *MetadataStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataStatus.
func (*MetadataStatus) DeepCopyInto ¶
func (in *MetadataStatus) DeepCopyInto(out *MetadataStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagConfiguration ¶
type TagConfiguration struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TagConfigurationSpec `json:"spec,omitempty"` Status TagConfigurationStatus `json:"status,omitempty"` }
func (*TagConfiguration) DeepCopy ¶
func (in *TagConfiguration) DeepCopy() *TagConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagConfiguration.
func (*TagConfiguration) DeepCopyInto ¶
func (in *TagConfiguration) DeepCopyInto(out *TagConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TagConfiguration) DeepCopyObject ¶
func (in *TagConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TagConfiguration) SetupWebhookWithManager ¶
func (r *TagConfiguration) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*TagConfiguration) ValidateCreate ¶
func (r *TagConfiguration) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*TagConfiguration) ValidateDelete ¶
func (r *TagConfiguration) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*TagConfiguration) ValidateUpdate ¶
func (r *TagConfiguration) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type TagConfigurationList ¶
type TagConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of TagConfiguration CRD objects Items []TagConfiguration `json:"items,omitempty"` }
TagConfigurationList is a list of TagConfigurations
func (*TagConfigurationList) DeepCopy ¶
func (in *TagConfigurationList) DeepCopy() *TagConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagConfigurationList.
func (*TagConfigurationList) DeepCopyInto ¶
func (in *TagConfigurationList) DeepCopyInto(out *TagConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TagConfigurationList) DeepCopyObject ¶
func (in *TagConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TagConfigurationSpec ¶
type TagConfigurationSpec struct { State *TagConfigurationSpecResource `json:"state,omitempty" tf:"-"` Resource TagConfigurationSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*TagConfigurationSpec) DeepCopy ¶
func (in *TagConfigurationSpec) DeepCopy() *TagConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagConfigurationSpec.
func (*TagConfigurationSpec) DeepCopyInto ¶
func (in *TagConfigurationSpec) DeepCopyInto(out *TagConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagConfigurationSpecAggregations ¶ added in v0.5.0
type TagConfigurationSpecAggregations struct { // A space aggregation for use in query. Space *string `json:"space" tf:"space"` // A time aggregation for use in query. Time *string `json:"time" tf:"time"` }
func (*TagConfigurationSpecAggregations) DeepCopy ¶ added in v0.5.0
func (in *TagConfigurationSpecAggregations) DeepCopy() *TagConfigurationSpecAggregations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagConfigurationSpecAggregations.
func (*TagConfigurationSpecAggregations) DeepCopyInto ¶ added in v0.5.0
func (in *TagConfigurationSpecAggregations) DeepCopyInto(out *TagConfigurationSpecAggregations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagConfigurationSpecResource ¶
type TagConfigurationSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // A list of queryable aggregation combinations for a count, rate, or gauge metric. By default, count and rate metrics require the (time: sum, space: sum) aggregation and gauge metrics require the (time: avg, space: avg) aggregation. Can only be applied to metrics that have a `metric_type` of count, rate, or gauge. // +optional Aggregations []TagConfigurationSpecAggregations `json:"aggregations,omitempty" tf:"aggregations"` // Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a `metric_type` of distribution. // +optional IncludePercentiles *bool `json:"includePercentiles,omitempty" tf:"include_percentiles"` // The metric name for this resource. MetricName *string `json:"metricName" tf:"metric_name"` // The metric's type. This field can't be updated after creation. MetricType *string `json:"metricType" tf:"metric_type"` // A list of tag keys that will be queryable for your metric. Tags []string `json:"tags" tf:"tags"` }
func (*TagConfigurationSpecResource) DeepCopy ¶
func (in *TagConfigurationSpecResource) DeepCopy() *TagConfigurationSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagConfigurationSpecResource.
func (*TagConfigurationSpecResource) DeepCopyInto ¶
func (in *TagConfigurationSpecResource) DeepCopyInto(out *TagConfigurationSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagConfigurationStatus ¶
type TagConfigurationStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*TagConfigurationStatus) DeepCopy ¶
func (in *TagConfigurationStatus) DeepCopy() *TagConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagConfigurationStatus.
func (*TagConfigurationStatus) DeepCopyInto ¶
func (in *TagConfigurationStatus) DeepCopyInto(out *TagConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.