Versions in this module Expand all Collapse all v0 v0.1.0 Feb 3, 2016 Changes in this version + func GetPlugins() []string + func NewForbidden(a Attributes, internalError error) error + func NewNotFound(a Attributes) error + func RegisterPlugin(name string, plugin Factory) + type Attributes interface + GetKind func() string + GetName func() string + GetNamespace func() string + GetObject func() runtime.Object + GetOperation func() Operation + GetResource func() string + GetSubresource func() string + GetUserInfo func() user.Info + func NewAttributesRecord(object runtime.Object, kind, namespace, name, resource, subresource string, ...) Attributes + type Factory func(client client.Interface, config io.Reader) (Interface, error) + type Handler struct + func NewHandler(ops ...Operation) *Handler + func (h *Handler) Handles(operation Operation) bool + type Interface interface + Admit func(a Attributes) (err error) + Handles func(operation Operation) bool + func GetPlugin(name string, client client.Interface, config io.Reader) (Interface, error) + func InitPlugin(name string, client client.Interface, configFilePath string) Interface + func NewChainHandler(handlers ...Interface) Interface + func NewFromPlugins(client client.Interface, pluginNames []string, configFilePath string) Interface + type Operation string + const Connect + const Create + const Delete + const Update