mutations

package
v0.0.0-...-d523446 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 LogsHandler

func LogsHandler(podLog model.PodLog, r store.StateData) (string, error)

LogsHandler receives logs from the workflow-agent and publishes to frontend clients

func NewEvent

func NewEvent(clusterEvent model.ClusterEventInput, r store.StateData) (string, error)

NewEvent takes a event from a subscriber, validates identity and broadcasts the event to the users

func WorkFlowRunHandler

func WorkFlowRunHandler(input model.WorkflowRunInput, r store.StateData) (string, error)

WorkFlowRunHandler Updates or Inserts a new Workflow Run into the DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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