Documentation ¶
Index ¶
- func CheckResourceState(logger logr.Logger, dbClient database.DatabaseClient, Id string, ...) (string, error)
- func CreateAndGetDbcsId(logger logr.Logger, kubeClient client.Client, dbClient database.DatabaseClient, ...) (string, error)
- func DeleteDbcsSystemSystem(dbClient database.DatabaseClient, Id string) error
- func GetAdminPassword(kubeClient client.Client, dbcs *databasev1alpha1.DbcsSystem) (string, error)
- func GetDBDetails(kubeClient client.Client, dbcs *databasev1alpha1.DbcsSystem) (database.CreateDatabaseDetails, error)
- func GetDBEdition(dbcs *databasev1alpha1.DbcsSystem) database.LaunchDbSystemDetailsDatabaseEditionEnum
- func GetDBSystemopts(dbcs *databasev1alpha1.DbcsSystem) database.DbSystemOptions
- func GetDBbDiskRedundancy(dbcs *databasev1alpha1.DbcsSystem) database.LaunchDbSystemDetailsDiskRedundancyEnum
- func GetDbHomeDetails(kubeClient client.Client, dbClient database.DatabaseClient, ...) (database.CreateDbHomeDetails, error)
- func GetDbLatestVersion(dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, ...) (string, error)
- func GetDbSystemId(logger logr.Logger, dbClient database.DatabaseClient, ...) error
- func GetFmtStr(pstr string) string
- func GetInitialStorage(dbcs *databasev1alpha1.DbcsSystem) int
- func GetKeyValue(str1 string) string
- func GetListDatabaseRsp(logger logr.Logger, dbClient database.DatabaseClient, ...) (database.ListDatabasesResponse, error)
- func GetListDbHomeRsp(logger logr.Logger, dbClient database.DatabaseClient, ...) (database.ListDbHomesResponse, error)
- func GetNodeCount(dbcs *databasev1alpha1.DbcsSystem) int
- func GetResourceState(logger logr.Logger, dbClient database.DatabaseClient, Id string) (string, error)
- func GetTdePassword(kubeClient client.Client, dbcs *databasev1alpha1.DbcsSystem) (string, error)
- func PopulateDBDetails(logger logr.Logger, dbClient database.DatabaseClient, ...) error
- func SetDBCSDatabaseLifecycleState(logger logr.Logger, kubeClient client.Client, dbClient database.DatabaseClient, ...) error
- func SetDBCSStatus(dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, ...) error
- func SetLifecycleState(kubeClient client.Client, dbClient database.DatabaseClient, ...) error
- func UpdateDbcsSystemId(kubeClient client.Client, dbcs *databasev1alpha1.DbcsSystem) error
- func UpdateDbcsSystemIdInst(log logr.Logger, dbClient database.DatabaseClient, ...) error
- func ValidateSpex(logger logr.Logger, kubeClient client.Client, dbClient database.DatabaseClient, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckResourceState ¶
func CreateAndGetDbcsId ¶
func CreateAndGetDbcsId(logger logr.Logger, kubeClient client.Client, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, nwClient core.VirtualNetworkClient, wrClient workrequests.WorkRequestClient) (string, error)
func DeleteDbcsSystemSystem ¶
func DeleteDbcsSystemSystem(dbClient database.DatabaseClient, Id string) error
Delete DbcsSystem System
func GetAdminPassword ¶
func GetAdminPassword(kubeClient client.Client, dbcs *databasev1alpha1.DbcsSystem) (string, error)
Get admin password from Secret then OCI valut secret
func GetDBDetails ¶
func GetDBDetails(kubeClient client.Client, dbcs *databasev1alpha1.DbcsSystem) (database.CreateDatabaseDetails, error)
func GetDBEdition ¶
func GetDBEdition(dbcs *databasev1alpha1.DbcsSystem) database.LaunchDbSystemDetailsDatabaseEditionEnum
func GetDBSystemopts ¶
func GetDBSystemopts( dbcs *databasev1alpha1.DbcsSystem) database.DbSystemOptions
func GetDBbDiskRedundancy ¶
func GetDBbDiskRedundancy( dbcs *databasev1alpha1.DbcsSystem) database.LaunchDbSystemDetailsDiskRedundancyEnum
func GetDbHomeDetails ¶
func GetDbHomeDetails(kubeClient client.Client, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem) (database.CreateDbHomeDetails, error)
func GetDbLatestVersion ¶
func GetDbLatestVersion(dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, dbSystemId string) (string, error)
func GetDbSystemId ¶
func GetDbSystemId(logger logr.Logger, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem) error
func GetInitialStorage ¶
func GetInitialStorage( dbcs *databasev1alpha1.DbcsSystem) int
func GetKeyValue ¶
func GetListDatabaseRsp ¶
func GetListDatabaseRsp(logger logr.Logger, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, dbHomeId string) (database.ListDatabasesResponse, error)
func GetListDbHomeRsp ¶
func GetListDbHomeRsp(logger logr.Logger, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem) (database.ListDbHomesResponse, error)
func GetNodeCount ¶
func GetNodeCount( dbcs *databasev1alpha1.DbcsSystem) int
func GetResourceState ¶
func GetTdePassword ¶
func GetTdePassword(kubeClient client.Client, dbcs *databasev1alpha1.DbcsSystem) (string, error)
Get admin password from Secret then OCI valut secret
func PopulateDBDetails ¶
func PopulateDBDetails(logger logr.Logger, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem) error
func SetDBCSDatabaseLifecycleState ¶
func SetDBCSDatabaseLifecycleState(logger logr.Logger, kubeClient client.Client, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, nwClient core.VirtualNetworkClient, wrClient workrequests.WorkRequestClient) error
func SetDBCSStatus ¶
func SetDBCSStatus(dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, nwClient core.VirtualNetworkClient, wrClient workrequests.WorkRequestClient) error
func SetLifecycleState ¶
func SetLifecycleState(kubeClient client.Client, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, state databasev1alpha1.LifecycleState, nwClient core.VirtualNetworkClient, wrClient workrequests.WorkRequestClient) error
SetLifecycleState set status.state of the reosurce.
func UpdateDbcsSystemId ¶
func UpdateDbcsSystemId(kubeClient client.Client, dbcs *databasev1alpha1.DbcsSystem) error
func UpdateDbcsSystemIdInst ¶
func UpdateDbcsSystemIdInst(log logr.Logger, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, kubeClient client.Client, nwClient core.VirtualNetworkClient, wrClient workrequests.WorkRequestClient) error
func ValidateSpex ¶
func ValidateSpex(logger logr.Logger, kubeClient client.Client, dbClient database.DatabaseClient, dbcs *databasev1alpha1.DbcsSystem, nwClient core.VirtualNetworkClient, eRecord record.EventRecorder) error
=========== validate Specs ============
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.