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: 5 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 MockEtcd

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

MockEtcd is a mock of Etcd interface.

func NewMockEtcd

func NewMockEtcd(ctrl *gomock.Controller) *MockEtcd

NewMockEtcd creates a new mock instance.

func (*MockEtcd) AlertingRules

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

AlertingRules mocks base method.

func (*MockEtcd) Deploy

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

Deploy mocks base method.

func (*MockEtcd) Destroy

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

Destroy mocks base method.

func (*MockEtcd) EXPECT

func (m *MockEtcd) EXPECT() *MockEtcdMockRecorder

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

func (*MockEtcd) ScrapeConfigs

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

ScrapeConfigs mocks base method.

func (*MockEtcd) ServiceDNSNames

func (m *MockEtcd) ServiceDNSNames() []string

ServiceDNSNames mocks base method.

func (*MockEtcd) SetBackupConfig

func (m *MockEtcd) SetBackupConfig(arg0 *etcd.BackupConfig)

SetBackupConfig mocks base method.

func (*MockEtcd) SetHVPAConfig

func (m *MockEtcd) SetHVPAConfig(arg0 *etcd.HVPAConfig)

SetHVPAConfig mocks base method.

func (*MockEtcd) SetSecrets

func (m *MockEtcd) SetSecrets(arg0 etcd.Secrets)

SetSecrets mocks base method.

func (*MockEtcd) Snapshot

func (m *MockEtcd) Snapshot(arg0 context.Context, arg1 kubernetes.PodExecutor) error

Snapshot mocks base method.

func (*MockEtcd) Wait

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

Wait mocks base method.

func (*MockEtcd) WaitCleanup

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

WaitCleanup mocks base method.

type MockEtcdMockRecorder

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

MockEtcdMockRecorder is the mock recorder for MockEtcd.

func (*MockEtcdMockRecorder) AlertingRules

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

AlertingRules indicates an expected call of AlertingRules.

func (*MockEtcdMockRecorder) Deploy

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

Deploy indicates an expected call of Deploy.

func (*MockEtcdMockRecorder) Destroy

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

Destroy indicates an expected call of Destroy.

func (*MockEtcdMockRecorder) ScrapeConfigs

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

ScrapeConfigs indicates an expected call of ScrapeConfigs.

func (*MockEtcdMockRecorder) ServiceDNSNames

func (mr *MockEtcdMockRecorder) ServiceDNSNames() *gomock.Call

ServiceDNSNames indicates an expected call of ServiceDNSNames.

func (*MockEtcdMockRecorder) SetBackupConfig

func (mr *MockEtcdMockRecorder) SetBackupConfig(arg0 interface{}) *gomock.Call

SetBackupConfig indicates an expected call of SetBackupConfig.

func (*MockEtcdMockRecorder) SetHVPAConfig

func (mr *MockEtcdMockRecorder) SetHVPAConfig(arg0 interface{}) *gomock.Call

SetHVPAConfig indicates an expected call of SetHVPAConfig.

func (*MockEtcdMockRecorder) SetSecrets

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

SetSecrets indicates an expected call of SetSecrets.

func (*MockEtcdMockRecorder) Snapshot

func (mr *MockEtcdMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call

Snapshot indicates an expected call of Snapshot.

func (*MockEtcdMockRecorder) Wait

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

Wait indicates an expected call of Wait.

func (*MockEtcdMockRecorder) WaitCleanup

func (mr *MockEtcdMockRecorder) 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