Documentation ¶
Index ¶
- type AdbServiceClient
- type AdbServiceManager
- func (c *AdbServiceManager) CreateAdb(ctx context.Context, adb ociv1beta1.AutonomousDatabases, adminPwd string) (database.CreateAutonomousDatabaseResponse, error)
- func (c *AdbServiceManager) CreateOrUpdate(ctx context.Context, obj runtime.Object, req ctrl.Request) (servicemanager.OSOKResponse, error)
- func (c *AdbServiceManager) Delete(ctx context.Context, obj runtime.Object) (bool, error)
- func (c *AdbServiceManager) DeleteAdb() (string, error)
- func (c *AdbServiceManager) GenerateWallet(ctx context.Context, adbId string, adbDisplayName string, ...) (bool, error)
- func (c *AdbServiceManager) GetAdb(ctx context.Context, adbId ociv1beta1.OCID, retryPolicy *common.RetryPolicy) (*database.AutonomousDatabase, error)
- func (c *AdbServiceManager) GetAdbOcid(ctx context.Context, adb ociv1beta1.AutonomousDatabases) (*ociv1beta1.OCID, error)
- func (c *AdbServiceManager) GetCrdStatus(obj runtime.Object) (*ociv1beta1.OSOKStatus, error)
- func (c *AdbServiceManager) UpdateAdb(ctx context.Context, adb *ociv1beta1.AutonomousDatabases) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdbServiceClient ¶
type AdbServiceClient interface { CreateAdb(ctx context.Context, adb ociv1beta1.AutonomousDatabases) (database.AutonomousDatabase, error) UpdateAdb(ctx context.Context, request database.UpdateAutonomousDatabaseRequest) (database.UpdateAutonomousDatabaseResponse, error) GetAdb(ctx context.Context, request database.GetAutonomousDatabaseRequest) (database.GetAutonomousDatabaseResponse, error) DeleteAdb() (string, error) servicemanager.OSOKServiceManager }
type AdbServiceManager ¶
type AdbServiceManager struct { Provider common.ConfigurationProvider CredentialClient credhelper.CredentialClient Scheme *runtime.Scheme Log loggerutil.OSOKLogger }
func NewAdbServiceManager ¶
func NewAdbServiceManager(provider common.ConfigurationProvider, credClient credhelper.CredentialClient, scheme *runtime.Scheme, log loggerutil.OSOKLogger) *AdbServiceManager
func (*AdbServiceManager) CreateAdb ¶
func (c *AdbServiceManager) CreateAdb(ctx context.Context, adb ociv1beta1.AutonomousDatabases, adminPwd string) (database.CreateAutonomousDatabaseResponse, error)
func (*AdbServiceManager) CreateOrUpdate ¶
func (c *AdbServiceManager) CreateOrUpdate(ctx context.Context, obj runtime.Object, req ctrl.Request) (servicemanager.OSOKResponse, error)
func (*AdbServiceManager) DeleteAdb ¶
func (c *AdbServiceManager) DeleteAdb() (string, error)
func (*AdbServiceManager) GenerateWallet ¶
func (*AdbServiceManager) GetAdb ¶
func (c *AdbServiceManager) GetAdb(ctx context.Context, adbId ociv1beta1.OCID, retryPolicy *common.RetryPolicy) (*database.AutonomousDatabase, error)
Sync the Autonomous Database details
func (*AdbServiceManager) GetAdbOcid ¶
func (c *AdbServiceManager) GetAdbOcid(ctx context.Context, adb ociv1beta1.AutonomousDatabases) (*ociv1beta1.OCID, error)
func (*AdbServiceManager) GetCrdStatus ¶
func (c *AdbServiceManager) GetCrdStatus(obj runtime.Object) (*ociv1beta1.OSOKStatus, error)
func (*AdbServiceManager) UpdateAdb ¶
func (c *AdbServiceManager) UpdateAdb(ctx context.Context, adb *ociv1beta1.AutonomousDatabases) error
Click to show internal directories.
Click to hide internal directories.