Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type Client
- func (m *Client) EXPECT() *ClientMockRecorder
- func (m *Client) GetPool(ctx context.Context, name string) (*fireactions.Pool, *fireactions.Response, error)
- func (m *Client) ListMicroVMs(ctx context.Context, pool string) (*fireactions.MicroVMs, *fireactions.Response, error)
- func (m *Client) ListPools(ctx context.Context, opts *fireactions.ListOptions) (fireactions.Pools, *fireactions.Response, error)
- func (m *Client) PausePool(ctx context.Context, name string) (*fireactions.Response, error)
- func (m *Client) Reload(ctx context.Context) (*fireactions.Response, error)
- func (m *Client) ResumePool(ctx context.Context, name string) (*fireactions.Response, error)
- func (m *Client) ScalePool(ctx context.Context, name string) (*fireactions.Response, error)
- type ClientMockRecorder
- func (mr *ClientMockRecorder) GetPool(ctx, name interface{}) *gomock.Call
- func (mr *ClientMockRecorder) ListMicroVMs(ctx, pool interface{}) *gomock.Call
- func (mr *ClientMockRecorder) ListPools(ctx, opts interface{}) *gomock.Call
- func (mr *ClientMockRecorder) PausePool(ctx, name interface{}) *gomock.Call
- func (mr *ClientMockRecorder) Reload(ctx interface{}) *gomock.Call
- func (mr *ClientMockRecorder) ResumePool(ctx, name interface{}) *gomock.Call
- func (mr *ClientMockRecorder) ScalePool(ctx, name interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a mock of fireactionsClient interface.
func NewClient ¶
func NewClient(ctrl *gomock.Controller) *Client
NewClient creates a new mock instance.
func (*Client) EXPECT ¶
func (m *Client) EXPECT() *ClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Client) GetPool ¶
func (m *Client) GetPool(ctx context.Context, name string) (*fireactions.Pool, *fireactions.Response, error)
GetPool mocks base method.
func (*Client) ListMicroVMs ¶ added in v0.3.0
func (m *Client) ListMicroVMs(ctx context.Context, pool string) (*fireactions.MicroVMs, *fireactions.Response, error)
ListMicroVMs mocks base method.
func (*Client) ListPools ¶
func (m *Client) ListPools(ctx context.Context, opts *fireactions.ListOptions) (fireactions.Pools, *fireactions.Response, error)
ListPools mocks base method.
func (*Client) ResumePool ¶
ResumePool mocks base method.
type ClientMockRecorder ¶
type ClientMockRecorder struct {
// contains filtered or unexported fields
}
ClientMockRecorder is the mock recorder for Client.
func (*ClientMockRecorder) GetPool ¶
func (mr *ClientMockRecorder) GetPool(ctx, name interface{}) *gomock.Call
GetPool indicates an expected call of GetPool.
func (*ClientMockRecorder) ListMicroVMs ¶ added in v0.3.0
func (mr *ClientMockRecorder) ListMicroVMs(ctx, pool interface{}) *gomock.Call
ListMicroVMs indicates an expected call of ListMicroVMs.
func (*ClientMockRecorder) ListPools ¶
func (mr *ClientMockRecorder) ListPools(ctx, opts interface{}) *gomock.Call
ListPools indicates an expected call of ListPools.
func (*ClientMockRecorder) PausePool ¶
func (mr *ClientMockRecorder) PausePool(ctx, name interface{}) *gomock.Call
PausePool indicates an expected call of PausePool.
func (*ClientMockRecorder) Reload ¶
func (mr *ClientMockRecorder) Reload(ctx interface{}) *gomock.Call
Reload indicates an expected call of Reload.
func (*ClientMockRecorder) ResumePool ¶
func (mr *ClientMockRecorder) ResumePool(ctx, name interface{}) *gomock.Call
ResumePool indicates an expected call of ResumePool.
func (*ClientMockRecorder) ScalePool ¶
func (mr *ClientMockRecorder) ScalePool(ctx, name interface{}) *gomock.Call
ScalePool indicates an expected call of ScalePool.