()
| 65 | } |
| 66 | |
| 67 | func (c *Client) init() { |
| 68 | c.Schema = migrate.NewSchema(c.driver) |
| 69 | c.Alert = NewAlertClient(c.config) |
| 70 | c.AllowList = NewAllowListClient(c.config) |
| 71 | c.AllowListItem = NewAllowListItemClient(c.config) |
| 72 | c.Bouncer = NewBouncerClient(c.config) |
| 73 | c.ConfigItem = NewConfigItemClient(c.config) |
| 74 | c.Decision = NewDecisionClient(c.config) |
| 75 | c.Event = NewEventClient(c.config) |
| 76 | c.Lock = NewLockClient(c.config) |
| 77 | c.Machine = NewMachineClient(c.config) |
| 78 | c.Meta = NewMetaClient(c.config) |
| 79 | c.Metric = NewMetricClient(c.config) |
| 80 | } |
| 81 | |
| 82 | type ( |
| 83 | // config is the configuration for the client and its builder. |
no test coverage detected