Documentation
¶
Overview ¶
Package xor contains a key provider that combines two other keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { A keyprovider.Output `hcl:"a"` B keyprovider.Output `hcl:"b"` }
Config contains the configuration for this key provider supplied by the user. This struct must have hcl tags in order to function.
func (Config) Build ¶
func (c Config) Build() (keyprovider.KeyProvider, keyprovider.KeyMeta, error)
Build will create the usable key provider.
type Descriptor ¶
type Descriptor interface { keyprovider.Descriptor }
Descriptor is an additional interface to allow for providing custom methods.
func New ¶
func New() Descriptor
Click to show internal directories.
Click to hide internal directories.