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

Package type metadata.

Variables

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

Functions

func DecodeKeyPair

func DecodeKeyPair(prev *KeyPair, ctyValue cty.Value) (resource.Managed, error)

func DecodeKeyPair_Arn

func DecodeKeyPair_Arn(p *KeyPairObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKeyPair_Fingerprint

func DecodeKeyPair_Fingerprint(p *KeyPairObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKeyPair_KeyName

func DecodeKeyPair_KeyName(p *KeyPairParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKeyPair_KeyNamePrefix

func DecodeKeyPair_KeyNamePrefix(p *KeyPairParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKeyPair_KeyPairId

func DecodeKeyPair_KeyPairId(p *KeyPairObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKeyPair_PublicKey

func DecodeKeyPair_PublicKey(p *KeyPairParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKeyPair_Tags

func DecodeKeyPair_Tags(p *KeyPairParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func EncodeKeyPair

func EncodeKeyPair(r KeyPair) cty.Value

func EncodeKeyPair_Arn

func EncodeKeyPair_Arn(p KeyPairObservation, vals map[string]cty.Value)

func EncodeKeyPair_Fingerprint

func EncodeKeyPair_Fingerprint(p KeyPairObservation, vals map[string]cty.Value)

func EncodeKeyPair_KeyName

func EncodeKeyPair_KeyName(p KeyPairParameters, vals map[string]cty.Value)

func EncodeKeyPair_KeyNamePrefix

func EncodeKeyPair_KeyNamePrefix(p KeyPairParameters, vals map[string]cty.Value)

func EncodeKeyPair_KeyPairId

func EncodeKeyPair_KeyPairId(p KeyPairObservation, vals map[string]cty.Value)

func EncodeKeyPair_PublicKey

func EncodeKeyPair_PublicKey(p KeyPairParameters, vals map[string]cty.Value)

func EncodeKeyPair_Tags

func EncodeKeyPair_Tags(p KeyPairParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeKeyPair_Arn

mergePrimitiveTemplateStatus

func MergeKeyPair_Fingerprint

func MergeKeyPair_Fingerprint(k *KeyPairObservation, p *KeyPairObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeKeyPair_KeyName

func MergeKeyPair_KeyName(k *KeyPairParameters, p *KeyPairParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKeyPair_KeyNamePrefix

func MergeKeyPair_KeyNamePrefix(k *KeyPairParameters, p *KeyPairParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKeyPair_KeyPairId

func MergeKeyPair_KeyPairId(k *KeyPairObservation, p *KeyPairObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeKeyPair_PublicKey

func MergeKeyPair_PublicKey(k *KeyPairParameters, p *KeyPairParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKeyPair_Tags

func MergeKeyPair_Tags(k *KeyPairParameters, p *KeyPairParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

Types

type KeyPair

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

	Spec   KeyPairSpec   `json:"spec"`
	Status KeyPairStatus `json:"status,omitempty"`
}

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

func (*KeyPair) DeepCopy

func (in *KeyPair) DeepCopy() *KeyPair

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

func (*KeyPair) DeepCopyInto

func (in *KeyPair) DeepCopyInto(out *KeyPair)

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

func (*KeyPair) DeepCopyObject

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

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

func (*KeyPair) GetCondition

GetCondition of this KeyPair.

func (*KeyPair) GetDeletionPolicy

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

GetDeletionPolicy of this KeyPair.

func (*KeyPair) GetProviderConfigReference

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

GetProviderConfigReference of this KeyPair.

func (*KeyPair) GetProviderReference

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

GetProviderReference of this KeyPair. Deprecated: Use GetProviderConfigReference.

func (*KeyPair) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this KeyPair.

func (*KeyPair) SetConditions

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

SetConditions of this KeyPair.

func (*KeyPair) SetDeletionPolicy

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

SetDeletionPolicy of this KeyPair.

func (*KeyPair) SetProviderConfigReference

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

SetProviderConfigReference of this KeyPair.

func (*KeyPair) SetProviderReference

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

SetProviderReference of this KeyPair. Deprecated: Use SetProviderConfigReference.

func (*KeyPair) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this KeyPair.

type KeyPairList

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

KeyPair contains a list of KeyPairList

func (*KeyPairList) DeepCopy

func (in *KeyPairList) DeepCopy() *KeyPairList

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

func (*KeyPairList) DeepCopyInto

func (in *KeyPairList) DeepCopyInto(out *KeyPairList)

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

func (*KeyPairList) DeepCopyObject

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

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

func (*KeyPairList) GetItems

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

GetItems of this KeyPairList.

type KeyPairObservation

type KeyPairObservation struct {
	KeyPairId   string `json:"key_pair_id"`
	Arn         string `json:"arn"`
	Fingerprint string `json:"fingerprint"`
}

A KeyPairObservation records the observed state of a KeyPair

func (*KeyPairObservation) DeepCopy

func (in *KeyPairObservation) DeepCopy() *KeyPairObservation

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

func (*KeyPairObservation) DeepCopyInto

func (in *KeyPairObservation) DeepCopyInto(out *KeyPairObservation)

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

type KeyPairParameters

type KeyPairParameters struct {
	PublicKey     string            `json:"public_key"`
	Tags          map[string]string `json:"tags"`
	KeyName       string            `json:"key_name"`
	KeyNamePrefix string            `json:"key_name_prefix"`
}

A KeyPairParameters defines the desired state of a KeyPair

func (*KeyPairParameters) DeepCopy

func (in *KeyPairParameters) DeepCopy() *KeyPairParameters

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

func (*KeyPairParameters) DeepCopyInto

func (in *KeyPairParameters) DeepCopyInto(out *KeyPairParameters)

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

type KeyPairSpec

type KeyPairSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  KeyPairParameters `json:"forProvider"`
}

A KeyPairSpec defines the desired state of a KeyPair

func (*KeyPairSpec) DeepCopy

func (in *KeyPairSpec) DeepCopy() *KeyPairSpec

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

func (*KeyPairSpec) DeepCopyInto

func (in *KeyPairSpec) DeepCopyInto(out *KeyPairSpec)

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

type KeyPairStatus

type KeyPairStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     KeyPairObservation `json:"atProvider"`
}

A KeyPairStatus defines the observed state of a KeyPair

func (*KeyPairStatus) DeepCopy

func (in *KeyPairStatus) DeepCopy() *KeyPairStatus

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

func (*KeyPairStatus) DeepCopyInto

func (in *KeyPairStatus) DeepCopyInto(out *KeyPairStatus)

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