Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: commands/cmd.go
Generated by this command:
mockgen -package mocks -source commands/cmd.go -destination commands/mocks/client.go -mock_names fireactionsClient=Client fireactionsClient
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) 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 any) *gomock.Call
- func (mr *ClientMockRecorder) ListPools(ctx, opts any) *gomock.Call
- func (mr *ClientMockRecorder) PausePool(ctx, name any) *gomock.Call
- func (mr *ClientMockRecorder) Reload(ctx any) *gomock.Call
- func (mr *ClientMockRecorder) ResumePool(ctx, name any) *gomock.Call
- func (mr *ClientMockRecorder) ScalePool(ctx, name any) *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) 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 any) *gomock.Call
GetPool indicates an expected call of GetPool.
func (*ClientMockRecorder) ListPools ¶
func (mr *ClientMockRecorder) ListPools(ctx, opts any) *gomock.Call
ListPools indicates an expected call of ListPools.
func (*ClientMockRecorder) PausePool ¶
func (mr *ClientMockRecorder) PausePool(ctx, name any) *gomock.Call
PausePool indicates an expected call of PausePool.
func (*ClientMockRecorder) Reload ¶
func (mr *ClientMockRecorder) Reload(ctx any) *gomock.Call
Reload indicates an expected call of Reload.
func (*ClientMockRecorder) ResumePool ¶
func (mr *ClientMockRecorder) ResumePool(ctx, name any) *gomock.Call
ResumePool indicates an expected call of ResumePool.