mock

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKubeScheduler

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

MockKubeScheduler is a mock of KubeScheduler interface.

func NewMockKubeScheduler

func NewMockKubeScheduler(ctrl *gomock.Controller) *MockKubeScheduler

NewMockKubeScheduler creates a new mock instance.

func (*MockKubeScheduler) AlertingRules

func (m *MockKubeScheduler) AlertingRules() (map[string]string, error)

AlertingRules mocks base method.

func (*MockKubeScheduler) Deploy

func (m *MockKubeScheduler) Deploy(arg0 context.Context) error

Deploy mocks base method.

func (*MockKubeScheduler) Destroy

func (m *MockKubeScheduler) Destroy(arg0 context.Context) error

Destroy mocks base method.

func (*MockKubeScheduler) EXPECT

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

func (*MockKubeScheduler) ScrapeConfigs

func (m *MockKubeScheduler) ScrapeConfigs() ([]string, error)

ScrapeConfigs mocks base method.

func (*MockKubeScheduler) SetSecrets

func (m *MockKubeScheduler) SetSecrets(arg0 kubescheduler.Secrets)

SetSecrets mocks base method.

func (*MockKubeScheduler) Wait

func (m *MockKubeScheduler) Wait(arg0 context.Context) error

Wait mocks base method.

func (*MockKubeScheduler) WaitCleanup

func (m *MockKubeScheduler) WaitCleanup(arg0 context.Context) error

WaitCleanup mocks base method.

type MockKubeSchedulerMockRecorder

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

MockKubeSchedulerMockRecorder is the mock recorder for MockKubeScheduler.

func (*MockKubeSchedulerMockRecorder) AlertingRules

func (mr *MockKubeSchedulerMockRecorder) AlertingRules() *gomock.Call

AlertingRules indicates an expected call of AlertingRules.

func (*MockKubeSchedulerMockRecorder) Deploy

func (mr *MockKubeSchedulerMockRecorder) Deploy(arg0 interface{}) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockKubeSchedulerMockRecorder) Destroy

func (mr *MockKubeSchedulerMockRecorder) Destroy(arg0 interface{}) *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockKubeSchedulerMockRecorder) ScrapeConfigs

func (mr *MockKubeSchedulerMockRecorder) ScrapeConfigs() *gomock.Call

ScrapeConfigs indicates an expected call of ScrapeConfigs.

func (*MockKubeSchedulerMockRecorder) SetSecrets

func (mr *MockKubeSchedulerMockRecorder) SetSecrets(arg0 interface{}) *gomock.Call

SetSecrets indicates an expected call of SetSecrets.

func (*MockKubeSchedulerMockRecorder) Wait

func (mr *MockKubeSchedulerMockRecorder) Wait(arg0 interface{}) *gomock.Call

Wait indicates an expected call of Wait.

func (*MockKubeSchedulerMockRecorder) WaitCleanup

func (mr *MockKubeSchedulerMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call

WaitCleanup indicates an expected call of WaitCleanup.

Jump to

Keyboard shortcuts

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