Documentation
¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group postgresql.appcat.vshn.io resources of the PostgreSQL provider.
Index ¶
- Constants
- Variables
- type BackupConfigSpec
- type BackupEnabledInstance
- type BackupSpec
- type ChartMeta
- type ChartMetaStatus
- type ComputeResources
- type ConnectableInstance
- type ConnectionSecretRef
- type DeploymentStrategy
- type GenerationStatus
- type HelmReleaseConfig
- type MajorVersion
- type PersistenceSpec
- type PostgresqlStandalone
- type PostgresqlStandaloneConfigStatus
- type PostgresqlStandaloneList
- type PostgresqlStandaloneObservation
- type PostgresqlStandaloneOperatorConfig
- type PostgresqlStandaloneOperatorConfigList
- type PostgresqlStandaloneOperatorConfigSpec
- type PostgresqlStandaloneParameters
- type PostgresqlStandaloneSpec
- type PostgresqlStandaloneStatus
- type Resources
- type S3BucketConfigSpec
- type StorageResources
Constants ¶
const ( Group = "postgresql.appcat.vshn.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( PostgresqlStandaloneOperatorConfigKind = reflect.TypeOf(PostgresqlStandaloneOperatorConfig{}).Name() PostgresqlStandaloneOperatorConfigGroupKind = schema.GroupKind{Group: Group, Kind: PostgresqlStandaloneOperatorConfigKind}.String() PostgresqlStandaloneOperatorConfigKindAPIVersion = PostgresqlStandaloneOperatorConfigKind + "." + SchemeGroupVersion.String() PostgresqlStandaloneOperatorConfigGroupVersionKind = SchemeGroupVersion.WithKind(PostgresqlStandaloneOperatorConfigKind) )
PostgresqlStandaloneOperatorConfig type metadata.
var ( PostgresqlStandaloneKind = reflect.TypeOf(PostgresqlStandalone{}).Name() PostgresqlStandaloneGroupKind = schema.GroupKind{Group: Group, Kind: PostgresqlStandaloneKind}.String() PostgresqlStandaloneKindAPIVersion = PostgresqlStandaloneKind + "." + SchemeGroupVersion.String() PostgresqlStandaloneGroupVersionKind = SchemeGroupVersion.WithKind(PostgresqlStandaloneKind) )
PostgresqlStandalone type metadata.
var ( // PostgresqlMajorVersionLabelKey is the label key to add for selecting major version PostgresqlMajorVersionLabelKey = fmt.Sprintf("%s/major-version", Group) )
Functions ¶
This section is empty.
Types ¶
type BackupConfigSpec ¶ added in v0.1.0
type BackupConfigSpec struct {
// S3BucketSecret configures the bucket settings for backup buckets.
S3BucketSecret S3BucketConfigSpec `json:"s3BucketSecret,omitempty"`
}
BackupConfigSpec contains settings for configuring backups for all instances.
func (*BackupConfigSpec) DeepCopy ¶ added in v0.1.0
func (in *BackupConfigSpec) DeepCopy() *BackupConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigSpec.
func (*BackupConfigSpec) DeepCopyInto ¶ added in v0.1.0
func (in *BackupConfigSpec) DeepCopyInto(out *BackupConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupEnabledInstance ¶ added in v0.1.0
type BackupEnabledInstance struct {
// Backup configures the settings related to backing up the instance.
Backup BackupSpec `json:"backup,omitempty"`
}
BackupEnabledInstance is the composable type for enabling instance backups.
func (*BackupEnabledInstance) DeepCopy ¶ added in v0.1.0
func (in *BackupEnabledInstance) DeepCopy() *BackupEnabledInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEnabledInstance.
func (*BackupEnabledInstance) DeepCopyInto ¶ added in v0.1.0
func (in *BackupEnabledInstance) DeepCopyInto(out *BackupEnabledInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSpec ¶ added in v0.1.0
type BackupSpec struct {
// Enabled configures whether instances are generally being backed up.
Enabled bool `json:"enabled,omitempty"`
}
BackupSpec contains the backup settings.
func (*BackupSpec) DeepCopy ¶ added in v0.1.0
func (in *BackupSpec) DeepCopy() *BackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.
func (*BackupSpec) DeepCopyInto ¶ added in v0.1.0
func (in *BackupSpec) DeepCopyInto(out *BackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMeta ¶
type ChartMeta struct {
// Repository is the Helm chart repository URL.
Repository string `json:"repository,omitempty"`
// Version is the Helm chart version identifier.
Version string `json:"version,omitempty"`
// Name is the Helm chart name within the repository.
Name string `json:"name,omitempty"`
}
ChartMeta contains the metadata to a Helm chart.
func (*ChartMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMeta.
func (*ChartMeta) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMetaStatus ¶
type ChartMetaStatus struct {
ChartMeta `json:",inline"`
// ModifiedTime is the timestamp when the helm release has been last seen become ready.
ModifiedTime metav1.Time `json:"modifiedAt,omitempty"`
// DeploymentNamespace is the observed namespace name where the instance is deployed.
DeploymentNamespace string `json:"deploymentNamespace,omitempty"`
// contains filtered or unexported fields
}
ChartMetaStatus contains metadata to a deployed Helm chart.
func (*ChartMetaStatus) DeepCopy ¶
func (in *ChartMetaStatus) DeepCopy() *ChartMetaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMetaStatus.
func (*ChartMetaStatus) DeepCopyInto ¶
func (in *ChartMetaStatus) DeepCopyInto(out *ChartMetaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChartMetaStatus) GetHashSumOfExistingValues ¶ added in v0.1.0
func (in *ChartMetaStatus) GetHashSumOfExistingValues() uint32
GetHashSumOfExistingValues returns the hash sum of Helm values. This method is meant for internal comparison whether Helm values have changed since last deployment.
func (*ChartMetaStatus) SetHashSumOfExistingValues ¶ added in v0.1.0
func (in *ChartMetaStatus) SetHashSumOfExistingValues(v uint32)
SetHashSumOfExistingValues sets the hash sum of existing Helm values. This method is meant for internal comparison whether Helm values have changed since last deployment.
type ComputeResources ¶
type ComputeResources struct {
// MemoryLimit defines the maximum memory limit designated for the instance.
// It can be freely scaled up or down within the operator-configured limits.
MemoryLimit *resource.Quantity `json:"memoryLimit,omitempty"`
}
ComputeResources contains the high-level scalable compute resources for an instance.
func (*ComputeResources) DeepCopy ¶
func (in *ComputeResources) DeepCopy() *ComputeResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeResources.
func (*ComputeResources) DeepCopyInto ¶
func (in *ComputeResources) DeepCopyInto(out *ComputeResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectableInstance ¶ added in v0.1.0
type ConnectableInstance struct {
WriteConnectionSecretToRef ConnectionSecretRef `json:"writeConnectionSecretToRef,omitempty"`
}
ConnectableInstance is the composable type for enabling connection secret.
func (*ConnectableInstance) DeepCopy ¶ added in v0.1.0
func (in *ConnectableInstance) DeepCopy() *ConnectableInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectableInstance.
func (*ConnectableInstance) DeepCopyInto ¶ added in v0.1.0
func (in *ConnectableInstance) DeepCopyInto(out *ConnectableInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionSecretRef ¶ added in v0.1.0
type ConnectionSecretRef struct {
// Name is the Secret name to where the connection details should be written to after creating an instance.
Name string `json:"name,omitempty"`
}
ConnectionSecretRef contains the reference where connection details should be made available.
func (*ConnectionSecretRef) DeepCopy ¶ added in v0.1.0
func (in *ConnectionSecretRef) DeepCopy() *ConnectionSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSecretRef.
func (*ConnectionSecretRef) DeepCopyInto ¶ added in v0.1.0
func (in *ConnectionSecretRef) DeepCopyInto(out *ConnectionSecretRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentStrategy ¶
type DeploymentStrategy string
DeploymentStrategy refers to different backend implementation how the instance is being deployed in the background.
const ( // StrategyHelmChart refers to a DeploymentStrategy that deploys the instance using a Helm chart. StrategyHelmChart DeploymentStrategy = "HelmChart" )
type GenerationStatus ¶
type GenerationStatus struct {
// ObservedGeneration is the meta.generation number this resource was last reconciled with.
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
func (*GenerationStatus) DeepCopy ¶
func (in *GenerationStatus) DeepCopy() *GenerationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenerationStatus.
func (*GenerationStatus) DeepCopyInto ¶
func (in *GenerationStatus) DeepCopyInto(out *GenerationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GenerationStatus) SetObservedGeneration ¶
func (in *GenerationStatus) SetObservedGeneration(obj client.Object)
SetObservedGeneration sets the ObservedGeneration from the given ObjectMeta.
type HelmReleaseConfig ¶
type HelmReleaseConfig struct {
// Chart sets the scope of this config to a specific version.
// At least chart version is required in order for this HelmReleaseConfig to take effect.
Chart ChartMeta `json:"chart,omitempty"`
// Values override PostgresqlStandaloneOperatorConfigSpec.HelmReleaseTemplate.
// Set MergeValuesFromTemplate to true to deep-merge values instead of replacing them all.
Values runtime.RawExtension `json:"values,omitempty"`
// MergeValuesFromTemplate sets the merge behaviour for Values.
MergeValuesFromTemplate bool `json:"mergeValuesFromTemplate,omitempty"`
}
HelmReleaseConfig describes a Helm chart release.
func (*HelmReleaseConfig) DeepCopy ¶
func (in *HelmReleaseConfig) DeepCopy() *HelmReleaseConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseConfig.
func (*HelmReleaseConfig) DeepCopyInto ¶
func (in *HelmReleaseConfig) DeepCopyInto(out *HelmReleaseConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MajorVersion ¶
type MajorVersion string
MajorVersion identifies a major version of a service instance.
const ( // PostgresqlVersion14 identifies PostgreSQL v14. PostgresqlVersion14 MajorVersion = "v14" )
type PersistenceSpec ¶ added in v0.1.0
type PersistenceSpec struct {
// storageClassName is the name of the StorageClass required by the claim.
StorageClassName *string `json:"storageClassName,omitempty"`
AccessModes []corev1.PersistentVolumeAccessMode `json:"accessModes,omitempty"`
}
PersistenceSpec contains default PVC settings.
func (*PersistenceSpec) DeepCopy ¶ added in v0.1.0
func (in *PersistenceSpec) DeepCopy() *PersistenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceSpec.
func (*PersistenceSpec) DeepCopyInto ¶ added in v0.1.0
func (in *PersistenceSpec) DeepCopyInto(out *PersistenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlStandalone ¶
type PostgresqlStandalone struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PostgresqlStandaloneSpec `json:"spec"`
Status PostgresqlStandaloneStatus `json:"status,omitempty"`
}
PostgresqlStandalone is the user-facing and consumer-friendly API that abstracts the provisioning of standalone Postgresql service instances.
func (*PostgresqlStandalone) DeepCopy ¶
func (in *PostgresqlStandalone) DeepCopy() *PostgresqlStandalone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandalone.
func (*PostgresqlStandalone) DeepCopyInto ¶
func (in *PostgresqlStandalone) DeepCopyInto(out *PostgresqlStandalone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlStandalone) DeepCopyObject ¶
func (in *PostgresqlStandalone) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgresqlStandalone) GetConnectionSecretName ¶ added in v0.1.0
func (in *PostgresqlStandalone) GetConnectionSecretName() string
GetConnectionSecretName returns the name of the connection secret if set, otherwise it returns `metadata.name`.
type PostgresqlStandaloneConfigStatus ¶
type PostgresqlStandaloneConfigStatus struct {
}
A PostgresqlStandaloneConfigStatus reflects the observed state of a PostgresqlStandaloneOperatorConfig.
func (*PostgresqlStandaloneConfigStatus) DeepCopy ¶
func (in *PostgresqlStandaloneConfigStatus) DeepCopy() *PostgresqlStandaloneConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneConfigStatus.
func (*PostgresqlStandaloneConfigStatus) DeepCopyInto ¶
func (in *PostgresqlStandaloneConfigStatus) DeepCopyInto(out *PostgresqlStandaloneConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlStandaloneList ¶
type PostgresqlStandaloneList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PostgresqlStandalone `json:"items"`
}
PostgresqlStandaloneList contains a list of PostgresqlStandalone
func (*PostgresqlStandaloneList) DeepCopy ¶
func (in *PostgresqlStandaloneList) DeepCopy() *PostgresqlStandaloneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneList.
func (*PostgresqlStandaloneList) DeepCopyInto ¶
func (in *PostgresqlStandaloneList) DeepCopyInto(out *PostgresqlStandaloneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlStandaloneList) DeepCopyObject ¶
func (in *PostgresqlStandaloneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresqlStandaloneObservation ¶
type PostgresqlStandaloneObservation struct {
// DeploymentStrategy is the observed deployed strategy.
DeploymentStrategy DeploymentStrategy `json:"deploymentStrategy,omitempty"`
// HelmChart is the observed deployed Helm chart version.
HelmChart *ChartMetaStatus `json:"helmChart,omitempty"`
}
PostgresqlStandaloneObservation are the observable fields of a PostgresqlStandalone.
func (*PostgresqlStandaloneObservation) DeepCopy ¶
func (in *PostgresqlStandaloneObservation) DeepCopy() *PostgresqlStandaloneObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneObservation.
func (*PostgresqlStandaloneObservation) DeepCopyInto ¶
func (in *PostgresqlStandaloneObservation) DeepCopyInto(out *PostgresqlStandaloneObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PostgresqlStandaloneObservation) GetDeploymentNamespace ¶ added in v0.1.0
func (in PostgresqlStandaloneObservation) GetDeploymentNamespace() string
GetDeploymentNamespace returns the name of the namespace where the instance is deployed.
type PostgresqlStandaloneOperatorConfig ¶
type PostgresqlStandaloneOperatorConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PostgresqlStandaloneOperatorConfigSpec `json:"spec"`
Status PostgresqlStandaloneConfigStatus `json:"status,omitempty"`
}
A PostgresqlStandaloneOperatorConfig configures a PostgresqlStandalone provider on a cluster level. This API isn't meant for consumers. It contains defaults and platform-specific configuration values that influence how instances are provisioned. There should be a PostgresqlStandaloneOperatorConfig for each major version in use.
func (*PostgresqlStandaloneOperatorConfig) DeepCopy ¶
func (in *PostgresqlStandaloneOperatorConfig) DeepCopy() *PostgresqlStandaloneOperatorConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneOperatorConfig.
func (*PostgresqlStandaloneOperatorConfig) DeepCopyInto ¶
func (in *PostgresqlStandaloneOperatorConfig) DeepCopyInto(out *PostgresqlStandaloneOperatorConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlStandaloneOperatorConfig) DeepCopyObject ¶
func (in *PostgresqlStandaloneOperatorConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresqlStandaloneOperatorConfigList ¶
type PostgresqlStandaloneOperatorConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PostgresqlStandaloneOperatorConfig `json:"items"`
}
PostgresqlStandaloneOperatorConfigList contains a list of PostgresqlStandaloneOperatorConfig.
func (*PostgresqlStandaloneOperatorConfigList) DeepCopy ¶
func (in *PostgresqlStandaloneOperatorConfigList) DeepCopy() *PostgresqlStandaloneOperatorConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneOperatorConfigList.
func (*PostgresqlStandaloneOperatorConfigList) DeepCopyInto ¶
func (in *PostgresqlStandaloneOperatorConfigList) DeepCopyInto(out *PostgresqlStandaloneOperatorConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresqlStandaloneOperatorConfigList) DeepCopyObject ¶
func (in *PostgresqlStandaloneOperatorConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresqlStandaloneOperatorConfigSpec ¶
type PostgresqlStandaloneOperatorConfigSpec struct {
// DeploymentStrategy defines the DeploymentStrategy in case there isn't a 1:1 match.
DeploymentStrategy DeploymentStrategy `json:"defaultDeploymentStrategy,omitempty"`
// ResourceMinima defines the minimum supported resources an instance can have.
ResourceMinima Resources `json:"resourceMinima,omitempty"`
// ResourceMaxima defines the maximum supported resources an instance can have.
ResourceMaxima Resources `json:"resourceMaxima,omitempty"`
// HelmReleaseTemplate is the default release config that is used for all HelmReleases.
// Changing values in this field affects also existing deployed Helm releases unless they are pinned in HelmReleases for a specific chart version.
// New instances use this config unless there's a specific HelmReleaseConfig for a version that matches the version in this spec.
HelmReleaseTemplate *HelmReleaseConfig `json:"helmReleaseTemplate,omitempty"`
// HelmReleases allows to override settings for a specific deployable Helm chart.
HelmReleases []HelmReleaseConfig `json:"helmReleases,omitempty"`
// HelmProviderConfigReference is the name of the ProviderConfig CR from crossplane-contrib/provider-helm.
// Used when DeploymentStrategy is StrategyHelmChart.
HelmProviderConfigReference string `json:"helmProviderConfigReference,omitempty"`
// Persistence contains default PVC settings.
Persistence PersistenceSpec `json:"persistence,omitempty"`
// BackupConfigSpec defines settings for instance backups.
BackupConfigSpec BackupConfigSpec `json:"backupConfigSpec,omitempty"`
}
A PostgresqlStandaloneOperatorConfigSpec defines the desired state of a PostgresqlStandaloneOperatorConfig.
func (*PostgresqlStandaloneOperatorConfigSpec) DeepCopy ¶
func (in *PostgresqlStandaloneOperatorConfigSpec) DeepCopy() *PostgresqlStandaloneOperatorConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneOperatorConfigSpec.
func (*PostgresqlStandaloneOperatorConfigSpec) DeepCopyInto ¶
func (in *PostgresqlStandaloneOperatorConfigSpec) DeepCopyInto(out *PostgresqlStandaloneOperatorConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlStandaloneParameters ¶
type PostgresqlStandaloneParameters struct {
// Resources contain the storage and compute resources.
Resources Resources `json:"resources,omitempty"`
// MajorVersion is the supported major version of PostgreSQL.
//
// A version cannot be downgraded.
// Once bumped to the next version, an upgrade process is started in the background.
// During the upgrade the instance remains in maintenance mode until the upgrade went through successfully.
MajorVersion MajorVersion `json:"majorVersion,omitempty"`
// EnableSuperUser also provisions the 'postgres' superuser credentials for consumption.
EnableSuperUser bool `json:"enableSuperUser,omitempty"`
}
PostgresqlStandaloneParameters defines the PostgreSQL specific settings.
func (*PostgresqlStandaloneParameters) DeepCopy ¶
func (in *PostgresqlStandaloneParameters) DeepCopy() *PostgresqlStandaloneParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneParameters.
func (*PostgresqlStandaloneParameters) DeepCopyInto ¶
func (in *PostgresqlStandaloneParameters) DeepCopyInto(out *PostgresqlStandaloneParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlStandaloneSpec ¶
type PostgresqlStandaloneSpec struct {
ConnectableInstance `json:",inline"`
BackupEnabledInstance `json:",inline"`
// Parameters defines the PostgreSQL specific settings.
Parameters PostgresqlStandaloneParameters `json:"forInstance,omitempty"`
}
PostgresqlStandaloneSpec defines the desired state of a PostgresqlStandalone.
func (*PostgresqlStandaloneSpec) DeepCopy ¶
func (in *PostgresqlStandaloneSpec) DeepCopy() *PostgresqlStandaloneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneSpec.
func (*PostgresqlStandaloneSpec) DeepCopyInto ¶
func (in *PostgresqlStandaloneSpec) DeepCopyInto(out *PostgresqlStandaloneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresqlStandaloneStatus ¶
type PostgresqlStandaloneStatus struct {
GenerationStatus `json:",inline"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
PostgresqlStandaloneObservation `json:",inline"`
}
PostgresqlStandaloneStatus represents the observed state of a PostgresqlStandalone.
func (*PostgresqlStandaloneStatus) DeepCopy ¶
func (in *PostgresqlStandaloneStatus) DeepCopy() *PostgresqlStandaloneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlStandaloneStatus.
func (*PostgresqlStandaloneStatus) DeepCopyInto ¶
func (in *PostgresqlStandaloneStatus) DeepCopyInto(out *PostgresqlStandaloneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct {
ComputeResources `json:",inline"`
StorageResources `json:",inline"`
}
Resources is the common set of high-level scalable resources for an instance.
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3BucketConfigSpec ¶ added in v0.1.0
type S3BucketConfigSpec struct {
// EndpointRef selects the secret and key for retrieving the endpoint name.
EndpointRef corev1.SecretKeySelector `json:"endpointRef,omitempty"`
// BucketRef selects the secret and key for retrieving the bucket name.
BucketRef corev1.SecretKeySelector `json:"bucketRef,omitempty"`
// AccessKeyRef selects the access key credential for the bucket.
AccessKeyRef corev1.SecretKeySelector `json:"accessKeyRef,omitempty"`
// SecretKeyRef selects the secret key credential for the bucket.
SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}
S3BucketConfigSpec contains references to configure bucket properties.
func (*S3BucketConfigSpec) DeepCopy ¶ added in v0.1.0
func (in *S3BucketConfigSpec) DeepCopy() *S3BucketConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3BucketConfigSpec.
func (*S3BucketConfigSpec) DeepCopyInto ¶ added in v0.1.0
func (in *S3BucketConfigSpec) DeepCopyInto(out *S3BucketConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageResources ¶
type StorageResources struct {
// StorageCapacity is the reserved storage size for a PersistentVolume.
// It can only grow and never shrink.
// Attempt to shrink the size will throw a validation error.
// Minimum and Maximum is defined on an operator level.
StorageCapacity *resource.Quantity `json:"storageCapacity,omitempty"`
}
StorageResources contains the high-level scalable storage resources for an instance.
func (*StorageResources) DeepCopy ¶
func (in *StorageResources) DeepCopy() *StorageResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageResources.
func (*StorageResources) DeepCopyInto ¶
func (in *StorageResources) DeepCopyInto(out *StorageResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.