Documentation ¶
Index ¶
- type Client
- func (_m *Client) Deploy(_a0 context.Context, _a1 types.LeaseID, _a2 *manifest.Group) error
- func (_m *Client) Deployments(_a0 context.Context) ([]cluster.Deployment, error)
- func (_m *Client) Inventory(_a0 context.Context) ([]cluster.Node, error)
- func (_m *Client) LeaseStatus(_a0 context.Context, _a1 types.LeaseID) (*cluster.LeaseStatus, error)
- func (_m *Client) ServiceLogs(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool, _a4 *int64) ([]*cluster.ServiceLog, error)
- func (_m *Client) ServiceStatus(_a0 context.Context, _a1 types.LeaseID, _a2 string) (*cluster.ServiceStatus, error)
- func (_m *Client) TeardownLease(_a0 context.Context, _a1 types.LeaseID) error
- type ReadClient
- func (_m *ReadClient) LeaseStatus(_a0 context.Context, _a1 types.LeaseID) (*cluster.LeaseStatus, error)
- func (_m *ReadClient) ServiceLogs(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool, _a4 *int64) ([]*cluster.ServiceLog, error)
- func (_m *ReadClient) ServiceStatus(_a0 context.Context, _a1 types.LeaseID, _a2 string) (*cluster.ServiceStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.0.9
Client is an autogenerated mock type for the Client type
func (*Client) Deploy ¶ added in v0.0.9
Deploy provides a mock function with given fields: _a0, _a1, _a2
func (*Client) Deployments ¶ added in v0.0.9
Deployments provides a mock function with given fields: _a0
func (*Client) Inventory ¶ added in v0.2.4
Inventory provides a mock function with given fields: _a0
func (*Client) LeaseStatus ¶ added in v0.2.2
LeaseStatus provides a mock function with given fields: _a0, _a1
func (*Client) ServiceLogs ¶ added in v0.2.2
func (_m *Client) ServiceLogs(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool, _a4 *int64) ([]*cluster.ServiceLog, error)
ServiceLogs provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
type ReadClient ¶ added in v0.7.3
ReadClient is an autogenerated mock type for the ReadClient type
func (*ReadClient) LeaseStatus ¶ added in v0.7.3
func (_m *ReadClient) LeaseStatus(_a0 context.Context, _a1 types.LeaseID) (*cluster.LeaseStatus, error)
LeaseStatus provides a mock function with given fields: _a0, _a1
func (*ReadClient) ServiceLogs ¶ added in v0.7.3
func (_m *ReadClient) ServiceLogs(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool, _a4 *int64) ([]*cluster.ServiceLog, error)
ServiceLogs provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*ReadClient) ServiceStatus ¶ added in v0.7.3
func (_m *ReadClient) ServiceStatus(_a0 context.Context, _a1 types.LeaseID, _a2 string) (*cluster.ServiceStatus, error)
ServiceStatus provides a mock function with given fields: _a0, _a1, _a2