v1alpha1

package
v0.0.0-...-bf43ebf Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group   = "subnet.terraform-provider-aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Kind                  = "Subnet"
	GroupKind             = schema.GroupKind{Group: Group, Kind: Kind}.String()
	KindAPIVersion        = Kind + "." + SchemeGroupVersion.String()
	GroupVersionKind      = SchemeGroupVersion.WithKind(Kind)
	TerraformResourceName = "aws_subnet"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
)

Functions

func DecodeSubnet

func DecodeSubnet(prev *Subnet, ctyValue cty.Value) (resource.Managed, error)

func DecodeSubnet_Arn

func DecodeSubnet_Arn(p *SubnetObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_AssignIpv6AddressOnCreation

func DecodeSubnet_AssignIpv6AddressOnCreation(p *SubnetParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_AvailabilityZone

func DecodeSubnet_AvailabilityZone(p *SubnetParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_AvailabilityZoneId

func DecodeSubnet_AvailabilityZoneId(p *SubnetParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_CidrBlock

func DecodeSubnet_CidrBlock(p *SubnetParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_Ipv6CidrBlock

func DecodeSubnet_Ipv6CidrBlock(p *SubnetParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_Ipv6CidrBlockAssociationId

func DecodeSubnet_Ipv6CidrBlockAssociationId(p *SubnetObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_MapPublicIpOnLaunch

func DecodeSubnet_MapPublicIpOnLaunch(p *SubnetParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_OutpostArn

func DecodeSubnet_OutpostArn(p *SubnetParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_OwnerId

func DecodeSubnet_OwnerId(p *SubnetObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_Tags

func DecodeSubnet_Tags(p *SubnetParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeSubnet_Timeouts

func DecodeSubnet_Timeouts(p *Timeouts, vals map[string]cty.Value)

containerTypeDecodeTemplate

func DecodeSubnet_Timeouts_Create

func DecodeSubnet_Timeouts_Create(p *Timeouts, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_Timeouts_Delete

func DecodeSubnet_Timeouts_Delete(p *Timeouts, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSubnet_VpcId

func DecodeSubnet_VpcId(p *SubnetParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeSubnet

func EncodeSubnet(r Subnet) cty.Value

func EncodeSubnet_Arn

func EncodeSubnet_Arn(p SubnetObservation, vals map[string]cty.Value)

func EncodeSubnet_AssignIpv6AddressOnCreation

func EncodeSubnet_AssignIpv6AddressOnCreation(p SubnetParameters, vals map[string]cty.Value)

func EncodeSubnet_AvailabilityZone

func EncodeSubnet_AvailabilityZone(p SubnetParameters, vals map[string]cty.Value)

func EncodeSubnet_AvailabilityZoneId

func EncodeSubnet_AvailabilityZoneId(p SubnetParameters, vals map[string]cty.Value)

func EncodeSubnet_CidrBlock

func EncodeSubnet_CidrBlock(p SubnetParameters, vals map[string]cty.Value)

func EncodeSubnet_Ipv6CidrBlock

func EncodeSubnet_Ipv6CidrBlock(p SubnetParameters, vals map[string]cty.Value)

func EncodeSubnet_Ipv6CidrBlockAssociationId

func EncodeSubnet_Ipv6CidrBlockAssociationId(p SubnetObservation, vals map[string]cty.Value)

func EncodeSubnet_MapPublicIpOnLaunch

func EncodeSubnet_MapPublicIpOnLaunch(p SubnetParameters, vals map[string]cty.Value)

func EncodeSubnet_OutpostArn

func EncodeSubnet_OutpostArn(p SubnetParameters, vals map[string]cty.Value)

func EncodeSubnet_OwnerId

func EncodeSubnet_OwnerId(p SubnetObservation, vals map[string]cty.Value)

func EncodeSubnet_Tags

func EncodeSubnet_Tags(p SubnetParameters, vals map[string]cty.Value)

func EncodeSubnet_Timeouts

func EncodeSubnet_Timeouts(p Timeouts, vals map[string]cty.Value)

func EncodeSubnet_Timeouts_Create

func EncodeSubnet_Timeouts_Create(p Timeouts, vals map[string]cty.Value)

func EncodeSubnet_Timeouts_Delete

func EncodeSubnet_Timeouts_Delete(p Timeouts, vals map[string]cty.Value)

func EncodeSubnet_VpcId

func EncodeSubnet_VpcId(p SubnetParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeSubnet_Arn

func MergeSubnet_Arn(k *SubnetObservation, p *SubnetObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeSubnet_AssignIpv6AddressOnCreation

func MergeSubnet_AssignIpv6AddressOnCreation(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_AvailabilityZone

func MergeSubnet_AvailabilityZone(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_AvailabilityZoneId

func MergeSubnet_AvailabilityZoneId(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_CidrBlock

func MergeSubnet_CidrBlock(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_Ipv6CidrBlock

func MergeSubnet_Ipv6CidrBlock(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_Ipv6CidrBlockAssociationId

func MergeSubnet_Ipv6CidrBlockAssociationId(k *SubnetObservation, p *SubnetObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeSubnet_MapPublicIpOnLaunch

func MergeSubnet_MapPublicIpOnLaunch(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_OutpostArn

func MergeSubnet_OutpostArn(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_OwnerId

func MergeSubnet_OwnerId(k *SubnetObservation, p *SubnetObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeSubnet_Tags

func MergeSubnet_Tags(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeSubnet_Timeouts

func MergeSubnet_Timeouts(k *Timeouts, p *Timeouts, md *plugin.MergeDescription) bool

mergeStructTemplateSpec

func MergeSubnet_Timeouts_Create

func MergeSubnet_Timeouts_Create(k *Timeouts, p *Timeouts, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_Timeouts_Delete

func MergeSubnet_Timeouts_Delete(k *Timeouts, p *Timeouts, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSubnet_VpcId

func MergeSubnet_VpcId(k *SubnetParameters, p *SubnetParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type Subnet

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

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

Subnet is a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

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

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

func (*Subnet) DeepCopyObject

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

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

func (*Subnet) GetCondition

GetCondition of this Subnet.

func (*Subnet) GetDeletionPolicy

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

GetDeletionPolicy of this Subnet.

func (*Subnet) GetProviderConfigReference

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

GetProviderConfigReference of this Subnet.

func (*Subnet) GetProviderReference

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

GetProviderReference of this Subnet. Deprecated: Use GetProviderConfigReference.

func (*Subnet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Subnet.

func (*Subnet) SetConditions

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

SetConditions of this Subnet.

func (*Subnet) SetDeletionPolicy

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

SetDeletionPolicy of this Subnet.

func (*Subnet) SetProviderConfigReference

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

SetProviderConfigReference of this Subnet.

func (*Subnet) SetProviderReference

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

SetProviderReference of this Subnet. Deprecated: Use SetProviderConfigReference.

func (*Subnet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Subnet.

type SubnetList

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

Subnet contains a list of SubnetList

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.

func (*SubnetList) GetItems

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

GetItems of this SubnetList.

type SubnetObservation

type SubnetObservation struct {
	Ipv6CidrBlockAssociationId string `json:"ipv6_cidr_block_association_id"`
	OwnerId                    string `json:"owner_id"`
	Arn                        string `json:"arn"`
}

A SubnetObservation records the observed state of a Subnet

func (*SubnetObservation) DeepCopy

func (in *SubnetObservation) DeepCopy() *SubnetObservation

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

func (*SubnetObservation) DeepCopyInto

func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation)

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

type SubnetParameters

type SubnetParameters struct {
	Tags                        map[string]string `json:"tags"`
	AvailabilityZone            string            `json:"availability_zone"`
	AvailabilityZoneId          string            `json:"availability_zone_id"`
	CidrBlock                   string            `json:"cidr_block"`
	Ipv6CidrBlock               string            `json:"ipv6_cidr_block"`
	OutpostArn                  string            `json:"outpost_arn"`
	VpcId                       string            `json:"vpc_id"`
	AssignIpv6AddressOnCreation bool              `json:"assign_ipv6_address_on_creation"`
	MapPublicIpOnLaunch         bool              `json:"map_public_ip_on_launch"`
	Timeouts                    Timeouts          `json:"timeouts"`
}

A SubnetParameters defines the desired state of a 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"`
	ForProvider                  SubnetParameters `json:"forProvider"`
}

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"`
	AtProvider                     SubnetObservation `json:"atProvider"`
}

A SubnetStatus defines 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 Timeouts

type Timeouts struct {
	Delete string `json:"delete"`
	Create string `json:"create"`
}

func (*Timeouts) DeepCopy

func (in *Timeouts) DeepCopy() *Timeouts

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

func (*Timeouts) DeepCopyInto

func (in *Timeouts) DeepCopyInto(out *Timeouts)

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