Documentation
¶
Index ¶
- type Client
- func (c *Client) Delete(path, env string, headers map[string]string) (string, error)
- func (c *Client) DeleteCertByName(nodename, env string) error
- func (c *Client) Do(req *http.Request, headers map[string]string) (string, error)
- func (c *Client) Get(path, env string, headers map[string]string) (string, error)
- func (c *Client) GetCertByName(nodename, env string) (string, error)
- func (c *Client) GetRequest(nodename, env string) (string, error)
- func (c *Client) Put(path, env, data string, headers map[string]string) (string, error)
- func (c *Client) SignRequest(nodename, env string) error
- func (c *Client) SubmitRequest(nodename, pem, env string) error
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
}
Client is a Puppet CA client
func (*Client) DeleteCertByName ¶
DeleteCertByName deletes the certificate of a given node
func (*Client) GetCertByName ¶
GetCertByName returns the certificate of a node by its name
func (*Client) GetRequest ¶
GetRequest return a submitted CSR if any
func (*Client) SignRequest ¶
SignRequest signs a CSR
func (*Client) SubmitRequest ¶
SubmitRequest submits a CSR
Click to show internal directories.
Click to hide internal directories.