Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=storagesync.azure.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type StorageSync
- func (in *StorageSync) DeepCopy() *StorageSync
- func (in *StorageSync) DeepCopyInto(out *StorageSync)
- func (in *StorageSync) DeepCopyObject() runtime.Object
- func (mg *StorageSync) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *StorageSync) GetConnectionDetailsMapping() map[string]string
- func (mg *StorageSync) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *StorageSync) GetID() string
- func (tr *StorageSync) GetObservation() (map[string]any, error)
- func (tr *StorageSync) GetParameters() (map[string]any, error)
- func (mg *StorageSync) GetProviderConfigReference() *xpv1.Reference
- func (mg *StorageSync) GetProviderReference() *xpv1.Reference
- func (mg *StorageSync) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *StorageSync) GetTerraformResourceType() string
- func (tr *StorageSync) GetTerraformSchemaVersion() int
- func (mg *StorageSync) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *StorageSync) LateInitialize(attrs []byte) (bool, error)
- func (mg *StorageSync) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *StorageSync) SetConditions(c ...xpv1.Condition)
- func (mg *StorageSync) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *StorageSync) SetObservation(obs map[string]any) error
- func (tr *StorageSync) SetParameters(params map[string]any) error
- func (mg *StorageSync) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *StorageSync) SetProviderReference(r *xpv1.Reference)
- func (mg *StorageSync) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *StorageSync) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type StorageSyncList
- type StorageSyncObservation
- type StorageSyncParameters
- type StorageSyncSpec
- type StorageSyncStatus
Constants ¶
const ( CRDGroup = "storagesync.azure.upbound.io" CRDVersion = "v1beta1" )
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 ( StorageSync_Kind = "StorageSync" StorageSync_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: StorageSync_Kind}.String() StorageSync_KindAPIVersion = StorageSync_Kind + "." + CRDGroupVersion.String() StorageSync_GroupVersionKind = CRDGroupVersion.WithKind(StorageSync_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type StorageSync ¶
type StorageSync struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StorageSyncSpec `json:"spec"` Status StorageSyncStatus `json:"status,omitempty"` }
StorageSync is the Schema for the StorageSyncs API. Manages a Storage Sync. +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,azure}
func (*StorageSync) DeepCopy ¶
func (in *StorageSync) DeepCopy() *StorageSync
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSync.
func (*StorageSync) DeepCopyInto ¶
func (in *StorageSync) DeepCopyInto(out *StorageSync)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageSync) DeepCopyObject ¶
func (in *StorageSync) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*StorageSync) GetCondition ¶
func (mg *StorageSync) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this StorageSync.
func (*StorageSync) GetConnectionDetailsMapping ¶
func (tr *StorageSync) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this StorageSync
func (*StorageSync) GetDeletionPolicy ¶
func (mg *StorageSync) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this StorageSync.
func (*StorageSync) GetID ¶
func (tr *StorageSync) GetID() string
GetID returns ID of underlying Terraform resource of this StorageSync
func (*StorageSync) GetObservation ¶
func (tr *StorageSync) GetObservation() (map[string]any, error)
GetObservation of this StorageSync
func (*StorageSync) GetParameters ¶
func (tr *StorageSync) GetParameters() (map[string]any, error)
GetParameters of this StorageSync
func (*StorageSync) GetProviderConfigReference ¶
func (mg *StorageSync) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this StorageSync.
func (*StorageSync) GetProviderReference ¶
func (mg *StorageSync) GetProviderReference() *xpv1.Reference
GetProviderReference of this StorageSync. Deprecated: Use GetProviderConfigReference.
func (*StorageSync) GetPublishConnectionDetailsTo ¶
func (mg *StorageSync) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this StorageSync.
func (*StorageSync) GetTerraformResourceType ¶
func (mg *StorageSync) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this StorageSync
func (*StorageSync) GetTerraformSchemaVersion ¶
func (tr *StorageSync) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*StorageSync) GetWriteConnectionSecretToReference ¶
func (mg *StorageSync) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this StorageSync.
func (*StorageSync) LateInitialize ¶
func (tr *StorageSync) LateInitialize(attrs []byte) (bool, error)
LateInitialize this StorageSync using its observed tfState. returns True if there are any spec changes for the resource.
func (*StorageSync) ResolveReferences ¶
ResolveReferences of this StorageSync.
func (*StorageSync) SetConditions ¶
func (mg *StorageSync) SetConditions(c ...xpv1.Condition)
SetConditions of this StorageSync.
func (*StorageSync) SetDeletionPolicy ¶
func (mg *StorageSync) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this StorageSync.
func (*StorageSync) SetObservation ¶
func (tr *StorageSync) SetObservation(obs map[string]any) error
SetObservation for this StorageSync
func (*StorageSync) SetParameters ¶
func (tr *StorageSync) SetParameters(params map[string]any) error
SetParameters for this StorageSync
func (*StorageSync) SetProviderConfigReference ¶
func (mg *StorageSync) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this StorageSync.
func (*StorageSync) SetProviderReference ¶
func (mg *StorageSync) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this StorageSync. Deprecated: Use SetProviderConfigReference.
func (*StorageSync) SetPublishConnectionDetailsTo ¶
func (mg *StorageSync) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this StorageSync.
func (*StorageSync) SetWriteConnectionSecretToReference ¶
func (mg *StorageSync) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this StorageSync.
type StorageSyncList ¶
type StorageSyncList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []StorageSync `json:"items"` }
StorageSyncList contains a list of StorageSyncs
func (*StorageSyncList) DeepCopy ¶
func (in *StorageSyncList) DeepCopy() *StorageSyncList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSyncList.
func (*StorageSyncList) DeepCopyInto ¶
func (in *StorageSyncList) DeepCopyInto(out *StorageSyncList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageSyncList) DeepCopyObject ¶
func (in *StorageSyncList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*StorageSyncList) GetItems ¶
func (l *StorageSyncList) GetItems() []resource.Managed
GetItems of this StorageSyncList.
type StorageSyncObservation ¶
type StorageSyncObservation struct { // The ID of the Storage Sync. ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*StorageSyncObservation) DeepCopy ¶
func (in *StorageSyncObservation) DeepCopy() *StorageSyncObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSyncObservation.
func (*StorageSyncObservation) DeepCopyInto ¶
func (in *StorageSyncObservation) DeepCopyInto(out *StorageSyncObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSyncParameters ¶
type StorageSyncParameters struct { // Incoming traffic policy. Possible values are AllowAllTraffic and AllowVirtualNetworksOnly. // +kubebuilder:validation:Optional IncomingTrafficPolicy *string `json:"incomingTrafficPolicy,omitempty" tf:"incoming_traffic_policy,omitempty"` // The Azure Region where the Storage Sync should exist. Changing this forces a new Storage Sync to be created. // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // The name of the Resource Group where the Storage Sync should exist. Changing this forces a new Storage Sync to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup // +kubebuilder:validation:Optional ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` // Reference to a ResourceGroup in azure to populate resourceGroupName. // +kubebuilder:validation:Optional ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"` // Selector for a ResourceGroup in azure to populate resourceGroupName. // +kubebuilder:validation:Optional ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // A mapping of tags which should be assigned to the Storage Sync. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*StorageSyncParameters) DeepCopy ¶
func (in *StorageSyncParameters) DeepCopy() *StorageSyncParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSyncParameters.
func (*StorageSyncParameters) DeepCopyInto ¶
func (in *StorageSyncParameters) DeepCopyInto(out *StorageSyncParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSyncSpec ¶
type StorageSyncSpec struct { v1.ResourceSpec `json:",inline"` ForProvider StorageSyncParameters `json:"forProvider"` }
StorageSyncSpec defines the desired state of StorageSync
func (*StorageSyncSpec) DeepCopy ¶
func (in *StorageSyncSpec) DeepCopy() *StorageSyncSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSyncSpec.
func (*StorageSyncSpec) DeepCopyInto ¶
func (in *StorageSyncSpec) DeepCopyInto(out *StorageSyncSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSyncStatus ¶
type StorageSyncStatus struct { v1.ResourceStatus `json:",inline"` AtProvider StorageSyncObservation `json:"atProvider,omitempty"` }
StorageSyncStatus defines the observed state of StorageSync.
func (*StorageSyncStatus) DeepCopy ¶
func (in *StorageSyncStatus) DeepCopy() *StorageSyncStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSyncStatus.
func (*StorageSyncStatus) DeepCopyInto ¶
func (in *StorageSyncStatus) DeepCopyInto(out *StorageSyncStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.