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   = "ec-2-capacity-reservation.terraform-provider-aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

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

Functions

func DecodeEc2CapacityReservation

func DecodeEc2CapacityReservation(prev *Ec2CapacityReservation, ctyValue cty.Value) (resource.Managed, error)

func DecodeEc2CapacityReservation_Arn

func DecodeEc2CapacityReservation_Arn(p *Ec2CapacityReservationObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_AvailabilityZone

func DecodeEc2CapacityReservation_AvailabilityZone(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_EbsOptimized

func DecodeEc2CapacityReservation_EbsOptimized(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_EndDate

func DecodeEc2CapacityReservation_EndDate(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_EndDateType

func DecodeEc2CapacityReservation_EndDateType(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_EphemeralStorage

func DecodeEc2CapacityReservation_EphemeralStorage(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_InstanceCount

func DecodeEc2CapacityReservation_InstanceCount(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_InstanceMatchCriteria

func DecodeEc2CapacityReservation_InstanceMatchCriteria(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_InstancePlatform

func DecodeEc2CapacityReservation_InstancePlatform(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_InstanceType

func DecodeEc2CapacityReservation_InstanceType(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEc2CapacityReservation_Tags

func DecodeEc2CapacityReservation_Tags(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeEc2CapacityReservation_Tenancy

func DecodeEc2CapacityReservation_Tenancy(p *Ec2CapacityReservationParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeEc2CapacityReservation

func EncodeEc2CapacityReservation(r Ec2CapacityReservation) cty.Value

func EncodeEc2CapacityReservation_Arn

func EncodeEc2CapacityReservation_Arn(p Ec2CapacityReservationObservation, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_AvailabilityZone

func EncodeEc2CapacityReservation_AvailabilityZone(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_EbsOptimized

func EncodeEc2CapacityReservation_EbsOptimized(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_EndDate

func EncodeEc2CapacityReservation_EndDate(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_EndDateType

func EncodeEc2CapacityReservation_EndDateType(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_EphemeralStorage

func EncodeEc2CapacityReservation_EphemeralStorage(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_InstanceCount

func EncodeEc2CapacityReservation_InstanceCount(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_InstanceMatchCriteria

func EncodeEc2CapacityReservation_InstanceMatchCriteria(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_InstancePlatform

func EncodeEc2CapacityReservation_InstancePlatform(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_InstanceType

func EncodeEc2CapacityReservation_InstanceType(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_Tags

func EncodeEc2CapacityReservation_Tags(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func EncodeEc2CapacityReservation_Tenancy

func EncodeEc2CapacityReservation_Tenancy(p Ec2CapacityReservationParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeEc2CapacityReservation_Arn

mergePrimitiveTemplateStatus

func MergeEc2CapacityReservation_AvailabilityZone

func MergeEc2CapacityReservation_AvailabilityZone(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_EbsOptimized

func MergeEc2CapacityReservation_EbsOptimized(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_EndDate

func MergeEc2CapacityReservation_EndDate(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_EndDateType

func MergeEc2CapacityReservation_EndDateType(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_EphemeralStorage

func MergeEc2CapacityReservation_EphemeralStorage(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_InstanceCount

func MergeEc2CapacityReservation_InstanceCount(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_InstanceMatchCriteria

func MergeEc2CapacityReservation_InstanceMatchCriteria(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_InstancePlatform

func MergeEc2CapacityReservation_InstancePlatform(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_InstanceType

func MergeEc2CapacityReservation_InstanceType(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEc2CapacityReservation_Tags

mergePrimitiveContainerTemplateSpec

func MergeEc2CapacityReservation_Tenancy

func MergeEc2CapacityReservation_Tenancy(k *Ec2CapacityReservationParameters, p *Ec2CapacityReservationParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type Ec2CapacityReservation

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

	Spec   Ec2CapacityReservationSpec   `json:"spec"`
	Status Ec2CapacityReservationStatus `json:"status,omitempty"`
}

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

func (*Ec2CapacityReservation) DeepCopy

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

func (*Ec2CapacityReservation) DeepCopyInto

func (in *Ec2CapacityReservation) DeepCopyInto(out *Ec2CapacityReservation)

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

func (*Ec2CapacityReservation) DeepCopyObject

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

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

func (*Ec2CapacityReservation) GetCondition

GetCondition of this Ec2CapacityReservation.

func (*Ec2CapacityReservation) GetDeletionPolicy

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

GetDeletionPolicy of this Ec2CapacityReservation.

func (*Ec2CapacityReservation) GetProviderConfigReference

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

GetProviderConfigReference of this Ec2CapacityReservation.

func (*Ec2CapacityReservation) GetProviderReference

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

GetProviderReference of this Ec2CapacityReservation. Deprecated: Use GetProviderConfigReference.

func (*Ec2CapacityReservation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Ec2CapacityReservation.

func (*Ec2CapacityReservation) SetConditions

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

SetConditions of this Ec2CapacityReservation.

func (*Ec2CapacityReservation) SetDeletionPolicy

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

SetDeletionPolicy of this Ec2CapacityReservation.

func (*Ec2CapacityReservation) SetProviderConfigReference

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

SetProviderConfigReference of this Ec2CapacityReservation.

func (*Ec2CapacityReservation) SetProviderReference

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

SetProviderReference of this Ec2CapacityReservation. Deprecated: Use SetProviderConfigReference.

func (*Ec2CapacityReservation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Ec2CapacityReservation.

type Ec2CapacityReservationList

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

Ec2CapacityReservation contains a list of Ec2CapacityReservationList

func (*Ec2CapacityReservationList) DeepCopy

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

func (*Ec2CapacityReservationList) DeepCopyInto

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

func (*Ec2CapacityReservationList) DeepCopyObject

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

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

func (*Ec2CapacityReservationList) GetItems

GetItems of this Ec2CapacityReservationList.

type Ec2CapacityReservationObservation

type Ec2CapacityReservationObservation struct {
	Arn string `json:"arn"`
}

A Ec2CapacityReservationObservation records the observed state of a Ec2CapacityReservation

func (*Ec2CapacityReservationObservation) DeepCopy

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

func (*Ec2CapacityReservationObservation) DeepCopyInto

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

type Ec2CapacityReservationParameters

type Ec2CapacityReservationParameters struct {
	InstanceType          string            `json:"instance_type"`
	Tags                  map[string]string `json:"tags"`
	AvailabilityZone      string            `json:"availability_zone"`
	InstanceCount         int64             `json:"instance_count"`
	InstanceMatchCriteria string            `json:"instance_match_criteria"`
	InstancePlatform      string            `json:"instance_platform"`
	Tenancy               string            `json:"tenancy"`
	EbsOptimized          bool              `json:"ebs_optimized"`
	EndDate               string            `json:"end_date"`
	EndDateType           string            `json:"end_date_type"`
	EphemeralStorage      bool              `json:"ephemeral_storage"`
}

A Ec2CapacityReservationParameters defines the desired state of a Ec2CapacityReservation

func (*Ec2CapacityReservationParameters) DeepCopy

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

func (*Ec2CapacityReservationParameters) DeepCopyInto

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

type Ec2CapacityReservationSpec

type Ec2CapacityReservationSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  Ec2CapacityReservationParameters `json:"forProvider"`
}

A Ec2CapacityReservationSpec defines the desired state of a Ec2CapacityReservation

func (*Ec2CapacityReservationSpec) DeepCopy

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

func (*Ec2CapacityReservationSpec) DeepCopyInto

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

type Ec2CapacityReservationStatus

type Ec2CapacityReservationStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     Ec2CapacityReservationObservation `json:"atProvider"`
}

A Ec2CapacityReservationStatus defines the observed state of a Ec2CapacityReservation

func (*Ec2CapacityReservationStatus) DeepCopy

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

func (*Ec2CapacityReservationStatus) DeepCopyInto

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