package mech
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/mesos/mesos-go/auth/sasl/mech"
Index ¶
- Variables
- func ListSupported() (list []string)
- func Register(name string, f Factory) error
- type Factory
- type Interface
- type StepFunc
Variables ¶
Functions ¶
func ListSupported ¶
func ListSupported() (list []string)
func Register ¶
Types ¶
type Factory ¶
return a mechanism and it's initialization step (may be a noop that returns a nil data blob and handle to the first "real" challenge step).
func SelectSupported ¶
type Interface ¶
type Interface interface { Handler() callback.Handler Discard() // clean up resources or sensitive information; idempotent }
type StepFunc ¶
StepFunc implementations should never return a nil StepFunc result. This helps keep the logic in the SASL authticatee simpler: step functions are never nil. Mechanisms that end up an error state (for example, some decoding logic fails...) should return a StepFunc that represents an error state. Some mechanisms may be able to recover from such.
func IllegalState ¶
reflects an unrecoverable, illegal mechanism state; always returns IllegalState as the next step along with an IllegalStateErr
Source Files ¶
interface.go plugins.go
Directories ¶
Path | Synopsis |
---|---|
Godeps/_workspace/src/github.com/mesos/mesos-go/auth/sasl/mech/crammd5 |
- Version
- v1.1.0-beta
- Published
- Sep 25, 2015
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 14 minutes ago –
Tools for package owners.