Documentation ¶
Index ¶
- type RunbookDataManager
- func (m RunbookDataManager) CreateRunbookFromDetails(steps []string, name string) (string, error)
- func (m RunbookDataManager) DeleteRunbook(id string) error
- func (m RunbookDataManager) FindRunbookById(id string) (model.RunbookRef, error)
- func (m RunbookDataManager) FindRunbookDetailsById(id string) (model.RunbookDetails, error)
- func (m RunbookDataManager) FindRunbooksByStepId(stepId string) ([]model.RunbookRef, error)
- func (m RunbookDataManager) ListAllRunbooks() ([]model.RunbookSummary, error)
- func (m RunbookDataManager) UpdateRunbook(id string, name string, steps []string) error
- type RunbookEntity
- type RunbookStepsDataManager
- func (m RunbookStepsDataManager) DeleteStepDetails(id string) error
- func (m RunbookStepsDataManager) FindRunbookStepData(id string) (model.RunbookStepDetailsEntity, error)
- func (m RunbookStepsDataManager) ListAllSteps() (result []model.RunbookStepData, err error)
- func (m RunbookStepsDataManager) UpdateRunbookStepEntity(id string, entity model.RunbookStepDetailsEntity) error
- func (m RunbookStepsDataManager) WriteRunbookStepEntity(entity model.RunbookStepDetailsEntity) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunbookDataManager ¶
type RunbookDataManager struct {
Client *mongodb.MongoClient
}
func (RunbookDataManager) CreateRunbookFromDetails ¶
func (m RunbookDataManager) CreateRunbookFromDetails(steps []string, name string) (string, error)
func (RunbookDataManager) DeleteRunbook ¶
func (m RunbookDataManager) DeleteRunbook(id string) error
func (RunbookDataManager) FindRunbookById ¶
func (m RunbookDataManager) FindRunbookById(id string) (model.RunbookRef, error)
func (RunbookDataManager) FindRunbookDetailsById ¶
func (m RunbookDataManager) FindRunbookDetailsById(id string) (model.RunbookDetails, error)
func (RunbookDataManager) FindRunbooksByStepId ¶
func (m RunbookDataManager) FindRunbooksByStepId(stepId string) ([]model.RunbookRef, error)
func (RunbookDataManager) ListAllRunbooks ¶
func (m RunbookDataManager) ListAllRunbooks() ([]model.RunbookSummary, error)
func (RunbookDataManager) UpdateRunbook ¶
func (m RunbookDataManager) UpdateRunbook(id string, name string, steps []string) error
type RunbookEntity ¶
type RunbookStepsDataManager ¶
type RunbookStepsDataManager struct {
Client *mongodb.MongoClient
}
func (RunbookStepsDataManager) DeleteStepDetails ¶
func (m RunbookStepsDataManager) DeleteStepDetails(id string) error
func (RunbookStepsDataManager) FindRunbookStepData ¶
func (m RunbookStepsDataManager) FindRunbookStepData(id string) (model.RunbookStepDetailsEntity, error)
func (RunbookStepsDataManager) ListAllSteps ¶
func (m RunbookStepsDataManager) ListAllSteps() (result []model.RunbookStepData, err error)
func (RunbookStepsDataManager) UpdateRunbookStepEntity ¶
func (m RunbookStepsDataManager) UpdateRunbookStepEntity(id string, entity model.RunbookStepDetailsEntity) error
func (RunbookStepsDataManager) WriteRunbookStepEntity ¶
func (m RunbookStepsDataManager) WriteRunbookStepEntity(entity model.RunbookStepDetailsEntity) (string, error)
Click to show internal directories.
Click to hide internal directories.