approvers

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2017 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List() []string

List returns the list of the registered approvers's name.

func Register

func Register(name string, a Approver)

Register makes an Approver available by the provided name.

If called twice with the same name, the name is blank, or if the provided Extractor is nil, this function panics.

func Unregister

func Unregister(name string)

Unregister removes a Approverwith a particular name from the list.

Types

type Approver

Approver reprensents anything capable to validating and approving a CSR.

func Get

func Get(name string) (a Approver, exists bool)

Get returns the registered Approver with a provided name.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL