blob: 079e22486639583e47ae09bdcc9db27febb6c839 [file] [log] [blame]
William Kurkianea869482019-04-09 15:16:11 -04001package api
2
3// Operator can be used to perform low-level operator tasks for Consul.
4type Operator struct {
5 c *Client
6}
7
8// Operator returns a handle to the operator endpoints.
9func (c *Client) Operator() *Operator {
10 return &Operator{c}
11}