gendomain

package
v0.0.0-...-ec57856 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.
View Source
var OrchestratorActivityEntity *orchestratorActivityEntity
View Source
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.
View Source
var OrchestratorWorkflowEntity *orchestratorWorkflowEntity

Functions

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

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

Delete will delete all the orchestratorActivitys in the collection.

func (*OrchestratorActivityCollection) GetByID

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

GetSlice return all orchestratorActivitys in this collection, as a slice.

func (*OrchestratorActivityCollection) Update

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

New return a new instance of a orchestratorActivity object.

func (*OrchestratorActivityFactory) NewCollection

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

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

Delete will delete all the orchestratorWorkflows in the collection.

func (*OrchestratorWorkflowCollection) GetByID

GetByID return the orchestratorWorkflow in this collection, by id.

func (*OrchestratorWorkflowCollection) Map

func (d *OrchestratorWorkflowCollection) Map() []map[string]interface{}

func (*OrchestratorWorkflowCollection) Slice

GetSlice return all orchestratorWorkflows in this collection, as a slice.

func (*OrchestratorWorkflowCollection) Update

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

New return a new instance of a orchestratorWorkflow object.

func (*OrchestratorWorkflowFactory) NewCollection

NewCollection return a new instance of a orchestratorWorkflow collection object.

type OrchestratorWorkflowFactoryInterface

type OrchestratorWorkflowFactoryInterface interface {
}

type OrchestratorWorkflowInternalLibrary

type OrchestratorWorkflowInternalLibrary struct {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL