Home Reference Source

References

Class Summary

Static Public Class Summary
public

Docker API Service.

public

LocalStorage proxy that handles not available localStorage (e.g.

Function Summary

Static Public Function Summary
public

Button(Object}: *): React.Component

Button.

public

Compose(props: Object): React.Component

Compose form.

public

Container(props: Object): React.Component

Container.

public

ContainerCard(props: Object): React.Component

Container's card for listing.

public

ContainerInfo(props: Object): React.Component

Container's basic informations.

public

ContainerLogs(props: Object): React.Component

Container's logs.

public

ContainerNetwork(props: Object): React.Component

Container's network informations.

public

ContainerVolumes(props: Object): React.Component

Container's volumes informations.

public

ContainersList(props: Object): React.Component

Container's list.

public

Login(props: Object): React.Component

Login form.

public

Main(props: Object): React.Component

Component wrapper for App.

public

Throbber(props: Object): React.Component

Throbber for displaying background task.

public

ThrobberButton(props: Object): React.Component

Throbber wrapped in a Button for displaying background task on click.

public

Toolbar(props: Object): React.Component

Toolbar for buttons and error message.

public

Saga of make an action on a container :

  • Execute action on container
  • Fetch container if non-destructive action
  • Redirect to home otherwise
public

* appSaga()

Sagas of app.

public

* composeSaga(action: Object)

Saga of creating new Docker's container from Compose file :

  • Create a new app from Compose
  • Redirect to home otherwise
public

container(state: Object, action: Object): Object

Container's reducer.

public

containers(state: Object, action: Object): Object

Containers' reducer.

public

Debounced fetch of containers.

public

error(state: Object, action: Object): Object

Error's reducer.

public

Saga of handling events' stream:

  • Fork the reading channel
  • Handle close request
public

Saga of Fetch container action :

  • Fetch container
public

Saga of Fetch containers action :

  • Fetch containers
public

* loginSaga(action: Object)

Saga of Login action :

  • Login
  • Fetch containers on succeed
  • Open events stream
  • Redirect to home
public

Saga of Logout action :

  • Logout
  • Close both streams (logs and events)
  • Redirect to login
public

logs(state: Object, action: Object): Object

Logs's reducer.

public

* logsSaga(action: Object)

Saga of handling logs' stream:

  • Fork the reading channel
  • Handle close request
public

makeActionAndTypeCreator(type: string, action: string, inputs: Array): object

Action creator : return the function and the constant for the given action

public

makeActionCreator(type: string, argNames: ...objects): func

Action creator : return a function for given action

public

makeApiActionCreator(camelCaseName: string, inputs: Array, outputs: Array): object

Action creator for an API call (request, success, fail)

public

makeOpenCloseActionCreator(camelCaseName: [type], opens: Array, closes: Array): [type]

Action creator for an WebSocket call (open, close)

public

onErrorActions(calledAction: String, error: Error): Array

Handle error on sagas.

public

onKeyDown(event: Object, callback: Function)

Handler for keyDown event on keyboard input.

public

pending(state: Object, action: Object): Object

Pendings' reducer.

public

Saga of reading events' stream :

  • Create a channel to handle every events
  • Debounced fetch containers
public

* readLogsSaga(action: Object)

Saga of reading logs' stream :

  • Create a channel to handle every log
  • Add log to state
public

setRef(that: *, name: *, component: *)

public

Transform a name into a type name : SNAKE_UPPER_CASE

Variable Summary

Static Public Variable Summary
public

Container for handling compose view.

public

Container for handling container view.

public

Container for handling list view.

public

Container for handling login view.

public

App's reducers.

public

Redux's store of application.

public

Storage key name for authentification token.

public

history: *

BrowserHistory.