Documentation ¶
Index ¶
- type DbRoleClaimReconciler
- type MockClient
- func (m *MockClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (m *MockClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (m *MockClient) GetResponseUpdate() interface{}
- func (m *MockClient) Status() client.StatusWriter
- func (m *MockClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type MockStatusWriter
- type RoleConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbRoleClaimReconciler ¶
type DbRoleClaimReconciler struct { client.Client Config *RoleConfig }
DbRoleClaimReconciler reconciles a DatabaseClaim object
type MockClient ¶ added in v1.0.7
type MockClient struct { client.Client CreatedObject client.Object // contains filtered or unexported fields }
func (*MockClient) Create ¶ added in v1.0.7
func (m *MockClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
func (*MockClient) GetResponseUpdate ¶ added in v1.0.7
func (m *MockClient) GetResponseUpdate() interface{}
func (*MockClient) Status ¶ added in v1.0.7
func (m *MockClient) Status() client.StatusWriter
func (*MockClient) Update ¶ added in v1.0.7
func (m *MockClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
type MockStatusWriter ¶ added in v1.0.7
type MockStatusWriter struct {
client.StatusWriter
}
func (MockStatusWriter) Update ¶ added in v1.0.7
func (m MockStatusWriter) Update(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error
type RoleConfig ¶
type RoleConfig struct { Viper *viper.Viper MasterAuth *rdsauth.MasterAuth Class string Namespace string }
RoleConfig is the configuration for the Role controller.
Click to show internal directories.
Click to hide internal directories.