Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport is an http.Transport wrapper that adds custom http headers to communicate to an Agent
func NewTransport ¶
func NewTransport(signatureService portainer.DigitalSignatureService, httpTransport *http.Transport) *Transport
NewTransport returns a new transport that can be used to send signed requests to a Portainer agent
Click to show internal directories.
Click to hide internal directories.