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=redis.azurerm.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: redis.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 Cache

type Cache struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CacheSpec   `json:"spec,omitempty"`
	Status            CacheStatus `json:"status,omitempty"`
}

func (*Cache) DeepCopy

func (in *Cache) DeepCopy() *Cache

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

func (*Cache) DeepCopyInto

func (in *Cache) DeepCopyInto(out *Cache)

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

func (*Cache) DeepCopyObject

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

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

func (*Cache) SetupWebhookWithManager

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

func (*Cache) ValidateCreate

func (r *Cache) ValidateCreate() error

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

func (*Cache) ValidateDelete

func (r *Cache) ValidateDelete() error

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

func (*Cache) ValidateUpdate

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

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

type CacheList

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

CacheList is a list of Caches

func (*CacheList) DeepCopy

func (in *CacheList) DeepCopy() *CacheList

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

func (*CacheList) DeepCopyInto

func (in *CacheList) DeepCopyInto(out *CacheList)

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

func (*CacheList) DeepCopyObject

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

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

type CacheSpec

type CacheSpec struct {
	State *CacheSpecResource `json:"state,omitempty" tf:"-"`

	Resource CacheSpecResource `json:"resource" tf:"resource"`

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

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

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

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

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

func (*CacheSpec) DeepCopy

func (in *CacheSpec) DeepCopy() *CacheSpec

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

func (*CacheSpec) DeepCopyInto

func (in *CacheSpec) DeepCopyInto(out *CacheSpec)

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

type CacheSpecPatchSchedule

type CacheSpecPatchSchedule struct {
	DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week"`
	// +optional
	MaintenanceWindow *string `json:"maintenanceWindow,omitempty" tf:"maintenance_window"`
	// +optional
	StartHourUtc *int64 `json:"startHourUtc,omitempty" tf:"start_hour_utc"`
}

func (*CacheSpecPatchSchedule) DeepCopy

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

func (*CacheSpecPatchSchedule) DeepCopyInto

func (in *CacheSpecPatchSchedule) DeepCopyInto(out *CacheSpecPatchSchedule)

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

type CacheSpecRedisConfiguration

type CacheSpecRedisConfiguration struct {
	// +optional
	AofBackupEnabled *bool `json:"aofBackupEnabled,omitempty" tf:"aof_backup_enabled"`
	// +optional
	AofStorageConnectionString0 *string `json:"-" sensitive:"true" tf:"aof_storage_connection_string_0"`
	// +optional
	AofStorageConnectionString1 *string `json:"-" sensitive:"true" tf:"aof_storage_connection_string_1"`
	// +optional
	EnableAuthentication *bool `json:"enableAuthentication,omitempty" tf:"enable_authentication"`
	// +optional
	Maxclients *int64 `json:"maxclients,omitempty" tf:"maxclients"`
	// +optional
	MaxfragmentationmemoryReserved *int64 `json:"maxfragmentationmemoryReserved,omitempty" tf:"maxfragmentationmemory_reserved"`
	// +optional
	MaxmemoryDelta *int64 `json:"maxmemoryDelta,omitempty" tf:"maxmemory_delta"`
	// +optional
	MaxmemoryPolicy *string `json:"maxmemoryPolicy,omitempty" tf:"maxmemory_policy"`
	// +optional
	MaxmemoryReserved *int64 `json:"maxmemoryReserved,omitempty" tf:"maxmemory_reserved"`
	// +optional
	NotifyKeyspaceEvents *string `json:"notifyKeyspaceEvents,omitempty" tf:"notify_keyspace_events"`
	// +optional
	RdbBackupEnabled *bool `json:"rdbBackupEnabled,omitempty" tf:"rdb_backup_enabled"`
	// +optional
	RdbBackupFrequency *int64 `json:"rdbBackupFrequency,omitempty" tf:"rdb_backup_frequency"`
	// +optional
	RdbBackupMaxSnapshotCount *int64 `json:"rdbBackupMaxSnapshotCount,omitempty" tf:"rdb_backup_max_snapshot_count"`
	// +optional
	RdbStorageConnectionString *string `json:"-" sensitive:"true" tf:"rdb_storage_connection_string"`
}

func (*CacheSpecRedisConfiguration) DeepCopy

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

func (*CacheSpecRedisConfiguration) DeepCopyInto

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

type CacheSpecRedisConfigurationCodec

type CacheSpecRedisConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (CacheSpecRedisConfigurationCodec) Decode

func (CacheSpecRedisConfigurationCodec) Encode

func (CacheSpecRedisConfigurationCodec) IsEmpty

type CacheSpecResource

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

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

	Capacity *int64 `json:"capacity" tf:"capacity"`
	// +optional
	EnableNonSslPort *bool   `json:"enableNonSslPort,omitempty" tf:"enable_non_ssl_port"`
	Family           *string `json:"family" tf:"family"`
	// +optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname"`
	Location *string `json:"location" tf:"location"`
	// +optional
	MinimumTlsVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version"`
	Name              *string `json:"name" tf:"name"`
	// +optional
	PatchSchedule []CacheSpecPatchSchedule `json:"patchSchedule,omitempty" tf:"patch_schedule"`
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	PrimaryAccessKey *string `json:"-" sensitive:"true" tf:"primary_access_key"`
	// +optional
	PrimaryConnectionString *string `json:"-" sensitive:"true" tf:"primary_connection_string"`
	// +optional
	PrivateStaticIPAddress *string `json:"privateStaticIPAddress,omitempty" tf:"private_static_ip_address"`
	// +optional
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled"`
	// +optional
	RedisConfiguration *CacheSpecRedisConfiguration `json:"redisConfiguration,omitempty" tf:"redis_configuration"`
	// +optional
	RedisVersion *string `json:"redisVersion,omitempty" tf:"redis_version"`
	// +optional
	ReplicasPerMaster *int64 `json:"replicasPerMaster,omitempty" tf:"replicas_per_master"`
	// +optional
	ReplicasPerPrimary *int64  `json:"replicasPerPrimary,omitempty" tf:"replicas_per_primary"`
	ResourceGroupName  *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	SecondaryAccessKey *string `json:"-" sensitive:"true" tf:"secondary_access_key"`
	// +optional
	SecondaryConnectionString *string `json:"-" sensitive:"true" tf:"secondary_connection_string"`
	// +optional
	ShardCount *int64  `json:"shardCount,omitempty" tf:"shard_count"`
	SkuName    *string `json:"skuName" tf:"sku_name"`
	// +optional
	SslPort *int64 `json:"sslPort,omitempty" tf:"ssl_port"`
	// +optional
	SubnetID *string `json:"subnetID,omitempty" tf:"subnet_id"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TenantSettings *map[string]string `json:"tenantSettings,omitempty" tf:"tenant_settings"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	Zones []string `json:"zones,omitempty" tf:"zones"`
}

func (*CacheSpecResource) DeepCopy

func (in *CacheSpecResource) DeepCopy() *CacheSpecResource

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

func (*CacheSpecResource) DeepCopyInto

func (in *CacheSpecResource) DeepCopyInto(out *CacheSpecResource)

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

type CacheStatus

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

func (in *CacheStatus) DeepCopy() *CacheStatus

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

func (*CacheStatus) DeepCopyInto

func (in *CacheStatus) DeepCopyInto(out *CacheStatus)

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

type EnterpriseCluster

type EnterpriseCluster struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnterpriseClusterSpec   `json:"spec,omitempty"`
	Status            EnterpriseClusterStatus `json:"status,omitempty"`
}

func (*EnterpriseCluster) DeepCopy

func (in *EnterpriseCluster) DeepCopy() *EnterpriseCluster

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

func (*EnterpriseCluster) DeepCopyInto

func (in *EnterpriseCluster) DeepCopyInto(out *EnterpriseCluster)

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

func (*EnterpriseCluster) DeepCopyObject

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

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

func (*EnterpriseCluster) SetupWebhookWithManager

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

func (*EnterpriseCluster) ValidateCreate

func (r *EnterpriseCluster) ValidateCreate() error

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

func (*EnterpriseCluster) ValidateDelete

func (r *EnterpriseCluster) ValidateDelete() error

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

func (*EnterpriseCluster) ValidateUpdate

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

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

type EnterpriseClusterList

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

EnterpriseClusterList is a list of EnterpriseClusters

func (*EnterpriseClusterList) DeepCopy

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

func (*EnterpriseClusterList) DeepCopyInto

func (in *EnterpriseClusterList) DeepCopyInto(out *EnterpriseClusterList)

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

func (*EnterpriseClusterList) DeepCopyObject

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

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

type EnterpriseClusterSpec

type EnterpriseClusterSpec struct {
	State *EnterpriseClusterSpecResource `json:"state,omitempty" tf:"-"`

	Resource EnterpriseClusterSpecResource `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 (*EnterpriseClusterSpec) DeepCopy

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

func (*EnterpriseClusterSpec) DeepCopyInto

func (in *EnterpriseClusterSpec) DeepCopyInto(out *EnterpriseClusterSpec)

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

type EnterpriseClusterSpecResource

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

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

	// +optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname"`
	Location *string `json:"location" tf:"location"`
	// +optional
	MinimumTlsVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version"`
	Name              *string `json:"name" tf:"name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	SkuName           *string `json:"skuName" tf:"sku_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	// Deprecated
	Version *string `json:"version,omitempty" tf:"version"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	Zones []string `json:"zones,omitempty" tf:"zones"`
}

func (*EnterpriseClusterSpecResource) DeepCopy

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

func (*EnterpriseClusterSpecResource) DeepCopyInto

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

type EnterpriseClusterStatus

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

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

func (*EnterpriseClusterStatus) DeepCopyInto

func (in *EnterpriseClusterStatus) DeepCopyInto(out *EnterpriseClusterStatus)

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

type EnterpriseDatabase

type EnterpriseDatabase struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnterpriseDatabaseSpec   `json:"spec,omitempty"`
	Status            EnterpriseDatabaseStatus `json:"status,omitempty"`
}

func (*EnterpriseDatabase) DeepCopy

func (in *EnterpriseDatabase) DeepCopy() *EnterpriseDatabase

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

func (*EnterpriseDatabase) DeepCopyInto

func (in *EnterpriseDatabase) DeepCopyInto(out *EnterpriseDatabase)

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

func (*EnterpriseDatabase) DeepCopyObject

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

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

func (*EnterpriseDatabase) SetupWebhookWithManager

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

func (*EnterpriseDatabase) ValidateCreate

func (r *EnterpriseDatabase) ValidateCreate() error

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

func (*EnterpriseDatabase) ValidateDelete

func (r *EnterpriseDatabase) ValidateDelete() error

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

func (*EnterpriseDatabase) ValidateUpdate

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

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

type EnterpriseDatabaseList

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

EnterpriseDatabaseList is a list of EnterpriseDatabases

func (*EnterpriseDatabaseList) DeepCopy

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

func (*EnterpriseDatabaseList) DeepCopyInto

func (in *EnterpriseDatabaseList) DeepCopyInto(out *EnterpriseDatabaseList)

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

func (*EnterpriseDatabaseList) DeepCopyObject

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

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

type EnterpriseDatabaseSpec

type EnterpriseDatabaseSpec struct {
	State *EnterpriseDatabaseSpecResource `json:"state,omitempty" tf:"-"`

	Resource EnterpriseDatabaseSpecResource `json:"resource" tf:"resource"`

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

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

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

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

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

func (*EnterpriseDatabaseSpec) DeepCopy

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

func (*EnterpriseDatabaseSpec) DeepCopyInto

func (in *EnterpriseDatabaseSpec) DeepCopyInto(out *EnterpriseDatabaseSpec)

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

type EnterpriseDatabaseSpecModule

type EnterpriseDatabaseSpecModule struct {
	// +optional
	Args *string `json:"args,omitempty" tf:"args"`
	Name *string `json:"name" tf:"name"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
}

func (*EnterpriseDatabaseSpecModule) DeepCopy

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

func (*EnterpriseDatabaseSpecModule) DeepCopyInto

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

type EnterpriseDatabaseSpecResource

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

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

	// +optional
	ClientProtocol *string `json:"clientProtocol,omitempty" tf:"client_protocol"`
	ClusterID      *string `json:"clusterID" tf:"cluster_id"`
	// +optional
	ClusteringPolicy *string `json:"clusteringPolicy,omitempty" tf:"clustering_policy"`
	// +optional
	EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy"`
	// +optional
	// +kubebuilder:validation:MaxItems=3
	Module []EnterpriseDatabaseSpecModule `json:"module,omitempty" tf:"module"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	PrimaryAccessKey  *string `json:"-" sensitive:"true" tf:"primary_access_key"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	SecondaryAccessKey *string `json:"-" sensitive:"true" tf:"secondary_access_key"`
}

func (*EnterpriseDatabaseSpecResource) DeepCopy

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

func (*EnterpriseDatabaseSpecResource) DeepCopyInto

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

type EnterpriseDatabaseStatus

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

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

func (*EnterpriseDatabaseStatus) DeepCopyInto

func (in *EnterpriseDatabaseStatus) DeepCopyInto(out *EnterpriseDatabaseStatus)

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

type FirewallRule

type FirewallRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FirewallRuleSpec   `json:"spec,omitempty"`
	Status            FirewallRuleStatus `json:"status,omitempty"`
}

func (*FirewallRule) DeepCopy

func (in *FirewallRule) DeepCopy() *FirewallRule

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

func (*FirewallRule) DeepCopyInto

func (in *FirewallRule) DeepCopyInto(out *FirewallRule)

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

func (*FirewallRule) DeepCopyObject

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

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

func (*FirewallRule) SetupWebhookWithManager

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

func (*FirewallRule) ValidateCreate

func (r *FirewallRule) ValidateCreate() error

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

func (*FirewallRule) ValidateDelete

func (r *FirewallRule) ValidateDelete() error

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

func (*FirewallRule) ValidateUpdate

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

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

type FirewallRuleList

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

FirewallRuleList is a list of FirewallRules

func (*FirewallRuleList) DeepCopy

func (in *FirewallRuleList) DeepCopy() *FirewallRuleList

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

func (*FirewallRuleList) DeepCopyInto

func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList)

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

func (*FirewallRuleList) DeepCopyObject

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

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

type FirewallRuleSpec

type FirewallRuleSpec struct {
	State *FirewallRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource FirewallRuleSpecResource `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 (*FirewallRuleSpec) DeepCopy

func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec

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

func (*FirewallRuleSpec) DeepCopyInto

func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec)

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

type FirewallRuleSpecResource

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

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

	EndIP             *string `json:"endIP" tf:"end_ip"`
	Name              *string `json:"name" tf:"name"`
	RedisCacheName    *string `json:"redisCacheName" tf:"redis_cache_name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	StartIP           *string `json:"startIP" tf:"start_ip"`
}

func (*FirewallRuleSpecResource) DeepCopy

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

func (*FirewallRuleSpecResource) DeepCopyInto

func (in *FirewallRuleSpecResource) DeepCopyInto(out *FirewallRuleSpecResource)

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

type FirewallRuleStatus

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

func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus

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

func (*FirewallRuleStatus) DeepCopyInto

func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus)

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

type LinkedServer

type LinkedServer struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LinkedServerSpec   `json:"spec,omitempty"`
	Status            LinkedServerStatus `json:"status,omitempty"`
}

func (*LinkedServer) DeepCopy

func (in *LinkedServer) DeepCopy() *LinkedServer

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

func (*LinkedServer) DeepCopyInto

func (in *LinkedServer) DeepCopyInto(out *LinkedServer)

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

func (*LinkedServer) DeepCopyObject

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

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

func (*LinkedServer) SetupWebhookWithManager

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

func (*LinkedServer) ValidateCreate

func (r *LinkedServer) ValidateCreate() error

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

func (*LinkedServer) ValidateDelete

func (r *LinkedServer) ValidateDelete() error

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

func (*LinkedServer) ValidateUpdate

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

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

type LinkedServerList

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

LinkedServerList is a list of LinkedServers

func (*LinkedServerList) DeepCopy

func (in *LinkedServerList) DeepCopy() *LinkedServerList

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

func (*LinkedServerList) DeepCopyInto

func (in *LinkedServerList) DeepCopyInto(out *LinkedServerList)

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

func (*LinkedServerList) DeepCopyObject

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

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

type LinkedServerSpec

type LinkedServerSpec struct {
	State *LinkedServerSpecResource `json:"state,omitempty" tf:"-"`

	Resource LinkedServerSpecResource `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 (*LinkedServerSpec) DeepCopy

func (in *LinkedServerSpec) DeepCopy() *LinkedServerSpec

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

func (*LinkedServerSpec) DeepCopyInto

func (in *LinkedServerSpec) DeepCopyInto(out *LinkedServerSpec)

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

type LinkedServerSpecResource

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

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

	LinkedRedisCacheID       *string `json:"linkedRedisCacheID" tf:"linked_redis_cache_id"`
	LinkedRedisCacheLocation *string `json:"linkedRedisCacheLocation" tf:"linked_redis_cache_location"`
	// +optional
	Name                 *string `json:"name,omitempty" tf:"name"`
	ResourceGroupName    *string `json:"resourceGroupName" tf:"resource_group_name"`
	ServerRole           *string `json:"serverRole" tf:"server_role"`
	TargetRedisCacheName *string `json:"targetRedisCacheName" tf:"target_redis_cache_name"`
}

func (*LinkedServerSpecResource) DeepCopy

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

func (*LinkedServerSpecResource) DeepCopyInto

func (in *LinkedServerSpecResource) DeepCopyInto(out *LinkedServerSpecResource)

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

type LinkedServerStatus

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

func (in *LinkedServerStatus) DeepCopy() *LinkedServerStatus

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

func (*LinkedServerStatus) DeepCopyInto

func (in *LinkedServerStatus) DeepCopyInto(out *LinkedServerStatus)

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