Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dis.opentelekomcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AppV2
- func (in *AppV2) DeepCopy() *AppV2
- func (in *AppV2) DeepCopyInto(out *AppV2)
- func (in *AppV2) DeepCopyObject() runtime.Object
- func (mg *AppV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *AppV2) GetConnectionDetailsMapping() map[string]string
- func (mg *AppV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *AppV2) GetID() string
- func (tr *AppV2) GetInitParameters() (map[string]any, error)
- func (mg *AppV2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *AppV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *AppV2) GetObservation() (map[string]any, error)
- func (tr *AppV2) GetParameters() (map[string]any, error)
- func (mg *AppV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *AppV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *AppV2) GetTerraformResourceType() string
- func (tr *AppV2) GetTerraformSchemaVersion() int
- func (mg *AppV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *AppV2) Hub()
- func (tr *AppV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *AppV2) SetConditions(c ...xpv1.Condition)
- func (mg *AppV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *AppV2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *AppV2) SetObservation(obs map[string]any) error
- func (tr *AppV2) SetParameters(params map[string]any) error
- func (mg *AppV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AppV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *AppV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AppV2InitParameters
- type AppV2List
- type AppV2Observation
- type AppV2Parameters
- type AppV2Spec
- type AppV2Status
- type CheckpointV2
- func (in *CheckpointV2) DeepCopy() *CheckpointV2
- func (in *CheckpointV2) DeepCopyInto(out *CheckpointV2)
- func (in *CheckpointV2) DeepCopyObject() runtime.Object
- func (mg *CheckpointV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *CheckpointV2) GetConnectionDetailsMapping() map[string]string
- func (mg *CheckpointV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *CheckpointV2) GetID() string
- func (tr *CheckpointV2) GetInitParameters() (map[string]any, error)
- func (mg *CheckpointV2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *CheckpointV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *CheckpointV2) GetObservation() (map[string]any, error)
- func (tr *CheckpointV2) GetParameters() (map[string]any, error)
- func (mg *CheckpointV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *CheckpointV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *CheckpointV2) GetTerraformResourceType() string
- func (tr *CheckpointV2) GetTerraformSchemaVersion() int
- func (mg *CheckpointV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *CheckpointV2) Hub()
- func (tr *CheckpointV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *CheckpointV2) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *CheckpointV2) SetConditions(c ...xpv1.Condition)
- func (mg *CheckpointV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *CheckpointV2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *CheckpointV2) SetObservation(obs map[string]any) error
- func (tr *CheckpointV2) SetParameters(params map[string]any) error
- func (mg *CheckpointV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *CheckpointV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *CheckpointV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CheckpointV2InitParameters
- type CheckpointV2List
- type CheckpointV2Observation
- type CheckpointV2Parameters
- type CheckpointV2Spec
- type CheckpointV2Status
- type DumpTaskV2
- func (in *DumpTaskV2) DeepCopy() *DumpTaskV2
- func (in *DumpTaskV2) DeepCopyInto(out *DumpTaskV2)
- func (in *DumpTaskV2) DeepCopyObject() runtime.Object
- func (mg *DumpTaskV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DumpTaskV2) GetConnectionDetailsMapping() map[string]string
- func (mg *DumpTaskV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DumpTaskV2) GetID() string
- func (tr *DumpTaskV2) GetInitParameters() (map[string]any, error)
- func (mg *DumpTaskV2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DumpTaskV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DumpTaskV2) GetObservation() (map[string]any, error)
- func (tr *DumpTaskV2) GetParameters() (map[string]any, error)
- func (mg *DumpTaskV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *DumpTaskV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DumpTaskV2) GetTerraformResourceType() string
- func (tr *DumpTaskV2) GetTerraformSchemaVersion() int
- func (mg *DumpTaskV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DumpTaskV2) Hub()
- func (tr *DumpTaskV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *DumpTaskV2) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DumpTaskV2) SetConditions(c ...xpv1.Condition)
- func (mg *DumpTaskV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DumpTaskV2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DumpTaskV2) SetObservation(obs map[string]any) error
- func (tr *DumpTaskV2) SetParameters(params map[string]any) error
- func (mg *DumpTaskV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DumpTaskV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DumpTaskV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DumpTaskV2InitParameters
- type DumpTaskV2List
- type DumpTaskV2Observation
- type DumpTaskV2Parameters
- type DumpTaskV2Spec
- type DumpTaskV2Status
- type ObsDestinationDescriptorInitParameters
- type ObsDestinationDescriptorObservation
- type ObsDestinationDescriptorParameters
- type ObsProcessingSchemaInitParameters
- type ObsProcessingSchemaObservation
- type ObsProcessingSchemaParameters
- type PartitionConsumingStatesInitParameters
- type PartitionConsumingStatesObservation
- type PartitionConsumingStatesParameters
- type PartitionsInitParameters
- type PartitionsObservation
- type PartitionsParameters
- type StreamV2
- func (in *StreamV2) DeepCopy() *StreamV2
- func (in *StreamV2) DeepCopyInto(out *StreamV2)
- func (in *StreamV2) DeepCopyObject() runtime.Object
- func (mg *StreamV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *StreamV2) GetConnectionDetailsMapping() map[string]string
- func (mg *StreamV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *StreamV2) GetID() string
- func (tr *StreamV2) GetInitParameters() (map[string]any, error)
- func (mg *StreamV2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *StreamV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *StreamV2) GetObservation() (map[string]any, error)
- func (tr *StreamV2) GetParameters() (map[string]any, error)
- func (mg *StreamV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *StreamV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *StreamV2) GetTerraformResourceType() string
- func (tr *StreamV2) GetTerraformSchemaVersion() int
- func (mg *StreamV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *StreamV2) Hub()
- func (tr *StreamV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *StreamV2) SetConditions(c ...xpv1.Condition)
- func (mg *StreamV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *StreamV2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *StreamV2) SetObservation(obs map[string]any) error
- func (tr *StreamV2) SetParameters(params map[string]any) error
- func (mg *StreamV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *StreamV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *StreamV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type StreamV2InitParameters
- type StreamV2List
- type StreamV2Observation
- type StreamV2Parameters
- type StreamV2PartitionsInitParameters
- type StreamV2PartitionsObservation
- type StreamV2PartitionsParameters
- type StreamV2Spec
- type StreamV2Status
Constants ¶
const ( CRDGroup = "dis.opentelekomcloud.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( AppV2_Kind = "AppV2" AppV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppV2_Kind}.String() AppV2_KindAPIVersion = AppV2_Kind + "." + CRDGroupVersion.String() AppV2_GroupVersionKind = CRDGroupVersion.WithKind(AppV2_Kind) )
Repository type metadata.
var ( CheckpointV2_Kind = "CheckpointV2" CheckpointV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CheckpointV2_Kind}.String() CheckpointV2_KindAPIVersion = CheckpointV2_Kind + "." + CRDGroupVersion.String() CheckpointV2_GroupVersionKind = CRDGroupVersion.WithKind(CheckpointV2_Kind) )
Repository type metadata.
var ( DumpTaskV2_Kind = "DumpTaskV2" DumpTaskV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DumpTaskV2_Kind}.String() DumpTaskV2_KindAPIVersion = DumpTaskV2_Kind + "." + CRDGroupVersion.String() DumpTaskV2_GroupVersionKind = CRDGroupVersion.WithKind(DumpTaskV2_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 )
var ( StreamV2_Kind = "StreamV2" StreamV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: StreamV2_Kind}.String() StreamV2_KindAPIVersion = StreamV2_Kind + "." + CRDGroupVersion.String() StreamV2_GroupVersionKind = CRDGroupVersion.WithKind(StreamV2_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AppV2 ¶
type AppV2 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
Spec AppV2Spec `json:"spec"`
Status AppV2Status `json:"status,omitempty"`
}
AppV2 is the Schema for the AppV2s API. Manages a DIS App resource within OpenTelekomCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,opentelekomcloud}
func (*AppV2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppV2.
func (*AppV2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppV2) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AppV2) GetCondition ¶
func (mg *AppV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this AppV2.
func (*AppV2) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this AppV2
func (*AppV2) GetDeletionPolicy ¶
func (mg *AppV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this AppV2.
func (*AppV2) GetInitParameters ¶
GetInitParameters of this AppV2
func (*AppV2) GetManagementPolicies ¶
func (mg *AppV2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this AppV2.
func (*AppV2) GetMergedParameters ¶ added in v0.2.0
GetInitParameters of this AppV2
func (*AppV2) GetObservation ¶
GetObservation of this AppV2
func (*AppV2) GetParameters ¶
GetParameters of this AppV2
func (*AppV2) GetProviderConfigReference ¶
GetProviderConfigReference of this AppV2.
func (*AppV2) GetPublishConnectionDetailsTo ¶
func (mg *AppV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this AppV2.
func (*AppV2) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this AppV2
func (*AppV2) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*AppV2) GetWriteConnectionSecretToReference ¶
func (mg *AppV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this AppV2.
func (*AppV2) LateInitialize ¶
LateInitialize this AppV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*AppV2) SetConditions ¶
SetConditions of this AppV2.
func (*AppV2) SetDeletionPolicy ¶
func (mg *AppV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this AppV2.
func (*AppV2) SetManagementPolicies ¶
func (mg *AppV2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this AppV2.
func (*AppV2) SetObservation ¶
SetObservation for this AppV2
func (*AppV2) SetParameters ¶
SetParameters for this AppV2
func (*AppV2) SetProviderConfigReference ¶
SetProviderConfigReference of this AppV2.
func (*AppV2) SetPublishConnectionDetailsTo ¶
func (mg *AppV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this AppV2.
func (*AppV2) SetWriteConnectionSecretToReference ¶
func (mg *AppV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this AppV2.
type AppV2InitParameters ¶
type AppV2InitParameters struct {
// Name of the consumer application to be created
// The application name contains 1 to 200 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
func (*AppV2InitParameters) DeepCopy ¶
func (in *AppV2InitParameters) DeepCopy() *AppV2InitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppV2InitParameters.
func (*AppV2InitParameters) DeepCopyInto ¶
func (in *AppV2InitParameters) DeepCopyInto(out *AppV2InitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppV2List ¶
type AppV2List struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AppV2 `json:"items"`
}
AppV2List contains a list of AppV2s
func (*AppV2List) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppV2List.
func (*AppV2List) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppV2List) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppV2Observation ¶
type AppV2Observation struct {
// List of associated streams.
CommitCheckpointStreamNames []*string `json:"commitCheckpointStreamNames,omitempty" tf:"commit_checkpoint_stream_names,omitempty"`
// Time when the app is created. The value is a timestamp.
Created *float64 `json:"created,omitempty" tf:"created,omitempty"`
// Unique identifier of the app.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Name of the consumer application to be created
// The application name contains 1 to 200 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Associated partitions details.
PartitionConsumingStates []PartitionConsumingStatesObservation `json:"partitionConsumingStates,omitempty" tf:"partition_consuming_states,omitempty"`
}
func (*AppV2Observation) DeepCopy ¶
func (in *AppV2Observation) DeepCopy() *AppV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppV2Observation.
func (*AppV2Observation) DeepCopyInto ¶
func (in *AppV2Observation) DeepCopyInto(out *AppV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppV2Parameters ¶
type AppV2Parameters struct {
// Name of the consumer application to be created
// The application name contains 1 to 200 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
}
func (*AppV2Parameters) DeepCopy ¶
func (in *AppV2Parameters) DeepCopy() *AppV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppV2Parameters.
func (*AppV2Parameters) DeepCopyInto ¶
func (in *AppV2Parameters) DeepCopyInto(out *AppV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppV2Spec ¶
type AppV2Spec struct {
v1.ResourceSpec `json:",inline"`
ForProvider AppV2Parameters `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 AppV2InitParameters `json:"initProvider,omitempty"`
}
AppV2Spec defines the desired state of AppV2
func (*AppV2Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppV2Spec.
func (*AppV2Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppV2Status ¶
type AppV2Status struct {
v1.ResourceStatus `json:",inline"`
AtProvider AppV2Observation `json:"atProvider,omitempty"`
}
AppV2Status defines the observed state of AppV2.
func (*AppV2Status) DeepCopy ¶
func (in *AppV2Status) DeepCopy() *AppV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppV2Status.
func (*AppV2Status) DeepCopyInto ¶
func (in *AppV2Status) DeepCopyInto(out *AppV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckpointV2 ¶
type CheckpointV2 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.partitionId) || (has(self.initProvider) && has(self.initProvider.partitionId))",message="spec.forProvider.partitionId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sequenceNumber) || (has(self.initProvider) && has(self.initProvider.sequenceNumber))",message="spec.forProvider.sequenceNumber is a required parameter"
Spec CheckpointV2Spec `json:"spec"`
Status CheckpointV2Status `json:"status,omitempty"`
}
CheckpointV2 is the Schema for the CheckpointV2s API. Manages a DIS Checkpoint resource within OpenTelekomCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,opentelekomcloud}
func (*CheckpointV2) DeepCopy ¶
func (in *CheckpointV2) DeepCopy() *CheckpointV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointV2.
func (*CheckpointV2) DeepCopyInto ¶
func (in *CheckpointV2) DeepCopyInto(out *CheckpointV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CheckpointV2) DeepCopyObject ¶
func (in *CheckpointV2) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CheckpointV2) GetCondition ¶
func (mg *CheckpointV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this CheckpointV2.
func (*CheckpointV2) GetConnectionDetailsMapping ¶
func (tr *CheckpointV2) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this CheckpointV2
func (*CheckpointV2) GetDeletionPolicy ¶
func (mg *CheckpointV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this CheckpointV2.
func (*CheckpointV2) GetID ¶
func (tr *CheckpointV2) GetID() string
GetID returns ID of underlying Terraform resource of this CheckpointV2
func (*CheckpointV2) GetInitParameters ¶
func (tr *CheckpointV2) GetInitParameters() (map[string]any, error)
GetInitParameters of this CheckpointV2
func (*CheckpointV2) GetManagementPolicies ¶
func (mg *CheckpointV2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this CheckpointV2.
func (*CheckpointV2) GetMergedParameters ¶ added in v0.2.0
func (tr *CheckpointV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this CheckpointV2
func (*CheckpointV2) GetObservation ¶
func (tr *CheckpointV2) GetObservation() (map[string]any, error)
GetObservation of this CheckpointV2
func (*CheckpointV2) GetParameters ¶
func (tr *CheckpointV2) GetParameters() (map[string]any, error)
GetParameters of this CheckpointV2
func (*CheckpointV2) GetProviderConfigReference ¶
func (mg *CheckpointV2) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this CheckpointV2.
func (*CheckpointV2) GetPublishConnectionDetailsTo ¶
func (mg *CheckpointV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this CheckpointV2.
func (*CheckpointV2) GetTerraformResourceType ¶
func (mg *CheckpointV2) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this CheckpointV2
func (*CheckpointV2) GetTerraformSchemaVersion ¶
func (tr *CheckpointV2) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*CheckpointV2) GetWriteConnectionSecretToReference ¶
func (mg *CheckpointV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this CheckpointV2.
func (*CheckpointV2) Hub ¶ added in v0.2.0
func (tr *CheckpointV2) Hub()
Hub marks this type as a conversion hub.
func (*CheckpointV2) LateInitialize ¶
func (tr *CheckpointV2) LateInitialize(attrs []byte) (bool, error)
LateInitialize this CheckpointV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*CheckpointV2) ResolveReferences ¶ added in v0.3.0
ResolveReferences of this CheckpointV2.
func (*CheckpointV2) SetConditions ¶
func (mg *CheckpointV2) SetConditions(c ...xpv1.Condition)
SetConditions of this CheckpointV2.
func (*CheckpointV2) SetDeletionPolicy ¶
func (mg *CheckpointV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this CheckpointV2.
func (*CheckpointV2) SetManagementPolicies ¶
func (mg *CheckpointV2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this CheckpointV2.
func (*CheckpointV2) SetObservation ¶
func (tr *CheckpointV2) SetObservation(obs map[string]any) error
SetObservation for this CheckpointV2
func (*CheckpointV2) SetParameters ¶
func (tr *CheckpointV2) SetParameters(params map[string]any) error
SetParameters for this CheckpointV2
func (*CheckpointV2) SetProviderConfigReference ¶
func (mg *CheckpointV2) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this CheckpointV2.
func (*CheckpointV2) SetPublishConnectionDetailsTo ¶
func (mg *CheckpointV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this CheckpointV2.
func (*CheckpointV2) SetWriteConnectionSecretToReference ¶
func (mg *CheckpointV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this CheckpointV2.
type CheckpointV2InitParameters ¶
type CheckpointV2InitParameters struct {
// Name of the consumer application to be created
// The application name contains 1 to 200 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.
// +crossplane:generate:reference:type=github.com/opentelekomcloud/provider-opentelekomcloud/apis/dis/v1alpha1.AppV2
// +crossplane:generate:reference:extractor=github.com/opentelekomcloud/provider-opentelekomcloud/config/common.ExtractDisAppName()
AppName *string `json:"appName,omitempty" tf:"app_name,omitempty"`
// Reference to a AppV2 in dis to populate appName.
// +kubebuilder:validation:Optional
AppNameRef *v1.Reference `json:"appNameRef,omitempty" tf:"-"`
// Selector for a AppV2 in dis to populate appName.
// +kubebuilder:validation:Optional
AppNameSelector *v1.Selector `json:"appNameSelector,omitempty" tf:"-"`
// Type of the checkpoint. LAST_READ: Only sequence numbers are recorded in databases.
// Default value: LAST_READ
CheckpointType *string `json:"checkpointType,omitempty" tf:"checkpoint_type,omitempty"`
// Metadata information of the consumer application.
// Maximum length: 1000
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// Partition ID of the stream The value can be in either of the following formats:
PartitionID *string `json:"partitionId,omitempty" tf:"partition_id,omitempty"`
// Sequence number to be submitted, which is used to record the consumption
// checkpoint of the stream. Ensure that the sequence number is within the valid range.
SequenceNumber *string `json:"sequenceNumber,omitempty" tf:"sequence_number,omitempty"`
// Name of the stream. The stream name can contain 1 to 64 characters,
// including letters, digits, underscores (_), and hyphens (-).
// +crossplane:generate:reference:type=github.com/opentelekomcloud/provider-opentelekomcloud/apis/dis/v1alpha1.StreamV2
// +crossplane:generate:reference:extractor=github.com/opentelekomcloud/provider-opentelekomcloud/config/common.ExtractDisStreamName()
StreamName *string `json:"streamName,omitempty" tf:"stream_name,omitempty"`
// Reference to a StreamV2 in dis to populate streamName.
// +kubebuilder:validation:Optional
StreamNameRef *v1.Reference `json:"streamNameRef,omitempty" tf:"-"`
// Selector for a StreamV2 in dis to populate streamName.
// +kubebuilder:validation:Optional
StreamNameSelector *v1.Selector `json:"streamNameSelector,omitempty" tf:"-"`
}
func (*CheckpointV2InitParameters) DeepCopy ¶
func (in *CheckpointV2InitParameters) DeepCopy() *CheckpointV2InitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointV2InitParameters.
func (*CheckpointV2InitParameters) DeepCopyInto ¶
func (in *CheckpointV2InitParameters) DeepCopyInto(out *CheckpointV2InitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckpointV2List ¶
type CheckpointV2List struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CheckpointV2 `json:"items"`
}
CheckpointV2List contains a list of CheckpointV2s
func (*CheckpointV2List) DeepCopy ¶
func (in *CheckpointV2List) DeepCopy() *CheckpointV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointV2List.
func (*CheckpointV2List) DeepCopyInto ¶
func (in *CheckpointV2List) DeepCopyInto(out *CheckpointV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CheckpointV2List) DeepCopyObject ¶
func (in *CheckpointV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CheckpointV2List) GetItems ¶
func (l *CheckpointV2List) GetItems() []resource.Managed
GetItems of this CheckpointV2List.
type CheckpointV2Observation ¶
type CheckpointV2Observation struct {
// Name of the consumer application to be created
// The application name contains 1 to 200 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.
AppName *string `json:"appName,omitempty" tf:"app_name,omitempty"`
// Type of the checkpoint. LAST_READ: Only sequence numbers are recorded in databases.
// Default value: LAST_READ
CheckpointType *string `json:"checkpointType,omitempty" tf:"checkpoint_type,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Metadata information of the consumer application.
// Maximum length: 1000
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// Partition ID of the stream The value can be in either of the following formats:
PartitionID *string `json:"partitionId,omitempty" tf:"partition_id,omitempty"`
// Sequence number to be submitted, which is used to record the consumption
// checkpoint of the stream. Ensure that the sequence number is within the valid range.
SequenceNumber *string `json:"sequenceNumber,omitempty" tf:"sequence_number,omitempty"`
// Name of the stream. The stream name can contain 1 to 64 characters,
// including letters, digits, underscores (_), and hyphens (-).
StreamName *string `json:"streamName,omitempty" tf:"stream_name,omitempty"`
}
func (*CheckpointV2Observation) DeepCopy ¶
func (in *CheckpointV2Observation) DeepCopy() *CheckpointV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointV2Observation.
func (*CheckpointV2Observation) DeepCopyInto ¶
func (in *CheckpointV2Observation) DeepCopyInto(out *CheckpointV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckpointV2Parameters ¶
type CheckpointV2Parameters struct {
// Name of the consumer application to be created
// The application name contains 1 to 200 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.
// +crossplane:generate:reference:type=github.com/opentelekomcloud/provider-opentelekomcloud/apis/dis/v1alpha1.AppV2
// +crossplane:generate:reference:extractor=github.com/opentelekomcloud/provider-opentelekomcloud/config/common.ExtractDisAppName()
// +kubebuilder:validation:Optional
AppName *string `json:"appName,omitempty" tf:"app_name,omitempty"`
// Reference to a AppV2 in dis to populate appName.
// +kubebuilder:validation:Optional
AppNameRef *v1.Reference `json:"appNameRef,omitempty" tf:"-"`
// Selector for a AppV2 in dis to populate appName.
// +kubebuilder:validation:Optional
AppNameSelector *v1.Selector `json:"appNameSelector,omitempty" tf:"-"`
// Type of the checkpoint. LAST_READ: Only sequence numbers are recorded in databases.
// Default value: LAST_READ
// +kubebuilder:validation:Optional
CheckpointType *string `json:"checkpointType,omitempty" tf:"checkpoint_type,omitempty"`
// Metadata information of the consumer application.
// Maximum length: 1000
// +kubebuilder:validation:Optional
Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// Partition ID of the stream The value can be in either of the following formats:
// +kubebuilder:validation:Optional
PartitionID *string `json:"partitionId,omitempty" tf:"partition_id,omitempty"`
// Sequence number to be submitted, which is used to record the consumption
// checkpoint of the stream. Ensure that the sequence number is within the valid range.
// +kubebuilder:validation:Optional
SequenceNumber *string `json:"sequenceNumber,omitempty" tf:"sequence_number,omitempty"`
// Name of the stream. The stream name can contain 1 to 64 characters,
// including letters, digits, underscores (_), and hyphens (-).
// +crossplane:generate:reference:type=github.com/opentelekomcloud/provider-opentelekomcloud/apis/dis/v1alpha1.StreamV2
// +crossplane:generate:reference:extractor=github.com/opentelekomcloud/provider-opentelekomcloud/config/common.ExtractDisStreamName()
// +kubebuilder:validation:Optional
StreamName *string `json:"streamName,omitempty" tf:"stream_name,omitempty"`
// Reference to a StreamV2 in dis to populate streamName.
// +kubebuilder:validation:Optional
StreamNameRef *v1.Reference `json:"streamNameRef,omitempty" tf:"-"`
// Selector for a StreamV2 in dis to populate streamName.
// +kubebuilder:validation:Optional
StreamNameSelector *v1.Selector `json:"streamNameSelector,omitempty" tf:"-"`
}
func (*CheckpointV2Parameters) DeepCopy ¶
func (in *CheckpointV2Parameters) DeepCopy() *CheckpointV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointV2Parameters.
func (*CheckpointV2Parameters) DeepCopyInto ¶
func (in *CheckpointV2Parameters) DeepCopyInto(out *CheckpointV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckpointV2Spec ¶
type CheckpointV2Spec struct {
v1.ResourceSpec `json:",inline"`
ForProvider CheckpointV2Parameters `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 CheckpointV2InitParameters `json:"initProvider,omitempty"`
}
CheckpointV2Spec defines the desired state of CheckpointV2
func (*CheckpointV2Spec) DeepCopy ¶
func (in *CheckpointV2Spec) DeepCopy() *CheckpointV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointV2Spec.
func (*CheckpointV2Spec) DeepCopyInto ¶
func (in *CheckpointV2Spec) DeepCopyInto(out *CheckpointV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckpointV2Status ¶
type CheckpointV2Status struct {
v1.ResourceStatus `json:",inline"`
AtProvider CheckpointV2Observation `json:"atProvider,omitempty"`
}
CheckpointV2Status defines the observed state of CheckpointV2.
func (*CheckpointV2Status) DeepCopy ¶
func (in *CheckpointV2Status) DeepCopy() *CheckpointV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointV2Status.
func (*CheckpointV2Status) DeepCopyInto ¶
func (in *CheckpointV2Status) DeepCopyInto(out *CheckpointV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DumpTaskV2 ¶
type DumpTaskV2 struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DumpTaskV2Spec `json:"spec"`
Status DumpTaskV2Status `json:"status,omitempty"`
}
DumpTaskV2 is the Schema for the DumpTaskV2s API. Manages a DIS Dump Task resource within OpenTelekomCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,opentelekomcloud}
func (*DumpTaskV2) DeepCopy ¶
func (in *DumpTaskV2) DeepCopy() *DumpTaskV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DumpTaskV2.
func (*DumpTaskV2) DeepCopyInto ¶
func (in *DumpTaskV2) DeepCopyInto(out *DumpTaskV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DumpTaskV2) DeepCopyObject ¶
func (in *DumpTaskV2) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DumpTaskV2) GetCondition ¶
func (mg *DumpTaskV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DumpTaskV2.
func (*DumpTaskV2) GetConnectionDetailsMapping ¶
func (tr *DumpTaskV2) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DumpTaskV2
func (*DumpTaskV2) GetDeletionPolicy ¶
func (mg *DumpTaskV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DumpTaskV2.
func (*DumpTaskV2) GetID ¶
func (tr *DumpTaskV2) GetID() string
GetID returns ID of underlying Terraform resource of this DumpTaskV2
func (*DumpTaskV2) GetInitParameters ¶
func (tr *DumpTaskV2) GetInitParameters() (map[string]any, error)
GetInitParameters of this DumpTaskV2
func (*DumpTaskV2) GetManagementPolicies ¶
func (mg *DumpTaskV2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DumpTaskV2.
func (*DumpTaskV2) GetMergedParameters ¶ added in v0.2.0
func (tr *DumpTaskV2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this DumpTaskV2
func (*DumpTaskV2) GetObservation ¶
func (tr *DumpTaskV2) GetObservation() (map[string]any, error)
GetObservation of this DumpTaskV2
func (*DumpTaskV2) GetParameters ¶
func (tr *DumpTaskV2) GetParameters() (map[string]any, error)
GetParameters of this DumpTaskV2
func (*DumpTaskV2) GetProviderConfigReference ¶
func (mg *DumpTaskV2) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DumpTaskV2.
func (*DumpTaskV2) GetPublishConnectionDetailsTo ¶
func (mg *DumpTaskV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DumpTaskV2.
func (*DumpTaskV2) GetTerraformResourceType ¶
func (mg *DumpTaskV2) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DumpTaskV2
func (*DumpTaskV2) GetTerraformSchemaVersion ¶
func (tr *DumpTaskV2) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DumpTaskV2) GetWriteConnectionSecretToReference ¶
func (mg *DumpTaskV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DumpTaskV2.
func (*DumpTaskV2) Hub ¶ added in v0.2.0
func (tr *DumpTaskV2) Hub()
Hub marks this type as a conversion hub.
func (*DumpTaskV2) LateInitialize ¶
func (tr *DumpTaskV2) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DumpTaskV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*DumpTaskV2) ResolveReferences ¶ added in v0.3.0
ResolveReferences of this DumpTaskV2.
func (*DumpTaskV2) SetConditions ¶
func (mg *DumpTaskV2) SetConditions(c ...xpv1.Condition)
SetConditions of this DumpTaskV2.
func (*DumpTaskV2) SetDeletionPolicy ¶
func (mg *DumpTaskV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DumpTaskV2.
func (*DumpTaskV2) SetManagementPolicies ¶
func (mg *DumpTaskV2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DumpTaskV2.
func (*DumpTaskV2) SetObservation ¶
func (tr *DumpTaskV2) SetObservation(obs map[string]any) error
SetObservation for this DumpTaskV2
func (*DumpTaskV2) SetParameters ¶
func (tr *DumpTaskV2) SetParameters(params map[string]any) error
SetParameters for this DumpTaskV2
func (*DumpTaskV2) SetProviderConfigReference ¶
func (mg *DumpTaskV2) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DumpTaskV2.
func (*DumpTaskV2) SetPublishConnectionDetailsTo ¶
func (mg *DumpTaskV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DumpTaskV2.
func (*DumpTaskV2) SetWriteConnectionSecretToReference ¶
func (mg *DumpTaskV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DumpTaskV2.
type DumpTaskV2InitParameters ¶
type DumpTaskV2InitParameters struct {
// Dump task operation. The value can only be start or stop.
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Dump destination. Possible values:
// OBS: Data is dumped to OBS.
Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`
// Parameter list of OBS to which data in the DIS stream will be dumped.
ObsDestinationDescriptor []ObsDestinationDescriptorInitParameters `json:"obsDestinationDescriptor,omitempty" tf:"obs_destination_descriptor,omitempty"`
// Dump time directory generated based on the timestamp
// of the source data and the configured partition_format.
// Directory structure of the object file written into OBS.
// The directory structure is in the format of yyyy/MM/dd/HH/mm.
ObsProcessingSchema []ObsProcessingSchemaInitParameters `json:"obsProcessingSchema,omitempty" tf:"obs_processing_schema,omitempty"`
// Name of the stream.
// +crossplane:generate:reference:type=github.com/opentelekomcloud/provider-opentelekomcloud/apis/dis/v1alpha1.StreamV2
// +crossplane:generate:reference:extractor=github.com/opentelekomcloud/provider-opentelekomcloud/config/common.ExtractDisStreamName()
StreamName *string `json:"streamName,omitempty" tf:"stream_name,omitempty"`
// Reference to a StreamV2 in dis to populate streamName.
// +kubebuilder:validation:Optional
StreamNameRef *v1.Reference `json:"streamNameRef,omitempty" tf:"-"`
// Selector for a StreamV2 in dis to populate streamName.
// +kubebuilder:validation:Optional
StreamNameSelector *v1.Selector `json:"streamNameSelector,omitempty" tf:"-"`
}
func (*DumpTaskV2InitParameters) DeepCopy ¶
func (in *DumpTaskV2InitParameters) DeepCopy() *DumpTaskV2InitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DumpTaskV2InitParameters.
func (*DumpTaskV2InitParameters) DeepCopyInto ¶
func (in *DumpTaskV2InitParameters) DeepCopyInto(out *DumpTaskV2InitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DumpTaskV2List ¶
type DumpTaskV2List struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DumpTaskV2 `json:"items"`
}
DumpTaskV2List contains a list of DumpTaskV2s
func (*DumpTaskV2List) DeepCopy ¶
func (in *DumpTaskV2List) DeepCopy() *DumpTaskV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DumpTaskV2List.
func (*DumpTaskV2List) DeepCopyInto ¶
func (in *DumpTaskV2List) DeepCopyInto(out *DumpTaskV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DumpTaskV2List) DeepCopyObject ¶
func (in *DumpTaskV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DumpTaskV2List) GetItems ¶
func (l *DumpTaskV2List) GetItems() []resource.Managed
GetItems of this DumpTaskV2List.
type DumpTaskV2Observation ¶
type DumpTaskV2Observation struct {
// Dump task operation. The value can only be start or stop.
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Time when the dump task is created.
CreatedAt *float64 `json:"createdAt,omitempty" tf:"created_at,omitempty"`
// Dump destination. Possible values:
// OBS: Data is dumped to OBS.
Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`
// : Unique identifier of the partition.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Latest dump time of the dump task.
LastTransferTimestamp *float64 `json:"lastTransferTimestamp,omitempty" tf:"last_transfer_timestamp,omitempty"`
// Name of the dump task.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Parameter list of OBS to which data in the DIS stream will be dumped.
ObsDestinationDescriptor []ObsDestinationDescriptorObservation `json:"obsDestinationDescriptor,omitempty" tf:"obs_destination_descriptor,omitempty"`
// Dump time directory generated based on the timestamp
// of the source data and the configured partition_format.
// Directory structure of the object file written into OBS.
// The directory structure is in the format of yyyy/MM/dd/HH/mm.
ObsProcessingSchema []ObsProcessingSchemaObservation `json:"obsProcessingSchema,omitempty" tf:"obs_processing_schema,omitempty"`
// List of partition dump details.
Partitions []PartitionsObservation `json:"partitions,omitempty" tf:"partitions,omitempty"`
// Current status of the stream, can be:
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// Name of the stream.
StreamName *string `json:"streamName,omitempty" tf:"stream_name,omitempty"`
// ID of the dump task.
TaskID *string `json:"taskId,omitempty" tf:"task_id,omitempty"`
}
func (*DumpTaskV2Observation) DeepCopy ¶
func (in *DumpTaskV2Observation) DeepCopy() *DumpTaskV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DumpTaskV2Observation.
func (*DumpTaskV2Observation) DeepCopyInto ¶
func (in *DumpTaskV2Observation) DeepCopyInto(out *DumpTaskV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DumpTaskV2Parameters ¶
type DumpTaskV2Parameters struct {
// Dump task operation. The value can only be start or stop.
// +kubebuilder:validation:Optional
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Dump destination. Possible values:
// OBS: Data is dumped to OBS.
// +kubebuilder:validation:Optional
Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`
// Parameter list of OBS to which data in the DIS stream will be dumped.
// +kubebuilder:validation:Optional
ObsDestinationDescriptor []ObsDestinationDescriptorParameters `json:"obsDestinationDescriptor,omitempty" tf:"obs_destination_descriptor,omitempty"`
// Dump time directory generated based on the timestamp
// of the source data and the configured partition_format.
// Directory structure of the object file written into OBS.
// The directory structure is in the format of yyyy/MM/dd/HH/mm.
// +kubebuilder:validation:Optional
ObsProcessingSchema []ObsProcessingSchemaParameters `json:"obsProcessingSchema,omitempty" tf:"obs_processing_schema,omitempty"`
// Name of the stream.
// +crossplane:generate:reference:type=github.com/opentelekomcloud/provider-opentelekomcloud/apis/dis/v1alpha1.StreamV2
// +crossplane:generate:reference:extractor=github.com/opentelekomcloud/provider-opentelekomcloud/config/common.ExtractDisStreamName()
// +kubebuilder:validation:Optional
StreamName *string `json:"streamName,omitempty" tf:"stream_name,omitempty"`
// Reference to a StreamV2 in dis to populate streamName.
// +kubebuilder:validation:Optional
StreamNameRef *v1.Reference `json:"streamNameRef,omitempty" tf:"-"`
// Selector for a StreamV2 in dis to populate streamName.
// +kubebuilder:validation:Optional
StreamNameSelector *v1.Selector `json:"streamNameSelector,omitempty" tf:"-"`
}
func (*DumpTaskV2Parameters) DeepCopy ¶
func (in *DumpTaskV2Parameters) DeepCopy() *DumpTaskV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DumpTaskV2Parameters.
func (*DumpTaskV2Parameters) DeepCopyInto ¶
func (in *DumpTaskV2Parameters) DeepCopyInto(out *DumpTaskV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DumpTaskV2Spec ¶
type DumpTaskV2Spec struct {
v1.ResourceSpec `json:",inline"`
ForProvider DumpTaskV2Parameters `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 DumpTaskV2InitParameters `json:"initProvider,omitempty"`
}
DumpTaskV2Spec defines the desired state of DumpTaskV2
func (*DumpTaskV2Spec) DeepCopy ¶
func (in *DumpTaskV2Spec) DeepCopy() *DumpTaskV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DumpTaskV2Spec.
func (*DumpTaskV2Spec) DeepCopyInto ¶
func (in *DumpTaskV2Spec) DeepCopyInto(out *DumpTaskV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DumpTaskV2Status ¶
type DumpTaskV2Status struct {
v1.ResourceStatus `json:",inline"`
AtProvider DumpTaskV2Observation `json:"atProvider,omitempty"`
}
DumpTaskV2Status defines the observed state of DumpTaskV2.
func (*DumpTaskV2Status) DeepCopy ¶
func (in *DumpTaskV2Status) DeepCopy() *DumpTaskV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DumpTaskV2Status.
func (*DumpTaskV2Status) DeepCopyInto ¶
func (in *DumpTaskV2Status) DeepCopyInto(out *DumpTaskV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObsDestinationDescriptorInitParameters ¶
type ObsDestinationDescriptorInitParameters struct {
// Name of the agency created on IAM. DIS uses an agency to access your specified resources.
// The parameters for creating an agency are as follows:
AgencyName *string `json:"agencyName,omitempty" tf:"agency_name,omitempty"`
// Offset.
// LATEST: Maximum offset, indicating that the latest data will be extracted.
// TRIM_HORIZON: Minimum offset, indicating that the earliest data will be extracted.
ConsumerStrategy *string `json:"consumerStrategy,omitempty" tf:"consumer_strategy,omitempty"`
// User-defined interval at which data is imported from the current DIS stream into OBS.
// If no data is pushed to the DIS stream during the current interval, no dump file package will be generated. Value range: 30-900.
DeliverTimeInterval *float64 `json:"deliverTimeInterval,omitempty" tf:"deliver_time_interval,omitempty"`
// Dump file format. Possible values: text
DestinationFileType *string `json:"destinationFileType,omitempty" tf:"destination_file_type,omitempty"`
// Directory to store files that will be dumped to OBS.
// Different directory levels are separated by slashes (/) and cannot start with slashes.
FilePrefix *string `json:"filePrefix,omitempty" tf:"file_prefix,omitempty"`
// Name of the OBS bucket used to store data from the DIS stream.
// +crossplane:generate:reference:type=github.com/opentelekomcloud/provider-opentelekomcloud/apis/obs/v1alpha1.Bucket
// +crossplane:generate:reference:extractor=github.com/opentelekomcloud/provider-opentelekomcloud/config/common.ExtractObsBucket()
ObsBucketPath *string `json:"obsBucketPath,omitempty" tf:"obs_bucket_path,omitempty"`
// Reference to a Bucket in obs to populate obsBucketPath.
// +kubebuilder:validation:Optional
ObsBucketPathRef *v1.Reference `json:"obsBucketPathRef,omitempty" tf:"-"`
// Selector for a Bucket in obs to populate obsBucketPath.
// +kubebuilder:validation:Optional
ObsBucketPathSelector *v1.Selector `json:"obsBucketPathSelector,omitempty" tf:"-"`
// Directory structure of the object file written into OBS.
// The directory structure is in the format of yyyy/MM/dd/HH/mm (time at which the dump task was created).
// Possible values:
PartitionFormat *string `json:"partitionFormat,omitempty" tf:"partition_format,omitempty"`
// Delimiter for the dump file, which is used to separate the user data that is written into the dump file.
RecordDelimiter *string `json:"recordDelimiter,omitempty" tf:"record_delimiter,omitempty"`
// Name of the dump task. The task name consists of letters, digits, hyphens (-), and underscores (_). It must be a string of 1 to 64 characters.
TaskName *string `json:"taskName,omitempty" tf:"task_name,omitempty"`
}
func (*ObsDestinationDescriptorInitParameters) DeepCopy ¶
func (in *ObsDestinationDescriptorInitParameters) DeepCopy() *ObsDestinationDescriptorInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObsDestinationDescriptorInitParameters.
func (*ObsDestinationDescriptorInitParameters) DeepCopyInto ¶
func (in *ObsDestinationDescriptorInitParameters) DeepCopyInto(out *ObsDestinationDescriptorInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObsDestinationDescriptorObservation ¶
type ObsDestinationDescriptorObservation struct {
// Name of the agency created on IAM. DIS uses an agency to access your specified resources.
// The parameters for creating an agency are as follows:
AgencyName *string `json:"agencyName,omitempty" tf:"agency_name,omitempty"`
// Offset.
// LATEST: Maximum offset, indicating that the latest data will be extracted.
// TRIM_HORIZON: Minimum offset, indicating that the earliest data will be extracted.
ConsumerStrategy *string `json:"consumerStrategy,omitempty" tf:"consumer_strategy,omitempty"`
// User-defined interval at which data is imported from the current DIS stream into OBS.
// If no data is pushed to the DIS stream during the current interval, no dump file package will be generated. Value range: 30-900.
DeliverTimeInterval *float64 `json:"deliverTimeInterval,omitempty" tf:"deliver_time_interval,omitempty"`
// Dump file format. Possible values: text
DestinationFileType *string `json:"destinationFileType,omitempty" tf:"destination_file_type,omitempty"`
// Directory to store files that will be dumped to OBS.
// Different directory levels are separated by slashes (/) and cannot start with slashes.
FilePrefix *string `json:"filePrefix,omitempty" tf:"file_prefix,omitempty"`
// Name of the OBS bucket used to store data from the DIS stream.
ObsBucketPath *string `json:"obsBucketPath,omitempty" tf:"obs_bucket_path,omitempty"`
// Directory structure of the object file written into OBS.
// The directory structure is in the format of yyyy/MM/dd/HH/mm (time at which the dump task was created).
// Possible values:
PartitionFormat *string `json:"partitionFormat,omitempty" tf:"partition_format,omitempty"`
// Delimiter for the dump file, which is used to separate the user data that is written into the dump file.
RecordDelimiter *string `json:"recordDelimiter,omitempty" tf:"record_delimiter,omitempty"`
// Name of the dump task. The task name consists of letters, digits, hyphens (-), and underscores (_). It must be a string of 1 to 64 characters.
TaskName *string `json:"taskName,omitempty" tf:"task_name,omitempty"`
}
func (*ObsDestinationDescriptorObservation) DeepCopy ¶
func (in *ObsDestinationDescriptorObservation) DeepCopy() *ObsDestinationDescriptorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObsDestinationDescriptorObservation.
func (*ObsDestinationDescriptorObservation) DeepCopyInto ¶
func (in *ObsDestinationDescriptorObservation) DeepCopyInto(out *ObsDestinationDescriptorObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObsDestinationDescriptorParameters ¶
type ObsDestinationDescriptorParameters struct {
// Name of the agency created on IAM. DIS uses an agency to access your specified resources.
// The parameters for creating an agency are as follows:
// +kubebuilder:validation:Optional
AgencyName *string `json:"agencyName" tf:"agency_name,omitempty"`
// Offset.
// LATEST: Maximum offset, indicating that the latest data will be extracted.
// TRIM_HORIZON: Minimum offset, indicating that the earliest data will be extracted.
// +kubebuilder:validation:Optional
ConsumerStrategy *string `json:"consumerStrategy,omitempty" tf:"consumer_strategy,omitempty"`
// User-defined interval at which data is imported from the current DIS stream into OBS.
// If no data is pushed to the DIS stream during the current interval, no dump file package will be generated. Value range: 30-900.
// +kubebuilder:validation:Optional
DeliverTimeInterval *float64 `json:"deliverTimeInterval" tf:"deliver_time_interval,omitempty"`
// Dump file format. Possible values: text
// +kubebuilder:validation:Optional
DestinationFileType *string `json:"destinationFileType,omitempty" tf:"destination_file_type,omitempty"`
// Directory to store files that will be dumped to OBS.
// Different directory levels are separated by slashes (/) and cannot start with slashes.
// +kubebuilder:validation:Optional
FilePrefix *string `json:"filePrefix,omitempty" tf:"file_prefix,omitempty"`
// Name of the OBS bucket used to store data from the DIS stream.
// +crossplane:generate:reference:type=github.com/opentelekomcloud/provider-opentelekomcloud/apis/obs/v1alpha1.Bucket
// +crossplane:generate:reference:extractor=github.com/opentelekomcloud/provider-opentelekomcloud/config/common.ExtractObsBucket()
// +kubebuilder:validation:Optional
ObsBucketPath *string `json:"obsBucketPath,omitempty" tf:"obs_bucket_path,omitempty"`
// Reference to a Bucket in obs to populate obsBucketPath.
// +kubebuilder:validation:Optional
ObsBucketPathRef *v1.Reference `json:"obsBucketPathRef,omitempty" tf:"-"`
// Selector for a Bucket in obs to populate obsBucketPath.
// +kubebuilder:validation:Optional
ObsBucketPathSelector *v1.Selector `json:"obsBucketPathSelector,omitempty" tf:"-"`
// Directory structure of the object file written into OBS.
// The directory structure is in the format of yyyy/MM/dd/HH/mm (time at which the dump task was created).
// Possible values:
// +kubebuilder:validation:Optional
PartitionFormat *string `json:"partitionFormat,omitempty" tf:"partition_format,omitempty"`
// Delimiter for the dump file, which is used to separate the user data that is written into the dump file.
// +kubebuilder:validation:Optional
RecordDelimiter *string `json:"recordDelimiter,omitempty" tf:"record_delimiter,omitempty"`
// Name of the dump task. The task name consists of letters, digits, hyphens (-), and underscores (_). It must be a string of 1 to 64 characters.
// +kubebuilder:validation:Optional
TaskName *string `json:"taskName" tf:"task_name,omitempty"`
}
func (*ObsDestinationDescriptorParameters) DeepCopy ¶
func (in *ObsDestinationDescriptorParameters) DeepCopy() *ObsDestinationDescriptorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObsDestinationDescriptorParameters.
func (*ObsDestinationDescriptorParameters) DeepCopyInto ¶
func (in *ObsDestinationDescriptorParameters) DeepCopyInto(out *ObsDestinationDescriptorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObsProcessingSchemaInitParameters ¶
type ObsProcessingSchemaInitParameters struct {
// OBS directory generated based on the timestamp format.
// This parameter is mandatory when the timestamp type of the source data is String.
TimestampFormat *string `json:"timestampFormat,omitempty" tf:"timestamp_format,omitempty"`
// Attribute name of the source data timestamp.
TimestampName *string `json:"timestampName,omitempty" tf:"timestamp_name,omitempty"`
// Type of the source data timestamp.
// Possible values:
TimestampType *string `json:"timestampType,omitempty" tf:"timestamp_type,omitempty"`
}
func (*ObsProcessingSchemaInitParameters) DeepCopy ¶
func (in *ObsProcessingSchemaInitParameters) DeepCopy() *ObsProcessingSchemaInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObsProcessingSchemaInitParameters.
func (*ObsProcessingSchemaInitParameters) DeepCopyInto ¶
func (in *ObsProcessingSchemaInitParameters) DeepCopyInto(out *ObsProcessingSchemaInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObsProcessingSchemaObservation ¶
type ObsProcessingSchemaObservation struct {
// OBS directory generated based on the timestamp format.
// This parameter is mandatory when the timestamp type of the source data is String.
TimestampFormat *string `json:"timestampFormat,omitempty" tf:"timestamp_format,omitempty"`
// Attribute name of the source data timestamp.
TimestampName *string `json:"timestampName,omitempty" tf:"timestamp_name,omitempty"`
// Type of the source data timestamp.
// Possible values:
TimestampType *string `json:"timestampType,omitempty" tf:"timestamp_type,omitempty"`
}
func (*ObsProcessingSchemaObservation) DeepCopy ¶
func (in *ObsProcessingSchemaObservation) DeepCopy() *ObsProcessingSchemaObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObsProcessingSchemaObservation.
func (*ObsProcessingSchemaObservation) DeepCopyInto ¶
func (in *ObsProcessingSchemaObservation) DeepCopyInto(out *ObsProcessingSchemaObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObsProcessingSchemaParameters ¶
type ObsProcessingSchemaParameters struct {
// OBS directory generated based on the timestamp format.
// This parameter is mandatory when the timestamp type of the source data is String.
// +kubebuilder:validation:Optional
TimestampFormat *string `json:"timestampFormat,omitempty" tf:"timestamp_format,omitempty"`
// Attribute name of the source data timestamp.
// +kubebuilder:validation:Optional
TimestampName *string `json:"timestampName" tf:"timestamp_name,omitempty"`
// Type of the source data timestamp.
// Possible values:
// +kubebuilder:validation:Optional
TimestampType *string `json:"timestampType" tf:"timestamp_type,omitempty"`
}
func (*ObsProcessingSchemaParameters) DeepCopy ¶
func (in *ObsProcessingSchemaParameters) DeepCopy() *ObsProcessingSchemaParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObsProcessingSchemaParameters.
func (*ObsProcessingSchemaParameters) DeepCopyInto ¶
func (in *ObsProcessingSchemaParameters) DeepCopyInto(out *ObsProcessingSchemaParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionConsumingStatesInitParameters ¶
type PartitionConsumingStatesInitParameters struct {
}
func (*PartitionConsumingStatesInitParameters) DeepCopy ¶
func (in *PartitionConsumingStatesInitParameters) DeepCopy() *PartitionConsumingStatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionConsumingStatesInitParameters.
func (*PartitionConsumingStatesInitParameters) DeepCopyInto ¶
func (in *PartitionConsumingStatesInitParameters) DeepCopyInto(out *PartitionConsumingStatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionConsumingStatesObservation ¶
type PartitionConsumingStatesObservation struct {
// : Type of the checkpoint.
CheckpointType *string `json:"checkpointType,omitempty" tf:"checkpoint_type,omitempty"`
// : Partition data earliest offset
EarliestOffset *float64 `json:"earliestOffset,omitempty" tf:"earliest_offset,omitempty"`
// Unique identifier of the app.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// : Partition data latest offset
LatestOffset *float64 `json:"latestOffset,omitempty" tf:"latest_offset,omitempty"`
// : Partition Sequence Number
SequenceNumber *string `json:"sequenceNumber,omitempty" tf:"sequence_number,omitempty"`
// : Partition Status, can be:
Status *string `json:"status,omitempty" tf:"status,omitempty"`
}
func (*PartitionConsumingStatesObservation) DeepCopy ¶
func (in *PartitionConsumingStatesObservation) DeepCopy() *PartitionConsumingStatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionConsumingStatesObservation.
func (*PartitionConsumingStatesObservation) DeepCopyInto ¶
func (in *PartitionConsumingStatesObservation) DeepCopyInto(out *PartitionConsumingStatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionConsumingStatesParameters ¶
type PartitionConsumingStatesParameters struct {
}
func (*PartitionConsumingStatesParameters) DeepCopy ¶
func (in *PartitionConsumingStatesParameters) DeepCopy() *PartitionConsumingStatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionConsumingStatesParameters.
func (*PartitionConsumingStatesParameters) DeepCopyInto ¶
func (in *PartitionConsumingStatesParameters) DeepCopyInto(out *PartitionConsumingStatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionsInitParameters ¶
type PartitionsInitParameters struct {
}
func (*PartitionsInitParameters) DeepCopy ¶
func (in *PartitionsInitParameters) DeepCopy() *PartitionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionsInitParameters.
func (*PartitionsInitParameters) DeepCopyInto ¶
func (in *PartitionsInitParameters) DeepCopyInto(out *PartitionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionsObservation ¶
type PartitionsObservation struct {
// : Possible value range of the hash key used by the partition.
HashRange *string `json:"hashRange,omitempty" tf:"hash_range,omitempty"`
// : Unique identifier of the partition.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// : Parent partition.
ParentPartitions *string `json:"parentPartitions,omitempty" tf:"parent_partitions,omitempty"`
// : Sequence number range of the partition.
SequenceNumberRange *string `json:"sequenceNumberRange,omitempty" tf:"sequence_number_range,omitempty"`
// Current status of the stream, can be:
Status *string `json:"status,omitempty" tf:"status,omitempty"`
}
func (*PartitionsObservation) DeepCopy ¶
func (in *PartitionsObservation) DeepCopy() *PartitionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionsObservation.
func (*PartitionsObservation) DeepCopyInto ¶
func (in *PartitionsObservation) DeepCopyInto(out *PartitionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionsParameters ¶
type PartitionsParameters struct {
}
func (*PartitionsParameters) DeepCopy ¶
func (in *PartitionsParameters) DeepCopy() *PartitionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionsParameters.
func (*PartitionsParameters) DeepCopyInto ¶
func (in *PartitionsParameters) DeepCopyInto(out *PartitionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamV2 ¶
type StreamV2 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.partitionCount) || (has(self.initProvider) && has(self.initProvider.partitionCount))",message="spec.forProvider.partitionCount is a required parameter"
Spec StreamV2Spec `json:"spec"`
Status StreamV2Status `json:"status,omitempty"`
}
StreamV2 is the Schema for the StreamV2s API. Manages a DIS Stream resource within OpenTelekomCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,opentelekomcloud}
func (*StreamV2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2.
func (*StreamV2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StreamV2) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*StreamV2) GetCondition ¶
func (mg *StreamV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this StreamV2.
func (*StreamV2) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this StreamV2
func (*StreamV2) GetDeletionPolicy ¶
func (mg *StreamV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this StreamV2.
func (*StreamV2) GetInitParameters ¶
GetInitParameters of this StreamV2
func (*StreamV2) GetManagementPolicies ¶
func (mg *StreamV2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this StreamV2.
func (*StreamV2) GetMergedParameters ¶ added in v0.2.0
GetInitParameters of this StreamV2
func (*StreamV2) GetObservation ¶
GetObservation of this StreamV2
func (*StreamV2) GetParameters ¶
GetParameters of this StreamV2
func (*StreamV2) GetProviderConfigReference ¶
GetProviderConfigReference of this StreamV2.
func (*StreamV2) GetPublishConnectionDetailsTo ¶
func (mg *StreamV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this StreamV2.
func (*StreamV2) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this StreamV2
func (*StreamV2) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*StreamV2) GetWriteConnectionSecretToReference ¶
func (mg *StreamV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this StreamV2.
func (*StreamV2) Hub ¶ added in v0.2.0
func (tr *StreamV2) Hub()
Hub marks this type as a conversion hub.
func (*StreamV2) LateInitialize ¶
LateInitialize this StreamV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*StreamV2) SetConditions ¶
SetConditions of this StreamV2.
func (*StreamV2) SetDeletionPolicy ¶
func (mg *StreamV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this StreamV2.
func (*StreamV2) SetManagementPolicies ¶
func (mg *StreamV2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this StreamV2.
func (*StreamV2) SetObservation ¶
SetObservation for this StreamV2
func (*StreamV2) SetParameters ¶
SetParameters for this StreamV2
func (*StreamV2) SetProviderConfigReference ¶
SetProviderConfigReference of this StreamV2.
func (*StreamV2) SetPublishConnectionDetailsTo ¶
func (mg *StreamV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this StreamV2.
func (*StreamV2) SetWriteConnectionSecretToReference ¶
func (mg *StreamV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this StreamV2.
type StreamV2InitParameters ¶
type StreamV2InitParameters struct {
// Maximum number of partitions for automatic scale-up when auto-scaling is enabled.
AutoScaleMaxPartitionCount *float64 `json:"autoScaleMaxPartitionCount,omitempty" tf:"auto_scale_max_partition_count,omitempty"`
// Minimum number of partitions for automatic scale-down
// when auto-scaling is enabled. Minimum: 1.
AutoScaleMinPartitionCount *float64 `json:"autoScaleMinPartitionCount,omitempty" tf:"auto_scale_min_partition_count,omitempty"`
// Data compression type. The following types are available:
// snappy, gzip, zip. Data is not compressed by default.
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// Source data type.
// BLOB: a collection of binary data stored as a single entity in a database management system.
// Default value: BLOB.
DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`
// Name of the stream. The stream name can contain 1 to 64 characters,
// including letters, digits, underscores (_), and hyphens (-).
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Number of partitions. Partitions are the base throughput unit of a DIS stream.
PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`
// Period of time for which data is retained in the stream.
// Value range: 24-72 Unit: hour. If this parameter is left blank, the default value is used.
// Maximum: 72
// Default: 24
RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
// Stream type.
StreamType *string `json:"streamType,omitempty" tf:"stream_type,omitempty"`
// Tags key/value pairs to associate with the instance.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}
func (*StreamV2InitParameters) DeepCopy ¶
func (in *StreamV2InitParameters) DeepCopy() *StreamV2InitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2InitParameters.
func (*StreamV2InitParameters) DeepCopyInto ¶
func (in *StreamV2InitParameters) DeepCopyInto(out *StreamV2InitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamV2List ¶
type StreamV2List struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []StreamV2 `json:"items"`
}
StreamV2List contains a list of StreamV2s
func (*StreamV2List) DeepCopy ¶
func (in *StreamV2List) DeepCopy() *StreamV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2List.
func (*StreamV2List) DeepCopyInto ¶
func (in *StreamV2List) DeepCopyInto(out *StreamV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StreamV2List) DeepCopyObject ¶
func (in *StreamV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*StreamV2List) GetItems ¶
func (l *StreamV2List) GetItems() []resource.Managed
GetItems of this StreamV2List.
type StreamV2Observation ¶
type StreamV2Observation struct {
// Maximum number of partitions for automatic scale-up when auto-scaling is enabled.
AutoScaleMaxPartitionCount *float64 `json:"autoScaleMaxPartitionCount,omitempty" tf:"auto_scale_max_partition_count,omitempty"`
// Minimum number of partitions for automatic scale-down
// when auto-scaling is enabled. Minimum: 1.
AutoScaleMinPartitionCount *float64 `json:"autoScaleMinPartitionCount,omitempty" tf:"auto_scale_min_partition_count,omitempty"`
// Data compression type. The following types are available:
// snappy, gzip, zip. Data is not compressed by default.
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// Time when the stream is created. The value is a timestamp.
Created *float64 `json:"created,omitempty" tf:"created,omitempty"`
// Source data type.
// BLOB: a collection of binary data stored as a single entity in a database management system.
// Default value: BLOB.
DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`
// : Unique identifier of the partition.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Name of the stream. The stream name can contain 1 to 64 characters,
// including letters, digits, underscores (_), and hyphens (-).
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Number of partitions. Partitions are the base throughput unit of a DIS stream.
PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`
// Stream partitions details.
Partitions []StreamV2PartitionsObservation `json:"partitions,omitempty" tf:"partitions,omitempty"`
// Total number of readable partitions (including partitions in ACTIVE and DELETED state).
ReadablePartitionCount *float64 `json:"readablePartitionCount,omitempty" tf:"readable_partition_count,omitempty"`
// Period of time for which data is retained in the stream.
// Value range: 24-72 Unit: hour. If this parameter is left blank, the default value is used.
// Maximum: 72
// Default: 24
RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
// Current status of the stream, can be:
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// Unique identifier of the stream.
StreamID *string `json:"streamId,omitempty" tf:"stream_id,omitempty"`
// Stream type.
StreamType *string `json:"streamType,omitempty" tf:"stream_type,omitempty"`
// Tags key/value pairs to associate with the instance.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Total number of writable partitions (including partitions in ACTIVE state only).
WritablePartitionCount *float64 `json:"writablePartitionCount,omitempty" tf:"writable_partition_count,omitempty"`
}
func (*StreamV2Observation) DeepCopy ¶
func (in *StreamV2Observation) DeepCopy() *StreamV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2Observation.
func (*StreamV2Observation) DeepCopyInto ¶
func (in *StreamV2Observation) DeepCopyInto(out *StreamV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamV2Parameters ¶
type StreamV2Parameters struct {
// Maximum number of partitions for automatic scale-up when auto-scaling is enabled.
// +kubebuilder:validation:Optional
AutoScaleMaxPartitionCount *float64 `json:"autoScaleMaxPartitionCount,omitempty" tf:"auto_scale_max_partition_count,omitempty"`
// Minimum number of partitions for automatic scale-down
// when auto-scaling is enabled. Minimum: 1.
// +kubebuilder:validation:Optional
AutoScaleMinPartitionCount *float64 `json:"autoScaleMinPartitionCount,omitempty" tf:"auto_scale_min_partition_count,omitempty"`
// Data compression type. The following types are available:
// snappy, gzip, zip. Data is not compressed by default.
// +kubebuilder:validation:Optional
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// Source data type.
// BLOB: a collection of binary data stored as a single entity in a database management system.
// Default value: BLOB.
// +kubebuilder:validation:Optional
DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`
// Name of the stream. The stream name can contain 1 to 64 characters,
// including letters, digits, underscores (_), and hyphens (-).
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Number of partitions. Partitions are the base throughput unit of a DIS stream.
// +kubebuilder:validation:Optional
PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`
// Period of time for which data is retained in the stream.
// Value range: 24-72 Unit: hour. If this parameter is left blank, the default value is used.
// Maximum: 72
// Default: 24
// +kubebuilder:validation:Optional
RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
// Stream type.
// +kubebuilder:validation:Optional
StreamType *string `json:"streamType,omitempty" tf:"stream_type,omitempty"`
// Tags key/value pairs to associate with the instance.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}
func (*StreamV2Parameters) DeepCopy ¶
func (in *StreamV2Parameters) DeepCopy() *StreamV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2Parameters.
func (*StreamV2Parameters) DeepCopyInto ¶
func (in *StreamV2Parameters) DeepCopyInto(out *StreamV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamV2PartitionsInitParameters ¶
type StreamV2PartitionsInitParameters struct {
}
func (*StreamV2PartitionsInitParameters) DeepCopy ¶
func (in *StreamV2PartitionsInitParameters) DeepCopy() *StreamV2PartitionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2PartitionsInitParameters.
func (*StreamV2PartitionsInitParameters) DeepCopyInto ¶
func (in *StreamV2PartitionsInitParameters) DeepCopyInto(out *StreamV2PartitionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamV2PartitionsObservation ¶
type StreamV2PartitionsObservation struct {
// : Possible value range of the hash key used by the partition.
HashRange *string `json:"hashRange,omitempty" tf:"hash_range,omitempty"`
// : Unique identifier of the partition.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// : Parent partition.
ParentPartitions *string `json:"parentPartitions,omitempty" tf:"parent_partitions,omitempty"`
// : Sequence number range of the partition.
SequenceNumberRange *string `json:"sequenceNumberRange,omitempty" tf:"sequence_number_range,omitempty"`
// Current status of the stream, can be:
Status *string `json:"status,omitempty" tf:"status,omitempty"`
}
func (*StreamV2PartitionsObservation) DeepCopy ¶
func (in *StreamV2PartitionsObservation) DeepCopy() *StreamV2PartitionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2PartitionsObservation.
func (*StreamV2PartitionsObservation) DeepCopyInto ¶
func (in *StreamV2PartitionsObservation) DeepCopyInto(out *StreamV2PartitionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamV2PartitionsParameters ¶
type StreamV2PartitionsParameters struct {
}
func (*StreamV2PartitionsParameters) DeepCopy ¶
func (in *StreamV2PartitionsParameters) DeepCopy() *StreamV2PartitionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2PartitionsParameters.
func (*StreamV2PartitionsParameters) DeepCopyInto ¶
func (in *StreamV2PartitionsParameters) DeepCopyInto(out *StreamV2PartitionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamV2Spec ¶
type StreamV2Spec struct {
v1.ResourceSpec `json:",inline"`
ForProvider StreamV2Parameters `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 StreamV2InitParameters `json:"initProvider,omitempty"`
}
StreamV2Spec defines the desired state of StreamV2
func (*StreamV2Spec) DeepCopy ¶
func (in *StreamV2Spec) DeepCopy() *StreamV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2Spec.
func (*StreamV2Spec) DeepCopyInto ¶
func (in *StreamV2Spec) DeepCopyInto(out *StreamV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamV2Status ¶
type StreamV2Status struct {
v1.ResourceStatus `json:",inline"`
AtProvider StreamV2Observation `json:"atProvider,omitempty"`
}
StreamV2Status defines the observed state of StreamV2.
func (*StreamV2Status) DeepCopy ¶
func (in *StreamV2Status) DeepCopy() *StreamV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamV2Status.
func (*StreamV2Status) DeepCopyInto ¶
func (in *StreamV2Status) DeepCopyInto(out *StreamV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- zz_appv2_terraformed.go
- zz_appv2_types.go
- zz_checkpointv2_terraformed.go
- zz_checkpointv2_types.go
- zz_dumptaskv2_terraformed.go
- zz_dumptaskv2_types.go
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_streamv2_terraformed.go
- zz_streamv2_types.go