mocks

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.7.3

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient added in v0.16.2

func NewClient(t testing.TB) *Client

NewClient creates a new instance of Client. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*Client) IsActive added in v0.12.2

func (_m *Client) IsActive(_a0 context.Context, _a1 v1beta2.DeploymentID) (bool, error)

IsActive provides a mock function with given fields: _a0, _a1

func (*Client) Submit added in v0.7.3

func (_m *Client) Submit(_a0 context.Context, _a1 v1beta2.DeploymentID, _a2 v2beta1.Manifest) error

Submit provides a mock function with given fields: _a0, _a1, _a2

type StatusClient added in v0.7.3

type StatusClient struct {
	mock.Mock
}

StatusClient is an autogenerated mock type for the StatusClient type

func NewStatusClient added in v0.16.2

func NewStatusClient(t testing.TB) *StatusClient

NewStatusClient creates a new instance of StatusClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*StatusClient) Status added in v0.7.3

func (_m *StatusClient) Status(_a0 context.Context) (*manifest.Status, error)

Status provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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