Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=downtime.datadog.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Downtime
- func (in *Downtime) DeepCopy() *Downtime
- func (in *Downtime) DeepCopyInto(out *Downtime)
- func (in *Downtime) DeepCopyObject() runtime.Object
- func (mg *Downtime) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Downtime) GetConnectionDetailsMapping() map[string]string
- func (mg *Downtime) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Downtime) GetID() string
- func (tr *Downtime) GetObservation() (map[string]interface{}, error)
- func (tr *Downtime) GetParameters() (map[string]interface{}, error)
- func (mg *Downtime) GetProviderConfigReference() *xpv1.Reference
- func (mg *Downtime) GetProviderReference() *xpv1.Reference
- func (mg *Downtime) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Downtime) GetTerraformResourceType() string
- func (tr *Downtime) GetTerraformSchemaVersion() int
- func (mg *Downtime) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Downtime) LateInitialize(attrs []byte) (bool, error)
- func (mg *Downtime) SetConditions(c ...xpv1.Condition)
- func (mg *Downtime) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Downtime) SetObservation(obs map[string]interface{}) error
- func (tr *Downtime) SetParameters(params map[string]interface{}) error
- func (mg *Downtime) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Downtime) SetProviderReference(r *xpv1.Reference)
- func (mg *Downtime) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Downtime) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DowntimeList
- type DowntimeObservation
- type DowntimeParameters
- type DowntimeSpec
- type DowntimeStatus
- type RecurrenceObservation
- type RecurrenceParameters
Constants ¶
const ( CRDGroup = "downtime.datadog.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Downtime_Kind = "Downtime" Downtime_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Downtime_Kind}.String() Downtime_KindAPIVersion = Downtime_Kind + "." + CRDGroupVersion.String() Downtime_GroupVersionKind = CRDGroupVersion.WithKind(Downtime_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Downtime ¶
type Downtime struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DowntimeSpec `json:"spec"` Status DowntimeStatus `json:"status,omitempty"` }
Downtime is the Schema for the Downtimes API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,datadogjet}
func (*Downtime) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Downtime.
func (*Downtime) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Downtime) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Downtime) GetCondition ¶
func (mg *Downtime) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Downtime.
func (*Downtime) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Downtime
func (*Downtime) GetDeletionPolicy ¶
func (mg *Downtime) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Downtime.
func (*Downtime) GetObservation ¶
GetObservation of this Downtime
func (*Downtime) GetParameters ¶
GetParameters of this Downtime
func (*Downtime) GetProviderConfigReference ¶
GetProviderConfigReference of this Downtime.
func (*Downtime) GetProviderReference ¶
GetProviderReference of this Downtime. Deprecated: Use GetProviderConfigReference.
func (*Downtime) GetPublishConnectionDetailsTo ¶
func (mg *Downtime) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Downtime.
func (*Downtime) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Downtime
func (*Downtime) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Downtime) GetWriteConnectionSecretToReference ¶
func (mg *Downtime) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Downtime.
func (*Downtime) LateInitialize ¶
LateInitialize this Downtime using its observed tfState. returns True if there are any spec changes for the resource.
func (*Downtime) SetConditions ¶
SetConditions of this Downtime.
func (*Downtime) SetDeletionPolicy ¶
func (mg *Downtime) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Downtime.
func (*Downtime) SetObservation ¶
SetObservation for this Downtime
func (*Downtime) SetParameters ¶
SetParameters for this Downtime
func (*Downtime) SetProviderConfigReference ¶
SetProviderConfigReference of this Downtime.
func (*Downtime) SetProviderReference ¶
SetProviderReference of this Downtime. Deprecated: Use SetProviderConfigReference.
func (*Downtime) SetPublishConnectionDetailsTo ¶
func (mg *Downtime) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Downtime.
func (*Downtime) SetWriteConnectionSecretToReference ¶
func (mg *Downtime) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Downtime.
type DowntimeList ¶
type DowntimeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Downtime `json:"items"` }
DowntimeList contains a list of Downtimes
func (*DowntimeList) DeepCopy ¶
func (in *DowntimeList) DeepCopy() *DowntimeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DowntimeList.
func (*DowntimeList) DeepCopyInto ¶
func (in *DowntimeList) DeepCopyInto(out *DowntimeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DowntimeList) DeepCopyObject ¶
func (in *DowntimeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DowntimeList) GetItems ¶
func (l *DowntimeList) GetItems() []resource.Managed
GetItems of this DowntimeList.
type DowntimeObservation ¶
type DowntimeObservation struct { Active *bool `json:"active,omitempty" tf:"active,omitempty"` ActiveChildID *float64 `json:"activeChildId,omitempty" tf:"active_child_id,omitempty"` Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*DowntimeObservation) DeepCopy ¶
func (in *DowntimeObservation) DeepCopy() *DowntimeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DowntimeObservation.
func (*DowntimeObservation) DeepCopyInto ¶
func (in *DowntimeObservation) DeepCopyInto(out *DowntimeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DowntimeParameters ¶
type DowntimeParameters struct { // Optionally specify an end date when this downtime should expire // +kubebuilder:validation:Optional End *float64 `json:"end,omitempty" tf:"end,omitempty"` // String representing date and time to end the downtime in RFC3339 format. // +kubebuilder:validation:Optional EndDate *string `json:"endDate,omitempty" tf:"end_date,omitempty"` // An optional message to provide when creating the downtime, can include notification handles // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // When specified, this downtime will only apply to this monitor // +kubebuilder:validation:Optional MonitorID *float64 `json:"monitorId,omitempty" tf:"monitor_id,omitempty"` // A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced // +kubebuilder:validation:Optional MonitorTags []*string `json:"monitorTags,omitempty" tf:"monitor_tags,omitempty"` // When true the first recovery notification during the downtime will be muted // +kubebuilder:validation:Optional MuteFirstRecoveryNotification *bool `json:"muteFirstRecoveryNotification,omitempty" tf:"mute_first_recovery_notification,omitempty"` // Optional recurring schedule for this downtime // +kubebuilder:validation:Optional Recurrence []RecurrenceParameters `json:"recurrence,omitempty" tf:"recurrence,omitempty"` // specify the group scope to which this downtime applies. For everything use '*' // +kubebuilder:validation:Required Scope []*string `json:"scope" tf:"scope,omitempty"` // Specify when this downtime should start // +kubebuilder:validation:Optional Start *float64 `json:"start,omitempty" tf:"start,omitempty"` // String representing date and time to start the downtime in RFC3339 format. // +kubebuilder:validation:Optional StartDate *string `json:"startDate,omitempty" tf:"start_date,omitempty"` // The timezone for the downtime, default UTC // +kubebuilder:validation:Optional Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` }
func (*DowntimeParameters) DeepCopy ¶
func (in *DowntimeParameters) DeepCopy() *DowntimeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DowntimeParameters.
func (*DowntimeParameters) DeepCopyInto ¶
func (in *DowntimeParameters) DeepCopyInto(out *DowntimeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DowntimeSpec ¶
type DowntimeSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DowntimeParameters `json:"forProvider"` }
DowntimeSpec defines the desired state of Downtime
func (*DowntimeSpec) DeepCopy ¶
func (in *DowntimeSpec) DeepCopy() *DowntimeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DowntimeSpec.
func (*DowntimeSpec) DeepCopyInto ¶
func (in *DowntimeSpec) DeepCopyInto(out *DowntimeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DowntimeStatus ¶
type DowntimeStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DowntimeObservation `json:"atProvider,omitempty"` }
DowntimeStatus defines the observed state of Downtime.
func (*DowntimeStatus) DeepCopy ¶
func (in *DowntimeStatus) DeepCopy() *DowntimeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DowntimeStatus.
func (*DowntimeStatus) DeepCopyInto ¶
func (in *DowntimeStatus) DeepCopyInto(out *DowntimeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecurrenceObservation ¶
type RecurrenceObservation struct { }
func (*RecurrenceObservation) DeepCopy ¶
func (in *RecurrenceObservation) DeepCopy() *RecurrenceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceObservation.
func (*RecurrenceObservation) DeepCopyInto ¶
func (in *RecurrenceObservation) DeepCopyInto(out *RecurrenceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecurrenceParameters ¶
type RecurrenceParameters struct { // How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. // +kubebuilder:validation:Optional Period *float64 `json:"period,omitempty" tf:"period,omitempty"` // The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. // +kubebuilder:validation:Optional Rrule *string `json:"rrule,omitempty" tf:"rrule,omitempty"` // One of `days`, `weeks`, `months`, `years`, or `rrule`. // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // The date at which the recurrence should end as a POSIX timestamp. `until_occurrences` and `until_date` are mutually exclusive. // +kubebuilder:validation:Optional UntilDate *float64 `json:"untilDate,omitempty" tf:"until_date,omitempty"` // How many times the downtime will be rescheduled. `until_occurrences` and `until_date` are mutually exclusive. // +kubebuilder:validation:Optional UntilOccurrences *float64 `json:"untilOccurrences,omitempty" tf:"until_occurrences,omitempty"` // A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. // +kubebuilder:validation:Optional WeekDays []*string `json:"weekDays,omitempty" tf:"week_days,omitempty"` }
func (*RecurrenceParameters) DeepCopy ¶
func (in *RecurrenceParameters) DeepCopy() *RecurrenceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceParameters.
func (*RecurrenceParameters) DeepCopyInto ¶
func (in *RecurrenceParameters) DeepCopyInto(out *RecurrenceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.