Skip to content

feat(flow): Function flow controller#111

Merged
RobertIndie merged 8 commits intoFunctionStream:mainfrom
RobertIndie:fsflow-manager
Nov 1, 2021
Merged

feat(flow): Function flow controller#111
RobertIndie merged 8 commits intoFunctionStream:mainfrom
RobertIndie:fsflow-manager

Conversation

@RobertIndie
Copy link
Contributor

@RobertIndie RobertIndie commented Oct 31, 2021

This PR adds some function flow APIs. They are responsible for managing the deployment of function flows.

Modification

DeployDefinitionService

DeployDefinitionService is responsible for converting DeployDefinitionEntity into V1alpha1FunctionMesh CRD.
During the conversion process, the incoming entity is checked for various parameters to ensure that the CRD provided to the Kubernetes cluster is generated correctly.

KubernetesService

The KubernetesService is responsible for interacting directly with the Kubernetes cluster and for managing the resources deployed on the Kubernetes cluster. This service is not responsible for performing security checks on incoming CRDs; these should be performed in theDeployDefinitionService. The name of a function mesh is globally unique within a single namespace. Since a function flow corresponds to a single function mesh, the names of the function flow and the function mesh are the same.

Signed-off-by: Zike Yang <ar@armail.top>
…ller.

Signed-off-by: Zike Yang <ar@armail.top>
@RobertIndie RobertIndie marked this pull request as draft October 31, 2021 10:41
@RobertIndie RobertIndie self-assigned this Oct 31, 2021
@RobertIndie RobertIndie added this to the 0.2.0 milestone Oct 31, 2021
@RobertIndie RobertIndie linked an issue Oct 31, 2021 that may be closed by this pull request
Signed-off-by: Zike Yang <ar@armail.top>
Signed-off-by: Zike Yang <ar@armail.top>
@RobertIndie RobertIndie marked this pull request as ready for review October 31, 2021 14:44
Signed-off-by: Zike Yang <ar@armail.top>
Signed-off-by: Zike Yang <ar@armail.top>
Signed-off-by: Zike Yang <ar@armail.top>
@RobertIndie RobertIndie merged commit 3d893dc into FunctionStream:main Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Function flow controller

1 participant