Documentation ¶
Index ¶
- Constants
- type DatabaseManager
- func (m *DatabaseManager) Delete(ctx context.Context, obj runtime.Object) (bool, error)
- func (m *DatabaseManager) Ensure(ctx context.Context, obj runtime.Object) (bool, error)
- func (m *DatabaseManager) GetOwners(ctx context.Context, obj runtime.Object) ([]scaleway.Owner, error)
- func (m *DatabaseManager) ValidateCreate(ctx context.Context, obj runtime.Object) (field.ErrorList, error)
- func (m *DatabaseManager) ValidateUpdate(ctx context.Context, oldObj runtime.Object, obj runtime.Object) (field.ErrorList, error)
- type InstanceManager
- func (m *InstanceManager) Delete(ctx context.Context, obj runtime.Object) (bool, error)
- func (m *InstanceManager) Ensure(ctx context.Context, obj runtime.Object) (bool, error)
- func (m *InstanceManager) GetOwners(ctx context.Context, obj runtime.Object) ([]scaleway.Owner, error)
- func (m *InstanceManager) ValidateCreate(ctx context.Context, obj runtime.Object) (field.ErrorList, error)
- func (m *InstanceManager) ValidateUpdate(ctx context.Context, oldObj runtime.Object, obj runtime.Object) (field.ErrorList, error)
- type UserManager
Constants ¶
View Source
const (
// SecretPasswordKey is the key for accessing the pasword in the given secret
SecretPasswordKey = "password"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseManager ¶
DatabaseManager manages the RDB databsses
func (*DatabaseManager) GetOwners ¶
func (m *DatabaseManager) GetOwners(ctx context.Context, obj runtime.Object) ([]scaleway.Owner, error)
GetOwners returns the owners of the RDB database resource
func (*DatabaseManager) ValidateCreate ¶
func (m *DatabaseManager) ValidateCreate(ctx context.Context, obj runtime.Object) (field.ErrorList, error)
ValidateCreate validates the creation of a RDB Database
type InstanceManager ¶
InstanceManager manages the RDB instances
func (*InstanceManager) GetOwners ¶
func (m *InstanceManager) GetOwners(ctx context.Context, obj runtime.Object) ([]scaleway.Owner, error)
GetOwners returns the owners of the RDB instance resource
func (*InstanceManager) ValidateCreate ¶
func (m *InstanceManager) ValidateCreate(ctx context.Context, obj runtime.Object) (field.ErrorList, error)
ValidateCreate validates the creation of a RDB Instance
Click to show internal directories.
Click to hide internal directories.