v1alpha1

package
v0.4.0-preview Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudhsmv2.aws.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloudhsmv2.aws.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Cluster_Kind             = "Cluster"
	Cluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String()
	Cluster_KindAPIVersion   = Cluster_Kind + "." + CRDGroupVersion.String()
	Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	HSM_Kind             = "HSM"
	HSM_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HSM_Kind}.String()
	HSM_KindAPIVersion   = HSM_Kind + "." + CRDGroupVersion.String()
	HSM_GroupVersionKind = CRDGroupVersion.WithKind(HSM_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterSpec   `json:"spec"`
	Status            ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the Clusters API +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,awsjet}

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) GetCondition

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

GetCondition of this Cluster.

func (*Cluster) GetConnectionDetailsMapping

func (tr *Cluster) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Cluster

func (*Cluster) GetDeletionPolicy

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

GetDeletionPolicy of this Cluster.

func (*Cluster) GetID

func (tr *Cluster) GetID() string

GetID returns ID of underlying Terraform resource of this Cluster

func (*Cluster) GetObservation

func (tr *Cluster) GetObservation() (map[string]interface{}, error)

GetObservation of this Cluster

func (*Cluster) GetParameters

func (tr *Cluster) GetParameters() (map[string]interface{}, error)

GetParameters of this Cluster

func (*Cluster) GetProviderConfigReference

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

GetProviderConfigReference of this Cluster.

func (*Cluster) GetProviderReference

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

GetProviderReference of this Cluster. Deprecated: Use GetProviderConfigReference.

func (*Cluster) GetTerraformResourceType

func (mg *Cluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Cluster

func (*Cluster) GetTerraformSchemaVersion

func (tr *Cluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Cluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Cluster.

func (*Cluster) LateInitialize

func (tr *Cluster) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Cluster using its observed tfState. returns True if there are any spec changes for the resource.

func (*Cluster) ResolveReferences

func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Cluster.

func (*Cluster) SetConditions

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

SetConditions of this Cluster.

func (*Cluster) SetDeletionPolicy

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

SetDeletionPolicy of this Cluster.

func (*Cluster) SetObservation

func (tr *Cluster) SetObservation(obs map[string]interface{}) error

SetObservation for this Cluster

func (*Cluster) SetParameters

func (tr *Cluster) SetParameters(params map[string]interface{}) error

SetParameters for this Cluster

func (*Cluster) SetProviderConfigReference

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

SetProviderConfigReference of this Cluster.

func (*Cluster) SetProviderReference

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

SetProviderReference of this Cluster. Deprecated: Use SetProviderConfigReference.

func (*Cluster) SetWriteConnectionSecretToReference

func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Cluster.

type ClusterCertificatesObservation

type ClusterCertificatesObservation struct {
	AwsHardwareCertificate *string `json:"awsHardwareCertificate,omitempty" tf:"aws_hardware_certificate,omitempty"`

	ClusterCertificate *string `json:"clusterCertificate,omitempty" tf:"cluster_certificate,omitempty"`

	ClusterCsr *string `json:"clusterCsr,omitempty" tf:"cluster_csr,omitempty"`

	HSMCertificate *string `json:"hsmCertificate,omitempty" tf:"hsm_certificate,omitempty"`

	ManufacturerHardwareCertificate *string `json:"manufacturerHardwareCertificate,omitempty" tf:"manufacturer_hardware_certificate,omitempty"`
}

func (*ClusterCertificatesObservation) DeepCopy

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

func (*ClusterCertificatesObservation) DeepCopyInto

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

type ClusterCertificatesParameters

type ClusterCertificatesParameters struct {
}

func (*ClusterCertificatesParameters) DeepCopy

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

func (*ClusterCertificatesParameters) DeepCopyInto

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

type ClusterList

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

ClusterList contains a list of Clusters

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) GetItems

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

GetItems of this ClusterList.

type ClusterObservation

type ClusterObservation struct {
	ClusterCertificates []ClusterCertificatesObservation `json:"clusterCertificates,omitempty" tf:"cluster_certificates,omitempty"`

	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	ClusterState *string `json:"clusterState,omitempty" tf:"cluster_state,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*ClusterObservation) DeepCopy

func (in *ClusterObservation) DeepCopy() *ClusterObservation

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

func (*ClusterObservation) DeepCopyInto

func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation)

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

type ClusterParameters

type ClusterParameters struct {

	// +kubebuilder:validation:Required
	HSMType *string `json:"hsmType" tf:"hsm_type,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +terrajet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// +kubebuilder:validation:Optional
	SourceBackupIdentifier *string `json:"sourceBackupIdentifier,omitempty" tf:"source_backup_identifier,omitempty"`

	// +kubebuilder:validation:Optional
	SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-aws/apis/ec2/v1alpha2.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ClusterParameters) DeepCopy

func (in *ClusterParameters) DeepCopy() *ClusterParameters

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

func (*ClusterParameters) DeepCopyInto

func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters)

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

type ClusterSpec

type ClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterParameters `json:"forProvider"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

type ClusterStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ClusterObservation `json:"atProvider,omitempty"`
}

ClusterStatus defines the observed state of Cluster.

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type HSM

type HSM struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HSMSpec   `json:"spec"`
	Status            HSMStatus `json:"status,omitempty"`
}

HSM is the Schema for the HSMs API +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,awsjet}

func (*HSM) DeepCopy

func (in *HSM) DeepCopy() *HSM

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

func (*HSM) DeepCopyInto

func (in *HSM) DeepCopyInto(out *HSM)

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

func (*HSM) DeepCopyObject

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

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

func (*HSM) GetCondition

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

GetCondition of this HSM.

func (*HSM) GetConnectionDetailsMapping

func (tr *HSM) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this HSM

func (*HSM) GetDeletionPolicy

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

GetDeletionPolicy of this HSM.

func (*HSM) GetID

func (tr *HSM) GetID() string

GetID returns ID of underlying Terraform resource of this HSM

func (*HSM) GetObservation

func (tr *HSM) GetObservation() (map[string]interface{}, error)

GetObservation of this HSM

func (*HSM) GetParameters

func (tr *HSM) GetParameters() (map[string]interface{}, error)

GetParameters of this HSM

func (*HSM) GetProviderConfigReference

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

GetProviderConfigReference of this HSM.

func (*HSM) GetProviderReference

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

GetProviderReference of this HSM. Deprecated: Use GetProviderConfigReference.

func (*HSM) GetTerraformResourceType

func (mg *HSM) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HSM

func (*HSM) GetTerraformSchemaVersion

func (tr *HSM) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HSM) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HSM.

func (*HSM) LateInitialize

func (tr *HSM) LateInitialize(attrs []byte) (bool, error)

LateInitialize this HSM using its observed tfState. returns True if there are any spec changes for the resource.

func (*HSM) ResolveReferences

func (mg *HSM) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this HSM.

func (*HSM) SetConditions

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

SetConditions of this HSM.

func (*HSM) SetDeletionPolicy

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

SetDeletionPolicy of this HSM.

func (*HSM) SetObservation

func (tr *HSM) SetObservation(obs map[string]interface{}) error

SetObservation for this HSM

func (*HSM) SetParameters

func (tr *HSM) SetParameters(params map[string]interface{}) error

SetParameters for this HSM

func (*HSM) SetProviderConfigReference

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

SetProviderConfigReference of this HSM.

func (*HSM) SetProviderReference

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

SetProviderReference of this HSM. Deprecated: Use SetProviderConfigReference.

func (*HSM) SetWriteConnectionSecretToReference

func (mg *HSM) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this HSM.

type HSMList

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

HSMList contains a list of HSMs

func (*HSMList) DeepCopy

func (in *HSMList) DeepCopy() *HSMList

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

func (*HSMList) DeepCopyInto

func (in *HSMList) DeepCopyInto(out *HSMList)

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

func (*HSMList) DeepCopyObject

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

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

func (*HSMList) GetItems

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

GetItems of this HSMList.

type HSMObservation

type HSMObservation struct {
	HSMEniID *string `json:"hsmEniId,omitempty" tf:"hsm_eni_id,omitempty"`

	HSMID *string `json:"hsmId,omitempty" tf:"hsm_id,omitempty"`

	HSMState *string `json:"hsmState,omitempty" tf:"hsm_state,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*HSMObservation) DeepCopy

func (in *HSMObservation) DeepCopy() *HSMObservation

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

func (*HSMObservation) DeepCopyInto

func (in *HSMObservation) DeepCopyInto(out *HSMObservation)

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

type HSMParameters

type HSMParameters struct {

	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// +kubebuilder:validation:Required
	ClusterID *string `json:"clusterId" tf:"cluster_id,omitempty"`

	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +terrajet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-aws/apis/ec2/v1alpha2.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*HSMParameters) DeepCopy

func (in *HSMParameters) DeepCopy() *HSMParameters

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

func (*HSMParameters) DeepCopyInto

func (in *HSMParameters) DeepCopyInto(out *HSMParameters)

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

type HSMSpec

type HSMSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     HSMParameters `json:"forProvider"`
}

HSMSpec defines the desired state of HSM

func (*HSMSpec) DeepCopy

func (in *HSMSpec) DeepCopy() *HSMSpec

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

func (*HSMSpec) DeepCopyInto

func (in *HSMSpec) DeepCopyInto(out *HSMSpec)

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

type HSMStatus

type HSMStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        HSMObservation `json:"atProvider,omitempty"`
}

HSMStatus defines the observed state of HSM.

func (*HSMStatus) DeepCopy

func (in *HSMStatus) DeepCopy() *HSMStatus

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

func (*HSMStatus) DeepCopyInto

func (in *HSMStatus) DeepCopyInto(out *HSMStatus)

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