v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=cloudhsmv2.aws.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: cloudhsmv2.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Cluster

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

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) SetupWebhookWithManager

func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Cluster) ValidateCreate

func (r *Cluster) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Cluster) ValidateDelete

func (r *Cluster) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Cluster) ValidateUpdate

func (r *Cluster) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ClusterList

type ClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Cluster CRD objects
	Items []Cluster `json:"items,omitempty"`
}

ClusterList is 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.

type ClusterSpec

type ClusterSpec struct {
	State *ClusterSpecResource `json:"state,omitempty" tf:"-"`

	Resource ClusterSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 ClusterSpecClusterCertificates

type ClusterSpecClusterCertificates struct {
	// +optional
	AwsHardwareCertificate *string `json:"awsHardwareCertificate,omitempty" tf:"aws_hardware_certificate"`
	// +optional
	ClusterCertificate *string `json:"clusterCertificate,omitempty" tf:"cluster_certificate"`
	// +optional
	ClusterCsr *string `json:"clusterCsr,omitempty" tf:"cluster_csr"`
	// +optional
	HsmCertificate *string `json:"hsmCertificate,omitempty" tf:"hsm_certificate"`
	// +optional
	ManufacturerHardwareCertificate *string `json:"manufacturerHardwareCertificate,omitempty" tf:"manufacturer_hardware_certificate"`
}

func (*ClusterSpecClusterCertificates) DeepCopy

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

func (*ClusterSpecClusterCertificates) DeepCopyInto

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

type ClusterSpecResource

type ClusterSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// +optional
	ClusterCertificates []ClusterSpecClusterCertificates `json:"clusterCertificates,omitempty" tf:"cluster_certificates"`
	// +optional
	ClusterID *string `json:"clusterID,omitempty" tf:"cluster_id"`
	// +optional
	ClusterState *string `json:"clusterState,omitempty" tf:"cluster_state"`
	HsmType      *string `json:"hsmType" tf:"hsm_type"`
	// +optional
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	SourceBackupIdentifier *string  `json:"sourceBackupIdentifier,omitempty" tf:"source_backup_identifier"`
	SubnetIDS              []string `json:"subnetIDS" tf:"subnet_ids"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
}

func (*ClusterSpecResource) DeepCopy

func (in *ClusterSpecResource) DeepCopy() *ClusterSpecResource

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

func (*ClusterSpecResource) DeepCopyInto

func (in *ClusterSpecResource) DeepCopyInto(out *ClusterSpecResource)

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

type ClusterStatus

type ClusterStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HsmSpec   `json:"spec,omitempty"`
	Status            HsmStatus `json:"status,omitempty"`
}

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) SetupWebhookWithManager

func (r *Hsm) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Hsm) ValidateCreate

func (r *Hsm) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Hsm) ValidateDelete

func (r *Hsm) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Hsm) ValidateUpdate

func (r *Hsm) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type HsmList

type HsmList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Hsm CRD objects
	Items []Hsm `json:"items,omitempty"`
}

HsmList is 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.

type HsmSpec

type HsmSpec struct {
	State *HsmSpecResource `json:"state,omitempty" tf:"-"`

	Resource HsmSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 HsmSpecResource

type HsmSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// +optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone"`
	ClusterID        *string `json:"clusterID" tf:"cluster_id"`
	// +optional
	HsmEniID *string `json:"hsmEniID,omitempty" tf:"hsm_eni_id"`
	// +optional
	HsmID *string `json:"hsmID,omitempty" tf:"hsm_id"`
	// +optional
	HsmState *string `json:"hsmState,omitempty" tf:"hsm_state"`
	// +optional
	IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"`
	// +optional
	SubnetID *string `json:"subnetID,omitempty" tf:"subnet_id"`
}

func (*HsmSpecResource) DeepCopy

func (in *HsmSpecResource) DeepCopy() *HsmSpecResource

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

func (*HsmSpecResource) DeepCopyInto

func (in *HsmSpecResource) DeepCopyInto(out *HsmSpecResource)

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

type HsmStatus

type HsmStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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