Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dbaaslogscluster.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type LogsCluster
- func (in *LogsCluster) DeepCopy() *LogsCluster
- func (in *LogsCluster) DeepCopyInto(out *LogsCluster)
- func (in *LogsCluster) DeepCopyObject() runtime.Object
- func (mg *LogsCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LogsCluster) GetConnectionDetailsMapping() map[string]string
- func (mg *LogsCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LogsCluster) GetID() string
- func (tr *LogsCluster) GetInitParameters() (map[string]any, error)
- func (mg *LogsCluster) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *LogsCluster) GetObservation() (map[string]any, error)
- func (tr *LogsCluster) GetParameters() (map[string]any, error)
- func (mg *LogsCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *LogsCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LogsCluster) GetTerraformResourceType() string
- func (tr *LogsCluster) GetTerraformSchemaVersion() int
- func (mg *LogsCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LogsCluster) LateInitialize(attrs []byte) (bool, error)
- func (mg *LogsCluster) SetConditions(c ...xpv1.Condition)
- func (mg *LogsCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LogsCluster) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *LogsCluster) SetObservation(obs map[string]any) error
- func (tr *LogsCluster) SetParameters(params map[string]any) error
- func (mg *LogsCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LogsCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LogsCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LogsClusterInitParameters
- type LogsClusterList
- type LogsClusterObservation
- type LogsClusterParameters
- type LogsClusterSpec
- type LogsClusterStatus
Constants ¶
const ( CRDGroup = "dbaaslogscluster.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( LogsCluster_Kind = "LogsCluster" LogsCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LogsCluster_Kind}.String() LogsCluster_KindAPIVersion = LogsCluster_Kind + "." + CRDGroupVersion.String() LogsCluster_GroupVersionKind = CRDGroupVersion.WithKind(LogsCluster_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type LogsCluster ¶
type LogsCluster 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.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter" Spec LogsClusterSpec `json:"spec"` Status LogsClusterStatus `json:"status,omitempty"` }
LogsCluster is the Schema for the LogsClusters API. <no value> +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,ovh}
func (*LogsCluster) DeepCopy ¶
func (in *LogsCluster) DeepCopy() *LogsCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsCluster.
func (*LogsCluster) DeepCopyInto ¶
func (in *LogsCluster) DeepCopyInto(out *LogsCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogsCluster) DeepCopyObject ¶
func (in *LogsCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LogsCluster) GetCondition ¶
func (mg *LogsCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this LogsCluster.
func (*LogsCluster) GetConnectionDetailsMapping ¶
func (tr *LogsCluster) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this LogsCluster
func (*LogsCluster) GetDeletionPolicy ¶
func (mg *LogsCluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LogsCluster.
func (*LogsCluster) GetID ¶
func (tr *LogsCluster) GetID() string
GetID returns ID of underlying Terraform resource of this LogsCluster
func (*LogsCluster) GetInitParameters ¶
func (tr *LogsCluster) GetInitParameters() (map[string]any, error)
GetInitParameters of this LogsCluster
func (*LogsCluster) GetManagementPolicies ¶
func (mg *LogsCluster) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this LogsCluster.
func (*LogsCluster) GetObservation ¶
func (tr *LogsCluster) GetObservation() (map[string]any, error)
GetObservation of this LogsCluster
func (*LogsCluster) GetParameters ¶
func (tr *LogsCluster) GetParameters() (map[string]any, error)
GetParameters of this LogsCluster
func (*LogsCluster) GetProviderConfigReference ¶
func (mg *LogsCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LogsCluster.
func (*LogsCluster) GetPublishConnectionDetailsTo ¶
func (mg *LogsCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LogsCluster.
func (*LogsCluster) GetTerraformResourceType ¶
func (mg *LogsCluster) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this LogsCluster
func (*LogsCluster) GetTerraformSchemaVersion ¶
func (tr *LogsCluster) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*LogsCluster) GetWriteConnectionSecretToReference ¶
func (mg *LogsCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LogsCluster.
func (*LogsCluster) LateInitialize ¶
func (tr *LogsCluster) LateInitialize(attrs []byte) (bool, error)
LateInitialize this LogsCluster using its observed tfState. returns True if there are any spec changes for the resource.
func (*LogsCluster) SetConditions ¶
func (mg *LogsCluster) SetConditions(c ...xpv1.Condition)
SetConditions of this LogsCluster.
func (*LogsCluster) SetDeletionPolicy ¶
func (mg *LogsCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this LogsCluster.
func (*LogsCluster) SetManagementPolicies ¶
func (mg *LogsCluster) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this LogsCluster.
func (*LogsCluster) SetObservation ¶
func (tr *LogsCluster) SetObservation(obs map[string]any) error
SetObservation for this LogsCluster
func (*LogsCluster) SetParameters ¶
func (tr *LogsCluster) SetParameters(params map[string]any) error
SetParameters for this LogsCluster
func (*LogsCluster) SetProviderConfigReference ¶
func (mg *LogsCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LogsCluster.
func (*LogsCluster) SetPublishConnectionDetailsTo ¶
func (mg *LogsCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this LogsCluster.
func (*LogsCluster) SetWriteConnectionSecretToReference ¶
func (mg *LogsCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this LogsCluster.
type LogsClusterInitParameters ¶
type LogsClusterInitParameters struct { // Allowed networks for ARCHIVE flow type ArchiveAllowedNetworks []*string `json:"archiveAllowedNetworks,omitempty" tf:"archive_allowed_networks,omitempty"` // Allowed networks for DIRECT_INPUT flow type DirectInputAllowedNetworks []*string `json:"directInputAllowedNetworks,omitempty" tf:"direct_input_allowed_networks,omitempty"` // Allowed networks for QUERY flow type QueryAllowedNetworks []*string `json:"queryAllowedNetworks,omitempty" tf:"query_allowed_networks,omitempty"` ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*LogsClusterInitParameters) DeepCopy ¶
func (in *LogsClusterInitParameters) DeepCopy() *LogsClusterInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsClusterInitParameters.
func (*LogsClusterInitParameters) DeepCopyInto ¶
func (in *LogsClusterInitParameters) DeepCopyInto(out *LogsClusterInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogsClusterList ¶
type LogsClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogsCluster `json:"items"` }
LogsClusterList contains a list of LogsClusters
func (*LogsClusterList) DeepCopy ¶
func (in *LogsClusterList) DeepCopy() *LogsClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsClusterList.
func (*LogsClusterList) DeepCopyInto ¶
func (in *LogsClusterList) DeepCopyInto(out *LogsClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogsClusterList) DeepCopyObject ¶
func (in *LogsClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LogsClusterList) GetItems ¶
func (l *LogsClusterList) GetItems() []resource.Managed
GetItems of this LogsClusterList.
type LogsClusterObservation ¶
type LogsClusterObservation struct { // Allowed networks for ARCHIVE flow type ArchiveAllowedNetworks []*string `json:"archiveAllowedNetworks,omitempty" tf:"archive_allowed_networks,omitempty"` // Cluster type ClusterType *string `json:"clusterType,omitempty" tf:"cluster_type,omitempty"` // Allowed networks for DIRECT_INPUT flow type DirectInputAllowedNetworks []*string `json:"directInputAllowedNetworks,omitempty" tf:"direct_input_allowed_networks,omitempty"` // hostname Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // All content generated by given service will be placed on this cluster IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` // Allow given service to perform advanced operations on cluster IsUnlocked *bool `json:"isUnlocked,omitempty" tf:"is_unlocked,omitempty"` // Allowed networks for QUERY flow type QueryAllowedNetworks []*string `json:"queryAllowedNetworks,omitempty" tf:"query_allowed_networks,omitempty"` // Data center localization Region *string `json:"region,omitempty" tf:"region,omitempty"` ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*LogsClusterObservation) DeepCopy ¶
func (in *LogsClusterObservation) DeepCopy() *LogsClusterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsClusterObservation.
func (*LogsClusterObservation) DeepCopyInto ¶
func (in *LogsClusterObservation) DeepCopyInto(out *LogsClusterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogsClusterParameters ¶
type LogsClusterParameters struct { // Allowed networks for ARCHIVE flow type // +kubebuilder:validation:Optional ArchiveAllowedNetworks []*string `json:"archiveAllowedNetworks,omitempty" tf:"archive_allowed_networks,omitempty"` // Allowed networks for DIRECT_INPUT flow type // +kubebuilder:validation:Optional DirectInputAllowedNetworks []*string `json:"directInputAllowedNetworks,omitempty" tf:"direct_input_allowed_networks,omitempty"` // Allowed networks for QUERY flow type // +kubebuilder:validation:Optional QueryAllowedNetworks []*string `json:"queryAllowedNetworks,omitempty" tf:"query_allowed_networks,omitempty"` // +kubebuilder:validation:Optional ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*LogsClusterParameters) DeepCopy ¶
func (in *LogsClusterParameters) DeepCopy() *LogsClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsClusterParameters.
func (*LogsClusterParameters) DeepCopyInto ¶
func (in *LogsClusterParameters) DeepCopyInto(out *LogsClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogsClusterSpec ¶
type LogsClusterSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LogsClusterParameters `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 LogsClusterInitParameters `json:"initProvider,omitempty"` }
LogsClusterSpec defines the desired state of LogsCluster
func (*LogsClusterSpec) DeepCopy ¶
func (in *LogsClusterSpec) DeepCopy() *LogsClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsClusterSpec.
func (*LogsClusterSpec) DeepCopyInto ¶
func (in *LogsClusterSpec) DeepCopyInto(out *LogsClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogsClusterStatus ¶
type LogsClusterStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LogsClusterObservation `json:"atProvider,omitempty"` }
LogsClusterStatus defines the observed state of LogsCluster.
func (*LogsClusterStatus) DeepCopy ¶
func (in *LogsClusterStatus) DeepCopy() *LogsClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsClusterStatus.
func (*LogsClusterStatus) DeepCopyInto ¶
func (in *LogsClusterStatus) DeepCopyInto(out *LogsClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.