Documentation ¶
Overview ¶
Package v1alpha3 contains managed resources for AWS database services such as RDS. +kubebuilder:object:generate=true +groupName=database.aws.crossplane.io +versionName=v1alpha3
Index ¶
- Constants
- Variables
- type DBSubnetGroup
- func (in *DBSubnetGroup) DeepCopy() *DBSubnetGroup
- func (in *DBSubnetGroup) DeepCopyInto(out *DBSubnetGroup)
- func (in *DBSubnetGroup) DeepCopyObject() runtime.Object
- func (mg *DBSubnetGroup) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *DBSubnetGroup) GetClaimReference() *corev1.ObjectReference
- func (mg *DBSubnetGroup) GetClassReference() *corev1.ObjectReference
- func (mg *DBSubnetGroup) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *DBSubnetGroup) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *DBSubnetGroup) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *DBSubnetGroup) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *DBSubnetGroup) SetClaimReference(r *corev1.ObjectReference)
- func (mg *DBSubnetGroup) SetClassReference(r *corev1.ObjectReference)
- func (mg *DBSubnetGroup) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *DBSubnetGroup) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *DBSubnetGroup) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- func (b *DBSubnetGroup) UpdateExternalStatus(observation rds.DBSubnetGroup)
- type DBSubnetGroupExternalStatus
- type DBSubnetGroupList
- type DBSubnetGroupNameReferencer
- func (v *DBSubnetGroupNameReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
- func (in *DBSubnetGroupNameReferencer) DeepCopy() *DBSubnetGroupNameReferencer
- func (in *DBSubnetGroupNameReferencer) DeepCopyInto(out *DBSubnetGroupNameReferencer)
- func (v *DBSubnetGroupNameReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
- type DBSubnetGroupParameters
- type DBSubnetGroupSpec
- type DBSubnetGroupStatus
- type Subnet
- type SubnetIDReferencerForDBSubnetGroup
- type Tag
Constants ¶
const ( Group = "database.aws.crossplane.io" Version = "v1alpha3" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( DBSubnetGroupKind = reflect.TypeOf(DBSubnetGroup{}).Name() DBSubnetGroupKindAPIVersion = DBSubnetGroupKind + "." + SchemeGroupVersion.String() DBSubnetGroupGroupVersionKind = SchemeGroupVersion.WithKind(DBSubnetGroupKind) )
DBSubnetGroup type metadata.
Functions ¶
This section is empty.
Types ¶
type DBSubnetGroup ¶
type DBSubnetGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DBSubnetGroupSpec `json:"spec,omitempty"` Status DBSubnetGroupStatus `json:"status,omitempty"` }
A DBSubnetGroup is a managed resource that represents an AWS VPC Database Subnet Group. +kubebuilder:printcolumn:name="GROUPNAME",type="string",JSONPath=".spec.groupName" +kubebuilder:printcolumn:name="DESCRIPTION",type="string",JSONPath=".spec.description" +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.groupStatus" +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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*DBSubnetGroup) DeepCopy ¶
func (in *DBSubnetGroup) DeepCopy() *DBSubnetGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroup.
func (*DBSubnetGroup) DeepCopyInto ¶
func (in *DBSubnetGroup) DeepCopyInto(out *DBSubnetGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBSubnetGroup) DeepCopyObject ¶
func (in *DBSubnetGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DBSubnetGroup) GetBindingPhase ¶
func (mg *DBSubnetGroup) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this DBSubnetGroup.
func (*DBSubnetGroup) GetClaimReference ¶
func (mg *DBSubnetGroup) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this DBSubnetGroup.
func (*DBSubnetGroup) GetClassReference ¶
func (mg *DBSubnetGroup) GetClassReference() *corev1.ObjectReference
GetClassReference of this DBSubnetGroup.
func (*DBSubnetGroup) GetCondition ¶
func (mg *DBSubnetGroup) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this DBSubnetGroup.
func (*DBSubnetGroup) GetReclaimPolicy ¶
func (mg *DBSubnetGroup) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this DBSubnetGroup.
func (*DBSubnetGroup) GetWriteConnectionSecretToReference ¶
func (mg *DBSubnetGroup) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
GetWriteConnectionSecretToReference of this DBSubnetGroup.
func (*DBSubnetGroup) SetBindingPhase ¶
func (mg *DBSubnetGroup) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this DBSubnetGroup.
func (*DBSubnetGroup) SetClaimReference ¶
func (mg *DBSubnetGroup) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this DBSubnetGroup.
func (*DBSubnetGroup) SetClassReference ¶
func (mg *DBSubnetGroup) SetClassReference(r *corev1.ObjectReference)
SetClassReference of this DBSubnetGroup.
func (*DBSubnetGroup) SetConditions ¶
func (mg *DBSubnetGroup) SetConditions(c ...runtimev1alpha1.Condition)
SetConditions of this DBSubnetGroup.
func (*DBSubnetGroup) SetReclaimPolicy ¶
func (mg *DBSubnetGroup) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this DBSubnetGroup.
func (*DBSubnetGroup) SetWriteConnectionSecretToReference ¶
func (mg *DBSubnetGroup) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
SetWriteConnectionSecretToReference of this DBSubnetGroup.
func (*DBSubnetGroup) UpdateExternalStatus ¶
func (b *DBSubnetGroup) UpdateExternalStatus(observation rds.DBSubnetGroup)
UpdateExternalStatus updates the external status object, given the observation
type DBSubnetGroupExternalStatus ¶
type DBSubnetGroupExternalStatus struct { // The Amazon Resource Name (ARN) for the DB subnet group. DBSubnetGroupARN string `json:"groupArn,omitempty"` // Provides the status of the DB subnet group. SubnetGroupStatus string `json:"groupStatus,omitempty"` // Contains a list of Subnet elements. Subnets []Subnet `json:"subnets,omitempty"` // Provides the VpcId of the DB subnet group. VPCID string `json:"vpcId,omitempty"` }
DBSubnetGroupExternalStatus keeps the state for the external resource
func (*DBSubnetGroupExternalStatus) DeepCopy ¶
func (in *DBSubnetGroupExternalStatus) DeepCopy() *DBSubnetGroupExternalStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroupExternalStatus.
func (*DBSubnetGroupExternalStatus) DeepCopyInto ¶
func (in *DBSubnetGroupExternalStatus) DeepCopyInto(out *DBSubnetGroupExternalStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBSubnetGroupList ¶
type DBSubnetGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DBSubnetGroup `json:"items"` }
DBSubnetGroupList contains a list of DBSubnetGroups
func (*DBSubnetGroupList) DeepCopy ¶
func (in *DBSubnetGroupList) DeepCopy() *DBSubnetGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroupList.
func (*DBSubnetGroupList) DeepCopyInto ¶
func (in *DBSubnetGroupList) DeepCopyInto(out *DBSubnetGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBSubnetGroupList) DeepCopyObject ¶
func (in *DBSubnetGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBSubnetGroupNameReferencer ¶
type DBSubnetGroupNameReferencer struct {
corev1.LocalObjectReference `json:",inline"`
}
DBSubnetGroupNameReferencer is used to get a Name from another DBSubnetGroup
func (*DBSubnetGroupNameReferencer) Build ¶
func (v *DBSubnetGroupNameReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
Build retrieves the DBSubnetGroup and returns the name
func (*DBSubnetGroupNameReferencer) DeepCopy ¶
func (in *DBSubnetGroupNameReferencer) DeepCopy() *DBSubnetGroupNameReferencer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroupNameReferencer.
func (*DBSubnetGroupNameReferencer) DeepCopyInto ¶
func (in *DBSubnetGroupNameReferencer) DeepCopyInto(out *DBSubnetGroupNameReferencer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBSubnetGroupNameReferencer) GetStatus ¶
func (v *DBSubnetGroupNameReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
GetStatus implements GetStatus method of AttributeReferencer interface
type DBSubnetGroupParameters ¶
type DBSubnetGroupParameters struct { // The description for the DB subnet group. DBSubnetGroupDescription string `json:"description"` // The name for the DB subnet group. This value is stored as a lowercase string. DBSubnetGroupName string `json:"groupName"` // The EC2 Subnet IDs for the DB subnet group. SubnetIDs []string `json:"subnetIds,omitempty"` // SubnetIDRefs is a set of referencers that each retrieve the subnetID from the referenced Subnet SubnetIDRefs []*SubnetIDReferencerForDBSubnetGroup `json:"subnetIdRefs,omitempty" resource:"attributereferencer"` // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) // in the Amazon RDS User Guide. Tags []Tag `json:"tags,omitempty"` }
DBSubnetGroupParameters define the desired state of an AWS VPC Database Subnet Group.
func (*DBSubnetGroupParameters) DeepCopy ¶
func (in *DBSubnetGroupParameters) DeepCopy() *DBSubnetGroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroupParameters.
func (*DBSubnetGroupParameters) DeepCopyInto ¶
func (in *DBSubnetGroupParameters) DeepCopyInto(out *DBSubnetGroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBSubnetGroupSpec ¶
type DBSubnetGroupSpec struct { runtimev1alpha1.ResourceSpec `json:",inline"` DBSubnetGroupParameters `json:",inline"` }
A DBSubnetGroupSpec defines the desired state of a DBSubnetGroup.
func (*DBSubnetGroupSpec) DeepCopy ¶
func (in *DBSubnetGroupSpec) DeepCopy() *DBSubnetGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroupSpec.
func (*DBSubnetGroupSpec) DeepCopyInto ¶
func (in *DBSubnetGroupSpec) DeepCopyInto(out *DBSubnetGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBSubnetGroupStatus ¶
type DBSubnetGroupStatus struct { runtimev1alpha1.ResourceStatus `json:",inline"` DBSubnetGroupExternalStatus `json:",inline"` }
A DBSubnetGroupStatus represents the observed state of a DBSubnetGroup.
func (*DBSubnetGroupStatus) DeepCopy ¶
func (in *DBSubnetGroupStatus) DeepCopy() *DBSubnetGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroupStatus.
func (*DBSubnetGroupStatus) DeepCopyInto ¶
func (in *DBSubnetGroupStatus) DeepCopyInto(out *DBSubnetGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnet ¶
type Subnet struct { // Specifies the identifier of the subnet. SubnetID string `json:"subnetID"` // Specifies the status of the subnet. SubnetStatus string `json:"subnetStatus"` }
Subnet represents a aws subnet
func (*Subnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetIDReferencerForDBSubnetGroup ¶
type SubnetIDReferencerForDBSubnetGroup struct {
network.SubnetIDReferencer `json:",inline"`
}
SubnetIDReferencerForDBSubnetGroup is an attribute referencer that resolves SubnetID from a referenced Subnet
func (*SubnetIDReferencerForDBSubnetGroup) Assign ¶
func (v *SubnetIDReferencerForDBSubnetGroup) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved value to the managed resource
func (*SubnetIDReferencerForDBSubnetGroup) DeepCopy ¶
func (in *SubnetIDReferencerForDBSubnetGroup) DeepCopy() *SubnetIDReferencerForDBSubnetGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetIDReferencerForDBSubnetGroup.
func (*SubnetIDReferencerForDBSubnetGroup) DeepCopyInto ¶
func (in *SubnetIDReferencerForDBSubnetGroup) DeepCopyInto(out *SubnetIDReferencerForDBSubnetGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tag ¶
type Tag struct { // Key is the name of the tag. Key string `json:"key"` // Value is the value of the tag. Value string `json:"value"` }
Tag defines a tag
func BuildFromRDSTags ¶
BuildFromRDSTags returns a list of tags, off of the given RDS tags
func (*Tag) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.
func (*Tag) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.