handlers

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandlers

func GetHandlers() (map[string]revents.EventHandler, error)

Types

type ComputeHandler

type ComputeHandler struct {
	// contains filtered or unexported fields
}

func (*ComputeHandler) InstanceActivate

func (h *ComputeHandler) InstanceActivate(event *revents.Event, cli *client.RancherClient) error

func (*ComputeHandler) InstanceDeactivate

func (h *ComputeHandler) InstanceDeactivate(event *revents.Event, cli *client.RancherClient) error

func (*ComputeHandler) InstanceForceStop

func (h *ComputeHandler) InstanceForceStop(event *revents.Event, cli *client.RancherClient) error

func (*ComputeHandler) InstanceInspect

func (h *ComputeHandler) InstanceInspect(event *revents.Event, cli *client.RancherClient) error

func (*ComputeHandler) InstancePull

func (h *ComputeHandler) InstancePull(event *revents.Event, cli *client.RancherClient) error

func (*ComputeHandler) InstanceRemove

func (h *ComputeHandler) InstanceRemove(event *revents.Event, cli *client.RancherClient) error

type ConfigUpdateHandler

type ConfigUpdateHandler struct {
}

func (*ConfigUpdateHandler) ConfigUpdate

func (h *ConfigUpdateHandler) ConfigUpdate(event *revents.Event, cli *client.RancherClient) error

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

type PingHandler

type PingHandler struct {
	// contains filtered or unexported fields
}

func (*PingHandler) Ping

func (h *PingHandler) Ping(event *revents.Event, cli *client.RancherClient) error

type StorageHandler

type StorageHandler struct {
	// contains filtered or unexported fields
}

func (*StorageHandler) ImageActivate

func (h *StorageHandler) ImageActivate(event *revents.Event, cli *client.RancherClient) error

func (*StorageHandler) VolumeActivate

func (h *StorageHandler) VolumeActivate(event *revents.Event, cli *client.RancherClient) error

func (*StorageHandler) VolumeRemove

func (h *StorageHandler) VolumeRemove(event *revents.Event, cli *client.RancherClient) error

Jump to

Keyboard shortcuts

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