controller

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package controller regroups all the HTTP controllers of the application

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_events_controller_all.go at 2019-06-17 22:10:08.023983512 +0300 EEST m=+0.000477268

Package controller regroups all the HTTP controllers of the application

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_events_controller_cluster.go at 2019-06-17 22:10:08.253145534 +0300 EEST m=+0.000458711

Package controller regroups all the HTTP controllers of the application

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_events_controller_namespace.go at 2019-06-17 22:10:08.495857634 +0300 EEST m=+0.000582993

Package controller regroups all the HTTP controllers of the application

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_labels_controller.go at 2019-06-17 22:10:08.761157621 +0300 EEST m=+0.000916439

Package controller regroups all the HTTP controllers of the application

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_objects_controller_cluster.go at 2019-06-17 22:10:09.044022663 +0300 EEST m=+0.002467569

Package controller regroups all the HTTP controllers of the application

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_objects_controller_cluster_metrics.go at 2019-06-17 22:10:09.32040677 +0300 EEST m=+0.001278175

Package controller regroups all the HTTP controllers of the application

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_objects_controller_namespace.go at 2019-06-17 22:10:09.592181302 +0300 EEST m=+0.002681179

Package controller regroups all the HTTP controllers of the application

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_objects_controller_namespace_metrics.go at 2019-06-17 22:10:09.826585088 +0300 EEST m=+0.001195832

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterControllers

func RegisterControllers(e *echo.Echo)

RegisterControllers registers all the controller of the application within the given configuration

func RegisterEventWebSocketController

func RegisterEventWebSocketController(ews *echo.Echo)

RegisterEventWebSocketController register the controller for the websocket dedicated to events

Types

type Command

type Command struct {
	Command       CommandType      `json:"command"`
	ObjectType    types.ObjectType `json:"objectType,omitempty"`
	ContextName   string           `json:"contextName,omitempty"`
	NamespaceName string           `json:"namespaceName,omitempty"`
}

Command is a command received by the event controller

type CommandType

type CommandType string

CommandType is the type of command sent to the EventListener

const (
	// AddSource is the command for adding a new source
	AddSource CommandType = "AddSource"
	// RemoveSource is the command for deleting a source
	RemoveSource CommandType = "RemoveSource"
	// RemoveAllSources is the command for deleting all sources
	RemoveAllSources CommandType = "RemoveAllSources"
)

Jump to

Keyboard shortcuts

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