Documentation ¶
Overview ¶
Package client implements the a Go client for CFSSL API commands.
Index ¶
Constants ¶
View Source
const ( // StrategyInvalid indicates any strategy that is unsupported // or returned when no strategy is applicable. StrategyInvalid = iota // StrategyOrderedList is a sequential list of servers: if the // first server cannot be reached, the next is used. The // client will proceed in this manner until the list of // servers is exhausted, and then an error is returned. StrategyOrderedList )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Remote ¶
type Remote interface { AuthSign(req, id []byte, provider auth.Provider) ([]byte, error) Sign(jsonData []byte) ([]byte, error) Info(jsonData []byte) (*info.Resp, error) }
A Remote points to at least one (but possibly multiple) remote CFSSL instances.
type SignResult ¶
type SignResult struct {
Certificate []byte `json:"certificate"`
}
SignResult is the result of signing a CSR.
Click to show internal directories.
Click to hide internal directories.