Versions in this module Expand all Collapse all v0 v0.7.6 Jun 15, 2024 Changes in this version + func AddPlaybookEntry(ctx context.Context, entry *PlaybookEntry) error + func RemovePlaybookEntry(ctx context.Context, playbookId string, entryId string) error + type PlaybookEntry struct + Alias string + CmdStr string + CreatedTs int64 + Description string + EntryId string + PlaybookId string + Remove bool + UpdatedTs int64 + type PlaybookType struct + Description string + Entries []*PlaybookEntry + EntryIds []string + PlaybookId string + PlaybookName string + func CreatePlaybook(ctx context.Context, name string) (*PlaybookType, error) + func GetPlaybookById(ctx context.Context, playbookId string) (*PlaybookType, error) + func (p *PlaybookType) FromMap(m map[string]interface{}) bool + func (p *PlaybookType) OrderEntries() + func (p *PlaybookType) RemoveEntry(entryIdToRemove string) + func (p *PlaybookType) ToMap() map[string]interface{}