v1alpha1

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 7 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 (
	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.

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

func (mg *ElasticIP) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ElasticIP.

func (*ElasticIP) GetDeletionPolicy

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

GetDeletionPolicy of this ElasticIP.

func (*ElasticIP) GetProviderConfigReference

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

GetProviderConfigReference of this ElasticIP.

func (*ElasticIP) GetProviderReference

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

GetProviderReference of this ElasticIP. Deprecated: Use GetProviderConfigReference.

func (*ElasticIP) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ElasticIP.

func (*ElasticIP) SetConditions

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

SetConditions of this ElasticIP.

func (*ElasticIP) SetDeletionPolicy

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

SetDeletionPolicy of this ElasticIP.

func (*ElasticIP) SetProviderConfigReference

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

SetProviderConfigReference of this ElasticIP.

func (*ElasticIP) SetProviderReference

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

SetProviderReference of this ElasticIP. Deprecated: Use SetProviderConfigReference.

func (*ElasticIP) SetWriteConnectionSecretToReference

func (mg *ElasticIP) SetWriteConnectionSecretToReference(r *xpv1.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 []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 {
	xpv1.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 {
	xpv1.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 Tag added in v0.17.0

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 (*Tag) DeepCopy added in v0.17.0

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto added in v0.17.0

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

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

Jump to

Keyboard shortcuts

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