Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockApplier
- func (m *MockApplier) Apply(arg0 ...resources.Resource)
- func (m *MockApplier) ApplySet(arg0, arg1 []resources.Resource)
- func (m *MockApplier) Delete(arg0 ...resources.Resource)
- func (m *MockApplier) EXPECT() *MockApplierMockRecorder
- func (m *MockApplier) Run(arg0 context.Context, arg1 kubernetes.Interface, arg2 bool) error
- type MockApplierMockRecorder
- func (mr *MockApplierMockRecorder) Apply(arg0 ...interface{}) *gomock.Call
- func (mr *MockApplierMockRecorder) ApplySet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplierMockRecorder) Delete(arg0 ...interface{}) *gomock.Call
- func (mr *MockApplierMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockResource
- func (m *MockResource) Apply(arg0 context.Context, arg1 kubernetes.Interface) error
- func (m *MockResource) Clone() resources.Resource
- func (m *MockResource) ComputeStatus(arg0 context.Context, arg1 kubernetes.Interface, arg2 time.Time) (string, status.Status, time.Time, error)
- func (m *MockResource) Delete(arg0 context.Context, arg1 kubernetes.Interface) error
- func (m *MockResource) EXPECT() *MockResourceMockRecorder
- func (m *MockResource) Events(arg0 context.Context, arg1 kubernetes.Interface) ([]v1.Event, error)
- func (m *MockResource) Get(arg0 context.Context, arg1 kubernetes.Interface) error
- func (m *MockResource) GetObjectMeta() v10.Object
- func (m *MockResource) ID() resources.ID
- func (m *MockResource) String() string
- type MockResourceMockRecorder
- func (mr *MockResourceMockRecorder) Apply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) Clone() *gomock.Call
- func (mr *MockResourceMockRecorder) ComputeStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) GetObjectMeta() *gomock.Call
- func (mr *MockResourceMockRecorder) ID() *gomock.Call
- func (mr *MockResourceMockRecorder) String() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplier ¶
type MockApplier struct {
// contains filtered or unexported fields
}
MockApplier is a mock of Applier interface.
func NewMockApplier ¶
func NewMockApplier(ctrl *gomock.Controller) *MockApplier
NewMockApplier creates a new mock instance.
func (*MockApplier) Apply ¶
func (m *MockApplier) Apply(arg0 ...resources.Resource)
Apply mocks base method.
func (*MockApplier) ApplySet ¶
func (m *MockApplier) ApplySet(arg0, arg1 []resources.Resource)
ApplySet mocks base method.
func (*MockApplier) Delete ¶
func (m *MockApplier) Delete(arg0 ...resources.Resource)
Delete mocks base method.
func (*MockApplier) EXPECT ¶
func (m *MockApplier) EXPECT() *MockApplierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplier) Run ¶
func (m *MockApplier) Run(arg0 context.Context, arg1 kubernetes.Interface, arg2 bool) error
Run mocks base method.
type MockApplierMockRecorder ¶
type MockApplierMockRecorder struct {
// contains filtered or unexported fields
}
MockApplierMockRecorder is the mock recorder for MockApplier.
func (*MockApplierMockRecorder) Apply ¶
func (mr *MockApplierMockRecorder) Apply(arg0 ...interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockApplierMockRecorder) ApplySet ¶
func (mr *MockApplierMockRecorder) ApplySet(arg0, arg1 interface{}) *gomock.Call
ApplySet indicates an expected call of ApplySet.
func (*MockApplierMockRecorder) Delete ¶
func (mr *MockApplierMockRecorder) Delete(arg0 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockApplierMockRecorder) Run ¶
func (mr *MockApplierMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call
Run indicates an expected call of Run.
type MockResource ¶
type MockResource struct {
// contains filtered or unexported fields
}
MockResource is a mock of Resource interface.
func NewMockResource ¶
func NewMockResource(ctrl *gomock.Controller) *MockResource
NewMockResource creates a new mock instance.
func (*MockResource) Apply ¶
func (m *MockResource) Apply(arg0 context.Context, arg1 kubernetes.Interface) error
Apply mocks base method.
func (*MockResource) Clone ¶
func (m *MockResource) Clone() resources.Resource
Clone mocks base method.
func (*MockResource) ComputeStatus ¶
func (m *MockResource) ComputeStatus(arg0 context.Context, arg1 kubernetes.Interface, arg2 time.Time) (string, status.Status, time.Time, error)
ComputeStatus mocks base method.
func (*MockResource) Delete ¶
func (m *MockResource) Delete(arg0 context.Context, arg1 kubernetes.Interface) error
Delete mocks base method.
func (*MockResource) EXPECT ¶
func (m *MockResource) EXPECT() *MockResourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResource) Events ¶
func (m *MockResource) Events(arg0 context.Context, arg1 kubernetes.Interface) ([]v1.Event, error)
Events mocks base method.
func (*MockResource) Get ¶
func (m *MockResource) Get(arg0 context.Context, arg1 kubernetes.Interface) error
Get mocks base method.
func (*MockResource) GetObjectMeta ¶
func (m *MockResource) GetObjectMeta() v10.Object
GetObjectMeta mocks base method.
type MockResourceMockRecorder ¶
type MockResourceMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceMockRecorder is the mock recorder for MockResource.
func (*MockResourceMockRecorder) Apply ¶
func (mr *MockResourceMockRecorder) Apply(arg0, arg1 interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockResourceMockRecorder) Clone ¶
func (mr *MockResourceMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone.
func (*MockResourceMockRecorder) ComputeStatus ¶
func (mr *MockResourceMockRecorder) ComputeStatus(arg0, arg1, arg2 interface{}) *gomock.Call
ComputeStatus indicates an expected call of ComputeStatus.
func (*MockResourceMockRecorder) Delete ¶
func (mr *MockResourceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockResourceMockRecorder) Events ¶
func (mr *MockResourceMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call
Events indicates an expected call of Events.
func (*MockResourceMockRecorder) Get ¶
func (mr *MockResourceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockResourceMockRecorder) GetObjectMeta ¶
func (mr *MockResourceMockRecorder) GetObjectMeta() *gomock.Call
GetObjectMeta indicates an expected call of GetObjectMeta.
func (*MockResourceMockRecorder) ID ¶
func (mr *MockResourceMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockResourceMockRecorder) String ¶
func (mr *MockResourceMockRecorder) String() *gomock.Call
String indicates an expected call of String.