Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=subscription.rediscloud.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Peering
- func (in *Peering) DeepCopy() *Peering
- func (in *Peering) DeepCopyInto(out *Peering)
- func (in *Peering) DeepCopyObject() runtime.Object
- func (mg *Peering) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Peering) GetConnectionDetailsMapping() map[string]string
- func (mg *Peering) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Peering) GetID() string
- func (tr *Peering) GetObservation() (map[string]interface{}, error)
- func (tr *Peering) GetParameters() (map[string]interface{}, error)
- func (mg *Peering) GetProviderConfigReference() *xpv1.Reference
- func (mg *Peering) GetProviderReference() *xpv1.Reference
- func (mg *Peering) GetTerraformResourceType() string
- func (tr *Peering) GetTerraformSchemaVersion() int
- func (mg *Peering) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Peering) LateInitialize(attrs []byte) (bool, error)
- func (mg *Peering) SetConditions(c ...xpv1.Condition)
- func (mg *Peering) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Peering) SetObservation(obs map[string]interface{}) error
- func (tr *Peering) SetParameters(params map[string]interface{}) error
- func (mg *Peering) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Peering) SetProviderReference(r *xpv1.Reference)
- func (mg *Peering) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PeeringList
- type PeeringObservation
- type PeeringParameters
- type PeeringSpec
- type PeeringStatus
Constants ¶
const ( CRDGroup = "subscription.rediscloud.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Peering_Kind = "Peering" Peering_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Peering_Kind}.String() Peering_KindAPIVersion = Peering_Kind + "." + CRDGroupVersion.String() Peering_GroupVersionKind = CRDGroupVersion.WithKind(Peering_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Peering ¶
type Peering struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PeeringSpec `json:"spec"` Status PeeringStatus `json:"status,omitempty"` }
Peering is the Schema for the Peerings API +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,rediscloudjet}
func (*Peering) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peering.
func (*Peering) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Peering) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Peering) GetCondition ¶
func (mg *Peering) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Peering.
func (*Peering) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Peering
func (*Peering) GetDeletionPolicy ¶
func (mg *Peering) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Peering.
func (*Peering) GetObservation ¶
GetObservation of this Peering
func (*Peering) GetParameters ¶
GetParameters of this Peering
func (*Peering) GetProviderConfigReference ¶
GetProviderConfigReference of this Peering.
func (*Peering) GetProviderReference ¶
GetProviderReference of this Peering. Deprecated: Use GetProviderConfigReference.
func (*Peering) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Peering
func (*Peering) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Peering) GetWriteConnectionSecretToReference ¶
func (mg *Peering) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Peering.
func (*Peering) LateInitialize ¶
LateInitialize this Peering using its observed tfState. returns True if there are any spec changes for the resource.
func (*Peering) SetConditions ¶
SetConditions of this Peering.
func (*Peering) SetDeletionPolicy ¶
func (mg *Peering) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Peering.
func (*Peering) SetObservation ¶
SetObservation for this Peering
func (*Peering) SetParameters ¶
SetParameters for this Peering
func (*Peering) SetProviderConfigReference ¶
SetProviderConfigReference of this Peering.
func (*Peering) SetProviderReference ¶
SetProviderReference of this Peering. Deprecated: Use SetProviderConfigReference.
func (*Peering) SetWriteConnectionSecretToReference ¶
func (mg *Peering) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Peering.
type PeeringList ¶
type PeeringList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Peering `json:"items"` }
PeeringList contains a list of Peerings
func (*PeeringList) DeepCopy ¶
func (in *PeeringList) DeepCopy() *PeeringList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringList.
func (*PeeringList) DeepCopyInto ¶
func (in *PeeringList) DeepCopyInto(out *PeeringList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeeringList) DeepCopyObject ¶
func (in *PeeringList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PeeringList) GetItems ¶
func (l *PeeringList) GetItems() []resource.Managed
GetItems of this PeeringList.
type PeeringObservation ¶
type PeeringObservation struct { AwsPeeringID *string `json:"awsPeeringId,omitempty" tf:"aws_peering_id,omitempty"` GCPPeeringID *string `json:"gcpPeeringId,omitempty" tf:"gcp_peering_id,omitempty"` GCPRedisNetworkName *string `json:"gcpRedisNetworkName,omitempty" tf:"gcp_redis_network_name,omitempty"` GCPRedisProjectID *string `json:"gcpRedisProjectId,omitempty" tf:"gcp_redis_project_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*PeeringObservation) DeepCopy ¶
func (in *PeeringObservation) DeepCopy() *PeeringObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringObservation.
func (*PeeringObservation) DeepCopyInto ¶
func (in *PeeringObservation) DeepCopyInto(out *PeeringObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringParameters ¶
type PeeringParameters struct { // AWS account id that the VPC to be peered lives in // +kubebuilder:validation:Optional AwsAccountID *string `json:"awsAccountId,omitempty" tf:"aws_account_id,omitempty"` // The name of the network to be peered // +kubebuilder:validation:Optional GCPNetworkName *string `json:"gcpNetworkName,omitempty" tf:"gcp_network_name,omitempty"` // GCP project ID that the VPC to be peered lives in // +kubebuilder:validation:Optional GCPProjectID *string `json:"gcpProjectId,omitempty" tf:"gcp_project_id,omitempty"` // The cloud provider to use with the vpc peering, (either `AWS` or `GCP`) // +kubebuilder:validation:Optional ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"` // AWS Region that the VPC to be peered lives in // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // A valid subscription predefined in the current account // +kubebuilder:validation:Required SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"` // CIDR range of the VPC to be peered // +kubebuilder:validation:Optional VPCCidr *string `json:"vpcCidr,omitempty" tf:"vpc_cidr,omitempty"` // Identifier of the VPC to be peered // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` }
func (*PeeringParameters) DeepCopy ¶
func (in *PeeringParameters) DeepCopy() *PeeringParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringParameters.
func (*PeeringParameters) DeepCopyInto ¶
func (in *PeeringParameters) DeepCopyInto(out *PeeringParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringSpec ¶
type PeeringSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PeeringParameters `json:"forProvider"` }
PeeringSpec defines the desired state of Peering
func (*PeeringSpec) DeepCopy ¶
func (in *PeeringSpec) DeepCopy() *PeeringSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringSpec.
func (*PeeringSpec) DeepCopyInto ¶
func (in *PeeringSpec) DeepCopyInto(out *PeeringSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringStatus ¶
type PeeringStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PeeringObservation `json:"atProvider,omitempty"` }
PeeringStatus defines the observed state of Peering.
func (*PeeringStatus) DeepCopy ¶
func (in *PeeringStatus) DeepCopy() *PeeringStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringStatus.
func (*PeeringStatus) DeepCopyInto ¶
func (in *PeeringStatus) DeepCopyInto(out *PeeringStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.