mocks

package
v0.1.32 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewFakeKubeClient

func NewFakeKubeClient() *Client

func (*Client) GetCache

func (_m *Client) GetCache() cache.Cache

GetCache provides a mock function with given fields:

func (*Client) GetClient

func (_m *Client) GetClient() client.Client

GetClient provides a mock function with given fields:

func (*Client) OnGetCache added in v0.1.13

func (_m *Client) OnGetCache() *Client_GetCache

func (*Client) OnGetCacheMatch added in v0.1.13

func (_m *Client) OnGetCacheMatch(matchers ...interface{}) *Client_GetCache

func (*Client) OnGetClient added in v0.1.13

func (_m *Client) OnGetClient() *Client_GetClient

func (*Client) OnGetClientMatch added in v0.1.13

func (_m *Client) OnGetClientMatch(matchers ...interface{}) *Client_GetClient

type Client_GetCache added in v0.1.13

type Client_GetCache struct {
	*mock.Call
}

func (Client_GetCache) Return added in v0.1.13

func (_m Client_GetCache) Return(_a0 cache.Cache) *Client_GetCache

type Client_GetClient added in v0.1.13

type Client_GetClient struct {
	*mock.Call
}

func (Client_GetClient) Return added in v0.1.13

type Node added in v0.1.13

type Node struct {
	mock.Mock
}

Node is an autogenerated mock type for the Node type

func (*Node) AbortHandler added in v0.1.13

func (_m *Node) AbortHandler(ctx context.Context, w v1alpha1.ExecutableWorkflow, currentNode v1alpha1.ExecutableNode, reason string) error

AbortHandler provides a mock function with given fields: ctx, w, currentNode, reason

func (*Node) FinalizeHandler added in v0.1.15

func (_m *Node) FinalizeHandler(ctx context.Context, w v1alpha1.ExecutableWorkflow, currentNode v1alpha1.ExecutableNode) error

FinalizeHandler provides a mock function with given fields: ctx, w, currentNode

func (*Node) Initialize added in v0.1.13

func (_m *Node) Initialize(ctx context.Context) error

Initialize provides a mock function with given fields: ctx

func (*Node) OnAbortHandler added in v0.1.13

func (_m *Node) OnAbortHandler(ctx context.Context, w v1alpha1.ExecutableWorkflow, currentNode v1alpha1.ExecutableNode, reason string) *Node_AbortHandler

func (*Node) OnAbortHandlerMatch added in v0.1.13

func (_m *Node) OnAbortHandlerMatch(matchers ...interface{}) *Node_AbortHandler

func (*Node) OnFinalizeHandler added in v0.1.15

func (_m *Node) OnFinalizeHandler(ctx context.Context, w v1alpha1.ExecutableWorkflow, currentNode v1alpha1.ExecutableNode) *Node_FinalizeHandler

func (*Node) OnFinalizeHandlerMatch added in v0.1.15

func (_m *Node) OnFinalizeHandlerMatch(matchers ...interface{}) *Node_FinalizeHandler

func (*Node) OnInitialize added in v0.1.13

func (_m *Node) OnInitialize(ctx context.Context) *Node_Initialize

func (*Node) OnInitializeMatch added in v0.1.13

func (_m *Node) OnInitializeMatch(matchers ...interface{}) *Node_Initialize

func (*Node) OnRecursiveNodeHandler added in v0.1.13

func (_m *Node) OnRecursiveNodeHandler(ctx context.Context, w v1alpha1.ExecutableWorkflow, currentNode v1alpha1.ExecutableNode) *Node_RecursiveNodeHandler

func (*Node) OnRecursiveNodeHandlerMatch added in v0.1.13

func (_m *Node) OnRecursiveNodeHandlerMatch(matchers ...interface{}) *Node_RecursiveNodeHandler

func (*Node) OnSetInputsForStartNode added in v0.1.13

func (_m *Node) OnSetInputsForStartNode(ctx context.Context, w v1alpha1.ExecutableWorkflow, inputs *core.LiteralMap) *Node_SetInputsForStartNode

func (*Node) OnSetInputsForStartNodeMatch added in v0.1.13

func (_m *Node) OnSetInputsForStartNodeMatch(matchers ...interface{}) *Node_SetInputsForStartNode

func (*Node) RecursiveNodeHandler added in v0.1.13

func (_m *Node) RecursiveNodeHandler(ctx context.Context, w v1alpha1.ExecutableWorkflow, currentNode v1alpha1.ExecutableNode) (executors.NodeStatus, error)

RecursiveNodeHandler provides a mock function with given fields: ctx, w, currentNode

func (*Node) SetInputsForStartNode added in v0.1.13

func (_m *Node) SetInputsForStartNode(ctx context.Context, w v1alpha1.ExecutableWorkflow, inputs *core.LiteralMap) (executors.NodeStatus, error)

SetInputsForStartNode provides a mock function with given fields: ctx, w, inputs

type Node_AbortHandler added in v0.1.13

type Node_AbortHandler struct {
	*mock.Call
}

func (Node_AbortHandler) Return added in v0.1.13

func (_m Node_AbortHandler) Return(_a0 error) *Node_AbortHandler

type Node_FinalizeHandler added in v0.1.15

type Node_FinalizeHandler struct {
	*mock.Call
}

func (Node_FinalizeHandler) Return added in v0.1.15

type Node_Initialize added in v0.1.13

type Node_Initialize struct {
	*mock.Call
}

func (Node_Initialize) Return added in v0.1.13

func (_m Node_Initialize) Return(_a0 error) *Node_Initialize

type Node_RecursiveNodeHandler added in v0.1.13

type Node_RecursiveNodeHandler struct {
	*mock.Call
}

func (Node_RecursiveNodeHandler) Return added in v0.1.13

type Node_SetInputsForStartNode added in v0.1.13

type Node_SetInputsForStartNode struct {
	*mock.Call
}

func (Node_SetInputsForStartNode) Return added in v0.1.13

type Workflow added in v0.1.13

type Workflow struct {
	mock.Mock
}

Workflow is an autogenerated mock type for the Workflow type

func (*Workflow) HandleAbortedWorkflow added in v0.1.13

func (_m *Workflow) HandleAbortedWorkflow(ctx context.Context, w *v1alpha1.FlyteWorkflow, maxRetries uint32) error

HandleAbortedWorkflow provides a mock function with given fields: ctx, w, maxRetries

func (*Workflow) HandleFlyteWorkflow added in v0.1.13

func (_m *Workflow) HandleFlyteWorkflow(ctx context.Context, w *v1alpha1.FlyteWorkflow) error

HandleFlyteWorkflow provides a mock function with given fields: ctx, w

func (*Workflow) Initialize added in v0.1.13

func (_m *Workflow) Initialize(ctx context.Context) error

Initialize provides a mock function with given fields: ctx

func (*Workflow) OnHandleAbortedWorkflow added in v0.1.13

func (_m *Workflow) OnHandleAbortedWorkflow(ctx context.Context, w *v1alpha1.FlyteWorkflow, maxRetries uint32) *Workflow_HandleAbortedWorkflow

func (*Workflow) OnHandleAbortedWorkflowMatch added in v0.1.13

func (_m *Workflow) OnHandleAbortedWorkflowMatch(matchers ...interface{}) *Workflow_HandleAbortedWorkflow

func (*Workflow) OnHandleFlyteWorkflow added in v0.1.13

func (_m *Workflow) OnHandleFlyteWorkflow(ctx context.Context, w *v1alpha1.FlyteWorkflow) *Workflow_HandleFlyteWorkflow

func (*Workflow) OnHandleFlyteWorkflowMatch added in v0.1.13

func (_m *Workflow) OnHandleFlyteWorkflowMatch(matchers ...interface{}) *Workflow_HandleFlyteWorkflow

func (*Workflow) OnInitialize added in v0.1.13

func (_m *Workflow) OnInitialize(ctx context.Context) *Workflow_Initialize

func (*Workflow) OnInitializeMatch added in v0.1.13

func (_m *Workflow) OnInitializeMatch(matchers ...interface{}) *Workflow_Initialize

type Workflow_HandleAbortedWorkflow added in v0.1.13

type Workflow_HandleAbortedWorkflow struct {
	*mock.Call
}

func (Workflow_HandleAbortedWorkflow) Return added in v0.1.13

type Workflow_HandleFlyteWorkflow added in v0.1.13

type Workflow_HandleFlyteWorkflow struct {
	*mock.Call
}

func (Workflow_HandleFlyteWorkflow) Return added in v0.1.13

type Workflow_Initialize added in v0.1.13

type Workflow_Initialize struct {
	*mock.Call
}

func (Workflow_Initialize) Return added in v0.1.13

Jump to

Keyboard shortcuts

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