auth_test

package
v2.1.58 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 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 MockConfigHandler

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

func NewMockConfigHandler

func NewMockConfigHandler(options ...pegomock.Option) *MockConfigHandler

func (*MockConfigHandler) FailHandler

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

func (*MockConfigHandler) LoadConfig

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

func (*MockConfigHandler) SaveConfig

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

func (*MockConfigHandler) SetFailHandler

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

func (*MockConfigHandler) VerifyWasCalled

func (mock *MockConfigHandler) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockConfigHandler

func (*MockConfigHandler) VerifyWasCalledEventually

func (mock *MockConfigHandler) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockConfigHandler

func (*MockConfigHandler) VerifyWasCalledInOrder

func (mock *MockConfigHandler) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockConfigHandler

func (*MockConfigHandler) VerifyWasCalledOnce

func (mock *MockConfigHandler) VerifyWasCalledOnce() *VerifierMockConfigHandler

type MockConfigHandler_LoadConfig_OngoingVerification

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

func (*MockConfigHandler_LoadConfig_OngoingVerification) GetAllCapturedArguments

func (c *MockConfigHandler_LoadConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockConfigHandler_LoadConfig_OngoingVerification) GetCapturedArguments

func (c *MockConfigHandler_LoadConfig_OngoingVerification) GetCapturedArguments()

type MockConfigHandler_SaveConfig_OngoingVerification

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

func (*MockConfigHandler_SaveConfig_OngoingVerification) GetAllCapturedArguments

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

func (*MockConfigHandler_SaveConfig_OngoingVerification) GetCapturedArguments

type VerifierMockConfigHandler

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

func (*VerifierMockConfigHandler) LoadConfig

func (*VerifierMockConfigHandler) SaveConfig

Jump to

Keyboard shortcuts

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