v1alpha3

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

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

View Source
const (
	Group   = "database.aws.crossplane.io"
	Version = "v1alpha3"
)

Package type metadata.

Variables

View Source
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}
)
View Source
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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroupExternalStatus.

func (*DBSubnetGroupExternalStatus) DeepCopyInto

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

Build retrieves the DBSubnetGroup and returns the name

func (*DBSubnetGroupNameReferencer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSubnetGroupNameReferencer.

func (*DBSubnetGroupNameReferencer) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DBSubnetGroupNameReferencer) GetStatus

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

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

func (in *Subnet) DeepCopy() *Subnet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

Assign assigns the retrieved value to the managed resource

func (*SubnetIDReferencerForDBSubnetGroup) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetIDReferencerForDBSubnetGroup.

func (*SubnetIDReferencerForDBSubnetGroup) DeepCopyInto

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

func BuildFromRDSTags(tags []rds.Tag) []Tag

BuildFromRDSTags returns a list of tags, off of the given RDS tags

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL