Documentation
¶
Index ¶
- type Mock
- func (m *Mock) ApplyCephConfig(_ context.Context, cfg models.CephConfig) error
- func (m *Mock) ApplyCephOSDConfig(ctx context.Context, cfg models.CephOSDConfig) error
- func (m *Mock) CheckClusterHealth(context.Context, []clusterHealth.ClusterHealthCheck) ([]models.ClusterHealthIndicator, error)
- func (m *Mock) DiffCephConfig(_ context.Context, cfg models.CephConfig) ([]models.CephConfigDifference, error)
- func (m *Mock) DiffCephOSDConfig(ctx context.Context, cfg models.CephOSDConfig) ([]models.CephOSDConfigDifference, error)
- func (m *Mock) DumpConfig(context.Context) (models.CephConfig, error)
- func (m *Mock) DumpOSDConfig(context.Context) (models.CephOSDConfig, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
func (*Mock) ApplyCephConfig ¶
func (*Mock) ApplyCephOSDConfig ¶ added in v0.2.0
func (*Mock) CheckClusterHealth ¶
func (m *Mock) CheckClusterHealth(context.Context, []clusterHealth.ClusterHealthCheck) ([]models.ClusterHealthIndicator, error)
func (*Mock) DiffCephConfig ¶
func (m *Mock) DiffCephConfig(_ context.Context, cfg models.CephConfig) ([]models.CephConfigDifference, error)
func (*Mock) DiffCephOSDConfig ¶ added in v0.2.0
func (m *Mock) DiffCephOSDConfig(ctx context.Context, cfg models.CephOSDConfig) ([]models.CephOSDConfigDifference, error)
func (*Mock) DumpConfig ¶
func (*Mock) DumpOSDConfig ¶ added in v0.2.0
type Service ¶
type Service interface {
ApplyCephConfig(ctx context.Context, cfg models.CephConfig) error
ApplyCephOSDConfig(ctx context.Context, cfg models.CephOSDConfig) error
DiffCephConfig(ctx context.Context, cfg models.CephConfig) ([]models.CephConfigDifference, error)
DiffCephOSDConfig(ctx context.Context, cfg models.CephOSDConfig) ([]models.CephOSDConfigDifference, error)
CheckClusterHealth(ctx context.Context, checks []clusterHealth.ClusterHealthCheck) ([]models.ClusterHealthIndicator, error)
DumpConfig(ctx context.Context) (models.CephConfig, error)
DumpOSDConfig(ctx context.Context) (models.CephOSDConfig, error)
}
Click to show internal directories.
Click to hide internal directories.