Documentation ¶
Index ¶
- type Client
- type Client_Expecter
- type Client_IsActive_Call
- func (_c *Client_IsActive_Call) Return(_a0 bool, _a1 error) *Client_IsActive_Call
- func (_c *Client_IsActive_Call) Run(run func(_a0 context.Context, _a1 v1beta3.DeploymentID)) *Client_IsActive_Call
- func (_c *Client_IsActive_Call) RunAndReturn(run func(context.Context, v1beta3.DeploymentID) (bool, error)) *Client_IsActive_Call
- type Client_Submit_Call
- func (_c *Client_Submit_Call) Return(_a0 error) *Client_Submit_Call
- func (_c *Client_Submit_Call) Run(run func(_a0 context.Context, _a1 v1beta3.DeploymentID, _a2 v2beta2.Manifest)) *Client_Submit_Call
- func (_c *Client_Submit_Call) RunAndReturn(run func(context.Context, v1beta3.DeploymentID, v2beta2.Manifest) error) *Client_Submit_Call
- type StatusClient
- type StatusClient_Expecter
- type StatusClient_StatusV1_Call
- func (_c *StatusClient_StatusV1_Call) Return(_a0 *v1.ManifestStatus, _a1 error) *StatusClient_StatusV1_Call
- func (_c *StatusClient_StatusV1_Call) Run(run func(_a0 context.Context)) *StatusClient_StatusV1_Call
- func (_c *StatusClient_StatusV1_Call) RunAndReturn(run func(context.Context) (*v1.ManifestStatus, error)) *StatusClient_StatusV1_Call
- type StatusClient_Status_Call
- func (_c *StatusClient_Status_Call) Return(_a0 *manifest.Status, _a1 error) *StatusClient_Status_Call
- func (_c *StatusClient_Status_Call) Run(run func(_a0 context.Context)) *StatusClient_Status_Call
- func (_c *StatusClient_Status_Call) RunAndReturn(run func(context.Context) (*manifest.Status, error)) *StatusClient_Status_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) IsActive ¶
func (_e *Client_Expecter) IsActive(_a0 interface{}, _a1 interface{}) *Client_IsActive_Call
IsActive is a helper method to define mock.On call
- _a0 context.Context
- _a1 v1beta3.DeploymentID
func (*Client_Expecter) Submit ¶
func (_e *Client_Expecter) Submit(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Client_Submit_Call
Submit is a helper method to define mock.On call
- _a0 context.Context
- _a1 v1beta3.DeploymentID
- _a2 v2beta2.Manifest
type Client_IsActive_Call ¶
Client_IsActive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsActive'
func (*Client_IsActive_Call) Return ¶
func (_c *Client_IsActive_Call) Return(_a0 bool, _a1 error) *Client_IsActive_Call
func (*Client_IsActive_Call) Run ¶
func (_c *Client_IsActive_Call) Run(run func(_a0 context.Context, _a1 v1beta3.DeploymentID)) *Client_IsActive_Call
func (*Client_IsActive_Call) RunAndReturn ¶
func (_c *Client_IsActive_Call) RunAndReturn(run func(context.Context, v1beta3.DeploymentID) (bool, error)) *Client_IsActive_Call
type Client_Submit_Call ¶
Client_Submit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Submit'
func (*Client_Submit_Call) Return ¶
func (_c *Client_Submit_Call) Return(_a0 error) *Client_Submit_Call
func (*Client_Submit_Call) Run ¶
func (_c *Client_Submit_Call) Run(run func(_a0 context.Context, _a1 v1beta3.DeploymentID, _a2 v2beta2.Manifest)) *Client_Submit_Call
func (*Client_Submit_Call) RunAndReturn ¶
func (_c *Client_Submit_Call) RunAndReturn(run func(context.Context, v1beta3.DeploymentID, v2beta2.Manifest) error) *Client_Submit_Call
type StatusClient ¶
StatusClient is an autogenerated mock type for the StatusClient type
func NewStatusClient ¶
func NewStatusClient(t interface { mock.TestingT Cleanup(func()) }) *StatusClient
NewStatusClient creates a new instance of StatusClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StatusClient) EXPECT ¶
func (_m *StatusClient) EXPECT() *StatusClient_Expecter
func (*StatusClient) StatusV1 ¶
func (_m *StatusClient) StatusV1(_a0 context.Context) (*v1.ManifestStatus, error)
StatusV1 provides a mock function with given fields: _a0
type StatusClient_Expecter ¶
type StatusClient_Expecter struct {
// contains filtered or unexported fields
}
func (*StatusClient_Expecter) Status ¶
func (_e *StatusClient_Expecter) Status(_a0 interface{}) *StatusClient_Status_Call
Status is a helper method to define mock.On call
- _a0 context.Context
func (*StatusClient_Expecter) StatusV1 ¶
func (_e *StatusClient_Expecter) StatusV1(_a0 interface{}) *StatusClient_StatusV1_Call
StatusV1 is a helper method to define mock.On call
- _a0 context.Context
type StatusClient_StatusV1_Call ¶
StatusClient_StatusV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StatusV1'
func (*StatusClient_StatusV1_Call) Return ¶
func (_c *StatusClient_StatusV1_Call) Return(_a0 *v1.ManifestStatus, _a1 error) *StatusClient_StatusV1_Call
func (*StatusClient_StatusV1_Call) Run ¶
func (_c *StatusClient_StatusV1_Call) Run(run func(_a0 context.Context)) *StatusClient_StatusV1_Call
func (*StatusClient_StatusV1_Call) RunAndReturn ¶
func (_c *StatusClient_StatusV1_Call) RunAndReturn(run func(context.Context) (*v1.ManifestStatus, error)) *StatusClient_StatusV1_Call
type StatusClient_Status_Call ¶
StatusClient_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*StatusClient_Status_Call) Return ¶
func (_c *StatusClient_Status_Call) Return(_a0 *manifest.Status, _a1 error) *StatusClient_Status_Call
func (*StatusClient_Status_Call) Run ¶
func (_c *StatusClient_Status_Call) Run(run func(_a0 context.Context)) *StatusClient_Status_Call
func (*StatusClient_Status_Call) RunAndReturn ¶
func (_c *StatusClient_Status_Call) RunAndReturn(run func(context.Context) (*manifest.Status, error)) *StatusClient_Status_Call