mocks

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

ListPools mocks base method.

func (*Client) PausePool

func (m *Client) PausePool(ctx context.Context, name string) (*fireactions.Response, error)

PausePool mocks base method.

func (*Client) Reload

func (m *Client) Reload(ctx context.Context) (*fireactions.Response, error)

Reload mocks base method.

func (*Client) ResumePool

func (m *Client) ResumePool(ctx context.Context, name string) (*fireactions.Response, error)

ResumePool mocks base method.

func (*Client) ScalePool

func (m *Client) ScalePool(ctx context.Context, name string) (*fireactions.Response, error)

ScalePool 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL