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   = "lightsail-instance.terraform-provider-aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

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

Functions

func DecodeLightsailInstance

func DecodeLightsailInstance(prev *LightsailInstance, ctyValue cty.Value) (resource.Managed, error)

func DecodeLightsailInstance_Arn

func DecodeLightsailInstance_Arn(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_AvailabilityZone

func DecodeLightsailInstance_AvailabilityZone(p *LightsailInstanceParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_BlueprintId

func DecodeLightsailInstance_BlueprintId(p *LightsailInstanceParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_BundleId

func DecodeLightsailInstance_BundleId(p *LightsailInstanceParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_CpuCount

func DecodeLightsailInstance_CpuCount(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_CreatedAt

func DecodeLightsailInstance_CreatedAt(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_Ipv6Address

func DecodeLightsailInstance_Ipv6Address(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_IsStaticIp

func DecodeLightsailInstance_IsStaticIp(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_KeyPairName

func DecodeLightsailInstance_KeyPairName(p *LightsailInstanceParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_Name

func DecodeLightsailInstance_Name(p *LightsailInstanceParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_PrivateIpAddress

func DecodeLightsailInstance_PrivateIpAddress(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_PublicIpAddress

func DecodeLightsailInstance_PublicIpAddress(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_RamSize

func DecodeLightsailInstance_RamSize(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_Tags

func DecodeLightsailInstance_Tags(p *LightsailInstanceParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeLightsailInstance_UserData

func DecodeLightsailInstance_UserData(p *LightsailInstanceParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeLightsailInstance_Username

func DecodeLightsailInstance_Username(p *LightsailInstanceObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeLightsailInstance

func EncodeLightsailInstance(r LightsailInstance) cty.Value

func EncodeLightsailInstance_Arn

func EncodeLightsailInstance_Arn(p LightsailInstanceObservation, vals map[string]cty.Value)

func EncodeLightsailInstance_AvailabilityZone

func EncodeLightsailInstance_AvailabilityZone(p LightsailInstanceParameters, vals map[string]cty.Value)

func EncodeLightsailInstance_BlueprintId

func EncodeLightsailInstance_BlueprintId(p LightsailInstanceParameters, vals map[string]cty.Value)

func EncodeLightsailInstance_BundleId

func EncodeLightsailInstance_BundleId(p LightsailInstanceParameters, vals map[string]cty.Value)

func EncodeLightsailInstance_CpuCount

func EncodeLightsailInstance_CpuCount(p LightsailInstanceObservation, vals map[string]cty.Value)

func EncodeLightsailInstance_CreatedAt

func EncodeLightsailInstance_CreatedAt(p LightsailInstanceObservation, vals map[string]cty.Value)

func EncodeLightsailInstance_Ipv6Address

func EncodeLightsailInstance_Ipv6Address(p LightsailInstanceObservation, vals map[string]cty.Value)

func EncodeLightsailInstance_IsStaticIp

func EncodeLightsailInstance_IsStaticIp(p LightsailInstanceObservation, vals map[string]cty.Value)

func EncodeLightsailInstance_KeyPairName

func EncodeLightsailInstance_KeyPairName(p LightsailInstanceParameters, vals map[string]cty.Value)

func EncodeLightsailInstance_Name

func EncodeLightsailInstance_Name(p LightsailInstanceParameters, vals map[string]cty.Value)

func EncodeLightsailInstance_PrivateIpAddress

func EncodeLightsailInstance_PrivateIpAddress(p LightsailInstanceObservation, vals map[string]cty.Value)

func EncodeLightsailInstance_PublicIpAddress

func EncodeLightsailInstance_PublicIpAddress(p LightsailInstanceObservation, vals map[string]cty.Value)

func EncodeLightsailInstance_RamSize

func EncodeLightsailInstance_RamSize(p LightsailInstanceObservation, vals map[string]cty.Value)

func EncodeLightsailInstance_Tags

func EncodeLightsailInstance_Tags(p LightsailInstanceParameters, vals map[string]cty.Value)

func EncodeLightsailInstance_UserData

func EncodeLightsailInstance_UserData(p LightsailInstanceParameters, vals map[string]cty.Value)

func EncodeLightsailInstance_Username

func EncodeLightsailInstance_Username(p LightsailInstanceObservation, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeLightsailInstance_Arn

mergePrimitiveTemplateStatus

func MergeLightsailInstance_AvailabilityZone

func MergeLightsailInstance_AvailabilityZone(k *LightsailInstanceParameters, p *LightsailInstanceParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeLightsailInstance_BlueprintId

func MergeLightsailInstance_BlueprintId(k *LightsailInstanceParameters, p *LightsailInstanceParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeLightsailInstance_BundleId

func MergeLightsailInstance_BundleId(k *LightsailInstanceParameters, p *LightsailInstanceParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeLightsailInstance_CpuCount

func MergeLightsailInstance_CpuCount(k *LightsailInstanceObservation, p *LightsailInstanceObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeLightsailInstance_CreatedAt

func MergeLightsailInstance_CreatedAt(k *LightsailInstanceObservation, p *LightsailInstanceObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeLightsailInstance_Ipv6Address

func MergeLightsailInstance_Ipv6Address(k *LightsailInstanceObservation, p *LightsailInstanceObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeLightsailInstance_IsStaticIp

func MergeLightsailInstance_IsStaticIp(k *LightsailInstanceObservation, p *LightsailInstanceObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeLightsailInstance_KeyPairName

func MergeLightsailInstance_KeyPairName(k *LightsailInstanceParameters, p *LightsailInstanceParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeLightsailInstance_Name

mergePrimitiveTemplateSpec

func MergeLightsailInstance_PrivateIpAddress

func MergeLightsailInstance_PrivateIpAddress(k *LightsailInstanceObservation, p *LightsailInstanceObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeLightsailInstance_PublicIpAddress

func MergeLightsailInstance_PublicIpAddress(k *LightsailInstanceObservation, p *LightsailInstanceObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeLightsailInstance_RamSize

func MergeLightsailInstance_RamSize(k *LightsailInstanceObservation, p *LightsailInstanceObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeLightsailInstance_Tags

mergePrimitiveContainerTemplateSpec

func MergeLightsailInstance_UserData

func MergeLightsailInstance_UserData(k *LightsailInstanceParameters, p *LightsailInstanceParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeLightsailInstance_Username

func MergeLightsailInstance_Username(k *LightsailInstanceObservation, p *LightsailInstanceObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

Types

type LightsailInstance

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

	Spec   LightsailInstanceSpec   `json:"spec"`
	Status LightsailInstanceStatus `json:"status,omitempty"`
}

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

func (*LightsailInstance) DeepCopy

func (in *LightsailInstance) DeepCopy() *LightsailInstance

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

func (*LightsailInstance) DeepCopyInto

func (in *LightsailInstance) DeepCopyInto(out *LightsailInstance)

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

func (*LightsailInstance) DeepCopyObject

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

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

func (*LightsailInstance) GetCondition

GetCondition of this LightsailInstance.

func (*LightsailInstance) GetDeletionPolicy

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

GetDeletionPolicy of this LightsailInstance.

func (*LightsailInstance) GetProviderConfigReference

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

GetProviderConfigReference of this LightsailInstance.

func (*LightsailInstance) GetProviderReference

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

GetProviderReference of this LightsailInstance. Deprecated: Use GetProviderConfigReference.

func (*LightsailInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LightsailInstance.

func (*LightsailInstance) SetConditions

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

SetConditions of this LightsailInstance.

func (*LightsailInstance) SetDeletionPolicy

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

SetDeletionPolicy of this LightsailInstance.

func (*LightsailInstance) SetProviderConfigReference

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

SetProviderConfigReference of this LightsailInstance.

func (*LightsailInstance) SetProviderReference

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

SetProviderReference of this LightsailInstance. Deprecated: Use SetProviderConfigReference.

func (*LightsailInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LightsailInstance.

type LightsailInstanceList

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

LightsailInstance contains a list of LightsailInstanceList

func (*LightsailInstanceList) DeepCopy

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

func (*LightsailInstanceList) DeepCopyInto

func (in *LightsailInstanceList) DeepCopyInto(out *LightsailInstanceList)

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

func (*LightsailInstanceList) DeepCopyObject

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

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

func (*LightsailInstanceList) GetItems

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

GetItems of this LightsailInstanceList.

type LightsailInstanceObservation

type LightsailInstanceObservation struct {
	CreatedAt        string `json:"created_at"`
	Ipv6Address      string `json:"ipv6_address"`
	PublicIpAddress  string `json:"public_ip_address"`
	Arn              string `json:"arn"`
	Username         string `json:"username"`
	IsStaticIp       bool   `json:"is_static_ip"`
	PrivateIpAddress string `json:"private_ip_address"`
	RamSize          int64  `json:"ram_size"`
	CpuCount         int64  `json:"cpu_count"`
}

A LightsailInstanceObservation records the observed state of a LightsailInstance

func (*LightsailInstanceObservation) DeepCopy

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

func (*LightsailInstanceObservation) DeepCopyInto

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

type LightsailInstanceParameters

type LightsailInstanceParameters struct {
	Tags             map[string]string `json:"tags"`
	BlueprintId      string            `json:"blueprint_id"`
	BundleId         string            `json:"bundle_id"`
	KeyPairName      string            `json:"key_pair_name"`
	Name             string            `json:"name"`
	AvailabilityZone string            `json:"availability_zone"`
	UserData         string            `json:"user_data"`
}

A LightsailInstanceParameters defines the desired state of a LightsailInstance

func (*LightsailInstanceParameters) DeepCopy

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

func (*LightsailInstanceParameters) DeepCopyInto

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

type LightsailInstanceSpec

type LightsailInstanceSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  LightsailInstanceParameters `json:"forProvider"`
}

A LightsailInstanceSpec defines the desired state of a LightsailInstance

func (*LightsailInstanceSpec) DeepCopy

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

func (*LightsailInstanceSpec) DeepCopyInto

func (in *LightsailInstanceSpec) DeepCopyInto(out *LightsailInstanceSpec)

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

type LightsailInstanceStatus

type LightsailInstanceStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     LightsailInstanceObservation `json:"atProvider"`
}

A LightsailInstanceStatus defines the observed state of a LightsailInstance

func (*LightsailInstanceStatus) DeepCopy

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

func (*LightsailInstanceStatus) DeepCopyInto

func (in *LightsailInstanceStatus) DeepCopyInto(out *LightsailInstanceStatus)

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