Documentation ¶
Index ¶
- type DbSystemServiceClient
- type DbSystemServiceManager
- func (c *DbSystemServiceManager) CreateDbSystem(ctx context.Context, dbSystem ociv1beta1.MySqlDbSystem, adminUname string, ...) (mysql.CreateDbSystemResponse, error)
- func (c *DbSystemServiceManager) CreateOrUpdate(ctx context.Context, obj runtime.Object, req ctrl.Request) (servicemanager.OSOKResponse, error)
- func (c *DbSystemServiceManager) Delete(ctx context.Context, obj runtime.Object) (bool, error)
- func (c *DbSystemServiceManager) DeleteMySqlDbSystem() (string, error)
- func (c *DbSystemServiceManager) GetCrdStatus(obj runtime.Object) (*ociv1beta1.OSOKStatus, error)
- func (c *DbSystemServiceManager) GetMySqlDbSystem(ctx context.Context, dbSystemId ociv1beta1.OCID, ...) (*mysql.DbSystem, error)
- func (c *DbSystemServiceManager) GetMySqlDbSystemOcid(ctx context.Context, dbSystem ociv1beta1.MySqlDbSystem) (*ociv1beta1.OCID, error)
- func (c *DbSystemServiceManager) UpdateMySqlDbSystem(ctx context.Context, dbSystem *ociv1beta1.MySqlDbSystem) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbSystemServiceClient ¶
type DbSystemServiceClient interface { CreateDbSystem(ctx context.Context, dbSystem ociv1beta1.MySqlDbSystem) (mysql.DbSystem, error) UpdateMySqlDbSystem(ctx context.Context, request mysql.UpdateDbSystemRequest) (mysql.UpdateDbSystemResponse, error) GetDbSystem(ctx context.Context, request mysql.GetDbSystemRequest) (mysql.GetDbSystemResponse, error) DeleteMySqlDbSystem() (string, error) servicemanager.OSOKServiceManager }
type DbSystemServiceManager ¶
type DbSystemServiceManager struct { Provider common.ConfigurationProvider CredentialClient credhelper.CredentialClient Scheme *runtime.Scheme Log loggerutil.OSOKLogger }
func NewDbSystemServiceManager ¶
func NewDbSystemServiceManager(provider common.ConfigurationProvider, credClient credhelper.CredentialClient, scheme *runtime.Scheme, log loggerutil.OSOKLogger) *DbSystemServiceManager
func (*DbSystemServiceManager) CreateDbSystem ¶
func (c *DbSystemServiceManager) CreateDbSystem(ctx context.Context, dbSystem ociv1beta1.MySqlDbSystem, adminUname string, adminPwd string) (mysql.CreateDbSystemResponse, error)
func (*DbSystemServiceManager) CreateOrUpdate ¶
func (c *DbSystemServiceManager) CreateOrUpdate(ctx context.Context, obj runtime.Object, req ctrl.Request) (servicemanager.OSOKResponse, error)
func (*DbSystemServiceManager) DeleteMySqlDbSystem ¶
func (c *DbSystemServiceManager) DeleteMySqlDbSystem() (string, error)
func (*DbSystemServiceManager) GetCrdStatus ¶
func (c *DbSystemServiceManager) GetCrdStatus(obj runtime.Object) (*ociv1beta1.OSOKStatus, error)
func (*DbSystemServiceManager) GetMySqlDbSystem ¶
func (c *DbSystemServiceManager) GetMySqlDbSystem(ctx context.Context, dbSystemId ociv1beta1.OCID, retryPolicy *common.RetryPolicy) (*mysql.DbSystem, error)
GetMySqlDbSystem Sync the MySqlDbSystem details
func (*DbSystemServiceManager) GetMySqlDbSystemOcid ¶
func (c *DbSystemServiceManager) GetMySqlDbSystemOcid(ctx context.Context, dbSystem ociv1beta1.MySqlDbSystem) (*ociv1beta1.OCID, error)
func (*DbSystemServiceManager) UpdateMySqlDbSystem ¶
func (c *DbSystemServiceManager) UpdateMySqlDbSystem(ctx context.Context, dbSystem *ociv1beta1.MySqlDbSystem) error
Click to show internal directories.
Click to hide internal directories.