Documentation ¶
Index ¶
- type Client
- func (_m *Client) CreateHTTP(http caddyapi.HTTP) error
- func (_m *Client) CreateServer(name string, server caddyapi.Server) (string, error)
- func (_m *Client) DeleteHTTP() error
- func (_m *Client) DeleteServer(id string) error
- func (_m *Client) GetHTTP() (*caddyapi.HTTP, error)
- func (_m *Client) GetServer(id string) (*caddyapi.Server, error)
- func (_m *Client) UpdateHTTPGracePeriod(gracePeriod caddyapi.Duration) error
- func (_m *Client) UpdateHTTPPort(httpPort int) error
- func (_m *Client) UpdateHTTPSPort(httpsPort int) error
- func (_m *Client) UpdateServerListen(id string, listen []string) error
- func (_m *Client) UpdateServerRoutes(id string, routes []caddyapi.Route) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) CreateHTTP ¶
CreateHTTP provides a mock function with given fields: http
func (*Client) CreateServer ¶
CreateServer provides a mock function with given fields: name, server
func (*Client) DeleteHTTP ¶
DeleteHTTP provides a mock function with given fields:
func (*Client) DeleteServer ¶
DeleteServer provides a mock function with given fields: id
func (*Client) UpdateHTTPGracePeriod ¶
UpdateHTTPGracePeriod provides a mock function with given fields: gracePeriod
func (*Client) UpdateHTTPPort ¶
UpdateHTTPPort provides a mock function with given fields: httpPort
func (*Client) UpdateHTTPSPort ¶
UpdateHTTPSPort provides a mock function with given fields: httpsPort
func (*Client) UpdateServerListen ¶
UpdateServerListen provides a mock function with given fields: id, listen
Click to show internal directories.
Click to hide internal directories.