Documentation ¶
Index ¶
- func FromCRComponent(appPrimaryKey string, component common.ApplicationComponent) (model.ApplicationComponent, error)
- func FromCRPolicy(appPrimaryKey string, policyCR v1beta1.AppPolicy, creator string) (model.ApplicationPolicy, error)
- func FromCRTargets(targetApp *v1beta1.Application) []*model.Target
- func FromCRWorkflow(ctx context.Context, cli client.Client, appPrimaryKey string, ...) (model.Workflow, []v1beta1.WorkflowStep, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromCRComponent ¶
func FromCRComponent(appPrimaryKey string, component common.ApplicationComponent) (model.ApplicationComponent, error)
FromCRComponent concerts Application CR Component object into velaux data store component
func FromCRPolicy ¶
func FromCRPolicy(appPrimaryKey string, policyCR v1beta1.AppPolicy, creator string) (model.ApplicationPolicy, error)
FromCRPolicy converts Application CR Policy object into velaux data store policy
func FromCRTargets ¶
func FromCRTargets(targetApp *v1beta1.Application) []*model.Target
FromCRTargets converts deployed Cluster/Namespace from Application CR Status into velaux data store
func FromCRWorkflow ¶
func FromCRWorkflow(ctx context.Context, cli client.Client, appPrimaryKey string, app *v1beta1.Application) (model.Workflow, []v1beta1.WorkflowStep, error)
FromCRWorkflow converts Application CR Workflow section into velaux data store workflow
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.