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) GetInitParameters() (map[string]any, error)
- func (mg *StorageSync) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *StorageSync) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- 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) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *StorageSync) GetTerraformResourceType() string
- func (tr *StorageSync) GetTerraformSchemaVersion() int
- func (mg *StorageSync) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *StorageSync) Hub()
- 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 (mg *StorageSync) SetManagementPolicies(r xpv1.ManagementPolicies)
- 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) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *StorageSync) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type StorageSyncInitParameters
- 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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter" Spec StorageSyncSpec `json:"spec"` Status StorageSyncStatus `json:"status,omitempty"` }
StorageSync is the Schema for the StorageSyncs API. Manages a Storage Sync. +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,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) GetInitParameters ¶ added in v0.35.0
func (tr *StorageSync) GetInitParameters() (map[string]any, error)
GetInitParameters of this StorageSync
func (*StorageSync) GetManagementPolicies ¶ added in v0.35.0
func (mg *StorageSync) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this StorageSync.
func (*StorageSync) GetMergedParameters ¶ added in v0.40.0
func (tr *StorageSync) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters 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) 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) Hub ¶ added in v0.42.1
func (tr *StorageSync) Hub()
Hub marks this type as a conversion hub.
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 ¶
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) SetManagementPolicies ¶ added in v0.35.0
func (mg *StorageSync) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 StorageSyncInitParameters ¶ added in v0.35.0
type StorageSyncInitParameters struct { // Incoming traffic policy. Possible values are AllowAllTraffic and AllowVirtualNetworksOnly. Defaults to AllowAllTraffic. 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. Location *string `json:"location,omitempty" tf:"location,omitempty"` // A mapping of tags which should be assigned to the Storage Sync. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*StorageSyncInitParameters) DeepCopy ¶ added in v0.35.0
func (in *StorageSyncInitParameters) DeepCopy() *StorageSyncInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSyncInitParameters.
func (*StorageSyncInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *StorageSyncInitParameters) DeepCopyInto(out *StorageSyncInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // Incoming traffic policy. Possible values are AllowAllTraffic and AllowVirtualNetworksOnly. Defaults to AllowAllTraffic. 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. Location *string `json:"location,omitempty" tf:"location,omitempty"` // A list of registered servers owned by this Storage Sync. RegisteredServers []*string `json:"registeredServers,omitempty" tf:"registered_servers,omitempty"` // The name of the Resource Group where the Storage Sync should exist. Changing this forces a new Storage Sync to be created. ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` // A mapping of tags which should be assigned to the Storage Sync. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,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. Defaults to AllowAllTraffic. // +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:Optional Location *string `json:"location,omitempty" 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 // +mapType=granular 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"` // 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 StorageSyncInitParameters `json:"initProvider,omitempty"` }
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.