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 MockConfigSaver Uses

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

func NewMockConfigSaver Uses

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

func (*MockConfigSaver) FailHandler Uses

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

func (*MockConfigSaver) LoadConfig Uses

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

func (*MockConfigSaver) SaveConfig Uses

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

func (*MockConfigSaver) SetFailHandler Uses

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

func (*MockConfigSaver) VerifyWasCalled Uses

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

func (*MockConfigSaver) VerifyWasCalledEventually Uses

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

func (*MockConfigSaver) VerifyWasCalledInOrder Uses

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

func (*MockConfigSaver) VerifyWasCalledOnce Uses

func (mock *MockConfigSaver) VerifyWasCalledOnce() *VerifierMockConfigSaver

type MockConfigSaver_LoadConfig_OngoingVerification Uses

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

func (*MockConfigSaver_LoadConfig_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockConfigSaver_LoadConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockConfigSaver_LoadConfig_OngoingVerification) GetCapturedArguments Uses

func (c *MockConfigSaver_LoadConfig_OngoingVerification) GetCapturedArguments()

type MockConfigSaver_SaveConfig_OngoingVerification Uses

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

func (*MockConfigSaver_SaveConfig_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockConfigSaver_SaveConfig_OngoingVerification) GetCapturedArguments Uses

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

type VerifierMockConfigSaver Uses

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

func (*VerifierMockConfigSaver) LoadConfig Uses

func (verifier *VerifierMockConfigSaver) LoadConfig() *MockConfigSaver_LoadConfig_OngoingVerification

func (*VerifierMockConfigSaver) SaveConfig Uses

func (verifier *VerifierMockConfigSaver) SaveConfig(_param0 *auth.AuthConfig) *MockConfigSaver_SaveConfig_OngoingVerification

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