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
- Variables
- func BuildEC2Permissions(objectPerms []IPPermission) []ec2.IpPermission
- type Association
- type AssociationState
- type IPPermission
- type IPRange
- type InternetGateway
- func (in *InternetGateway) DeepCopy() *InternetGateway
- func (in *InternetGateway) DeepCopyInto(out *InternetGateway)
- func (in *InternetGateway) DeepCopyObject() runtime.Object
- func (mg *InternetGateway) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *InternetGateway) GetClaimReference() *corev1.ObjectReference
- func (mg *InternetGateway) GetClassReference() *corev1.ObjectReference
- func (mg *InternetGateway) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *InternetGateway) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *InternetGateway) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *InternetGateway) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *InternetGateway) SetClaimReference(r *corev1.ObjectReference)
- func (mg *InternetGateway) SetClassReference(r *corev1.ObjectReference)
- func (mg *InternetGateway) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *InternetGateway) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *InternetGateway) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- func (i *InternetGateway) UpdateExternalStatus(observation ec2.InternetGateway)
- type InternetGatewayAttachment
- type InternetGatewayExternalStatus
- type InternetGatewayIDReferencer
- func (v *InternetGatewayIDReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
- func (in *InternetGatewayIDReferencer) DeepCopy() *InternetGatewayIDReferencer
- func (in *InternetGatewayIDReferencer) DeepCopyInto(out *InternetGatewayIDReferencer)
- func (v *InternetGatewayIDReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
- type InternetGatewayIDReferencerForRouteTable
- func (v *InternetGatewayIDReferencerForRouteTable) Assign(res resource.CanReference, value string) error
- func (in *InternetGatewayIDReferencerForRouteTable) DeepCopy() *InternetGatewayIDReferencerForRouteTable
- func (in *InternetGatewayIDReferencerForRouteTable) DeepCopyInto(out *InternetGatewayIDReferencerForRouteTable)
- type InternetGatewayList
- type InternetGatewayParameters
- type InternetGatewaySpec
- type InternetGatewayStatus
- type Route
- type RouteState
- type RouteTable
- func (in *RouteTable) DeepCopy() *RouteTable
- func (in *RouteTable) DeepCopyInto(out *RouteTable)
- func (in *RouteTable) DeepCopyObject() runtime.Object
- func (mg *RouteTable) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *RouteTable) GetClaimReference() *corev1.ObjectReference
- func (mg *RouteTable) GetClassReference() *corev1.ObjectReference
- func (mg *RouteTable) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *RouteTable) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *RouteTable) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *RouteTable) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *RouteTable) SetClaimReference(r *corev1.ObjectReference)
- func (mg *RouteTable) SetClassReference(r *corev1.ObjectReference)
- func (mg *RouteTable) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *RouteTable) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *RouteTable) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- func (t *RouteTable) UpdateExternalStatus(observation ec2.RouteTable)
- type RouteTableExternalStatus
- type RouteTableList
- type RouteTableParameters
- type RouteTableSpec
- type RouteTableStatus
- type SecurityGroup
- func (in *SecurityGroup) DeepCopy() *SecurityGroup
- func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)
- func (in *SecurityGroup) DeepCopyObject() runtime.Object
- func (mg *SecurityGroup) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *SecurityGroup) GetClaimReference() *corev1.ObjectReference
- func (mg *SecurityGroup) GetClassReference() *corev1.ObjectReference
- func (mg *SecurityGroup) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *SecurityGroup) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *SecurityGroup) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *SecurityGroup) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *SecurityGroup) SetClaimReference(r *corev1.ObjectReference)
- func (mg *SecurityGroup) SetClassReference(r *corev1.ObjectReference)
- func (mg *SecurityGroup) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *SecurityGroup) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *SecurityGroup) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- func (s *SecurityGroup) UpdateExternalStatus(observation ec2.SecurityGroup)
- type SecurityGroupExternalStatus
- type SecurityGroupIDReferencer
- func (v *SecurityGroupIDReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
- func (in *SecurityGroupIDReferencer) DeepCopy() *SecurityGroupIDReferencer
- func (in *SecurityGroupIDReferencer) DeepCopyInto(out *SecurityGroupIDReferencer)
- func (v *SecurityGroupIDReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
- type SecurityGroupList
- type SecurityGroupParameters
- type SecurityGroupSpec
- type SecurityGroupStatus
- type Subnet
- func (in *Subnet) DeepCopy() *Subnet
- func (in *Subnet) DeepCopyInto(out *Subnet)
- func (in *Subnet) DeepCopyObject() runtime.Object
- func (mg *Subnet) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *Subnet) GetClaimReference() *corev1.ObjectReference
- func (mg *Subnet) GetClassReference() *corev1.ObjectReference
- func (mg *Subnet) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *Subnet) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *Subnet) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *Subnet) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *Subnet) SetClaimReference(r *corev1.ObjectReference)
- func (mg *Subnet) SetClassReference(r *corev1.ObjectReference)
- func (mg *Subnet) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *Subnet) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *Subnet) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- func (s *Subnet) UpdateExternalStatus(observation ec2.Subnet)
- type SubnetExternalStatus
- type SubnetIDReferencer
- func (v *SubnetIDReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
- func (in *SubnetIDReferencer) DeepCopy() *SubnetIDReferencer
- func (in *SubnetIDReferencer) DeepCopyInto(out *SubnetIDReferencer)
- func (v *SubnetIDReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
- type SubnetIDReferencerForRouteTable
- type SubnetList
- type SubnetParameters
- type SubnetSpec
- type SubnetStatus
- type Tag
- type VPC
- func (in *VPC) DeepCopy() *VPC
- func (in *VPC) DeepCopyInto(out *VPC)
- func (in *VPC) DeepCopyObject() runtime.Object
- func (mg *VPC) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *VPC) GetClaimReference() *corev1.ObjectReference
- func (mg *VPC) GetClassReference() *corev1.ObjectReference
- func (mg *VPC) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *VPC) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *VPC) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *VPC) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *VPC) SetClaimReference(r *corev1.ObjectReference)
- func (mg *VPC) SetClassReference(r *corev1.ObjectReference)
- func (mg *VPC) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *VPC) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *VPC) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- func (v *VPC) UpdateExternalStatus(observation ec2.Vpc)
- type VPCExternalStatus
- type VPCIDReferencer
- func (v *VPCIDReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
- func (in *VPCIDReferencer) DeepCopy() *VPCIDReferencer
- func (in *VPCIDReferencer) DeepCopyInto(out *VPCIDReferencer)
- func (v *VPCIDReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
- type VPCIDReferencerForInternetGateway
- type VPCIDReferencerForRouteTable
- type VPCIDReferencerForSecurityGroup
- type VPCIDReferencerForSubnet
- type VPCList
- type VPCParameters
- type VPCSpec
- type VPCStatus
Constants ¶
const ( Group = "network.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 ( VPCKind = reflect.TypeOf(VPC{}).Name() VPCKindAPIVersion = VPCKind + "." + SchemeGroupVersion.String() VPCGroupVersionKind = SchemeGroupVersion.WithKind(VPCKind) )
VPC type metadata.
var ( SubnetKind = reflect.TypeOf(Subnet{}).Name() SubnetKindAPIVersion = SubnetKind + "." + SchemeGroupVersion.String() SubnetGroupVersionKind = SchemeGroupVersion.WithKind(SubnetKind) )
Subnet type metadata.
var ( SecurityGroupKind = reflect.TypeOf(SecurityGroup{}).Name() SecurityGroupKindAPIVersion = SecurityGroupKind + "." + SchemeGroupVersion.String() SecurityGroupGroupVersionKind = SchemeGroupVersion.WithKind(SecurityGroupKind) )
SecurityGroup type metadata.
var ( InternetGatewayKind = reflect.TypeOf(InternetGateway{}).Name() InternetGatewayKindAPIVersion = InternetGatewayKind + "." + SchemeGroupVersion.String() InternetGatewayGroupVersionKind = SchemeGroupVersion.WithKind(InternetGatewayKind) )
InternetGateway type metadata.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRange.
func (*IPRange) DeepCopyInto ¶
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 ¶
func (mg *InternetGateway) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
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 ¶
func (in *InternetGatewayAttachment) DeepCopy() *InternetGatewayAttachment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayAttachment.
func (*InternetGatewayAttachment) DeepCopyInto ¶
func (in *InternetGatewayAttachment) DeepCopyInto(out *InternetGatewayAttachment)
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 ¶
func (in *InternetGatewayExternalStatus) DeepCopy() *InternetGatewayExternalStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayExternalStatus.
func (*InternetGatewayExternalStatus) DeepCopyInto ¶
func (in *InternetGatewayExternalStatus) DeepCopyInto(out *InternetGatewayExternalStatus)
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 ¶
func (v *InternetGatewayIDReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
Build retrieves and builds the InternetGatewayID
func (*InternetGatewayIDReferencer) DeepCopy ¶
func (in *InternetGatewayIDReferencer) DeepCopy() *InternetGatewayIDReferencer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayIDReferencer.
func (*InternetGatewayIDReferencer) DeepCopyInto ¶
func (in *InternetGatewayIDReferencer) DeepCopyInto(out *InternetGatewayIDReferencer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternetGatewayIDReferencer) GetStatus ¶
func (v *InternetGatewayIDReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
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 ¶
func (v *InternetGatewayIDReferencerForRouteTable) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved value to the managed resource
func (*InternetGatewayIDReferencerForRouteTable) DeepCopy ¶
func (in *InternetGatewayIDReferencerForRouteTable) DeepCopy() *InternetGatewayIDReferencerForRouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayIDReferencerForRouteTable.
func (*InternetGatewayIDReferencerForRouteTable) DeepCopyInto ¶
func (in *InternetGatewayIDReferencerForRouteTable) DeepCopyInto(out *InternetGatewayIDReferencerForRouteTable)
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 ¶
func (in *InternetGatewayParameters) DeepCopy() *InternetGatewayParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayParameters.
func (*InternetGatewayParameters) DeepCopyInto ¶
func (in *InternetGatewayParameters) DeepCopyInto(out *InternetGatewayParameters)
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 ¶
func (in *InternetGatewayStatus) DeepCopy() *InternetGatewayStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
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 ¶
func (mg *RouteTable) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
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 ¶
func (in *RouteTableExternalStatus) DeepCopy() *RouteTableExternalStatus
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 ¶
func (in *RouteTableParameters) DeepCopy() *RouteTableParameters
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 ¶
func (mg *SecurityGroup) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
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 ¶
func (in *SecurityGroupExternalStatus) DeepCopy() *SecurityGroupExternalStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupExternalStatus.
func (*SecurityGroupExternalStatus) DeepCopyInto ¶
func (in *SecurityGroupExternalStatus) DeepCopyInto(out *SecurityGroupExternalStatus)
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 ¶
func (v *SecurityGroupIDReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
Build retrieves and builds the SubnetID
func (*SecurityGroupIDReferencer) DeepCopy ¶
func (in *SecurityGroupIDReferencer) DeepCopy() *SecurityGroupIDReferencer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIDReferencer.
func (*SecurityGroupIDReferencer) DeepCopyInto ¶
func (in *SecurityGroupIDReferencer) DeepCopyInto(out *SecurityGroupIDReferencer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroupIDReferencer) GetStatus ¶
func (v *SecurityGroupIDReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
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 ¶
func (in *SecurityGroupParameters) DeepCopy() *SecurityGroupParameters
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 ¶
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.
func (*Subnet) DeepCopyObject ¶
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 ¶
func (mg *Subnet) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
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 ¶
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 ¶
func (in *SubnetExternalStatus) DeepCopy() *SubnetExternalStatus
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 ¶
func (v *SubnetIDReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
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 ¶
func (v *SubnetIDReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
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 ¶
func (v *SubnetIDReferencerForRouteTable) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved subnetId to the managed resource
func (*SubnetIDReferencerForRouteTable) DeepCopy ¶
func (in *SubnetIDReferencerForRouteTable) DeepCopy() *SubnetIDReferencerForRouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetIDReferencerForRouteTable.
func (*SubnetIDReferencerForRouteTable) DeepCopyInto ¶
func (in *SubnetIDReferencerForRouteTable) DeepCopyInto(out *SubnetIDReferencerForRouteTable)
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 ¶
BuildFromEC2Tags returns a list of tags, off of the given ec2 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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPC.
func (*VPC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VPC) DeepCopyObject ¶
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 ¶
func (mg *VPC) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
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 ¶
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 ¶
func (v *VPCIDReferencer) Build(ctx context.Context, _ resource.CanReference, reader client.Reader) (string, error)
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 ¶
func (v *VPCIDReferencer) GetStatus(ctx context.Context, _ resource.CanReference, reader client.Reader) ([]resource.ReferenceStatus, error)
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 ¶
func (v *VPCIDReferencerForInternetGateway) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved vpcId to the managed resource
func (*VPCIDReferencerForInternetGateway) DeepCopy ¶
func (in *VPCIDReferencerForInternetGateway) DeepCopy() *VPCIDReferencerForInternetGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIDReferencerForInternetGateway.
func (*VPCIDReferencerForInternetGateway) DeepCopyInto ¶
func (in *VPCIDReferencerForInternetGateway) DeepCopyInto(out *VPCIDReferencerForInternetGateway)
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 ¶
func (v *VPCIDReferencerForRouteTable) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved vpcId to the managed resource
func (*VPCIDReferencerForRouteTable) DeepCopy ¶
func (in *VPCIDReferencerForRouteTable) DeepCopy() *VPCIDReferencerForRouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIDReferencerForRouteTable.
func (*VPCIDReferencerForRouteTable) DeepCopyInto ¶
func (in *VPCIDReferencerForRouteTable) DeepCopyInto(out *VPCIDReferencerForRouteTable)
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 ¶
func (v *VPCIDReferencerForSecurityGroup) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved value to the managed resource
func (*VPCIDReferencerForSecurityGroup) DeepCopy ¶
func (in *VPCIDReferencerForSecurityGroup) DeepCopy() *VPCIDReferencerForSecurityGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIDReferencerForSecurityGroup.
func (*VPCIDReferencerForSecurityGroup) DeepCopyInto ¶
func (in *VPCIDReferencerForSecurityGroup) DeepCopyInto(out *VPCIDReferencerForSecurityGroup)
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 ¶
func (v *VPCIDReferencerForSubnet) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved vpcId to the managed resource
func (*VPCIDReferencerForSubnet) DeepCopy ¶
func (in *VPCIDReferencerForSubnet) DeepCopy() *VPCIDReferencerForSubnet
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCList.
func (*VPCList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VPCList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSpec.
func (*VPCSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCStatus.
func (*VPCStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.