Documentation ¶
Index ¶
- Constants
- func GetHandlers() (map[string]revents.EventHandler, error)
- type ComputeHandler
- func (h *ComputeHandler) InstanceActivate(event *revents.Event, cli *v3.RancherClient) error
- func (h *ComputeHandler) InstanceDeactivate(event *revents.Event, cli *v3.RancherClient) error
- func (h *ComputeHandler) InstanceInspect(event *revents.Event, cli *v3.RancherClient) error
- func (h *ComputeHandler) InstancePull(event *revents.Event, cli *v3.RancherClient) error
- func (h *ComputeHandler) InstanceRemove(event *revents.Event, cli *v3.RancherClient) error
- type Handler
- type PingHandler
- type StorageHandler
Constants ¶
View Source
const (
UUIDLabel = "io.rancher.container.uuid"
)
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 *v3.RancherClient) error
func (*ComputeHandler) InstanceDeactivate ¶
func (h *ComputeHandler) InstanceDeactivate(event *revents.Event, cli *v3.RancherClient) error
func (*ComputeHandler) InstanceInspect ¶
func (h *ComputeHandler) InstanceInspect(event *revents.Event, cli *v3.RancherClient) error
func (*ComputeHandler) InstancePull ¶
func (h *ComputeHandler) InstancePull(event *revents.Event, cli *v3.RancherClient) error
func (*ComputeHandler) InstanceRemove ¶
func (h *ComputeHandler) InstanceRemove(event *revents.Event, cli *v3.RancherClient) error
type PingHandler ¶
type PingHandler struct {
// contains filtered or unexported fields
}
func (*PingHandler) Ping ¶
func (h *PingHandler) Ping(event *revents.Event, cli *v3.RancherClient) error
type StorageHandler ¶
type StorageHandler struct {
// contains filtered or unexported fields
}
func (*StorageHandler) VolumeRemove ¶
func (h *StorageHandler) VolumeRemove(event *revents.Event, client *v3.RancherClient) error
Click to show internal directories.
Click to hide internal directories.