v1alpha1

package
v0.15.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains managed resources for AWS EC2 services +kubebuilder:object:generate=true +groupName=ec2.aws.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	NatGatewayStatusPending   = "pending"
	NatGatewayStatusFailed    = "failed"
	NatGatewayStatusAvailable = "available"
	NatGatewayStatusDeleting  = "deleting"
	NatGatewayStatusDeleted   = "deleted"
)

Defines the states of NatGateway

View Source
const (
	Group   = "ec2.aws.crossplane.io"
	Version = "v1alpha1"
)

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 (
	ElasticIPKind             = reflect.TypeOf(ElasticIP{}).Name()
	ElasticIPGroupKind        = schema.GroupKind{Group: Group, Kind: ElasticIPKind}.String()
	ElasticIPKindAPIVersion   = ElasticIPKind + "." + SchemeGroupVersion.String()
	ElasticIPGroupVersionKind = SchemeGroupVersion.WithKind(ElasticIPKind)
)

ElasticIP type metadata.

View Source
var (
	NATGatewayKind             = reflect.TypeOf(NATGateway{}).Name()
	NATGatewayGroupKind        = schema.GroupKind{Group: Group, Kind: NATGatewayKind}.String()
	NATGatewayKindAPIVersion   = NATGatewayKind + "." + SchemeGroupVersion.String()
	NATGatewayGroupVersionKind = SchemeGroupVersion.WithKind(NATGatewayKind)
)

NatGateway type metadata.

Functions

This section is empty.

Types

type ElasticIP

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

	Spec   ElasticIPSpec   `json:"spec"`
	Status ElasticIPStatus `json:"status,omitempty"`
}

A ElasticIP is a managed resource that represents an AWS VPC Security Group. +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="ID",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="IP",type="string",JSONPath=".status.atProvider.publicIp" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*ElasticIP) DeepCopy

func (in *ElasticIP) DeepCopy() *ElasticIP

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

func (*ElasticIP) DeepCopyInto

func (in *ElasticIP) DeepCopyInto(out *ElasticIP)

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

func (*ElasticIP) DeepCopyObject

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

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

func (*ElasticIP) GetCondition

GetCondition of this ElasticIP.

func (*ElasticIP) GetDeletionPolicy

func (mg *ElasticIP) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this ElasticIP.

func (*ElasticIP) GetProviderConfigReference

func (mg *ElasticIP) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this ElasticIP.

func (*ElasticIP) GetProviderReference

func (mg *ElasticIP) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this ElasticIP. Deprecated: Use GetProviderConfigReference.

func (*ElasticIP) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ElasticIP.

func (*ElasticIP) SetConditions

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

SetConditions of this ElasticIP.

func (*ElasticIP) SetDeletionPolicy

func (mg *ElasticIP) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this ElasticIP.

func (*ElasticIP) SetProviderConfigReference

func (mg *ElasticIP) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this ElasticIP.

func (*ElasticIP) SetProviderReference

func (mg *ElasticIP) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this ElasticIP. Deprecated: Use SetProviderConfigReference.

func (*ElasticIP) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ElasticIP.

type ElasticIPList

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

ElasticIPList contains a list of ElasticIPs

func (*ElasticIPList) DeepCopy

func (in *ElasticIPList) DeepCopy() *ElasticIPList

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

func (*ElasticIPList) DeepCopyInto

func (in *ElasticIPList) DeepCopyInto(out *ElasticIPList)

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

func (*ElasticIPList) DeepCopyObject

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

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

func (*ElasticIPList) GetItems

func (l *ElasticIPList) GetItems() []resource.Managed

GetItems of this ElasticIPList.

type ElasticIPObservation

type ElasticIPObservation struct {
	// The ID representing the allocation of the address for use with EC2-VPC.
	AllocationID string `json:"allocationId,omitempty"`

	// The ID representing the association of the address with an instance in a
	// VPC.
	AssociationID string `json:"associationId,omitempty"`

	// The customer-owned IP address.
	CustomerOwnedIP string `json:"customerOwnedIp,omitempty"`

	// The ID of the customer-owned address pool.
	CustomerOwnedIPv4Pool string `json:"customerOwnedIpv4Pool,omitempty"`

	// Indicates whether this Elastic IP address is for use with instances in EC2-Classic
	// (standard) or instances in a VPC (vpc).
	Domain string `json:"domain"`

	// The ID of the instance that the address is associated with (if any).
	InstanceID string `json:"instanceId,omitempty"`

	// The name of the location from which the IP address is advertised.
	NetworkBorderGroup string `json:"networkBorderGroup,omitempty"`

	// The ID of the network interface.
	NetworkInterfaceID string `json:"networkInterfaceId"`

	// The ID of the AWS account that owns the network interface.
	NetworkInterfaceOwnerID string `json:"networkInterfaceOwnerId,omitempty"`

	// The private IP address associated with the Elastic IP address.
	PrivateIPAddress string `json:"privateIpAddress"`

	// The Elastic IP address.
	PublicIP string `json:"publicIp"`

	// The ID of an address pool.
	PublicIPv4Pool string `json:"publicIpv4Pool,omitempty"`
}

ElasticIPObservation keeps the state for the external resource

func (*ElasticIPObservation) DeepCopy

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

func (*ElasticIPObservation) DeepCopyInto

func (in *ElasticIPObservation) DeepCopyInto(out *ElasticIPObservation)

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

type ElasticIPParameters

type ElasticIPParameters struct {
	// Region is the region you'd like your VPC to be created in.
	Region string `json:"region"`

	// [EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address
	// pool.
	// +optional
	// +immutable
	Address *string `json:"address,omitempty"`

	// The ID of a customer-owned address pool. Use this parameter to let Amazon
	// EC2 select an address from the address pool. Alternatively, specify a specific
	// address from the address pool
	// +optional
	// +immutable
	CustomerOwnedIPv4Pool *string `json:"customerOwnedIPv4Pool,omitempty"`

	// Set to vpc to allocate the address for use with instances in a VPC.
	// Default: The address is for use with instances in EC2-Classic.
	// +optional
	// +immutable
	// +kubebuilder:validation:Enum=vpc;standard
	Domain *string `json:"domain,omitempty"`

	// The location from which the IP address is advertised. Use this parameter
	// to limit the address to this location.
	//
	// A network border group is a unique set of Availability Zones or Local Zones
	// from where AWS advertises IP addresses and limits the addresses to the group.
	// IP addresses cannot move between network border groups.
	//
	// Use DescribeAvailabilityZones (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html)
	// to view the network border groups.
	//
	// You cannot use a network border group with EC2 Classic. If you attempt this
	// operation on EC2 classic, you will receive an InvalidParameterCombination
	// error. For more information, see Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html).
	// +optional
	// +immutable
	NetworkBorderGroup *string `json:"networkBorderGroup,omitempty"`

	// The ID of an address pool that you own. Use this parameter to let Amazon
	// EC2 select an address from the address pool. To specify a specific address
	// from the address pool, use the Address parameter instead.
	// +optional
	// +immutable
	PublicIPv4Pool *string `json:"publicIpv4Pool,omitempty"`

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

ElasticIPParameters define the desired state of an AWS Elastic IP

func (*ElasticIPParameters) DeepCopy

func (in *ElasticIPParameters) DeepCopy() *ElasticIPParameters

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

func (*ElasticIPParameters) DeepCopyInto

func (in *ElasticIPParameters) DeepCopyInto(out *ElasticIPParameters)

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

type ElasticIPSpec

type ElasticIPSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  ElasticIPParameters `json:"forProvider"`
}

A ElasticIPSpec defines the desired state of a ElasticIP.

func (*ElasticIPSpec) DeepCopy

func (in *ElasticIPSpec) DeepCopy() *ElasticIPSpec

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

func (*ElasticIPSpec) DeepCopyInto

func (in *ElasticIPSpec) DeepCopyInto(out *ElasticIPSpec)

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

type ElasticIPStatus

type ElasticIPStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     ElasticIPObservation `json:"atProvider"`
}

A ElasticIPStatus represents the observed state of a ElasticIP.

func (*ElasticIPStatus) DeepCopy

func (in *ElasticIPStatus) DeepCopy() *ElasticIPStatus

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

func (*ElasticIPStatus) DeepCopyInto

func (in *ElasticIPStatus) DeepCopyInto(out *ElasticIPStatus)

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

type NATGateway added in v0.13.0

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

	Spec   NATGatewaySpec   `json:"spec"`
	Status NATGatewayStatus `json:"status,omitempty"`
}

A NATGateway is a managed resource that represents an AWS VPC NAT Gateway. +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="ID",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="VPC",type="string",JSONPath=".status.atProvider.vpcId" +kubebuilder:printcolumn:name="SUBNET",type="string",JSONPath=".spec.forProvider.subnetId" +kubebuilder:printcolumn:name="ALLOCATION ID",type="string",JSONPath=".spec.forProvider.allocationId" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*NATGateway) DeepCopy added in v0.13.0

func (in *NATGateway) DeepCopy() *NATGateway

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

func (*NATGateway) DeepCopyInto added in v0.13.0

func (in *NATGateway) DeepCopyInto(out *NATGateway)

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

func (*NATGateway) DeepCopyObject added in v0.13.0

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

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

func (*NATGateway) GetCondition added in v0.13.0

GetCondition of this NATGateway.

func (*NATGateway) GetDeletionPolicy added in v0.13.0

func (mg *NATGateway) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this NATGateway.

func (*NATGateway) GetProviderConfigReference added in v0.13.0

func (mg *NATGateway) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this NATGateway.

func (*NATGateway) GetProviderReference added in v0.13.0

func (mg *NATGateway) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this NATGateway. Deprecated: Use GetProviderConfigReference.

func (*NATGateway) GetWriteConnectionSecretToReference added in v0.13.0

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

GetWriteConnectionSecretToReference of this NATGateway.

func (*NATGateway) ResolveReferences added in v0.13.0

func (mg *NATGateway) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this NatGateway

func (*NATGateway) SetConditions added in v0.13.0

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

SetConditions of this NATGateway.

func (*NATGateway) SetDeletionPolicy added in v0.13.0

func (mg *NATGateway) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this NATGateway.

func (*NATGateway) SetProviderConfigReference added in v0.13.0

func (mg *NATGateway) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this NATGateway.

func (*NATGateway) SetProviderReference added in v0.13.0

func (mg *NATGateway) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this NATGateway. Deprecated: Use SetProviderConfigReference.

func (*NATGateway) SetWriteConnectionSecretToReference added in v0.13.0

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

SetWriteConnectionSecretToReference of this NATGateway.

type NATGatewayAddress added in v0.13.0

type NATGatewayAddress struct {
	AllocationID       string `json:"allocationId,omitempty"`
	NetworkInterfaceID string `json:"networkInterfaceId,omitempty"`
	PrivateIP          string `json:"privateIp,omitempty"`
	PublicIP           string `json:"publicIp,omitempty"`
}

NATGatewayAddress describes the details of network

func (*NATGatewayAddress) DeepCopy added in v0.13.0

func (in *NATGatewayAddress) DeepCopy() *NATGatewayAddress

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

func (*NATGatewayAddress) DeepCopyInto added in v0.13.0

func (in *NATGatewayAddress) DeepCopyInto(out *NATGatewayAddress)

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

type NATGatewayList added in v0.13.0

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

NATGatewayList contains a list of NatGateways

func (*NATGatewayList) DeepCopy added in v0.13.0

func (in *NATGatewayList) DeepCopy() *NATGatewayList

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

func (*NATGatewayList) DeepCopyInto added in v0.13.0

func (in *NATGatewayList) DeepCopyInto(out *NATGatewayList)

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

func (*NATGatewayList) DeepCopyObject added in v0.13.0

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

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

func (*NATGatewayList) GetItems added in v0.13.0

func (l *NATGatewayList) GetItems() []resource.Managed

GetItems of this NATGatewayList.

type NATGatewayObservation added in v0.13.0

type NATGatewayObservation struct {
	CreateTime          *metav1.Time        `json:"createTime,omitempty"`
	DeleteTime          *metav1.Time        `json:"deleteTime,omitempty"`
	FailureCode         string              `json:"failureCode,omitempty"`
	FailureMessage      string              `json:"failureMessage,omitempty"`
	NatGatewayAddresses []NATGatewayAddress `json:"natGatewayAddresses,omitempty"`
	NatGatewayID        string              `json:"natGatewayId,omitempty"`
	State               string              `json:"state,omitempty"`
	VpcID               string              `json:"vpcId,omitempty"`
}

NATGatewayObservation keeps the state for the CR

func (*NATGatewayObservation) DeepCopy added in v0.13.0

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

func (*NATGatewayObservation) DeepCopyInto added in v0.13.0

func (in *NATGatewayObservation) DeepCopyInto(out *NATGatewayObservation)

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

type NATGatewayParameters added in v0.13.0

type NATGatewayParameters struct {

	// Region is the region you'd like your NATGateway to be created in.
	// +immutable
	Region string `json:"region"`

	// AllocationID is the Elastic IP allocation ID
	// +immutable
	// +optional
	AllocationID *string `json:"allocationId,omitempty"`

	// AllocationIDRef references an EIP and retrieves it's allocation id
	// +immutable
	// +optional
	AllocationIDRef *runtimev1alpha1.Reference `json:"allocationIdRef,omitempty"`

	// AllocationIDSelector references an EIP by selector and retrieves it's allocation id
	// +immutable
	// +optional
	AllocationIDSelector *runtimev1alpha1.Selector `json:"allocationIdSelector,omitempty"`

	// SubnetID is the subnet the NAT gateways needs to be associated to
	// +immutable
	// +optional
	SubnetID *string `json:"subnetId,omitempty"`

	// SubnetIDRef references a subnet and retrives it's subnet id
	// +immutable
	// +optional
	SubnetIDRef *runtimev1alpha1.Reference `json:"subnetIdRef,omitempty"`

	// SubnetIDSelector references a subnet by selector and retrives it's subnet id
	// +immutable
	// +optional
	SubnetIDSelector *runtimev1alpha1.Selector `json:"subnetIdSelector,omitempty"`

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

NATGatewayParameters defined the desired state of an AWS VPC NAT Gateway

func (*NATGatewayParameters) DeepCopy added in v0.13.0

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

func (*NATGatewayParameters) DeepCopyInto added in v0.13.0

func (in *NATGatewayParameters) DeepCopyInto(out *NATGatewayParameters)

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

type NATGatewaySpec added in v0.13.0

type NATGatewaySpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  NATGatewayParameters `json:"forProvider"`
}

NATGatewaySpec defines the desired state of a NAT Gateway

func (*NATGatewaySpec) DeepCopy added in v0.13.0

func (in *NATGatewaySpec) DeepCopy() *NATGatewaySpec

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

func (*NATGatewaySpec) DeepCopyInto added in v0.13.0

func (in *NATGatewaySpec) DeepCopyInto(out *NATGatewaySpec)

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

type NATGatewayStatus added in v0.13.0

type NATGatewayStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     NATGatewayObservation `json:"atProvider"`
}

NATGatewayStatus describes the observed state

func (*NATGatewayStatus) DeepCopy added in v0.13.0

func (in *NATGatewayStatus) DeepCopy() *NATGatewayStatus

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

func (*NATGatewayStatus) DeepCopyInto added in v0.13.0

func (in *NATGatewayStatus) DeepCopyInto(out *NATGatewayStatus)

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