# Functions
Base64BlockEncode takes a byte slice and breaks it up into a slice of base64 encoded strings.
CheckResponse receives a pointer to a http.Response and generates an Error via unmarshalling.
GenerateSignature will generate a signature ( sign ) the given data.
HashStr returns the base64 encoded SHA1 sum of the toHash string.
NewClient is the client generator used to instantiate a client for talking to a chef-server It is a simple constructor for the Client struct intended as a easy interface for issuing signed requests.
PrivateKeyFromString parses an RSA private key from a string.
# Constants
ChefVersion that we pretend to emulate.
# Structs
AuthConfig representing a client and a private key used for encryption This is embedded in the Client type.
Body wraps io.Reader and adds methods for calculating hashes and detecting content.
Client is vessel for public methods used against the chef-server.
Config contains the configuration options for a chef client.
An ErrorResponse reports one or more errors caused by an API request.