Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=notificationhubs.azure.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type APNSCredentialObservation
- type APNSCredentialParameters
- type GCMCredentialObservation
- type GCMCredentialParameters
- type NotificationHub
- func (in *NotificationHub) DeepCopy() *NotificationHub
- func (in *NotificationHub) DeepCopyInto(out *NotificationHub)
- func (in *NotificationHub) DeepCopyObject() runtime.Object
- func (mg *NotificationHub) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *NotificationHub) GetConnectionDetailsMapping() map[string]string
- func (mg *NotificationHub) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *NotificationHub) GetID() string
- func (tr *NotificationHub) GetObservation() (map[string]any, error)
- func (tr *NotificationHub) GetParameters() (map[string]any, error)
- func (mg *NotificationHub) GetProviderConfigReference() *xpv1.Reference
- func (mg *NotificationHub) GetProviderReference() *xpv1.Reference
- func (mg *NotificationHub) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *NotificationHub) GetTerraformResourceType() string
- func (tr *NotificationHub) GetTerraformSchemaVersion() int
- func (mg *NotificationHub) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *NotificationHub) LateInitialize(attrs []byte) (bool, error)
- func (mg *NotificationHub) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *NotificationHub) SetConditions(c ...xpv1.Condition)
- func (mg *NotificationHub) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *NotificationHub) SetObservation(obs map[string]any) error
- func (tr *NotificationHub) SetParameters(params map[string]any) error
- func (mg *NotificationHub) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *NotificationHub) SetProviderReference(r *xpv1.Reference)
- func (mg *NotificationHub) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *NotificationHub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type NotificationHubList
- type NotificationHubObservation
- type NotificationHubParameters
- type NotificationHubSpec
- type NotificationHubStatus
Constants ¶
const ( CRDGroup = "notificationhubs.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 ( NotificationHub_Kind = "NotificationHub" NotificationHub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NotificationHub_Kind}.String() NotificationHub_KindAPIVersion = NotificationHub_Kind + "." + CRDGroupVersion.String() NotificationHub_GroupVersionKind = CRDGroupVersion.WithKind(NotificationHub_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type APNSCredentialObservation ¶
type APNSCredentialObservation struct { }
func (*APNSCredentialObservation) DeepCopy ¶
func (in *APNSCredentialObservation) DeepCopy() *APNSCredentialObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APNSCredentialObservation.
func (*APNSCredentialObservation) DeepCopyInto ¶
func (in *APNSCredentialObservation) DeepCopyInto(out *APNSCredentialObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APNSCredentialParameters ¶
type APNSCredentialParameters struct { // The Application Mode which defines which server the APNS Messages should be sent to. Possible values are Production and Sandbox. // +kubebuilder:validation:Required ApplicationMode *string `json:"applicationMode" tf:"application_mode,omitempty"` // The Bundle ID of the iOS/macOS application to send push notifications for, such as com.hashicorp.example. // +kubebuilder:validation:Required BundleID *string `json:"bundleId" tf:"bundle_id,omitempty"` // The Apple Push Notifications Service (APNS) Key. // +kubebuilder:validation:Required KeyID *string `json:"keyId" tf:"key_id,omitempty"` // The ID of the team the Token. // +kubebuilder:validation:Required TeamID *string `json:"teamId" tf:"team_id,omitempty"` // The Push Token associated with the Apple Developer Account. This is the contents of the key downloaded from the Apple Developer Portal between the -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY----- blocks. // +kubebuilder:validation:Required TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"` }
func (*APNSCredentialParameters) DeepCopy ¶
func (in *APNSCredentialParameters) DeepCopy() *APNSCredentialParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APNSCredentialParameters.
func (*APNSCredentialParameters) DeepCopyInto ¶
func (in *APNSCredentialParameters) DeepCopyInto(out *APNSCredentialParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GCMCredentialObservation ¶
type GCMCredentialObservation struct { }
func (*GCMCredentialObservation) DeepCopy ¶
func (in *GCMCredentialObservation) DeepCopy() *GCMCredentialObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCMCredentialObservation.
func (*GCMCredentialObservation) DeepCopyInto ¶
func (in *GCMCredentialObservation) DeepCopyInto(out *GCMCredentialObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GCMCredentialParameters ¶
type GCMCredentialParameters struct { // The API Key associated with the Google Cloud Messaging service. // +kubebuilder:validation:Required APIKeySecretRef v1.SecretKeySelector `json:"apiKeySecretRef" tf:"-"` }
func (*GCMCredentialParameters) DeepCopy ¶
func (in *GCMCredentialParameters) DeepCopy() *GCMCredentialParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCMCredentialParameters.
func (*GCMCredentialParameters) DeepCopyInto ¶
func (in *GCMCredentialParameters) DeepCopyInto(out *GCMCredentialParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationHub ¶
type NotificationHub struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NotificationHubSpec `json:"spec"` Status NotificationHubStatus `json:"status,omitempty"` }
NotificationHub is the Schema for the NotificationHubs API. Manages a Notification Hub within a Notification Hub Namespace. +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 (*NotificationHub) DeepCopy ¶
func (in *NotificationHub) DeepCopy() *NotificationHub
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationHub.
func (*NotificationHub) DeepCopyInto ¶
func (in *NotificationHub) DeepCopyInto(out *NotificationHub)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationHub) DeepCopyObject ¶
func (in *NotificationHub) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationHub) GetCondition ¶
func (mg *NotificationHub) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this NotificationHub.
func (*NotificationHub) GetConnectionDetailsMapping ¶
func (tr *NotificationHub) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this NotificationHub
func (*NotificationHub) GetDeletionPolicy ¶
func (mg *NotificationHub) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this NotificationHub.
func (*NotificationHub) GetID ¶
func (tr *NotificationHub) GetID() string
GetID returns ID of underlying Terraform resource of this NotificationHub
func (*NotificationHub) GetObservation ¶
func (tr *NotificationHub) GetObservation() (map[string]any, error)
GetObservation of this NotificationHub
func (*NotificationHub) GetParameters ¶
func (tr *NotificationHub) GetParameters() (map[string]any, error)
GetParameters of this NotificationHub
func (*NotificationHub) GetProviderConfigReference ¶
func (mg *NotificationHub) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this NotificationHub.
func (*NotificationHub) GetProviderReference ¶
func (mg *NotificationHub) GetProviderReference() *xpv1.Reference
GetProviderReference of this NotificationHub. Deprecated: Use GetProviderConfigReference.
func (*NotificationHub) GetPublishConnectionDetailsTo ¶
func (mg *NotificationHub) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this NotificationHub.
func (*NotificationHub) GetTerraformResourceType ¶
func (mg *NotificationHub) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this NotificationHub
func (*NotificationHub) GetTerraformSchemaVersion ¶
func (tr *NotificationHub) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*NotificationHub) GetWriteConnectionSecretToReference ¶
func (mg *NotificationHub) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this NotificationHub.
func (*NotificationHub) LateInitialize ¶
func (tr *NotificationHub) LateInitialize(attrs []byte) (bool, error)
LateInitialize this NotificationHub using its observed tfState. returns True if there are any spec changes for the resource.
func (*NotificationHub) ResolveReferences ¶
ResolveReferences of this NotificationHub.
func (*NotificationHub) SetConditions ¶
func (mg *NotificationHub) SetConditions(c ...xpv1.Condition)
SetConditions of this NotificationHub.
func (*NotificationHub) SetDeletionPolicy ¶
func (mg *NotificationHub) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this NotificationHub.
func (*NotificationHub) SetObservation ¶
func (tr *NotificationHub) SetObservation(obs map[string]any) error
SetObservation for this NotificationHub
func (*NotificationHub) SetParameters ¶
func (tr *NotificationHub) SetParameters(params map[string]any) error
SetParameters for this NotificationHub
func (*NotificationHub) SetProviderConfigReference ¶
func (mg *NotificationHub) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this NotificationHub.
func (*NotificationHub) SetProviderReference ¶
func (mg *NotificationHub) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this NotificationHub. Deprecated: Use SetProviderConfigReference.
func (*NotificationHub) SetPublishConnectionDetailsTo ¶
func (mg *NotificationHub) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this NotificationHub.
func (*NotificationHub) SetWriteConnectionSecretToReference ¶
func (mg *NotificationHub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this NotificationHub.
type NotificationHubList ¶
type NotificationHubList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NotificationHub `json:"items"` }
NotificationHubList contains a list of NotificationHubs
func (*NotificationHubList) DeepCopy ¶
func (in *NotificationHubList) DeepCopy() *NotificationHubList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationHubList.
func (*NotificationHubList) DeepCopyInto ¶
func (in *NotificationHubList) DeepCopyInto(out *NotificationHubList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationHubList) DeepCopyObject ¶
func (in *NotificationHubList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationHubList) GetItems ¶
func (l *NotificationHubList) GetItems() []resource.Managed
GetItems of this NotificationHubList.
type NotificationHubObservation ¶
type NotificationHubObservation struct { // The ID of the Notification Hub. ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*NotificationHubObservation) DeepCopy ¶
func (in *NotificationHubObservation) DeepCopy() *NotificationHubObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationHubObservation.
func (*NotificationHubObservation) DeepCopyInto ¶
func (in *NotificationHubObservation) DeepCopyInto(out *NotificationHubObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationHubParameters ¶
type NotificationHubParameters struct { // A apns_credential block as defined below. // +kubebuilder:validation:Optional APNSCredential []APNSCredentialParameters `json:"apnsCredential,omitempty" tf:"apns_credential,omitempty"` // A gcm_credential block as defined below. // +kubebuilder:validation:Optional GCMCredential []GCMCredentialParameters `json:"gcmCredential,omitempty" tf:"gcm_credential,omitempty"` // The Azure Region in which this Notification Hub Namespace exists. Changing this forces a new resource to be created. // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // The name of the Notification Hub Namespace in which to create this Notification Hub. Changing this forces a new resource to be created. // +kubebuilder:validation:Required NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` // The name of the Resource Group in which the Notification Hub Namespace exists. Changing this forces a new resource 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 to assign to the resource. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*NotificationHubParameters) DeepCopy ¶
func (in *NotificationHubParameters) DeepCopy() *NotificationHubParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationHubParameters.
func (*NotificationHubParameters) DeepCopyInto ¶
func (in *NotificationHubParameters) DeepCopyInto(out *NotificationHubParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationHubSpec ¶
type NotificationHubSpec struct { v1.ResourceSpec `json:",inline"` ForProvider NotificationHubParameters `json:"forProvider"` }
NotificationHubSpec defines the desired state of NotificationHub
func (*NotificationHubSpec) DeepCopy ¶
func (in *NotificationHubSpec) DeepCopy() *NotificationHubSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationHubSpec.
func (*NotificationHubSpec) DeepCopyInto ¶
func (in *NotificationHubSpec) DeepCopyInto(out *NotificationHubSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationHubStatus ¶
type NotificationHubStatus struct { v1.ResourceStatus `json:",inline"` AtProvider NotificationHubObservation `json:"atProvider,omitempty"` }
NotificationHubStatus defines the observed state of NotificationHub.
func (*NotificationHubStatus) DeepCopy ¶
func (in *NotificationHubStatus) DeepCopy() *NotificationHubStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationHubStatus.
func (*NotificationHubStatus) DeepCopyInto ¶
func (in *NotificationHubStatus) DeepCopyInto(out *NotificationHubStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.