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: 16 Imported by: 0

Documentation

Overview

+groupName=timestreamwrite.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: timestreamwrite.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 Database

type Database struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseSpec   `json:"spec,omitempty"`
	Status            DatabaseStatus `json:"status,omitempty"`
}

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

func (*Database) DeepCopyObject

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

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

func (*Database) SetupWebhookWithManager

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

func (*Database) ValidateCreate

func (r *Database) ValidateCreate() error

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

func (*Database) ValidateDelete

func (r *Database) ValidateDelete() error

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

func (*Database) ValidateUpdate

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

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

type DatabaseList

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

DatabaseList is a list of Databases

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

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

func (*DatabaseList) DeepCopyObject

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

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

type DatabaseSpec

type DatabaseSpec struct {
	State *DatabaseSpecResource `json:"state,omitempty" tf:"-"`

	Resource DatabaseSpecResource `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 (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

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

type DatabaseSpecResource

type DatabaseSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn          *string `json:"arn,omitempty" tf:"arn"`
	DatabaseName *string `json:"databaseName" tf:"database_name"`
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	TableCount *int64 `json:"tableCount,omitempty" tf:"table_count"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*DatabaseSpecResource) DeepCopy

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

func (*DatabaseSpecResource) DeepCopyInto

func (in *DatabaseSpecResource) DeepCopyInto(out *DatabaseSpecResource)

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

type DatabaseStatus

type DatabaseStatus 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 (*DatabaseStatus) DeepCopy

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

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

func (*DatabaseStatus) DeepCopyInto

func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)

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

type Table

type Table struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TableSpec   `json:"spec,omitempty"`
	Status            TableStatus `json:"status,omitempty"`
}

func (*Table) DeepCopy

func (in *Table) DeepCopy() *Table

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

func (*Table) DeepCopyInto

func (in *Table) DeepCopyInto(out *Table)

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

func (*Table) DeepCopyObject

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

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

func (*Table) SetupWebhookWithManager

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

func (*Table) ValidateCreate

func (r *Table) ValidateCreate() error

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

func (*Table) ValidateDelete

func (r *Table) ValidateDelete() error

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

func (*Table) ValidateUpdate

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

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

type TableList

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

TableList is a list of Tables

func (*TableList) DeepCopy

func (in *TableList) DeepCopy() *TableList

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

func (*TableList) DeepCopyInto

func (in *TableList) DeepCopyInto(out *TableList)

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

func (*TableList) DeepCopyObject

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

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

type TableSpec

type TableSpec struct {
	State *TableSpecResource `json:"state,omitempty" tf:"-"`

	Resource TableSpecResource `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 (*TableSpec) DeepCopy

func (in *TableSpec) DeepCopy() *TableSpec

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

func (*TableSpec) DeepCopyInto

func (in *TableSpec) DeepCopyInto(out *TableSpec)

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

type TableSpecMagneticStoreWriteProperties added in v0.5.0

type TableSpecMagneticStoreWriteProperties struct {
	// +optional
	EnableMagneticStoreWrites *bool `json:"enableMagneticStoreWrites,omitempty" tf:"enable_magnetic_store_writes"`
	// +optional
	MagneticStoreRejectedDataLocation *TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation `json:"magneticStoreRejectedDataLocation,omitempty" tf:"magnetic_store_rejected_data_location"`
}

func (*TableSpecMagneticStoreWriteProperties) DeepCopy added in v0.5.0

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

func (*TableSpecMagneticStoreWriteProperties) DeepCopyInto added in v0.5.0

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

type TableSpecMagneticStoreWritePropertiesCodec added in v0.5.0

type TableSpecMagneticStoreWritePropertiesCodec struct {
}

+k8s:deepcopy-gen=false

func (TableSpecMagneticStoreWritePropertiesCodec) Decode added in v0.5.0

func (TableSpecMagneticStoreWritePropertiesCodec) Encode added in v0.5.0

func (TableSpecMagneticStoreWritePropertiesCodec) IsEmpty added in v0.5.0

type TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation added in v0.5.0

type TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation struct {
	// +optional
	S3Configuration *TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration `json:"s3Configuration,omitempty" tf:"s3_configuration"`
}

func (*TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation) DeepCopy added in v0.5.0

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

func (*TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation) DeepCopyInto added in v0.5.0

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

type TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationCodec added in v0.5.0

type TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationCodec struct {
}

+k8s:deepcopy-gen=false

func (TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationCodec) Decode added in v0.5.0

func (TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationCodec) Encode added in v0.5.0

func (TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationCodec) IsEmpty added in v0.5.0

type TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration added in v0.5.0

type TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration struct {
	// +optional
	BucketName *string `json:"bucketName,omitempty" tf:"bucket_name"`
	// +optional
	EncryptionOption *string `json:"encryptionOption,omitempty" tf:"encryption_option"`
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	ObjectKeyPrefix *string `json:"objectKeyPrefix,omitempty" tf:"object_key_prefix"`
}

func (*TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration) DeepCopy added in v0.5.0

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

func (*TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration) DeepCopyInto added in v0.5.0

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

type TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationCodec added in v0.5.0

type TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationCodec) Decode added in v0.5.0

func (TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationCodec) Encode added in v0.5.0

func (TableSpecMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationCodec) IsEmpty added in v0.5.0

type TableSpecResource

type TableSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn          *string `json:"arn,omitempty" tf:"arn"`
	DatabaseName *string `json:"databaseName" tf:"database_name"`
	// +optional
	MagneticStoreWriteProperties *TableSpecMagneticStoreWriteProperties `json:"magneticStoreWriteProperties,omitempty" tf:"magnetic_store_write_properties"`
	// +optional
	RetentionProperties *TableSpecRetentionProperties `json:"retentionProperties,omitempty" tf:"retention_properties"`
	TableName           *string                       `json:"tableName" tf:"table_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*TableSpecResource) DeepCopy

func (in *TableSpecResource) DeepCopy() *TableSpecResource

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

func (*TableSpecResource) DeepCopyInto

func (in *TableSpecResource) DeepCopyInto(out *TableSpecResource)

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

type TableSpecRetentionProperties

type TableSpecRetentionProperties struct {
	MagneticStoreRetentionPeriodInDays *int64 `json:"magneticStoreRetentionPeriodInDays" tf:"magnetic_store_retention_period_in_days"`
	MemoryStoreRetentionPeriodInHours  *int64 `json:"memoryStoreRetentionPeriodInHours" tf:"memory_store_retention_period_in_hours"`
}

func (*TableSpecRetentionProperties) DeepCopy

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

func (*TableSpecRetentionProperties) DeepCopyInto

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

type TableSpecRetentionPropertiesCodec

type TableSpecRetentionPropertiesCodec struct {
}

+k8s:deepcopy-gen=false

func (TableSpecRetentionPropertiesCodec) Decode

func (TableSpecRetentionPropertiesCodec) Encode

func (TableSpecRetentionPropertiesCodec) IsEmpty

type TableStatus

type TableStatus 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 (*TableStatus) DeepCopy

func (in *TableStatus) DeepCopy() *TableStatus

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

func (*TableStatus) DeepCopyInto

func (in *TableStatus) DeepCopyInto(out *TableStatus)

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