Documentation ¶
Index ¶
- Variables
- func NewOrchestratorActivity(wk libdomain.WorkflowInterface) libdomain.DomainObjectInterface
- func NewOrchestratorWorkflow(wk libdomain.WorkflowInterface) libdomain.DomainObjectInterface
- type DummyStruct
- type OrchestratorActivity
- func (t *OrchestratorActivity) Delete() error
- func (t *OrchestratorActivity) GetID() string
- func (t *OrchestratorActivity) JSON() ([]byte, error)
- func (t *OrchestratorActivity) Map() map[string]interface{}
- func (t *OrchestratorActivity) SetID(id string)
- func (t *OrchestratorActivity) Update(r *pb.UpdateOrchestratorActivityData) error
- type OrchestratorActivityCollection
- func (d *OrchestratorActivityCollection) Delete() error
- func (c *OrchestratorActivityCollection) GetByID(id string) *OrchestratorActivity
- func (d *OrchestratorActivityCollection) Map() []map[string]interface{}
- func (t *OrchestratorActivityCollection) OrchestratorWorkflowsByOrchestratorActivityID() (map[string]*OrchestratorWorkflow, error)
- func (c *OrchestratorActivityCollection) Slice() []*OrchestratorActivity
- func (d *OrchestratorActivityCollection) Update(r *pb.UpdateOrchestratorActivityData) error
- type OrchestratorActivityFactory
- func (d *OrchestratorActivityFactory) Create(orchestratorActivitys []*pb.CreateOrchestratorActivityCommand, ...) (*OrchestratorActivityCollection, error)
- func (d *OrchestratorActivityFactory) New() *OrchestratorActivity
- func (d *OrchestratorActivityFactory) NewCollection(records *libdomain.Collection) *OrchestratorActivityCollection
- type OrchestratorActivityFactoryInterface
- type OrchestratorActivityInternalLibrary
- type OrchestratorWorkflow
- func (t *OrchestratorWorkflow) Delete() error
- func (t *OrchestratorWorkflow) GetID() string
- func (t *OrchestratorWorkflow) JSON() ([]byte, error)
- func (t *OrchestratorWorkflow) Map() map[string]interface{}
- func (t *OrchestratorWorkflow) SetID(id string)
- func (t *OrchestratorWorkflow) Update(r *pb.UpdateOrchestratorWorkflowData) error
- type OrchestratorWorkflowCollection
- func (d *OrchestratorWorkflowCollection) Delete() error
- func (c *OrchestratorWorkflowCollection) GetByID(id string) *OrchestratorWorkflow
- func (d *OrchestratorWorkflowCollection) Map() []map[string]interface{}
- func (c *OrchestratorWorkflowCollection) Slice() []*OrchestratorWorkflow
- func (d *OrchestratorWorkflowCollection) Update(r *pb.UpdateOrchestratorWorkflowData) error
- type OrchestratorWorkflowFactory
- func (d *OrchestratorWorkflowFactory) Create(orchestratorWorkflows []*pb.CreateOrchestratorWorkflowCommand, ...) (*OrchestratorWorkflowCollection, error)
- func (d *OrchestratorWorkflowFactory) New() *OrchestratorWorkflow
- func (d *OrchestratorWorkflowFactory) NewCollection(records *libdomain.Collection) *OrchestratorWorkflowCollection
- type OrchestratorWorkflowFactoryInterface
- type OrchestratorWorkflowInternalLibrary
Constants ¶
This section is empty.
Variables ¶
var OrchestratorActivityAggregate *orchestratorActivityAggregate
OrchestratorActivityAggregate contain the definition of the orchestratorActivity object.
*It is also used to generate the factory containing the main functions with the environnement.
var OrchestratorActivityEntity *orchestratorActivityEntity
var OrchestratorWorkflowAggregate *orchestratorWorkflowAggregate
OrchestratorWorkflowAggregate contain the definition of the orchestratorWorkflow object.
*It is also used to generate the factory containing the main functions with the environnement.
var OrchestratorWorkflowEntity *orchestratorWorkflowEntity
Functions ¶
func NewOrchestratorActivity ¶
func NewOrchestratorActivity(wk libdomain.WorkflowInterface) libdomain.DomainObjectInterface
func NewOrchestratorWorkflow ¶
func NewOrchestratorWorkflow(wk libdomain.WorkflowInterface) libdomain.DomainObjectInterface
Types ¶
type DummyStruct ¶
type DummyStruct struct{}
type OrchestratorActivity ¶
type OrchestratorActivity struct { Pb *pb.OrchestratorActivity Workflow libdomain.WorkflowInterface }
OrchestratorActivity is the main struct for operating a orchestratorActivity object, which shall
*be used in custom code because it contains the environnement informations and *the easy-to-use functions.
func (*OrchestratorActivity) Delete ¶
func (t *OrchestratorActivity) Delete() error
Delete will delete the orchestratorActivity from the database.
func (*OrchestratorActivity) GetID ¶
func (t *OrchestratorActivity) GetID() string
SetID is a function to set the ID of the orchestratorActivity.
func (*OrchestratorActivity) JSON ¶
func (t *OrchestratorActivity) JSON() ([]byte, error)
JSON is a function to return the orchestratorActivity data in JSON format.
func (*OrchestratorActivity) Map ¶
func (t *OrchestratorActivity) Map() map[string]interface{}
Map is a function to return the orchestratorActivity data in JSON format.
func (*OrchestratorActivity) SetID ¶
func (t *OrchestratorActivity) SetID(id string)
SetID is a function to set the ID of the orchestratorActivity.
func (*OrchestratorActivity) Update ¶
func (t *OrchestratorActivity) Update(r *pb.UpdateOrchestratorActivityData) error
Delete will delete the orchestratorActivity from the database.
type OrchestratorActivityCollection ¶
type OrchestratorActivityCollection struct {
*libdomain.Collection
}
OrchestratorActivityCollection is the main struct for operating a list orchestratorActivity object, which shall
*be used in custom code because it contains the environnement informations and *the easy-to-use functions.
func (*OrchestratorActivityCollection) Delete ¶
func (d *OrchestratorActivityCollection) Delete() error
Delete will delete all the orchestratorActivitys in the collection.
func (*OrchestratorActivityCollection) GetByID ¶
func (c *OrchestratorActivityCollection) GetByID(id string) *OrchestratorActivity
GetByID return the orchestratorActivity in this collection, by id.
func (*OrchestratorActivityCollection) Map ¶
func (d *OrchestratorActivityCollection) Map() []map[string]interface{}
func (*OrchestratorActivityCollection) OrchestratorWorkflowsByOrchestratorActivityID ¶
func (t *OrchestratorActivityCollection) OrchestratorWorkflowsByOrchestratorActivityID() (map[string]*OrchestratorWorkflow, error)
OrchestratorWorkflowsByOrchestratorActivityID return the orchestratorWorkflow behind OrchestratorWorkflowID field, for each orchestratorActivity in the collection, by id.
func (*OrchestratorActivityCollection) Slice ¶
func (c *OrchestratorActivityCollection) Slice() []*OrchestratorActivity
GetSlice return all orchestratorActivitys in this collection, as a slice.
func (*OrchestratorActivityCollection) Update ¶
func (d *OrchestratorActivityCollection) Update(r *pb.UpdateOrchestratorActivityData) error
Update will update all the orchestratorActivitys in the collection with the specified data.
type OrchestratorActivityFactory ¶
type OrchestratorActivityFactory struct { *libdomain.Factory OrchestratorActivityFactoryInterface }
OrchestratorActivityFactory is the main struct for operating orchestratorActivity objects, which shall
*be used in custom code because it contains the environnement informations and *the easy-to-use functions.
func (*OrchestratorActivityFactory) Create ¶
func (d *OrchestratorActivityFactory) Create( orchestratorActivitys []*pb.CreateOrchestratorActivityCommand, parentAggregate *libdata.Aggregate, ) (*OrchestratorActivityCollection, error)
Create create a new orchestratorActivity from the factory, and return it.
func (*OrchestratorActivityFactory) New ¶
func (d *OrchestratorActivityFactory) New() *OrchestratorActivity
New return a new instance of a orchestratorActivity object.
func (*OrchestratorActivityFactory) NewCollection ¶
func (d *OrchestratorActivityFactory) NewCollection(records *libdomain.Collection) *OrchestratorActivityCollection
NewCollection return a new instance of a orchestratorActivity collection object.
type OrchestratorActivityFactoryInterface ¶
type OrchestratorActivityFactoryInterface interface { }
type OrchestratorActivityInternalLibrary ¶
type OrchestratorActivityInternalLibrary struct { }
type OrchestratorWorkflow ¶
type OrchestratorWorkflow struct { Pb *pb.OrchestratorWorkflow Workflow libdomain.WorkflowInterface }
OrchestratorWorkflow is the main struct for operating a orchestratorWorkflow object, which shall
*be used in custom code because it contains the environnement informations and *the easy-to-use functions.
func (*OrchestratorWorkflow) Delete ¶
func (t *OrchestratorWorkflow) Delete() error
Delete will delete the orchestratorWorkflow from the database.
func (*OrchestratorWorkflow) GetID ¶
func (t *OrchestratorWorkflow) GetID() string
SetID is a function to set the ID of the orchestratorWorkflow.
func (*OrchestratorWorkflow) JSON ¶
func (t *OrchestratorWorkflow) JSON() ([]byte, error)
JSON is a function to return the orchestratorWorkflow data in JSON format.
func (*OrchestratorWorkflow) Map ¶
func (t *OrchestratorWorkflow) Map() map[string]interface{}
Map is a function to return the orchestratorWorkflow data in JSON format.
func (*OrchestratorWorkflow) SetID ¶
func (t *OrchestratorWorkflow) SetID(id string)
SetID is a function to set the ID of the orchestratorWorkflow.
func (*OrchestratorWorkflow) Update ¶
func (t *OrchestratorWorkflow) Update(r *pb.UpdateOrchestratorWorkflowData) error
Delete will delete the orchestratorWorkflow from the database.
type OrchestratorWorkflowCollection ¶
type OrchestratorWorkflowCollection struct {
*libdomain.Collection
}
OrchestratorWorkflowCollection is the main struct for operating a list orchestratorWorkflow object, which shall
*be used in custom code because it contains the environnement informations and *the easy-to-use functions.
func (*OrchestratorWorkflowCollection) Delete ¶
func (d *OrchestratorWorkflowCollection) Delete() error
Delete will delete all the orchestratorWorkflows in the collection.
func (*OrchestratorWorkflowCollection) GetByID ¶
func (c *OrchestratorWorkflowCollection) GetByID(id string) *OrchestratorWorkflow
GetByID return the orchestratorWorkflow in this collection, by id.
func (*OrchestratorWorkflowCollection) Map ¶
func (d *OrchestratorWorkflowCollection) Map() []map[string]interface{}
func (*OrchestratorWorkflowCollection) Slice ¶
func (c *OrchestratorWorkflowCollection) Slice() []*OrchestratorWorkflow
GetSlice return all orchestratorWorkflows in this collection, as a slice.
func (*OrchestratorWorkflowCollection) Update ¶
func (d *OrchestratorWorkflowCollection) Update(r *pb.UpdateOrchestratorWorkflowData) error
Update will update all the orchestratorWorkflows in the collection with the specified data.
type OrchestratorWorkflowFactory ¶
type OrchestratorWorkflowFactory struct { *libdomain.Factory OrchestratorWorkflowFactoryInterface }
OrchestratorWorkflowFactory is the main struct for operating orchestratorWorkflow objects, which shall
*be used in custom code because it contains the environnement informations and *the easy-to-use functions.
func (*OrchestratorWorkflowFactory) Create ¶
func (d *OrchestratorWorkflowFactory) Create( orchestratorWorkflows []*pb.CreateOrchestratorWorkflowCommand, parentAggregate *libdata.Aggregate, ) (*OrchestratorWorkflowCollection, error)
Create create a new orchestratorWorkflow from the factory, and return it.
func (*OrchestratorWorkflowFactory) New ¶
func (d *OrchestratorWorkflowFactory) New() *OrchestratorWorkflow
New return a new instance of a orchestratorWorkflow object.
func (*OrchestratorWorkflowFactory) NewCollection ¶
func (d *OrchestratorWorkflowFactory) NewCollection(records *libdomain.Collection) *OrchestratorWorkflowCollection
NewCollection return a new instance of a orchestratorWorkflow collection object.
type OrchestratorWorkflowFactoryInterface ¶
type OrchestratorWorkflowFactoryInterface interface { }
type OrchestratorWorkflowInternalLibrary ¶
type OrchestratorWorkflowInternalLibrary struct { }