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=nosql.oci.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: nosql.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 Index

type Index struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IndexSpec   `json:"spec,omitempty"`
	Status            IndexStatus `json:"status,omitempty"`
}

func (*Index) DeepCopy

func (in *Index) DeepCopy() *Index

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

func (*Index) DeepCopyInto

func (in *Index) DeepCopyInto(out *Index)

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

func (*Index) DeepCopyObject

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

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

func (*Index) SetupWebhookWithManager

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

func (*Index) ValidateCreate

func (r *Index) ValidateCreate() error

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

func (*Index) ValidateDelete

func (r *Index) ValidateDelete() error

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

func (*Index) ValidateUpdate

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

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

type IndexList

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

IndexList is a list of Indexs

func (*IndexList) DeepCopy

func (in *IndexList) DeepCopy() *IndexList

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

func (*IndexList) DeepCopyInto

func (in *IndexList) DeepCopyInto(out *IndexList)

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

func (*IndexList) DeepCopyObject

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

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

type IndexSpec

type IndexSpec struct {
	State *IndexSpecResource `json:"state,omitempty" tf:"-"`

	Resource IndexSpecResource `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 (*IndexSpec) DeepCopy

func (in *IndexSpec) DeepCopy() *IndexSpec

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

func (*IndexSpec) DeepCopyInto

func (in *IndexSpec) DeepCopyInto(out *IndexSpec)

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

type IndexSpecKeys

type IndexSpecKeys struct {
	ColumnName *string `json:"columnName" tf:"column_name"`
	// +optional
	JsonFieldType *string `json:"jsonFieldType,omitempty" tf:"json_field_type"`
	// +optional
	JsonPath *string `json:"jsonPath,omitempty" tf:"json_path"`
}

func (*IndexSpecKeys) DeepCopy

func (in *IndexSpecKeys) DeepCopy() *IndexSpecKeys

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

func (*IndexSpecKeys) DeepCopyInto

func (in *IndexSpecKeys) DeepCopyInto(out *IndexSpecKeys)

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

type IndexSpecResource

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

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

	// +optional
	CompartmentID *string `json:"compartmentID,omitempty" tf:"compartment_id"`
	// +optional
	IsIfNotExists *bool           `json:"isIfNotExists,omitempty" tf:"is_if_not_exists"`
	Keys          []IndexSpecKeys `json:"keys" tf:"keys"`
	// +optional
	LifecycleDetails *string `json:"lifecycleDetails,omitempty" tf:"lifecycle_details"`
	Name             *string `json:"name" tf:"name"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	TableID *string `json:"tableID,omitempty" tf:"table_id"`
	// +optional
	TableName     *string `json:"tableName,omitempty" tf:"table_name"`
	TableNameOrID *string `json:"tableNameOrID" tf:"table_name_or_id"`
}

func (*IndexSpecResource) DeepCopy

func (in *IndexSpecResource) DeepCopy() *IndexSpecResource

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

func (*IndexSpecResource) DeepCopyInto

func (in *IndexSpecResource) DeepCopyInto(out *IndexSpecResource)

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

type IndexStatus

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

func (in *IndexStatus) DeepCopy() *IndexStatus

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

func (*IndexStatus) DeepCopyInto

func (in *IndexStatus) DeepCopyInto(out *IndexStatus)

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 TableSpecResource

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

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

	CompartmentID *string `json:"compartmentID" tf:"compartment_id"`
	DdlStatement  *string `json:"ddlStatement" tf:"ddl_statement"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	IsAutoReclaimable *bool `json:"isAutoReclaimable,omitempty" tf:"is_auto_reclaimable"`
	// +optional
	LifecycleDetails *string `json:"lifecycleDetails,omitempty" tf:"lifecycle_details"`
	Name             *string `json:"name" tf:"name"`
	// +optional
	Schema *TableSpecSchema `json:"schema,omitempty" tf:"schema"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	SystemTags  map[string]string     `json:"systemTags,omitempty" tf:"system_tags"`
	TableLimits *TableSpecTableLimits `json:"tableLimits" tf:"table_limits"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeOfExpiration *string `json:"timeOfExpiration,omitempty" tf:"time_of_expiration"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
}

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 TableSpecSchema

type TableSpecSchema struct {
	// +optional
	Columns []TableSpecSchemaColumns `json:"columns,omitempty" tf:"columns"`
	// +optional
	PrimaryKey []string `json:"primaryKey,omitempty" tf:"primary_key"`
	// +optional
	ShardKey []string `json:"shardKey,omitempty" tf:"shard_key"`
	// +optional
	Ttl *int64 `json:"ttl,omitempty" tf:"ttl"`
}

func (*TableSpecSchema) DeepCopy

func (in *TableSpecSchema) DeepCopy() *TableSpecSchema

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

func (*TableSpecSchema) DeepCopyInto

func (in *TableSpecSchema) DeepCopyInto(out *TableSpecSchema)

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

type TableSpecSchemaCodec

type TableSpecSchemaCodec struct {
}

+k8s:deepcopy-gen=false

func (TableSpecSchemaCodec) Decode

func (TableSpecSchemaCodec) Encode

func (TableSpecSchemaCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (TableSpecSchemaCodec) IsEmpty

func (TableSpecSchemaCodec) IsEmpty(ptr unsafe.Pointer) bool

type TableSpecSchemaColumns

type TableSpecSchemaColumns struct {
	// +optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value"`
	// +optional
	IsNullable *bool `json:"isNullable,omitempty" tf:"is_nullable"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*TableSpecSchemaColumns) DeepCopy

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

func (*TableSpecSchemaColumns) DeepCopyInto

func (in *TableSpecSchemaColumns) DeepCopyInto(out *TableSpecSchemaColumns)

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

type TableSpecTableLimits

type TableSpecTableLimits struct {
	// +optional
	CapacityMode    *string `json:"capacityMode,omitempty" tf:"capacity_mode"`
	MaxReadUnits    *int64  `json:"maxReadUnits" tf:"max_read_units"`
	MaxStorageInGbs *int64  `json:"maxStorageInGbs" tf:"max_storage_in_gbs"`
	MaxWriteUnits   *int64  `json:"maxWriteUnits" tf:"max_write_units"`
}

func (*TableSpecTableLimits) DeepCopy

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

func (*TableSpecTableLimits) DeepCopyInto

func (in *TableSpecTableLimits) DeepCopyInto(out *TableSpecTableLimits)

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

type TableSpecTableLimitsCodec

type TableSpecTableLimitsCodec struct {
}

+k8s:deepcopy-gen=false

func (TableSpecTableLimitsCodec) Decode

func (TableSpecTableLimitsCodec) Encode

func (TableSpecTableLimitsCodec) 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