Documentation ¶
Index ¶
- type HostParams
- func (p *HostParams) HasEngineChanged(activeEngine string) bool
- func (p *HostParams) HasShapeChanged(activeShape string) bool
- func (p *HostParams) HasStorageChanged(activeStorage int) bool
- func (p *HostParams) HasVersionChanged(activeVersion string) bool
- func (p *HostParams) Hash() string
- func (p *HostParams) IsUpgradeRequested(np *HostParams) bool
- func (p *HostParams) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostParams ¶
type HostParams struct { Engine string Shape string MinStorageGB int EngineVersion string MasterUsername string SkipFinalSnapshotBeforeDeletion bool PubliclyAccessible bool EnableIAMDatabaseAuthentication bool DeletionPolicy xpv1.DeletionPolicy Port int64 // contains filtered or unexported fields }
func GetActiveHostParams ¶
func GetActiveHostParams(dbClaim *persistancev1.DatabaseClaim) *HostParams
func New ¶
func New(config *viper.Viper, fragmentKey string, dbClaim *persistancev1.DatabaseClaim) (*HostParams, error)
func (*HostParams) HasEngineChanged ¶
func (p *HostParams) HasEngineChanged(activeEngine string) bool
func (*HostParams) HasShapeChanged ¶
func (p *HostParams) HasShapeChanged(activeShape string) bool
func (*HostParams) HasStorageChanged ¶
func (p *HostParams) HasStorageChanged(activeStorage int) bool
func (*HostParams) HasVersionChanged ¶
func (p *HostParams) HasVersionChanged(activeVersion string) bool
func (*HostParams) Hash ¶
func (p *HostParams) Hash() string
func (*HostParams) IsUpgradeRequested ¶
func (p *HostParams) IsUpgradeRequested(np *HostParams) bool
func (*HostParams) String ¶
func (p *HostParams) String() string
Click to show internal directories.
Click to hide internal directories.