v1alpha3

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha3 contains managed resources for AWS network services such as VPC and Subnet. +kubebuilder:object:generate=true +groupName=network.aws.crossplane.io +versionName=v1alpha3

Index

Constants

View Source
const (
	Group   = "network.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 (
	VPCKind             = reflect.TypeOf(VPC{}).Name()
	VPCKindAPIVersion   = VPCKind + "." + SchemeGroupVersion.String()
	VPCGroupVersionKind = SchemeGroupVersion.WithKind(VPCKind)
)

VPC type metadata.

View Source
var (
	SubnetKind             = reflect.TypeOf(Subnet{}).Name()
	SubnetKindAPIVersion   = SubnetKind + "." + SchemeGroupVersion.String()
	SubnetGroupVersionKind = SchemeGroupVersion.WithKind(SubnetKind)
)

Subnet type metadata.

View Source
var (
	SecurityGroupKind             = reflect.TypeOf(SecurityGroup{}).Name()
	SecurityGroupKindAPIVersion   = SecurityGroupKind + "." + SchemeGroupVersion.String()
	SecurityGroupGroupVersionKind = SchemeGroupVersion.WithKind(SecurityGroupKind)
)

SecurityGroup type metadata.

View Source
var (
	InternetGatewayKind             = reflect.TypeOf(InternetGateway{}).Name()
	InternetGatewayKindAPIVersion   = InternetGatewayKind + "." + SchemeGroupVersion.String()
	InternetGatewayGroupVersionKind = SchemeGroupVersion.WithKind(InternetGatewayKind)
)

InternetGateway type metadata.

View Source
var (
	RouteTableKind             = reflect.TypeOf(RouteTable{}).Name()
	RouteTableKindAPIVersion   = RouteTableKind + "." + SchemeGroupVersion.String()
	RouteTableGroupVersionKind = SchemeGroupVersion.WithKind(RouteTableKind)
)

RouteTable type metadata.

Functions

func BuildEC2Permissions

func BuildEC2Permissions(objectPerms []IPPermission) []ec2.IpPermission

BuildEC2Permissions converts object Permissions to ec2 format

Types

type Association

type Association struct {
	// The ID of the subnet. A subnet ID is not returned for an implicit
	// association.
	SubnetID string `json:"subnetId,omitempty"`

	// A referencer to retrieve the ID of a subnet
	SubnetIDRef *SubnetIDReferencerForRouteTable `json:"subnetIdRef,omitempty" resource:"attributereferencer"`
}

Association describes an association between a route table and a subnet.

func (*Association) DeepCopy

func (in *Association) DeepCopy() *Association

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

func (*Association) DeepCopyInto

func (in *Association) DeepCopyInto(out *Association)

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

type AssociationState

type AssociationState struct {
	// Indicates whether this is the main route table.
	Main bool `json:"main"`

	// The ID of the association between a route table and a subnet.
	AssociationID string `json:"associationId"`

	Association `json:",inline"`
}

AssociationState describes an association state in the route table.

func (*AssociationState) DeepCopy

func (in *AssociationState) DeepCopy() *AssociationState

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

func (*AssociationState) DeepCopyInto

func (in *AssociationState) DeepCopyInto(out *AssociationState)

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

type IPPermission

type IPPermission struct {
	// The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6
	// type number. A value of -1 indicates all ICMP/ICMPv6 types. If you
	// specify all ICMP/ICMPv6 types, you must specify all codes.
	FromPort int64 `json:"fromPort"`

	// The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6
	// code. A value of -1 indicates all ICMP/ICMPv6 codes for the specified
	// ICMP type. If you specify all ICMP/ICMPv6 types, you must specify all
	// codes.
	ToPort int64 `json:"toPort"`

	// The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)).
	//
	// [EC2-VPC only] Use -1 to specify all protocols. When authorizing security
	// group rules, specifying -1 or a protocol number other than tcp, udp, icmp,
	// or 58 (ICMPv6) allows traffic on all ports, regardless of any port range
	// you specify. For tcp, udp, and icmp, you must specify a port range. For 58
	// (ICMPv6), you can optionally specify a port range; if you don't, traffic
	// for all types and codes is allowed when authorizing rules.
	IPProtocol string `json:"protocol"`

	// One or more IPv4 ranges.
	CIDRBlocks []IPRange `json:"cidrBlocks,omitempty"`
}

IPPermission Describes a set of permissions for a security group rule.

func (*IPPermission) DeepCopy

func (in *IPPermission) DeepCopy() *IPPermission

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

func (*IPPermission) DeepCopyInto

func (in *IPPermission) DeepCopyInto(out *IPPermission)

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

type IPRange

type IPRange struct {
	// The IPv4 CIDR range. You can either specify a CIDR range or a source
	// security group, not both. To specify a single IPv4 address, use the /32
	// prefix length.
	CIDRIP string `json:"cidrIp"`

	// A description for the ip range
	Description string `json:"description,omitempty"`
}

IPRange describes an IPv4 range.

func (*IPRange) DeepCopy

func (in *IPRange) DeepCopy() *IPRange

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

func (*IPRange) DeepCopyInto

func (in *IPRange) DeepCopyInto(out *IPRange)

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

type InternetGateway

type InternetGateway struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   InternetGatewaySpec   `json:"spec"`
	Status InternetGatewayStatus `json:"status,omitempty"`
}

An InternetGateway is a managed resource that represents an AWS VPC Internet Gateway. +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.internetGatewayId" +kubebuilder:printcolumn:name="VPCID",type="string",JSONPath=".spec.vpcId" +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 (*InternetGateway) DeepCopy

func (in *InternetGateway) DeepCopy() *InternetGateway

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

func (*InternetGateway) DeepCopyInto

func (in *InternetGateway) DeepCopyInto(out *InternetGateway)

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

func (*InternetGateway) DeepCopyObject

func (in *InternetGateway) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*InternetGateway) GetBindingPhase

func (mg *InternetGateway) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this InternetGateway.

func (*InternetGateway) GetClaimReference

func (mg *InternetGateway) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this InternetGateway.

func (*InternetGateway) GetClassReference

func (mg *InternetGateway) GetClassReference() *corev1.ObjectReference

GetClassReference of this InternetGateway.

func (*InternetGateway) GetCondition

GetCondition of this InternetGateway.

func (*InternetGateway) GetReclaimPolicy

func (mg *InternetGateway) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this InternetGateway.

func (*InternetGateway) GetWriteConnectionSecretToReference

func (mg *InternetGateway) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this InternetGateway.

func (*InternetGateway) SetBindingPhase

func (mg *InternetGateway) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this InternetGateway.

func (*InternetGateway) SetClaimReference

func (mg *InternetGateway) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this InternetGateway.

func (*InternetGateway) SetClassReference

func (mg *InternetGateway) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this InternetGateway.

func (*InternetGateway) SetConditions

func (mg *InternetGateway) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this InternetGateway.

func (*InternetGateway) SetReclaimPolicy

func (mg *InternetGateway) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this InternetGateway.

func (*InternetGateway) SetWriteConnectionSecretToReference

func (mg *InternetGateway) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this InternetGateway.

func (*InternetGateway) UpdateExternalStatus

func (i *InternetGateway) UpdateExternalStatus(observation ec2.InternetGateway)

UpdateExternalStatus updates the external status object, given the observation

type InternetGatewayAttachment

type InternetGatewayAttachment struct {
	// The current state of the attachment. For an internet gateway, the state
	// is available when attached to a VPC; otherwise, this value is not
	// returned.
	// +kubebuilder:validation:Enum=available;attaching;attached;detaching;detached
	AttachmentStatus string `json:"attachmentStatus"`

	// VPCID is the ID of the attached VPC.
	VPCID string `json:"vpcId"`
}

InternetGatewayAttachment describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.

func (*InternetGatewayAttachment) DeepCopy

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

func (*InternetGatewayAttachment) DeepCopyInto

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

type InternetGatewayExternalStatus

type InternetGatewayExternalStatus struct {
	// Any VPCs attached to the internet gateway.
	Attachments []InternetGatewayAttachment `json:"attachments,omitempty"`

	// The ID of the internet gateway.
	InternetGatewayID string `json:"internetGatewayId"`

	// Tags represents to current ec2 tags.
	Tags []Tag `json:"tags,omitempty"`
}

InternetGatewayExternalStatus keeps the state for the external resource

func (*InternetGatewayExternalStatus) DeepCopy

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

func (*InternetGatewayExternalStatus) DeepCopyInto

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

type InternetGatewayIDReferencer

type InternetGatewayIDReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

InternetGatewayIDReferencer is used to get a InternetGatewayID from a InternetGateway

func (*InternetGatewayIDReferencer) Build

Build retrieves and builds the InternetGatewayID

func (*InternetGatewayIDReferencer) DeepCopy

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

func (*InternetGatewayIDReferencer) DeepCopyInto

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

func (*InternetGatewayIDReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type InternetGatewayIDReferencerForRouteTable

type InternetGatewayIDReferencerForRouteTable struct {
	InternetGatewayIDReferencer `json:",inline"`
}

InternetGatewayIDReferencerForRouteTable is an attribute referencer that resolves VPCID from a referenced VPC

func (*InternetGatewayIDReferencerForRouteTable) Assign

Assign assigns the retrieved value to the managed resource

func (*InternetGatewayIDReferencerForRouteTable) DeepCopy

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

func (*InternetGatewayIDReferencerForRouteTable) DeepCopyInto

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

type InternetGatewayList

type InternetGatewayList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []InternetGateway `json:"items"`
}

InternetGatewayList contains a list of InternetGateways

func (*InternetGatewayList) DeepCopy

func (in *InternetGatewayList) DeepCopy() *InternetGatewayList

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

func (*InternetGatewayList) DeepCopyInto

func (in *InternetGatewayList) DeepCopyInto(out *InternetGatewayList)

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

func (*InternetGatewayList) DeepCopyObject

func (in *InternetGatewayList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InternetGatewayParameters

type InternetGatewayParameters struct {
	// VPCID is the ID of the VPC.
	VPCID string `json:"vpcId,omitempty"`

	// VPCIDRef references to a VPC to and retrieves its vpcId
	VPCIDRef *VPCIDReferencerForInternetGateway `json:"vpcIdRef,omitempty" resource:"attributereferencer"`
}

InternetGatewayParameters define the desired state of an AWS VPC Internet Gateway.

func (*InternetGatewayParameters) DeepCopy

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

func (*InternetGatewayParameters) DeepCopyInto

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

type InternetGatewaySpec

type InternetGatewaySpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	InternetGatewayParameters    `json:",inline"`
}

An InternetGatewaySpec defines the desired state of an InternetGateway.

func (*InternetGatewaySpec) DeepCopy

func (in *InternetGatewaySpec) DeepCopy() *InternetGatewaySpec

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

func (*InternetGatewaySpec) DeepCopyInto

func (in *InternetGatewaySpec) DeepCopyInto(out *InternetGatewaySpec)

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

type InternetGatewayStatus

type InternetGatewayStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	InternetGatewayExternalStatus  `json:",inline"`
}

An InternetGatewayStatus represents the observed state of an InternetGateway.

func (*InternetGatewayStatus) DeepCopy

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

func (*InternetGatewayStatus) DeepCopyInto

func (in *InternetGatewayStatus) DeepCopyInto(out *InternetGatewayStatus)

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

type Route

type Route struct {
	// The IPv4 CIDR address block used for the destination match. Routing
	// decisions are based on the most specific match.
	DestinationCIDRBlock string `json:"destinationCidrBlock"`

	// The ID of an internet gateway or virtual private gateway attached to your
	// VPC.
	GatewayID string `json:"gatewayId,omitempty"`

	// A referencer to retrieve the ID of a gateway
	GatewayIDRef *InternetGatewayIDReferencerForRouteTable `json:"gatewayIdRef,omitempty" resource:"attributereferencer"`
}

Route describes a route in a route table.

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

type RouteState

type RouteState struct {
	// The state of the route. The blackhole state indicates that the route's
	// target isn't available (for example, the specified gateway isn't attached
	// to the VPC, or the specified NAT instance has been terminated).
	RouteState string `json:"routeState,omitempty"`

	Route `json:",inline"`
}

RouteState describes a route state in the route table.

func (*RouteState) DeepCopy

func (in *RouteState) DeepCopy() *RouteState

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

func (*RouteState) DeepCopyInto

func (in *RouteState) DeepCopyInto(out *RouteState)

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

type RouteTable

type RouteTable struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RouteTableSpec   `json:"spec"`
	Status RouteTableStatus `json:"status,omitempty"`
}

A RouteTable is a managed resource that represents an AWS VPC Route Table. +kubebuilder:printcolumn:name="TABLEID",type="string",JSONPath=".status.routeTableId" +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 (*RouteTable) DeepCopy

func (in *RouteTable) DeepCopy() *RouteTable

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

func (*RouteTable) DeepCopyInto

func (in *RouteTable) DeepCopyInto(out *RouteTable)

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

func (*RouteTable) DeepCopyObject

func (in *RouteTable) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RouteTable) GetBindingPhase

func (mg *RouteTable) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this RouteTable.

func (*RouteTable) GetClaimReference

func (mg *RouteTable) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this RouteTable.

func (*RouteTable) GetClassReference

func (mg *RouteTable) GetClassReference() *corev1.ObjectReference

GetClassReference of this RouteTable.

func (*RouteTable) GetCondition

GetCondition of this RouteTable.

func (*RouteTable) GetReclaimPolicy

func (mg *RouteTable) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this RouteTable.

func (*RouteTable) GetWriteConnectionSecretToReference

func (mg *RouteTable) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this RouteTable.

func (*RouteTable) SetBindingPhase

func (mg *RouteTable) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this RouteTable.

func (*RouteTable) SetClaimReference

func (mg *RouteTable) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this RouteTable.

func (*RouteTable) SetClassReference

func (mg *RouteTable) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this RouteTable.

func (*RouteTable) SetConditions

func (mg *RouteTable) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this RouteTable.

func (*RouteTable) SetReclaimPolicy

func (mg *RouteTable) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this RouteTable.

func (*RouteTable) SetWriteConnectionSecretToReference

func (mg *RouteTable) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this RouteTable.

func (*RouteTable) UpdateExternalStatus

func (t *RouteTable) UpdateExternalStatus(observation ec2.RouteTable)

UpdateExternalStatus updates the external status object, given the observation

type RouteTableExternalStatus

type RouteTableExternalStatus struct {

	// RouteTableID is the ID of the RouteTable.
	RouteTableID string `json:"routeTableId"`

	// The actual routes created for the route table.
	Routes []RouteState `json:"routes,omitempty"`

	// The actual associations created for the route table.
	Associations []AssociationState `json:"associations,omitempty"`
}

RouteTableExternalStatus keeps the state for the external resource

func (*RouteTableExternalStatus) DeepCopy

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

func (*RouteTableExternalStatus) DeepCopyInto

func (in *RouteTableExternalStatus) DeepCopyInto(out *RouteTableExternalStatus)

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

type RouteTableList

type RouteTableList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RouteTable `json:"items"`
}

RouteTableList contains a list of RouteTables

func (*RouteTableList) DeepCopy

func (in *RouteTableList) DeepCopy() *RouteTableList

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

func (*RouteTableList) DeepCopyInto

func (in *RouteTableList) DeepCopyInto(out *RouteTableList)

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

func (*RouteTableList) DeepCopyObject

func (in *RouteTableList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RouteTableParameters

type RouteTableParameters struct {
	// VPCID is the ID of the VPC.
	VPCID string `json:"vpcId,omitempty"`

	// VPCIDRef references to a VPC to and retrieves its vpcId
	VPCIDRef *VPCIDReferencerForRouteTable `json:"vpcIdRef,omitempty" resource:"attributereferencer"`

	// the routes in the route table
	Routes []Route `json:"routes,omitempty"`

	// The associations between the route table and one or more subnets.
	Associations []Association `json:"associations,omitempty"`
}

RouteTableParameters define the desired state of an AWS VPC Route Table.

func (*RouteTableParameters) DeepCopy

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

func (*RouteTableParameters) DeepCopyInto

func (in *RouteTableParameters) DeepCopyInto(out *RouteTableParameters)

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

type RouteTableSpec

type RouteTableSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	RouteTableParameters         `json:",inline"`
}

A RouteTableSpec defines the desired state of a RouteTable.

func (*RouteTableSpec) DeepCopy

func (in *RouteTableSpec) DeepCopy() *RouteTableSpec

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

func (*RouteTableSpec) DeepCopyInto

func (in *RouteTableSpec) DeepCopyInto(out *RouteTableSpec)

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

type RouteTableStatus

type RouteTableStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	RouteTableExternalStatus       `json:",inline"`
}

A RouteTableStatus represents the observed state of a RouteTable.

func (*RouteTableStatus) DeepCopy

func (in *RouteTableStatus) DeepCopy() *RouteTableStatus

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

func (*RouteTableStatus) DeepCopyInto

func (in *RouteTableStatus) DeepCopyInto(out *RouteTableStatus)

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

type SecurityGroup

type SecurityGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SecurityGroupSpec   `json:"spec"`
	Status SecurityGroupStatus `json:"status,omitempty"`
}

A SecurityGroup is a managed resource that represents an AWS VPC Security Group. +kubebuilder:printcolumn:name="GROUPNAME",type="string",JSONPath=".spec.groupName" +kubebuilder:printcolumn:name="VPCID",type="string",JSONPath=".spec.vpcId" +kubebuilder:printcolumn:name="DESCRIPTION",type="string",JSONPath=".spec.description" +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 (*SecurityGroup) DeepCopy

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto

func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)

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

func (*SecurityGroup) DeepCopyObject

func (in *SecurityGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SecurityGroup) GetBindingPhase

func (mg *SecurityGroup) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this SecurityGroup.

func (*SecurityGroup) GetClaimReference

func (mg *SecurityGroup) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this SecurityGroup.

func (*SecurityGroup) GetClassReference

func (mg *SecurityGroup) GetClassReference() *corev1.ObjectReference

GetClassReference of this SecurityGroup.

func (*SecurityGroup) GetCondition

GetCondition of this SecurityGroup.

func (*SecurityGroup) GetReclaimPolicy

func (mg *SecurityGroup) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this SecurityGroup.

func (*SecurityGroup) GetWriteConnectionSecretToReference

func (mg *SecurityGroup) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this SecurityGroup.

func (*SecurityGroup) SetBindingPhase

func (mg *SecurityGroup) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this SecurityGroup.

func (*SecurityGroup) SetClaimReference

func (mg *SecurityGroup) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this SecurityGroup.

func (*SecurityGroup) SetClassReference

func (mg *SecurityGroup) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this SecurityGroup.

func (*SecurityGroup) SetConditions

func (mg *SecurityGroup) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this SecurityGroup.

func (*SecurityGroup) SetReclaimPolicy

func (mg *SecurityGroup) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this SecurityGroup.

func (*SecurityGroup) SetWriteConnectionSecretToReference

func (mg *SecurityGroup) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this SecurityGroup.

func (*SecurityGroup) UpdateExternalStatus

func (s *SecurityGroup) UpdateExternalStatus(observation ec2.SecurityGroup)

UpdateExternalStatus updates the external status object, given the observation

type SecurityGroupExternalStatus

type SecurityGroupExternalStatus struct {
	// SecurityGroupID is the ID of the SecurityGroup.
	SecurityGroupID string `json:"securityGroupID"`

	// Tags represents to current ec2 tags.
	Tags []Tag `json:"tags,omitempty"`
}

SecurityGroupExternalStatus keeps the state for the external resource

func (*SecurityGroupExternalStatus) DeepCopy

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

func (*SecurityGroupExternalStatus) DeepCopyInto

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

type SecurityGroupIDReferencer

type SecurityGroupIDReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

SecurityGroupIDReferencer is used to get the ID from another SecurityGroup

func (*SecurityGroupIDReferencer) Build

Build retrieves and builds the SubnetID

func (*SecurityGroupIDReferencer) DeepCopy

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

func (*SecurityGroupIDReferencer) DeepCopyInto

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

func (*SecurityGroupIDReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type SecurityGroupList

type SecurityGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SecurityGroup `json:"items"`
}

SecurityGroupList contains a list of SecurityGroups

func (*SecurityGroupList) DeepCopy

func (in *SecurityGroupList) DeepCopy() *SecurityGroupList

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

func (*SecurityGroupList) DeepCopyInto

func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList)

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

func (*SecurityGroupList) DeepCopyObject

func (in *SecurityGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SecurityGroupParameters

type SecurityGroupParameters struct {
	// VPCID is the ID of the VPC.
	VPCID string `json:"vpcId,omitempty"`

	// VPCIDRef references to a VPC to and retrieves its vpcId
	VPCIDRef *VPCIDReferencerForSecurityGroup `json:"vpcIdRef,omitempty" resource:"attributereferencer"`

	// A description of the security group.
	Description string `json:"description"`

	// The name of the security group.
	GroupName string `json:"groupName"`

	// One or more inbound rules associated with the security group.
	IngressPermissions []IPPermission `json:"ingress,omitempty"`

	// [EC2-VPC] One or more outbound rules associated with the security group.
	EgressPermissions []IPPermission `json:"egress,omitempty"`
}

SecurityGroupParameters define the desired state of an AWS VPC Security Group.

func (*SecurityGroupParameters) DeepCopy

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

func (*SecurityGroupParameters) DeepCopyInto

func (in *SecurityGroupParameters) DeepCopyInto(out *SecurityGroupParameters)

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

type SecurityGroupSpec

type SecurityGroupSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	SecurityGroupParameters      `json:",inline"`
}

A SecurityGroupSpec defines the desired state of a SecurityGroup.

func (*SecurityGroupSpec) DeepCopy

func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec

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

func (*SecurityGroupSpec) DeepCopyInto

func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec)

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

type SecurityGroupStatus

type SecurityGroupStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	SecurityGroupExternalStatus    `json:",inline"`
}

A SecurityGroupStatus represents the observed state of a SecurityGroup.

func (*SecurityGroupStatus) DeepCopy

func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus

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

func (*SecurityGroupStatus) DeepCopyInto

func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus)

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

type Subnet

type Subnet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SubnetSpec   `json:"spec"`
	Status SubnetStatus `json:"status,omitempty"`
}

A Subnet is a managed resource that represents an AWS VPC Subnet. +kubebuilder:printcolumn:name="SUBNETID",type="string",JSONPath=".status.subnetId" +kubebuilder:printcolumn:name="VPCID",type="string",JSONPath=".spec.vpcId" +kubebuilder:printcolumn:name="CIDRBLOCK",type="string",JSONPath=".spec.cidrBlock" +kubebuilder:printcolumn:name="AZ",type="string",JSONPath=".spec.availabilityZone" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.subnetState" +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 (*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.

func (*Subnet) DeepCopyObject

func (in *Subnet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Subnet) GetBindingPhase

func (mg *Subnet) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this Subnet.

func (*Subnet) GetClaimReference

func (mg *Subnet) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this Subnet.

func (*Subnet) GetClassReference

func (mg *Subnet) GetClassReference() *corev1.ObjectReference

GetClassReference of this Subnet.

func (*Subnet) GetCondition

GetCondition of this Subnet.

func (*Subnet) GetReclaimPolicy

func (mg *Subnet) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this Subnet.

func (*Subnet) GetWriteConnectionSecretToReference

func (mg *Subnet) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this Subnet.

func (*Subnet) SetBindingPhase

func (mg *Subnet) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this Subnet.

func (*Subnet) SetClaimReference

func (mg *Subnet) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this Subnet.

func (*Subnet) SetClassReference

func (mg *Subnet) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this Subnet.

func (*Subnet) SetConditions

func (mg *Subnet) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this Subnet.

func (*Subnet) SetReclaimPolicy

func (mg *Subnet) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this Subnet.

func (*Subnet) SetWriteConnectionSecretToReference

func (mg *Subnet) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this Subnet.

func (*Subnet) UpdateExternalStatus

func (s *Subnet) UpdateExternalStatus(observation ec2.Subnet)

UpdateExternalStatus updates the external status object, given the observation

type SubnetExternalStatus

type SubnetExternalStatus struct {
	// SubnetState is the current state of the Subnet.
	// +kubebuilder:validation:Enum=pending;available
	SubnetState string `json:"subnetState,omitempty"`

	// Tags represents to current ec2 tags.
	Tags []Tag `json:"tags,omitempty"`

	// SubnetID is the ID of the Subnet.
	SubnetID string `json:"subnetId,omitempty"`
}

SubnetExternalStatus keeps the state for the external resource

func (*SubnetExternalStatus) DeepCopy

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

func (*SubnetExternalStatus) DeepCopyInto

func (in *SubnetExternalStatus) DeepCopyInto(out *SubnetExternalStatus)

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

type SubnetIDReferencer

type SubnetIDReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

SubnetIDReferencer is used to get a SubnetID from another Subnet

func (*SubnetIDReferencer) Build

Build retrieves and builds the SubnetID

func (*SubnetIDReferencer) DeepCopy

func (in *SubnetIDReferencer) DeepCopy() *SubnetIDReferencer

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

func (*SubnetIDReferencer) DeepCopyInto

func (in *SubnetIDReferencer) DeepCopyInto(out *SubnetIDReferencer)

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

func (*SubnetIDReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type SubnetIDReferencerForRouteTable

type SubnetIDReferencerForRouteTable struct {
	SubnetIDReferencer `json:",inline"`
}

SubnetIDReferencerForRouteTable is an attribute referencer that resolves SubnetID from a referenced Subnet

func (*SubnetIDReferencerForRouteTable) Assign

Assign assigns the retrieved subnetId to the managed resource

func (*SubnetIDReferencerForRouteTable) DeepCopy

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

func (*SubnetIDReferencerForRouteTable) DeepCopyInto

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

type SubnetList

type SubnetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Subnet `json:"items"`
}

SubnetList contains a list of Subnets

func (*SubnetList) DeepCopy

func (in *SubnetList) DeepCopy() *SubnetList

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

func (*SubnetList) DeepCopyInto

func (in *SubnetList) DeepCopyInto(out *SubnetList)

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

func (*SubnetList) DeepCopyObject

func (in *SubnetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SubnetParameters

type SubnetParameters struct {
	// CIDRBlock is the IPv4 network range for the Subnet, in CIDR notation. For example, 10.0.0.0/18.
	CIDRBlock string `json:"cidrBlock"`

	// The Availability Zone for the subnet.
	// Default: AWS selects one for you. If you create more than one subnet in your
	// VPC, we may not necessarily select a different zone for each subnet.
	AvailabilityZone string `json:"availabilityZone"`

	// VPCID is the ID of the VPC.
	VPCID string `json:"vpcId,omitempty"`

	// VPCIDRef references to a VPC to and retrieves its vpcId
	VPCIDRef *VPCIDReferencerForSubnet `json:"vpcIdRef,omitempty" resource:"attributereferencer"`
}

SubnetParameters define the desired state of an AWS VPC Subnet.

func (*SubnetParameters) DeepCopy

func (in *SubnetParameters) DeepCopy() *SubnetParameters

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

func (*SubnetParameters) DeepCopyInto

func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters)

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

type SubnetSpec

type SubnetSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	SubnetParameters             `json:",inline"`
}

A SubnetSpec defines the desired state of a Subnet.

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type SubnetStatus

type SubnetStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	SubnetExternalStatus           `json:",inline"`
}

A SubnetStatus represents the observed state of a Subnet.

func (*SubnetStatus) DeepCopy

func (in *SubnetStatus) DeepCopy() *SubnetStatus

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

func (*SubnetStatus) DeepCopyInto

func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)

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 BuildFromEC2Tags

func BuildFromEC2Tags(tags []ec2.Tag) []Tag

BuildFromEC2Tags returns a list of tags, off of the given ec2 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.

type VPC

type VPC struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VPCSpec   `json:"spec"`
	Status VPCStatus `json:"status,omitempty"`
}

A VPC is a managed resource that represents an AWS Virtual Private Cloud. +kubebuilder:printcolumn:name="VPCID",type="string",JSONPath=".status.vpcId" +kubebuilder:printcolumn:name="CIDRBLOCK",type="string",JSONPath=".spec.cidrBlock" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.vpcState" +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 (*VPC) DeepCopy

func (in *VPC) DeepCopy() *VPC

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

func (*VPC) DeepCopyInto

func (in *VPC) DeepCopyInto(out *VPC)

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

func (*VPC) DeepCopyObject

func (in *VPC) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VPC) GetBindingPhase

func (mg *VPC) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this VPC.

func (*VPC) GetClaimReference

func (mg *VPC) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this VPC.

func (*VPC) GetClassReference

func (mg *VPC) GetClassReference() *corev1.ObjectReference

GetClassReference of this VPC.

func (*VPC) GetCondition

GetCondition of this VPC.

func (*VPC) GetReclaimPolicy

func (mg *VPC) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this VPC.

func (*VPC) GetWriteConnectionSecretToReference

func (mg *VPC) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this VPC.

func (*VPC) SetBindingPhase

func (mg *VPC) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this VPC.

func (*VPC) SetClaimReference

func (mg *VPC) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this VPC.

func (*VPC) SetClassReference

func (mg *VPC) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this VPC.

func (*VPC) SetConditions

func (mg *VPC) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this VPC.

func (*VPC) SetReclaimPolicy

func (mg *VPC) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this VPC.

func (*VPC) SetWriteConnectionSecretToReference

func (mg *VPC) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this VPC.

func (*VPC) UpdateExternalStatus

func (v *VPC) UpdateExternalStatus(observation ec2.Vpc)

UpdateExternalStatus updates the external status object, given the observation

type VPCExternalStatus

type VPCExternalStatus struct {
	// VPCState is the current state of the VPC.
	// +kubebuilder:validation:Enum=pending;available
	VPCState string `json:"vpcState,omitempty"`

	// Tags represents to current ec2 tags.
	Tags []Tag `json:"tags,omitempty"`

	// VPCID is the ID of the VPC.
	VPCID string `json:"vpcId,omitempty"`
}

VPCExternalStatus keeps the state for the external resource

func (*VPCExternalStatus) DeepCopy

func (in *VPCExternalStatus) DeepCopy() *VPCExternalStatus

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

func (*VPCExternalStatus) DeepCopyInto

func (in *VPCExternalStatus) DeepCopyInto(out *VPCExternalStatus)

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

type VPCIDReferencer

type VPCIDReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

VPCIDReferencer is used to get a VPCID from another VPC

func (*VPCIDReferencer) Build

Build retrieves and builds the vpcId

func (*VPCIDReferencer) DeepCopy

func (in *VPCIDReferencer) DeepCopy() *VPCIDReferencer

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

func (*VPCIDReferencer) DeepCopyInto

func (in *VPCIDReferencer) DeepCopyInto(out *VPCIDReferencer)

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

func (*VPCIDReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type VPCIDReferencerForInternetGateway

type VPCIDReferencerForInternetGateway struct {
	VPCIDReferencer `json:",inline"`
}

VPCIDReferencerForInternetGateway is an attribute referencer that resolves VPCID from a referenced VPC

func (*VPCIDReferencerForInternetGateway) Assign

Assign assigns the retrieved vpcId to the managed resource

func (*VPCIDReferencerForInternetGateway) DeepCopy

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

func (*VPCIDReferencerForInternetGateway) DeepCopyInto

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

type VPCIDReferencerForRouteTable

type VPCIDReferencerForRouteTable struct {
	VPCIDReferencer `json:",inline"`
}

VPCIDReferencerForRouteTable is an attribute referencer that resolves VPCID from a referenced VPC

func (*VPCIDReferencerForRouteTable) Assign

Assign assigns the retrieved vpcId to the managed resource

func (*VPCIDReferencerForRouteTable) DeepCopy

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

func (*VPCIDReferencerForRouteTable) DeepCopyInto

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

type VPCIDReferencerForSecurityGroup

type VPCIDReferencerForSecurityGroup struct {
	VPCIDReferencer `json:",inline"`
}

VPCIDReferencerForSecurityGroup is an attribute referencer that resolves VPCID from a referenced VPC

func (*VPCIDReferencerForSecurityGroup) Assign

Assign assigns the retrieved value to the managed resource

func (*VPCIDReferencerForSecurityGroup) DeepCopy

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

func (*VPCIDReferencerForSecurityGroup) DeepCopyInto

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

type VPCIDReferencerForSubnet

type VPCIDReferencerForSubnet struct {
	VPCIDReferencer `json:",inline"`
}

VPCIDReferencerForSubnet is an attribute referencer that resolves VPCID from a referenced VPC

func (*VPCIDReferencerForSubnet) Assign

Assign assigns the retrieved vpcId to the managed resource

func (*VPCIDReferencerForSubnet) DeepCopy

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

func (*VPCIDReferencerForSubnet) DeepCopyInto

func (in *VPCIDReferencerForSubnet) DeepCopyInto(out *VPCIDReferencerForSubnet)

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

type VPCList

type VPCList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VPC `json:"items"`
}

VPCList contains a list of VPCs

func (*VPCList) DeepCopy

func (in *VPCList) DeepCopy() *VPCList

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

func (*VPCList) DeepCopyInto

func (in *VPCList) DeepCopyInto(out *VPCList)

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

func (*VPCList) DeepCopyObject

func (in *VPCList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VPCParameters

type VPCParameters struct {
	// CIDRBlock is the IPv4 network range for the VPC, in CIDR notation. For
	// example, 10.0.0.0/16.
	// +kubebuilder:validation:Required
	CIDRBlock string `json:"cidrBlock"`

	// A boolean flag to enable/disable DNS support in the VPC
	EnableDNSSupport bool `json:"enableDnsSupport,omitempty"`

	// A boolean flag to enable/disable DNS hostnames in the VPC
	EnableDNSHostNames bool `json:"enableDnsHostNames,omitempty"`
}

VPCParameters define the desired state of an AWS Virtual Private Cloud.

func (*VPCParameters) DeepCopy

func (in *VPCParameters) DeepCopy() *VPCParameters

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

func (*VPCParameters) DeepCopyInto

func (in *VPCParameters) DeepCopyInto(out *VPCParameters)

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

type VPCSpec

type VPCSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	VPCParameters                `json:",inline"`
}

A VPCSpec defines the desired state of a VPC.

func (*VPCSpec) DeepCopy

func (in *VPCSpec) DeepCopy() *VPCSpec

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

func (*VPCSpec) DeepCopyInto

func (in *VPCSpec) DeepCopyInto(out *VPCSpec)

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

type VPCStatus

type VPCStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	VPCExternalStatus              `json:",inline"`
}

A VPCStatus represents the observed state of a VPC.

func (*VPCStatus) DeepCopy

func (in *VPCStatus) DeepCopy() *VPCStatus

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

func (*VPCStatus) DeepCopyInto

func (in *VPCStatus) DeepCopyInto(out *VPCStatus)

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