Documentation ¶
Index ¶
- func ClusterRegister(input model.ClusterInput) (string, error)
- func ConfirmClusterRegistration(identity model.ClusterIdentity, r store.StateData) (*model.ClusterConfirmResponse, error)
- func CreateChaosWorkflow(input *model.ChaosWorkFlowInput, r store.StateData) (*model.ChaosWorkFlowResponse, error)
- func LogsHandler(podLog model.PodLog, r store.StateData) (string, error)
- func NewEvent(clusterEvent model.ClusterEventInput, r store.StateData) (string, error)
- func WorkFlowRunHandler(input model.WorkflowRunInput, r store.StateData) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterRegister ¶
func ClusterRegister(input model.ClusterInput) (string, error)
ClusterRegister creates an entry for a new cluster in DB and generates the url used to apply manifest
func ConfirmClusterRegistration ¶
func ConfirmClusterRegistration(identity model.ClusterIdentity, r store.StateData) (*model.ClusterConfirmResponse, error)
ConfirmClusterRegistration takes the cluster_id and access_key from the subscriber and validates it, if validated generates and sends new access_key
func CreateChaosWorkflow ¶
func CreateChaosWorkflow(input *model.ChaosWorkFlowInput, r store.StateData) (*model.ChaosWorkFlowResponse, error)
func LogsHandler ¶
LogsHandler receives logs from the workflow-agent and publishes to frontend clients
func NewEvent ¶
NewEvent takes a event from a subscriber, validates identity and broadcasts the event to the users
func WorkFlowRunHandler ¶
WorkFlowRunHandler Updates or Inserts a new Workflow Run into the DB
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.