jx: github.com/jenkins-x/jx/pkg/auth/mocks Index | Files

package auth_test

import "github.com/jenkins-x/jx/pkg/auth/mocks"

Index

Package Files

auth_interface.go

type MockConfigHandler Uses

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

func NewMockConfigHandler Uses

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

func (*MockConfigHandler) FailHandler Uses

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

func (*MockConfigHandler) LoadConfig Uses

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

func (*MockConfigHandler) SaveConfig Uses

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

func (*MockConfigHandler) SetFailHandler Uses

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

func (*MockConfigHandler) VerifyWasCalled Uses

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

func (*MockConfigHandler) VerifyWasCalledEventually Uses

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

func (*MockConfigHandler) VerifyWasCalledInOrder Uses

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

func (*MockConfigHandler) VerifyWasCalledOnce Uses

func (mock *MockConfigHandler) VerifyWasCalledOnce() *VerifierMockConfigHandler

type MockConfigHandler_LoadConfig_OngoingVerification Uses

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

func (*MockConfigHandler_LoadConfig_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockConfigHandler_LoadConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockConfigHandler_LoadConfig_OngoingVerification) GetCapturedArguments Uses

func (c *MockConfigHandler_LoadConfig_OngoingVerification) GetCapturedArguments()

type MockConfigHandler_SaveConfig_OngoingVerification Uses

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

func (*MockConfigHandler_SaveConfig_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockConfigHandler_SaveConfig_OngoingVerification) GetCapturedArguments Uses

func (c *MockConfigHandler_SaveConfig_OngoingVerification) GetCapturedArguments() *auth.AuthConfig

type VerifierMockConfigHandler Uses

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

func (*VerifierMockConfigHandler) LoadConfig Uses

func (verifier *VerifierMockConfigHandler) LoadConfig() *MockConfigHandler_LoadConfig_OngoingVerification

func (*VerifierMockConfigHandler) SaveConfig Uses

func (verifier *VerifierMockConfigHandler) SaveConfig(_param0 *auth.AuthConfig) *MockConfigHandler_SaveConfig_OngoingVerification

Package auth_test imports 4 packages (graph) and is imported by 1 packages. Updated 2019-11-10. Refresh now. Tools for package owners.