Documentation ¶
Overview ¶
+groupName=monitoring.oci.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 Alarm
- func (in *Alarm) DeepCopy() *Alarm
- func (in *Alarm) DeepCopyInto(out *Alarm)
- func (in *Alarm) DeepCopyObject() runtime.Object
- func (r *Alarm) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Alarm) ValidateCreate() error
- func (r *Alarm) ValidateDelete() error
- func (r *Alarm) ValidateUpdate(old runtime.Object) error
- type AlarmList
- type AlarmSpec
- type AlarmSpecResource
- type AlarmSpecSuppression
- type AlarmSpecSuppressionCodec
- type AlarmStatus
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: monitoring.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 Alarm ¶
type Alarm struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlarmSpec `json:"spec,omitempty"` Status AlarmStatus `json:"status,omitempty"` }
func (*Alarm) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alarm.
func (*Alarm) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Alarm) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Alarm) SetupWebhookWithManager ¶
func (*Alarm) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Alarm) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type AlarmList ¶
type AlarmList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Alarm CRD objects Items []Alarm `json:"items,omitempty"` }
AlarmList is a list of Alarms
func (*AlarmList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlarmList.
func (*AlarmList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlarmList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlarmSpec ¶
type AlarmSpec struct { State *AlarmSpecResource `json:"state,omitempty" tf:"-"` Resource AlarmSpecResource `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 (*AlarmSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlarmSpec.
func (*AlarmSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlarmSpecResource ¶
type AlarmSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Body *string `json:"body,omitempty" tf:"body"` CompartmentID *string `json:"compartmentID" tf:"compartment_id"` // +optional DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"` Destinations []string `json:"destinations" tf:"destinations"` DisplayName *string `json:"displayName" tf:"display_name"` // +optional FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"` IsEnabled *bool `json:"isEnabled" tf:"is_enabled"` // +optional MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format"` MetricCompartmentID *string `json:"metricCompartmentID" tf:"metric_compartment_id"` // +optional MetricCompartmentIDInSubtree *bool `json:"metricCompartmentIDInSubtree,omitempty" tf:"metric_compartment_id_in_subtree"` Namespace *string `json:"namespace" tf:"namespace"` // +optional PendingDuration *string `json:"pendingDuration,omitempty" tf:"pending_duration"` Query *string `json:"query" tf:"query"` // +optional RepeatNotificationDuration *string `json:"repeatNotificationDuration,omitempty" tf:"repeat_notification_duration"` // +optional Resolution *string `json:"resolution,omitempty" tf:"resolution"` // +optional ResourceGroup *string `json:"resourceGroup,omitempty" tf:"resource_group"` Severity *string `json:"severity" tf:"severity"` // +optional State *string `json:"state,omitempty" tf:"state"` // +optional Suppression *AlarmSpecSuppression `json:"suppression,omitempty" tf:"suppression"` // +optional TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"` // +optional TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"` }
func (*AlarmSpecResource) DeepCopy ¶
func (in *AlarmSpecResource) DeepCopy() *AlarmSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlarmSpecResource.
func (*AlarmSpecResource) DeepCopyInto ¶
func (in *AlarmSpecResource) DeepCopyInto(out *AlarmSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlarmSpecSuppression ¶
type AlarmSpecSuppression struct { // +optional Description *string `json:"description,omitempty" tf:"description"` TimeSuppressFrom *string `json:"timeSuppressFrom" tf:"time_suppress_from"` TimeSuppressUntil *string `json:"timeSuppressUntil" tf:"time_suppress_until"` }
func (*AlarmSpecSuppression) DeepCopy ¶
func (in *AlarmSpecSuppression) DeepCopy() *AlarmSpecSuppression
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlarmSpecSuppression.
func (*AlarmSpecSuppression) DeepCopyInto ¶
func (in *AlarmSpecSuppression) DeepCopyInto(out *AlarmSpecSuppression)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlarmSpecSuppressionCodec ¶
type AlarmSpecSuppressionCodec struct { }
+k8s:deepcopy-gen=false
func (AlarmSpecSuppressionCodec) Decode ¶
func (AlarmSpecSuppressionCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type AlarmStatus ¶
type AlarmStatus 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 (*AlarmStatus) DeepCopy ¶
func (in *AlarmStatus) DeepCopy() *AlarmStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlarmStatus.
func (*AlarmStatus) DeepCopyInto ¶
func (in *AlarmStatus) DeepCopyInto(out *AlarmStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.