mock

package
v1.16.15 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPodNotFound   = errors.New("pod not found")
	ErrMTPNCNotFound = errors.New("mtpnc not found")
)

Functions

This section is empty.

Types

type Client

type Client struct {
	client.Client
	// contains filtered or unexported fields
}

Client implements the client.Client interface for testing. We only care about Get, the rest is nil ops.

func NewClient

func NewClient() *Client

NewClient returns a new MockClient.

func (*Client) Get

Get implements client.Client.Get.

func (*Client) SetMTPNCNotReady added in v1.5.19

func (c *Client) SetMTPNCNotReady()

func (*Client) SetMTPNCReady added in v1.5.19

func (c *Client) SetMTPNCReady()

Jump to

Keyboard shortcuts

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