Documentation
¶
Index ¶
- Constants
- func Create(ctx context.Context, plan *Plan) (*Plan, error)
- func Delete(ctx context.Context, id string) error
- func Get(ctx context.Context, id string) (*Plan, error)
- func List(ctx context.Context, limit int, offset int, filter interface{}) ([]Plan, error)
- func NewPlanExecutor(plan *Plan) trigger.Executer
- func Run(planId, tenantId, userId string) (bson.ObjectId, error)
- func Update(ctx context.Context, planId string, updateMap map[string]interface{}) (*Plan, error)
- type TriggerExecutor
Constants ¶
View Source
const ( BIT_REGION = 1 //00001 BIT_ENDPOINT = 2 //00010 BIT_BUCKETNAME = 4 //00100 BIT_ACCESS = 8 //01000 BIT_SECURITY = 16 //10000 BIT_FULL = 31 //11111 )
Variables ¶
This section is empty.
Functions ¶
func NewPlanExecutor ¶
Types ¶
type TriggerExecutor ¶
type TriggerExecutor struct {
// contains filtered or unexported fields
}
func (*TriggerExecutor) Run ¶
func (p *TriggerExecutor) Run()
Click to show internal directories.
Click to hide internal directories.