Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DoUnsigned ¶
DoUnsigned performs an unsigned request for server-generated signed URLs, such as cookbook and sandbox blob download links returned by Chef APIs.
type Config ¶
type Config struct {
ServerURL string
RequestorName string
RequestorType string
PrivateKeyPath string
DefaultOrg string
ServerAPIVersion string
}
func LoadConfigFromEnv ¶
func LoadConfigFromEnv() Config
type Option ¶
type Option func(*Client)
func WithHTTPDoer ¶
func WithPrivateKey ¶
func WithPrivateKey(key *rsa.PrivateKey) Option
Click to show internal directories.
Click to hide internal directories.