Documentation ¶
Overview ¶
+groupName=disk.dynatrace.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 Anomalies
- func (in *Anomalies) DeepCopy() *Anomalies
- func (in *Anomalies) DeepCopyInto(out *Anomalies)
- func (in *Anomalies) DeepCopyObject() runtime.Object
- func (r *Anomalies) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Anomalies) ValidateCreate() error
- func (r *Anomalies) ValidateDelete() error
- func (r *Anomalies) ValidateUpdate(old runtime.Object) error
- type AnomaliesList
- type AnomaliesSpec
- type AnomaliesSpecDiskName
- type AnomaliesSpecDiskNameCodec
- type AnomaliesSpecResource
- type AnomaliesSpecTags
- type AnomaliesSpecTagsCodec
- type AnomaliesSpecTagsFilter
- type AnomaliesStatus
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: disk.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Anomalies ¶
type Anomalies struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AnomaliesSpec `json:"spec,omitempty"` Status AnomaliesStatus `json:"status,omitempty"` }
func (*Anomalies) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Anomalies.
func (*Anomalies) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Anomalies) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Anomalies) SetupWebhookWithManager ¶
func (*Anomalies) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Anomalies) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type AnomaliesList ¶
type AnomaliesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Anomalies CRD objects Items []Anomalies `json:"items,omitempty"` }
AnomaliesList is a list of Anomaliess
func (*AnomaliesList) DeepCopy ¶
func (in *AnomaliesList) DeepCopy() *AnomaliesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnomaliesList.
func (*AnomaliesList) DeepCopyInto ¶
func (in *AnomaliesList) DeepCopyInto(out *AnomaliesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AnomaliesList) DeepCopyObject ¶
func (in *AnomaliesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AnomaliesSpec ¶
type AnomaliesSpec struct { State *AnomaliesSpecResource `json:"state,omitempty" tf:"-"` Resource AnomaliesSpecResource `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 (*AnomaliesSpec) DeepCopy ¶
func (in *AnomaliesSpec) DeepCopy() *AnomaliesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnomaliesSpec.
func (*AnomaliesSpec) DeepCopyInto ¶
func (in *AnomaliesSpec) DeepCopyInto(out *AnomaliesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnomaliesSpecDiskName ¶
type AnomaliesSpecDiskName struct { // Possible values are: `CONTAINS`, `DOES_NOT_CONTAIN`, `DOES_NOT_EQUAL`, `DOES_NOT_START_WITH`, `EQUALS` and `STARTS_WITH` Operator *string `json:"operator" tf:"operator"` // Value to compare to Value *string `json:"value" tf:"value"` }
func (*AnomaliesSpecDiskName) DeepCopy ¶
func (in *AnomaliesSpecDiskName) DeepCopy() *AnomaliesSpecDiskName
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnomaliesSpecDiskName.
func (*AnomaliesSpecDiskName) DeepCopyInto ¶
func (in *AnomaliesSpecDiskName) DeepCopyInto(out *AnomaliesSpecDiskName)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnomaliesSpecDiskNameCodec ¶
type AnomaliesSpecDiskNameCodec struct { }
+k8s:deepcopy-gen=false
func (AnomaliesSpecDiskNameCodec) Decode ¶
func (AnomaliesSpecDiskNameCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type AnomaliesSpecResource ¶
type AnomaliesSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // Narrows the rule usage down to disks, matching the specified criteria // +optional DiskName *AnomaliesSpecDiskName `json:"diskName,omitempty" tf:"disk_name"` // Disk event rule enabled/disabled Enabled *bool `json:"enabled" tf:"enabled"` // Narrows the rule usage down to disks that run on hosts that themselves run on the specified host group // +optional HostGroupID *string `json:"hostGroupID,omitempty" tf:"host_group_id"` // The metric to monitor. Possible values are: `LOW_DISK_SPACE`, `LOW_INODES`, `READ_TIME_EXCEEDING` and `WRITE_TIME_EXCEEDING` Metric *string `json:"metric" tf:"metric"` // The name of the disk event rule Name *string `json:"name" tf:"name"` // The number of samples to evaluate Samples *int64 `json:"samples" tf:"samples"` // Narrows the rule usage down to the hosts matching the specified tags // +optional Tags *AnomaliesSpecTags `json:"tags,omitempty" tf:"tags"` // The threshold to trigger disk event. * A percentage for `LowDiskSpace` or `LowInodes` metrics. * In milliseconds for `ReadTimeExceeding` or `WriteTimeExceeding` metrics Threshold *float64 `json:"threshold" tf:"threshold"` // The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples ViolatingSamples *int64 `json:"violatingSamples" tf:"violating_samples"` }
func (*AnomaliesSpecResource) DeepCopy ¶
func (in *AnomaliesSpecResource) DeepCopy() *AnomaliesSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnomaliesSpecResource.
func (*AnomaliesSpecResource) DeepCopyInto ¶
func (in *AnomaliesSpecResource) DeepCopyInto(out *AnomaliesSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnomaliesSpecTags ¶
type AnomaliesSpecTags struct { // A Tag Filter // +optional Filter []AnomaliesSpecTagsFilter `json:"filter,omitempty" tf:"filter"` }
func (*AnomaliesSpecTags) DeepCopy ¶
func (in *AnomaliesSpecTags) DeepCopy() *AnomaliesSpecTags
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnomaliesSpecTags.
func (*AnomaliesSpecTags) DeepCopyInto ¶
func (in *AnomaliesSpecTags) DeepCopyInto(out *AnomaliesSpecTags)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnomaliesSpecTagsCodec ¶
type AnomaliesSpecTagsCodec struct { }
+k8s:deepcopy-gen=false
func (AnomaliesSpecTagsCodec) Decode ¶
func (AnomaliesSpecTagsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type AnomaliesSpecTagsFilter ¶
type AnomaliesSpecTagsFilter struct { // The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the `CONTEXTLESS` value Context *string `json:"context" tf:"context"` // The key of the tag. Custom tags have the tag value here Key *string `json:"key" tf:"key"` // The value of the tag. Not applicable to custom tags // +optional Value *string `json:"value,omitempty" tf:"value"` }
func (*AnomaliesSpecTagsFilter) DeepCopy ¶
func (in *AnomaliesSpecTagsFilter) DeepCopy() *AnomaliesSpecTagsFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnomaliesSpecTagsFilter.
func (*AnomaliesSpecTagsFilter) DeepCopyInto ¶
func (in *AnomaliesSpecTagsFilter) DeepCopyInto(out *AnomaliesSpecTagsFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnomaliesStatus ¶
type AnomaliesStatus 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 (*AnomaliesStatus) DeepCopy ¶
func (in *AnomaliesStatus) DeepCopy() *AnomaliesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnomaliesStatus.
func (*AnomaliesStatus) DeepCopyInto ¶
func (in *AnomaliesStatus) DeepCopyInto(out *AnomaliesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.