mock_taskresource

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_taskresource is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTaskResource

type MockTaskResource struct {
	// contains filtered or unexported fields
}

MockTaskResource is a mock of TaskResource interface

func NewMockTaskResource

func NewMockTaskResource(ctrl *gomock.Controller) *MockTaskResource

NewMockTaskResource creates a new mock instance

func (*MockTaskResource) ApplyTransition

func (m *MockTaskResource) ApplyTransition(arg0 status0.ResourceStatus) error

ApplyTransition mocks base method

func (*MockTaskResource) Cleanup

func (m *MockTaskResource) Cleanup() error

Cleanup mocks base method

func (*MockTaskResource) Create

func (m *MockTaskResource) Create() error

Create mocks base method

func (*MockTaskResource) DesiredTerminal

func (m *MockTaskResource) DesiredTerminal() bool

DesiredTerminal mocks base method

func (*MockTaskResource) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTaskResource) GetCreatedAt

func (m *MockTaskResource) GetCreatedAt() time.Time

GetCreatedAt mocks base method

func (*MockTaskResource) GetDesiredStatus

func (m *MockTaskResource) GetDesiredStatus() status0.ResourceStatus

GetDesiredStatus mocks base method

func (*MockTaskResource) GetKnownStatus

func (m *MockTaskResource) GetKnownStatus() status0.ResourceStatus

GetKnownStatus mocks base method

func (*MockTaskResource) GetName

func (m *MockTaskResource) GetName() string

GetName mocks base method

func (*MockTaskResource) GetTerminalReason

func (m *MockTaskResource) GetTerminalReason() string

GetTerminalReason mocks base method

func (*MockTaskResource) Initialize

func (m *MockTaskResource) Initialize(arg0 *taskresource.ResourceFields, arg1, arg2 status.TaskStatus)

Initialize mocks base method

func (*MockTaskResource) KnownCreated

func (m *MockTaskResource) KnownCreated() bool

KnownCreated mocks base method

func (*MockTaskResource) MarshalJSON

func (m *MockTaskResource) MarshalJSON() ([]byte, error)

MarshalJSON mocks base method

func (*MockTaskResource) NextKnownState

func (m *MockTaskResource) NextKnownState() status0.ResourceStatus

NextKnownState mocks base method

func (*MockTaskResource) SetAppliedStatus

func (m *MockTaskResource) SetAppliedStatus(arg0 status0.ResourceStatus) bool

SetAppliedStatus mocks base method

func (*MockTaskResource) SetCreatedAt

func (m *MockTaskResource) SetCreatedAt(arg0 time.Time)

SetCreatedAt mocks base method

func (*MockTaskResource) SetDesiredStatus

func (m *MockTaskResource) SetDesiredStatus(arg0 status0.ResourceStatus)

SetDesiredStatus mocks base method

func (*MockTaskResource) SetKnownStatus

func (m *MockTaskResource) SetKnownStatus(arg0 status0.ResourceStatus)

SetKnownStatus mocks base method

func (*MockTaskResource) StatusString

func (m *MockTaskResource) StatusString(arg0 status0.ResourceStatus) string

StatusString mocks base method

func (*MockTaskResource) SteadyState

func (m *MockTaskResource) SteadyState() status0.ResourceStatus

SteadyState mocks base method

func (*MockTaskResource) TerminalStatus

func (m *MockTaskResource) TerminalStatus() status0.ResourceStatus

TerminalStatus mocks base method

func (*MockTaskResource) UnmarshalJSON

func (m *MockTaskResource) UnmarshalJSON(arg0 []byte) error

UnmarshalJSON mocks base method

type MockTaskResourceMockRecorder

type MockTaskResourceMockRecorder struct {
	// contains filtered or unexported fields
}

MockTaskResourceMockRecorder is the mock recorder for MockTaskResource

func (*MockTaskResourceMockRecorder) ApplyTransition

func (mr *MockTaskResourceMockRecorder) ApplyTransition(arg0 interface{}) *gomock.Call

ApplyTransition indicates an expected call of ApplyTransition

func (*MockTaskResourceMockRecorder) Cleanup

func (mr *MockTaskResourceMockRecorder) Cleanup() *gomock.Call

Cleanup indicates an expected call of Cleanup

func (*MockTaskResourceMockRecorder) Create

Create indicates an expected call of Create

func (*MockTaskResourceMockRecorder) DesiredTerminal

func (mr *MockTaskResourceMockRecorder) DesiredTerminal() *gomock.Call

DesiredTerminal indicates an expected call of DesiredTerminal

func (*MockTaskResourceMockRecorder) GetCreatedAt

func (mr *MockTaskResourceMockRecorder) GetCreatedAt() *gomock.Call

GetCreatedAt indicates an expected call of GetCreatedAt

func (*MockTaskResourceMockRecorder) GetDesiredStatus

func (mr *MockTaskResourceMockRecorder) GetDesiredStatus() *gomock.Call

GetDesiredStatus indicates an expected call of GetDesiredStatus

func (*MockTaskResourceMockRecorder) GetKnownStatus

func (mr *MockTaskResourceMockRecorder) GetKnownStatus() *gomock.Call

GetKnownStatus indicates an expected call of GetKnownStatus

func (*MockTaskResourceMockRecorder) GetName

func (mr *MockTaskResourceMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

func (*MockTaskResourceMockRecorder) GetTerminalReason

func (mr *MockTaskResourceMockRecorder) GetTerminalReason() *gomock.Call

GetTerminalReason indicates an expected call of GetTerminalReason

func (*MockTaskResourceMockRecorder) Initialize

func (mr *MockTaskResourceMockRecorder) Initialize(arg0, arg1, arg2 interface{}) *gomock.Call

Initialize indicates an expected call of Initialize

func (*MockTaskResourceMockRecorder) KnownCreated

func (mr *MockTaskResourceMockRecorder) KnownCreated() *gomock.Call

KnownCreated indicates an expected call of KnownCreated

func (*MockTaskResourceMockRecorder) MarshalJSON

func (mr *MockTaskResourceMockRecorder) MarshalJSON() *gomock.Call

MarshalJSON indicates an expected call of MarshalJSON

func (*MockTaskResourceMockRecorder) NextKnownState

func (mr *MockTaskResourceMockRecorder) NextKnownState() *gomock.Call

NextKnownState indicates an expected call of NextKnownState

func (*MockTaskResourceMockRecorder) SetAppliedStatus

func (mr *MockTaskResourceMockRecorder) SetAppliedStatus(arg0 interface{}) *gomock.Call

SetAppliedStatus indicates an expected call of SetAppliedStatus

func (*MockTaskResourceMockRecorder) SetCreatedAt

func (mr *MockTaskResourceMockRecorder) SetCreatedAt(arg0 interface{}) *gomock.Call

SetCreatedAt indicates an expected call of SetCreatedAt

func (*MockTaskResourceMockRecorder) SetDesiredStatus

func (mr *MockTaskResourceMockRecorder) SetDesiredStatus(arg0 interface{}) *gomock.Call

SetDesiredStatus indicates an expected call of SetDesiredStatus

func (*MockTaskResourceMockRecorder) SetKnownStatus

func (mr *MockTaskResourceMockRecorder) SetKnownStatus(arg0 interface{}) *gomock.Call

SetKnownStatus indicates an expected call of SetKnownStatus

func (*MockTaskResourceMockRecorder) StatusString

func (mr *MockTaskResourceMockRecorder) StatusString(arg0 interface{}) *gomock.Call

StatusString indicates an expected call of StatusString

func (*MockTaskResourceMockRecorder) SteadyState

func (mr *MockTaskResourceMockRecorder) SteadyState() *gomock.Call

SteadyState indicates an expected call of SteadyState

func (*MockTaskResourceMockRecorder) TerminalStatus

func (mr *MockTaskResourceMockRecorder) TerminalStatus() *gomock.Call

TerminalStatus indicates an expected call of TerminalStatus

func (*MockTaskResourceMockRecorder) UnmarshalJSON

func (mr *MockTaskResourceMockRecorder) UnmarshalJSON(arg0 interface{}) *gomock.Call

UnmarshalJSON indicates an expected call of UnmarshalJSON

Jump to

Keyboard shortcuts

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