auth_test

package
v1.3.1114 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfigSaver

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

func NewMockConfigSaver

func NewMockConfigSaver(options ...pegomock.Option) *MockConfigSaver

func (*MockConfigSaver) FailHandler added in v1.3.1104

func (mock *MockConfigSaver) FailHandler() pegomock.FailHandler

func (*MockConfigSaver) LoadConfig

func (mock *MockConfigSaver) LoadConfig() (*auth.AuthConfig, error)

func (*MockConfigSaver) SaveConfig

func (mock *MockConfigSaver) SaveConfig(_param0 *auth.AuthConfig) error

func (*MockConfigSaver) SetFailHandler added in v1.3.1104

func (mock *MockConfigSaver) SetFailHandler(fh pegomock.FailHandler)

func (*MockConfigSaver) VerifyWasCalled

func (mock *MockConfigSaver) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockConfigSaver

func (*MockConfigSaver) VerifyWasCalledEventually added in v1.3.818

func (mock *MockConfigSaver) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockConfigSaver

func (*MockConfigSaver) VerifyWasCalledInOrder

func (mock *MockConfigSaver) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockConfigSaver

func (*MockConfigSaver) VerifyWasCalledOnce

func (mock *MockConfigSaver) VerifyWasCalledOnce() *VerifierMockConfigSaver

type MockConfigSaver_LoadConfig_OngoingVerification added in v1.3.1104

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

func (*MockConfigSaver_LoadConfig_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockConfigSaver_LoadConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockConfigSaver_LoadConfig_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockConfigSaver_LoadConfig_OngoingVerification) GetCapturedArguments()

type MockConfigSaver_SaveConfig_OngoingVerification added in v1.3.1104

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

func (*MockConfigSaver_SaveConfig_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockConfigSaver_SaveConfig_OngoingVerification) GetAllCapturedArguments() (_param0 []*auth.AuthConfig)

func (*MockConfigSaver_SaveConfig_OngoingVerification) GetCapturedArguments added in v1.3.1104

type VerifierMockConfigSaver added in v1.3.1104

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

func (*VerifierMockConfigSaver) LoadConfig added in v1.3.1104

func (*VerifierMockConfigSaver) SaveConfig added in v1.3.1104

Jump to

Keyboard shortcuts

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