Documentation
¶
Index ¶
- Variables
- type Engine
- func (engine *Engine) GetKeychain() *keys.Keychain
- func (engine *Engine) Transform(text string) (string, error)
- func (engine *Engine) TransformAndParse(text string) (string, container.Container, error)
- func (engine *Engine) TransformAsis(c *container.Asis) (string, error)
- func (engine *Engine) TransformEtcdJsonResponse(jsonData []byte) ([]byte, error)
- func (engine *Engine) TransformPlain1(c *container.Plain1) (string, error)
- func (engine *Engine) TransformV1(c *container.V1) (string, error)
- type Transformable
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidLength = errors.New("invalid length; it should be multiple of aes block size")
View Source
var ErrInvalidPadding = errors.New("pkcs7 padding invalid")
View Source
var ErrNoPrivateKey = errors.New("no private key provided")
View Source
var ErrTooShortKey = errors.New("key too short; couldn't generate 16, 24, and 32 bytes aes key")
Functions ¶
This section is empty.
Types ¶
type Engine ¶
func (*Engine) GetKeychain ¶ added in v0.2.0
func (*Engine) TransformAndParse ¶ added in v0.3.0
func (*Engine) TransformAsis ¶
func (*Engine) TransformEtcdJsonResponse ¶
transform node.value, node.**.nodes[].value, prevNode.value, prevNode.**.nodes[].value.
func (*Engine) TransformPlain1 ¶
Click to show internal directories.
Click to hide internal directories.