Documentation ¶
Index ¶
- Constants
- Variables
- type VSHNDBaaSMaintenanceScheduleSpec
- type VSHNDBaaSNetworkSpec
- type VSHNDBaaSSchedulingSpec
- type VSHNDBaaSSizeRequestsSpec
- type VSHNDBaaSSizeSpec
- type VSHNPostgreSQL
- type VSHNPostgreSQLBackup
- type VSHNPostgreSQLEncryption
- type VSHNPostgreSQLList
- type VSHNPostgreSQLMonitoring
- type VSHNPostgreSQLParameters
- type VSHNPostgreSQLRestore
- type VSHNPostgreSQLServiceSpec
- type VSHNPostgreSQLSpec
- type VSHNPostgreSQLStatus
- type VSHNPostgreSQLUpdateStrategy
- type VSHNRedis
- type VSHNRedisParameters
- type VSHNRedisServiceSpec
- type VSHNRedisSizeSpec
- type VSHNRedisSpec
- type VSHNRedisStatus
- type VSHNRedisTLSSpec
- type XVSHNPostgreSQL
- type XVSHNPostgreSQLList
Constants ¶
const VSHNPostgreSQLUpdateStrategyTypeImmediate = "Immediate"
const VSHNPostgreSQLUpdateStrategyTypeOnRestart = "OnRestart"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "vshn.appcat.vshn.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type VSHNDBaaSMaintenanceScheduleSpec ¶
type VSHNDBaaSMaintenanceScheduleSpec struct { // DayOfWeek specifies at which weekday the maintenance is held place. // Allowed values are [monday, tuesday, wednesday, thursday, friday, saturday, sunday] DayOfWeek string `json:"dayOfWeek,omitempty"` // TimeOfDay for installing updates in UTC. // Format: "hh:mm:ss". TimeOfDay string `json:"timeOfDay,omitempty"` }
VSHNDBaaSMaintenanceScheduleSpec contains settings to control the maintenance of an instance.
func (*VSHNDBaaSMaintenanceScheduleSpec) DeepCopy ¶
func (in *VSHNDBaaSMaintenanceScheduleSpec) DeepCopy() *VSHNDBaaSMaintenanceScheduleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNDBaaSMaintenanceScheduleSpec.
func (*VSHNDBaaSMaintenanceScheduleSpec) DeepCopyInto ¶
func (in *VSHNDBaaSMaintenanceScheduleSpec) DeepCopyInto(out *VSHNDBaaSMaintenanceScheduleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNDBaaSNetworkSpec ¶
type VSHNDBaaSNetworkSpec struct { // IPFilter is a list of allowed IPv4 CIDR ranges that can access the service. // If no IP Filter is set, you may not be able to reach the service. // A value of `0.0.0.0/0` will open the service to all addresses on the public internet. IPFilter []string `json:"ipFilter,omitempty"` }
VSHNDBaaSNetworkSpec contains any network related settings.
func (*VSHNDBaaSNetworkSpec) DeepCopy ¶
func (in *VSHNDBaaSNetworkSpec) DeepCopy() *VSHNDBaaSNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNDBaaSNetworkSpec.
func (*VSHNDBaaSNetworkSpec) DeepCopyInto ¶
func (in *VSHNDBaaSNetworkSpec) DeepCopyInto(out *VSHNDBaaSNetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNDBaaSSchedulingSpec ¶
type VSHNDBaaSSchedulingSpec struct { // NodeSelector is a selector which must match a node’s labels for the pod to be scheduled on that node NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
VSHNDBaaSSchedulingSpec contains settings to control the scheduling of an instance.
func (*VSHNDBaaSSchedulingSpec) DeepCopy ¶
func (in *VSHNDBaaSSchedulingSpec) DeepCopy() *VSHNDBaaSSchedulingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNDBaaSSchedulingSpec.
func (*VSHNDBaaSSchedulingSpec) DeepCopyInto ¶
func (in *VSHNDBaaSSchedulingSpec) DeepCopyInto(out *VSHNDBaaSSchedulingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNDBaaSSizeRequestsSpec ¶
type VSHNDBaaSSizeRequestsSpec struct { // CPU defines the amount of Kubernetes CPUs for an instance. CPU string `json:"cpu,omitempty"` // Memory defines the amount of memory in units of bytes for an instance. Memory string `json:"memory,omitempty"` }
VSHNDBaaSSizeRequestsSpec contains settings to control the resoure requests of a service.
func (*VSHNDBaaSSizeRequestsSpec) DeepCopy ¶
func (in *VSHNDBaaSSizeRequestsSpec) DeepCopy() *VSHNDBaaSSizeRequestsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNDBaaSSizeRequestsSpec.
func (*VSHNDBaaSSizeRequestsSpec) DeepCopyInto ¶
func (in *VSHNDBaaSSizeRequestsSpec) DeepCopyInto(out *VSHNDBaaSSizeRequestsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNDBaaSSizeSpec ¶
type VSHNDBaaSSizeSpec struct { // CPU defines the amount of Kubernetes CPUs for an instance. CPU string `json:"cpu,omitempty"` // Memory defines the amount of memory in units of bytes for an instance. Memory string `json:"memory,omitempty"` // Requests defines CPU and memory requests for an instance Requests VSHNDBaaSSizeRequestsSpec `json:"requests,omitempty"` // Disk defines the amount of disk space for an instance. Disk string `json:"disk,omitempty"` // Plan is the name of the resource plan that defines the compute resources. Plan string `json:"plan,omitempty"` }
VSHNDBaaSSizeSpec contains settings to control the sizing of a service.
func (*VSHNDBaaSSizeSpec) DeepCopy ¶
func (in *VSHNDBaaSSizeSpec) DeepCopy() *VSHNDBaaSSizeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNDBaaSSizeSpec.
func (*VSHNDBaaSSizeSpec) DeepCopyInto ¶
func (in *VSHNDBaaSSizeSpec) DeepCopyInto(out *VSHNDBaaSSizeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQL ¶
type VSHNPostgreSQL struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state of a VSHNPostgreSQL. Spec VSHNPostgreSQLSpec `json:"spec"` // Status reflects the observed state of a VSHNPostgreSQL. Status VSHNPostgreSQLStatus `json:"status,omitempty"` }
VSHNPostgreSQL is the API for creating Postgresql clusters.
func (*VSHNPostgreSQL) DeepCopy ¶
func (in *VSHNPostgreSQL) DeepCopy() *VSHNPostgreSQL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQL.
func (*VSHNPostgreSQL) DeepCopyInto ¶
func (in *VSHNPostgreSQL) DeepCopyInto(out *VSHNPostgreSQL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VSHNPostgreSQL) DeepCopyObject ¶
func (in *VSHNPostgreSQL) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VSHNPostgreSQLBackup ¶
type VSHNPostgreSQLBackup struct { // +kubebuilder:validation:Pattern=^(\*|([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])|\*\/([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])) (\*|([0-9]|1[0-9]|2[0-3])|\*\/([0-9]|1[0-9]|2[0-3])) (\*|([1-9]|1[0-9]|2[0-9]|3[0-1])|\*\/([1-9]|1[0-9]|2[0-9]|3[0-1])) (\*|([1-9]|1[0-2])|\*\/([1-9]|1[0-2])) (\*|([0-6])|\*\/([0-6]))$ Schedule string `json:"schedule,omitempty"` // +kubebuilder:validation:Pattern="^[1-9][0-9]*$" // +kubebuilder:default=6 // +kubebuilder:validation:XIntOrString Retention int `json:"retention,omitempty"` // DeletionProtection will protect the instance from being deleted for the given retention time. // This is enabled by default. // +kubebuilder:default=true DeletionProtection bool `json:"deletionProtection,omitempty"` // DeletionRetention specifies in days how long the instance should be kept after deletion. // The default is keeping it one week. // +kubebuilder:default=7 DeletionRetention int `json:"deletionRetention,omitempty"` }
func (*VSHNPostgreSQLBackup) DeepCopy ¶
func (in *VSHNPostgreSQLBackup) DeepCopy() *VSHNPostgreSQLBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLBackup.
func (*VSHNPostgreSQLBackup) DeepCopyInto ¶
func (in *VSHNPostgreSQLBackup) DeepCopyInto(out *VSHNPostgreSQLBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQLEncryption ¶
type VSHNPostgreSQLEncryption struct { // Enabled specifies if the instance should use encrypted storage for the instance. Enabled bool `json:"enabled,omitempty"` }
VSHNPostgreSQLEncryption contains storage encryption specific parameters
func (*VSHNPostgreSQLEncryption) DeepCopy ¶
func (in *VSHNPostgreSQLEncryption) DeepCopy() *VSHNPostgreSQLEncryption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLEncryption.
func (*VSHNPostgreSQLEncryption) DeepCopyInto ¶
func (in *VSHNPostgreSQLEncryption) DeepCopyInto(out *VSHNPostgreSQLEncryption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQLList ¶
type VSHNPostgreSQLList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VSHNPostgreSQL `json:"items"` }
VSHNPostgreSQLList defines a list of VSHNPostgreSQL
func (*VSHNPostgreSQLList) DeepCopy ¶
func (in *VSHNPostgreSQLList) DeepCopy() *VSHNPostgreSQLList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLList.
func (*VSHNPostgreSQLList) DeepCopyInto ¶
func (in *VSHNPostgreSQLList) DeepCopyInto(out *VSHNPostgreSQLList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VSHNPostgreSQLList) DeepCopyObject ¶
func (in *VSHNPostgreSQLList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VSHNPostgreSQLMonitoring ¶
type VSHNPostgreSQLMonitoring struct { // AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the // namespace of the PostgreSQL instance. AlertmanagerConfigRef string `json:"alertmanagerConfigRef,omitempty"` // AlertmanagerConfigSecretRef contains the name of the secret that is used // in the referenced AlertmanagerConfig AlertmanagerConfigSecretRef string `json:"alertmanagerConfigSecretRef,omitempty"` // AlertmanagerConfigSpecTemplate takes an AlertmanagerConfigSpec object. // This takes precedence over the AlertmanagerConfigRef. AlertmanagerConfigSpecTemplate *alertmanagerv1alpha1.AlertmanagerConfigSpec `json:"alertmanagerConfigTemplate,omitempty"` }
VSHNPostgreSQLMonitoring contains settings to configure monitoring aspects of PostgreSQL
func (*VSHNPostgreSQLMonitoring) DeepCopy ¶
func (in *VSHNPostgreSQLMonitoring) DeepCopy() *VSHNPostgreSQLMonitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLMonitoring.
func (*VSHNPostgreSQLMonitoring) DeepCopyInto ¶
func (in *VSHNPostgreSQLMonitoring) DeepCopyInto(out *VSHNPostgreSQLMonitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQLParameters ¶
type VSHNPostgreSQLParameters struct { // Service contains PostgreSQL DBaaS specific properties Service VSHNPostgreSQLServiceSpec `json:"service,omitempty"` // Maintenance contains settings to control the maintenance of an instance. Maintenance VSHNDBaaSMaintenanceScheduleSpec `json:"maintenance,omitempty"` // Size contains settings to control the sizing of a service. Size VSHNDBaaSSizeSpec `json:"size,omitempty"` // Scheduling contains settings to control the scheduling of an instance. Scheduling VSHNDBaaSSchedulingSpec `json:"scheduling,omitempty"` // Network contains any network related settings. Network VSHNDBaaSNetworkSpec `json:"network,omitempty"` // Backup contains settings to control the backups of an instance. Backup VSHNPostgreSQLBackup `json:"backup,omitempty"` // Restore contains settings to control the restore of an instance. Restore VSHNPostgreSQLRestore `json:"restore,omitempty"` // Monitoring contains settings to control monitoring. Monitoring VSHNPostgreSQLMonitoring `json:"monitoring,omitempty"` // Encryption contains settings to control the storage encryption of an instance. Encryption VSHNPostgreSQLEncryption `json:"encryption,omitempty"` // UpdateStrategy indicates when updates to the instance spec will be applied. UpdateStrategy VSHNPostgreSQLUpdateStrategy `json:"updateStrategy,omitempty"` }
VSHNPostgreSQLParameters are the configurable fields of a VSHNPostgreSQL.
func (*VSHNPostgreSQLParameters) DeepCopy ¶
func (in *VSHNPostgreSQLParameters) DeepCopy() *VSHNPostgreSQLParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLParameters.
func (*VSHNPostgreSQLParameters) DeepCopyInto ¶
func (in *VSHNPostgreSQLParameters) DeepCopyInto(out *VSHNPostgreSQLParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQLRestore ¶
type VSHNPostgreSQLRestore struct { // ClaimName specifies the name of the instance you want to restore from. // The claim has to be in the same namespace as this new instance. ClaimName string `json:"claimName,omitempty"` // BackupName is the name of the specific backup you want to restore. BackupName string `json:"backupName,omitempty"` // RecoveryTimeStamp an ISO 8601 date, that holds UTC date indicating at which point-in-time the database has to be restored. // This is optional and if no PIT recovery is required, it can be left empty. // +kubebuilder:validation:Pattern=`^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:Z|[+-][01]\d:[0-5]\d)$` RecoveryTimeStamp string `json:"recoveryTimeStamp,omitempty"` }
VSHNPostgreSQLRestore contains restore specific parameters.
func (*VSHNPostgreSQLRestore) DeepCopy ¶
func (in *VSHNPostgreSQLRestore) DeepCopy() *VSHNPostgreSQLRestore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLRestore.
func (*VSHNPostgreSQLRestore) DeepCopyInto ¶
func (in *VSHNPostgreSQLRestore) DeepCopyInto(out *VSHNPostgreSQLRestore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQLServiceSpec ¶
type VSHNPostgreSQLServiceSpec struct { // MajorVersion contains supported version of PostgreSQL. // Multiple versions are supported. The latest version "15" is the default version. MajorVersion string `json:"majorVersion,omitempty"` // PGSettings contains additional PostgreSQL settings. PostgreSQLSettings runtime.RawExtension `json:"pgSettings,omitempty"` }
VSHNPostgreSQLServiceSpec contains PostgreSQL DBaaS specific properties
func (*VSHNPostgreSQLServiceSpec) DeepCopy ¶
func (in *VSHNPostgreSQLServiceSpec) DeepCopy() *VSHNPostgreSQLServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLServiceSpec.
func (*VSHNPostgreSQLServiceSpec) DeepCopyInto ¶
func (in *VSHNPostgreSQLServiceSpec) DeepCopyInto(out *VSHNPostgreSQLServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQLSpec ¶
type VSHNPostgreSQLSpec struct { // Parameters are the configurable fields of a VSHNPostgreSQL. Parameters VSHNPostgreSQLParameters `json:"parameters,omitempty"` // WriteConnectionSecretToRef references a secret to which the connection details will be written. WriteConnectionSecretToRef v1.LocalObjectReference `json:"writeConnectionSecretToRef,omitempty"` // ResourceRef contains a reference to the composite. ResourceRef corev1.ObjectReference `json:"resourceRef,omitempty"` // CompositeDeletePolicy defines how the claim should behave if it's deleted. // This field definition will be overwritten by crossplane again, once the XRD is applied to a cluster. // It's added here so it can be marshalled correctly in third party operators or composition functions. CompositeDeletePolicy string `json:"compositeDeletePolicy,omitempty"` }
VSHNPostgreSQLSpec defines the desired state of a VSHNPostgreSQL.
func (*VSHNPostgreSQLSpec) DeepCopy ¶
func (in *VSHNPostgreSQLSpec) DeepCopy() *VSHNPostgreSQLSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLSpec.
func (*VSHNPostgreSQLSpec) DeepCopyInto ¶
func (in *VSHNPostgreSQLSpec) DeepCopyInto(out *VSHNPostgreSQLSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQLStatus ¶
type VSHNPostgreSQLStatus struct { // InstanceNamespace contains the name of the namespace where the instance resides InstanceNamespace string `json:"instanceNamespace,omitempty"` // PostgreSQLConditions contains the status conditions of the backing object. PostgreSQLConditions []v1.Condition `json:"postgresqlConditions,omitempty"` NamespaceConditions []v1.Condition `json:"namespaceConditions,omitempty"` ProfileConditions []v1.Condition `json:"profileConditions,omitempty"` PGConfigConditions []v1.Condition `json:"pgconfigConditions,omitempty"` PGClusterConditions []v1.Condition `json:"pgclusterConditions,omitempty"` SecretsConditions []v1.Condition `json:"secretConditions,omitempty"` ObjectBucketConditions []v1.Condition `json:"ObjectBucketConditions,omitempty"` ObjectBackupConfigConditions []v1.Condition `json:"ObjectBackupConfigConditions,omitempty"` NetworkPolicyConditions []v1.Condition `json:"networkPolicyConditions,omitempty"` LocalCAConditions []v1.Condition `json:"localCAConditions,omitempty"` CertificateConditions []v1.Condition `json:"certificateConditions,omitempty"` }
VSHNPostgreSQLStatus reflects the observed state of a VSHNPostgreSQL.
func (*VSHNPostgreSQLStatus) DeepCopy ¶
func (in *VSHNPostgreSQLStatus) DeepCopy() *VSHNPostgreSQLStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLStatus.
func (*VSHNPostgreSQLStatus) DeepCopyInto ¶
func (in *VSHNPostgreSQLStatus) DeepCopyInto(out *VSHNPostgreSQLStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNPostgreSQLUpdateStrategy ¶
type VSHNPostgreSQLUpdateStrategy struct { // Type indicates the type of the UpdateStrategy. Default is OnRestart. // Possible enum values: // - `"OnRestart"` indicates that the changes to the spec will only be applied once the instance is restarted by other means, most likely during maintenance. // - `"Immediate"` indicates that update will be applied to the instance as soon as the spec changes. Please be aware that this might lead to short downtime. Type string `json:"type,omitempty"` }
VSHNPostgreSQLUpdateStrategy indicates how and when updates to the instance spec will be applied.
func (*VSHNPostgreSQLUpdateStrategy) DeepCopy ¶
func (in *VSHNPostgreSQLUpdateStrategy) DeepCopy() *VSHNPostgreSQLUpdateStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNPostgreSQLUpdateStrategy.
func (*VSHNPostgreSQLUpdateStrategy) DeepCopyInto ¶
func (in *VSHNPostgreSQLUpdateStrategy) DeepCopyInto(out *VSHNPostgreSQLUpdateStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNRedis ¶
type VSHNRedis struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state of a VSHNRedis. Spec VSHNRedisSpec `json:"spec"` // Status reflects the observed state of a VSHNRedis. Status VSHNRedisStatus `json:"status,omitempty"` }
VSHNRedis is the API for creating Redis clusters.
func (*VSHNRedis) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNRedis.
func (*VSHNRedis) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VSHNRedis) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VSHNRedisParameters ¶
type VSHNRedisParameters struct { // Service contains Redis DBaaS specific properties Service VSHNRedisServiceSpec `json:"service,omitempty"` // Size contains settings to control the sizing of a service. Size VSHNRedisSizeSpec `json:"size,omitempty"` // Scheduling contains settings to control the scheduling of an instance. Scheduling VSHNDBaaSSchedulingSpec `json:"scheduling,omitempty"` // TLS contains settings to control tls traffic of a service. TLS VSHNRedisTLSSpec `json:"tls,omitempty"` }
VSHNRedisParameters are the configurable fields of a VSHNRedis.
func (*VSHNRedisParameters) DeepCopy ¶
func (in *VSHNRedisParameters) DeepCopy() *VSHNRedisParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNRedisParameters.
func (*VSHNRedisParameters) DeepCopyInto ¶
func (in *VSHNRedisParameters) DeepCopyInto(out *VSHNRedisParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNRedisServiceSpec ¶
type VSHNRedisServiceSpec struct { // Version contains supported version of Redis. // Multiple versions are supported. The latest version "7.0" is the default version. Version string `json:"version,omitempty"` // RedisSettings contains additional Redis settings. RedisSettings string `json:"redisSettings,omitempty"` }
VSHNRedisServiceSpec contains Redis DBaaS specific properties
func (*VSHNRedisServiceSpec) DeepCopy ¶
func (in *VSHNRedisServiceSpec) DeepCopy() *VSHNRedisServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNRedisServiceSpec.
func (*VSHNRedisServiceSpec) DeepCopyInto ¶
func (in *VSHNRedisServiceSpec) DeepCopyInto(out *VSHNRedisServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNRedisSizeSpec ¶
type VSHNRedisSizeSpec struct { // CPURequests defines the requests amount of Kubernetes CPUs for an instance. CPURequests string `json:"cpuRequests,omitempty"` // CPULimits defines the limits amount of Kubernetes CPUs for an instance. CPULimits string `json:"cpuLimits,omitempty"` // MemoryRequests defines the requests amount of memory in units of bytes for an instance. MemoryRequests string `json:"memoryRequests,omitempty"` // MemoryLimits defines the limits amount of memory in units of bytes for an instance. MemoryLimits string `json:"memoryLimits,omitempty"` // Disk defines the amount of disk space for an instance. Disk string `json:"disk,omitempty"` // Plan is the name of the resource plan that defines the compute resources. Plan string `json:"plan,omitempty"` }
VSHNRedisSizeSpec contains settings to control the sizing of a service.
func (*VSHNRedisSizeSpec) DeepCopy ¶
func (in *VSHNRedisSizeSpec) DeepCopy() *VSHNRedisSizeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNRedisSizeSpec.
func (*VSHNRedisSizeSpec) DeepCopyInto ¶
func (in *VSHNRedisSizeSpec) DeepCopyInto(out *VSHNRedisSizeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNRedisSpec ¶
type VSHNRedisSpec struct { // Parameters are the configurable fields of a VSHNRedis. Parameters VSHNRedisParameters `json:"parameters,omitempty"` // WriteConnectionSecretToRef references a secret to which the connection details will be written. WriteConnectionSecretToRef v1.LocalObjectReference `json:"writeConnectionSecretToRef,omitempty"` }
VSHNRedisSpec defines the desired state of a VSHNRedis.
func (*VSHNRedisSpec) DeepCopy ¶
func (in *VSHNRedisSpec) DeepCopy() *VSHNRedisSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNRedisSpec.
func (*VSHNRedisSpec) DeepCopyInto ¶
func (in *VSHNRedisSpec) DeepCopyInto(out *VSHNRedisSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNRedisStatus ¶
type VSHNRedisStatus struct { // RedisConditions contains the status conditions of the backing object. NamespaceConditions []v1.Condition `json:"namespaceConditions,omitempty"` SelfSignedIssuerConditions []v1.Condition `json:"selfSignedIssuerConditions,omitempty"` LocalCAConditions []v1.Condition `json:"localCAConditions,omitempty"` CaCertificateConditions []v1.Condition `json:"caCertificateConditions,omitempty"` ServerCertificateConditions []v1.Condition `json:"serverCertificateConditions,omitempty"` ClientCertificateConditions []v1.Condition `json:"clientCertificateConditions,omitempty"` // InstanceNamespace contains the name of the namespace where the instance resides InstanceNamespace string `json:"instanceNamespace,omitempty"` }
VSHNRedisStatus reflects the observed state of a VSHNRedis.
func (*VSHNRedisStatus) DeepCopy ¶
func (in *VSHNRedisStatus) DeepCopy() *VSHNRedisStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNRedisStatus.
func (*VSHNRedisStatus) DeepCopyInto ¶
func (in *VSHNRedisStatus) DeepCopyInto(out *VSHNRedisStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSHNRedisTLSSpec ¶
type VSHNRedisTLSSpec struct { // TLSEnabled enables TLS traffic for the service TLSEnabled bool `json:"enabled,omitempty"` // +kubebuilder:default=true // TLSAuthClients enables client authentication requirement TLSAuthClients bool `json:"authClients,omitempty"` }
VSHNRedisTLSSpec contains settings to control tls traffic of a service.
func (*VSHNRedisTLSSpec) DeepCopy ¶
func (in *VSHNRedisTLSSpec) DeepCopy() *VSHNRedisTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSHNRedisTLSSpec.
func (*VSHNRedisTLSSpec) DeepCopyInto ¶
func (in *VSHNRedisTLSSpec) DeepCopyInto(out *VSHNRedisTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XVSHNPostgreSQL ¶
type XVSHNPostgreSQL VSHNPostgreSQL
XVSHNPostgreSQL represents the internal composite of this claim
func (*XVSHNPostgreSQL) DeepCopy ¶
func (in *XVSHNPostgreSQL) DeepCopy() *XVSHNPostgreSQL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XVSHNPostgreSQL.
func (*XVSHNPostgreSQL) DeepCopyInto ¶
func (in *XVSHNPostgreSQL) DeepCopyInto(out *XVSHNPostgreSQL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XVSHNPostgreSQL) DeepCopyObject ¶
func (in *XVSHNPostgreSQL) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type XVSHNPostgreSQLList ¶
type XVSHNPostgreSQLList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []XVSHNPostgreSQL `json:"items"` }
XVSHNPostgreSQLList represents a list of composites
func (*XVSHNPostgreSQLList) DeepCopy ¶
func (in *XVSHNPostgreSQLList) DeepCopy() *XVSHNPostgreSQLList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XVSHNPostgreSQLList.
func (*XVSHNPostgreSQLList) DeepCopyInto ¶
func (in *XVSHNPostgreSQLList) DeepCopyInto(out *XVSHNPostgreSQLList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XVSHNPostgreSQLList) DeepCopyObject ¶
func (in *XVSHNPostgreSQLList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.