Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=anomaly.opensearch.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Detection
- func (in *Detection) DeepCopy() *Detection
- func (in *Detection) DeepCopyInto(out *Detection)
- func (in *Detection) DeepCopyObject() runtime.Object
- func (mg *Detection) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Detection) GetConnectionDetailsMapping() map[string]string
- func (mg *Detection) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Detection) GetID() string
- func (tr *Detection) GetInitParameters() (map[string]any, error)
- func (mg *Detection) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Detection) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Detection) GetObservation() (map[string]any, error)
- func (tr *Detection) GetParameters() (map[string]any, error)
- func (mg *Detection) GetProviderConfigReference() *xpv1.Reference
- func (mg *Detection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Detection) GetTerraformResourceType() string
- func (tr *Detection) GetTerraformSchemaVersion() int
- func (mg *Detection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Detection) Hub()
- func (tr *Detection) LateInitialize(attrs []byte) (bool, error)
- func (mg *Detection) SetConditions(c ...xpv1.Condition)
- func (mg *Detection) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Detection) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Detection) SetObservation(obs map[string]any) error
- func (tr *Detection) SetParameters(params map[string]any) error
- func (mg *Detection) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Detection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Detection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DetectionInitParameters
- type DetectionList
- type DetectionObservation
- type DetectionParameters
- type DetectionSpec
- type DetectionStatus
Constants ¶
const ( CRDGroup = "anomaly.opensearch.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Detection_Kind = "Detection" Detection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Detection_Kind}.String() Detection_KindAPIVersion = Detection_Kind + "." + CRDGroupVersion.String() Detection_GroupVersionKind = CRDGroupVersion.WithKind(Detection_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 Detection ¶
type Detection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.body) || (has(self.initProvider) && has(self.initProvider.body))",message="spec.forProvider.body is a required parameter" Spec DetectionSpec `json:"spec"` Status DetectionStatus `json:"status,omitempty"` }
Detection is the Schema for the Detections API. Provides an OpenSearch anonaly detection. Please refer to the OpenSearch anomaly detection documentation for details. +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:resource:scope=Cluster,categories={crossplane,managed,opensearch}
func (*Detection) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Detection.
func (*Detection) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Detection) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Detection) GetCondition ¶
func (mg *Detection) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Detection.
func (*Detection) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Detection
func (*Detection) GetDeletionPolicy ¶
func (mg *Detection) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Detection.
func (*Detection) GetInitParameters ¶
GetInitParameters of this Detection
func (*Detection) GetManagementPolicies ¶
func (mg *Detection) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Detection.
func (*Detection) GetMergedParameters ¶
GetInitParameters of this Detection
func (*Detection) GetObservation ¶
GetObservation of this Detection
func (*Detection) GetParameters ¶
GetParameters of this Detection
func (*Detection) GetProviderConfigReference ¶
GetProviderConfigReference of this Detection.
func (*Detection) GetPublishConnectionDetailsTo ¶
func (mg *Detection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Detection.
func (*Detection) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Detection
func (*Detection) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Detection) GetWriteConnectionSecretToReference ¶
func (mg *Detection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Detection.
func (*Detection) LateInitialize ¶
LateInitialize this Detection using its observed tfState. returns True if there are any spec changes for the resource.
func (*Detection) SetConditions ¶
SetConditions of this Detection.
func (*Detection) SetDeletionPolicy ¶
func (mg *Detection) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Detection.
func (*Detection) SetManagementPolicies ¶
func (mg *Detection) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Detection.
func (*Detection) SetObservation ¶
SetObservation for this Detection
func (*Detection) SetParameters ¶
SetParameters for this Detection
func (*Detection) SetProviderConfigReference ¶
SetProviderConfigReference of this Detection.
func (*Detection) SetPublishConnectionDetailsTo ¶
func (mg *Detection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Detection.
func (*Detection) SetWriteConnectionSecretToReference ¶
func (mg *Detection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Detection.
type DetectionInitParameters ¶
type DetectionInitParameters struct { // (String) The anomaly detection document // The anomaly detection document Body *string `json:"body,omitempty" tf:"body,omitempty"` }
func (*DetectionInitParameters) DeepCopy ¶
func (in *DetectionInitParameters) DeepCopy() *DetectionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectionInitParameters.
func (*DetectionInitParameters) DeepCopyInto ¶
func (in *DetectionInitParameters) DeepCopyInto(out *DetectionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DetectionList ¶
type DetectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Detection `json:"items"` }
DetectionList contains a list of Detections
func (*DetectionList) DeepCopy ¶
func (in *DetectionList) DeepCopy() *DetectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectionList.
func (*DetectionList) DeepCopyInto ¶
func (in *DetectionList) DeepCopyInto(out *DetectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DetectionList) DeepCopyObject ¶
func (in *DetectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DetectionList) GetItems ¶
func (l *DetectionList) GetItems() []resource.Managed
GetItems of this DetectionList.
type DetectionObservation ¶
type DetectionObservation struct { // (String) The anomaly detection document // The anomaly detection document Body *string `json:"body,omitempty" tf:"body,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*DetectionObservation) DeepCopy ¶
func (in *DetectionObservation) DeepCopy() *DetectionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectionObservation.
func (*DetectionObservation) DeepCopyInto ¶
func (in *DetectionObservation) DeepCopyInto(out *DetectionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DetectionParameters ¶
type DetectionParameters struct { // (String) The anomaly detection document // The anomaly detection document // +kubebuilder:validation:Optional Body *string `json:"body,omitempty" tf:"body,omitempty"` }
func (*DetectionParameters) DeepCopy ¶
func (in *DetectionParameters) DeepCopy() *DetectionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectionParameters.
func (*DetectionParameters) DeepCopyInto ¶
func (in *DetectionParameters) DeepCopyInto(out *DetectionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DetectionSpec ¶
type DetectionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DetectionParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DetectionInitParameters `json:"initProvider,omitempty"` }
DetectionSpec defines the desired state of Detection
func (*DetectionSpec) DeepCopy ¶
func (in *DetectionSpec) DeepCopy() *DetectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectionSpec.
func (*DetectionSpec) DeepCopyInto ¶
func (in *DetectionSpec) DeepCopyInto(out *DetectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DetectionStatus ¶
type DetectionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DetectionObservation `json:"atProvider,omitempty"` }
DetectionStatus defines the observed state of Detection.
func (*DetectionStatus) DeepCopy ¶
func (in *DetectionStatus) DeepCopy() *DetectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectionStatus.
func (*DetectionStatus) DeepCopyInto ¶
func (in *DetectionStatus) DeepCopyInto(out *DetectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.