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

package jxfactory_test

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

Index

Package Files

factory.go

type MockFactory Uses

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

func NewMockFactory Uses

func NewMockFactory(options ...pegomock.Option) *MockFactory

func (*MockFactory) CreateJXClient Uses

func (mock *MockFactory) CreateJXClient() (versioned.Interface, string, error)

func (*MockFactory) CreateKubeClient Uses

func (mock *MockFactory) CreateKubeClient() (kubernetes.Interface, string, error)

func (*MockFactory) CreateKubeConfig Uses

func (mock *MockFactory) CreateKubeConfig() (*rest.Config, error)

func (*MockFactory) CreateTektonClient Uses

func (mock *MockFactory) CreateTektonClient() (versioned0.Interface, string, error)

func (*MockFactory) FailHandler Uses

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

func (*MockFactory) ImpersonateUser Uses

func (mock *MockFactory) ImpersonateUser(_param0 string) jxfactory.Factory

func (*MockFactory) KubeConfig Uses

func (mock *MockFactory) KubeConfig() kube.Kuber

func (*MockFactory) SetFailHandler Uses

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

func (*MockFactory) VerifyWasCalled Uses

func (mock *MockFactory) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockFactory

func (*MockFactory) VerifyWasCalledEventually Uses

func (mock *MockFactory) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockFactory

func (*MockFactory) VerifyWasCalledInOrder Uses

func (mock *MockFactory) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockFactory

func (*MockFactory) VerifyWasCalledOnce Uses

func (mock *MockFactory) VerifyWasCalledOnce() *VerifierMockFactory

func (*MockFactory) WithBearerToken Uses

func (mock *MockFactory) WithBearerToken(_param0 string) jxfactory.Factory

type MockFactory_CreateJXClient_OngoingVerification Uses

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

func (*MockFactory_CreateJXClient_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockFactory_CreateJXClient_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_CreateJXClient_OngoingVerification) GetCapturedArguments Uses

func (c *MockFactory_CreateJXClient_OngoingVerification) GetCapturedArguments()

type MockFactory_CreateKubeClient_OngoingVerification Uses

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

func (*MockFactory_CreateKubeClient_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockFactory_CreateKubeClient_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_CreateKubeClient_OngoingVerification) GetCapturedArguments Uses

func (c *MockFactory_CreateKubeClient_OngoingVerification) GetCapturedArguments()

type MockFactory_CreateKubeConfig_OngoingVerification Uses

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

func (*MockFactory_CreateKubeConfig_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockFactory_CreateKubeConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_CreateKubeConfig_OngoingVerification) GetCapturedArguments Uses

func (c *MockFactory_CreateKubeConfig_OngoingVerification) GetCapturedArguments()

type MockFactory_CreateTektonClient_OngoingVerification Uses

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

func (*MockFactory_CreateTektonClient_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockFactory_CreateTektonClient_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_CreateTektonClient_OngoingVerification) GetCapturedArguments Uses

func (c *MockFactory_CreateTektonClient_OngoingVerification) GetCapturedArguments()

type MockFactory_ImpersonateUser_OngoingVerification Uses

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

func (*MockFactory_ImpersonateUser_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockFactory_ImpersonateUser_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockFactory_ImpersonateUser_OngoingVerification) GetCapturedArguments Uses

func (c *MockFactory_ImpersonateUser_OngoingVerification) GetCapturedArguments() string

type MockFactory_KubeConfig_OngoingVerification Uses

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

func (*MockFactory_KubeConfig_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockFactory_KubeConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_KubeConfig_OngoingVerification) GetCapturedArguments Uses

func (c *MockFactory_KubeConfig_OngoingVerification) GetCapturedArguments()

type MockFactory_WithBearerToken_OngoingVerification Uses

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

func (*MockFactory_WithBearerToken_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockFactory_WithBearerToken_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockFactory_WithBearerToken_OngoingVerification) GetCapturedArguments Uses

func (c *MockFactory_WithBearerToken_OngoingVerification) GetCapturedArguments() string

type VerifierMockFactory Uses

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

func (*VerifierMockFactory) CreateJXClient Uses

func (verifier *VerifierMockFactory) CreateJXClient() *MockFactory_CreateJXClient_OngoingVerification

func (*VerifierMockFactory) CreateKubeClient Uses

func (verifier *VerifierMockFactory) CreateKubeClient() *MockFactory_CreateKubeClient_OngoingVerification

func (*VerifierMockFactory) CreateKubeConfig Uses

func (verifier *VerifierMockFactory) CreateKubeConfig() *MockFactory_CreateKubeConfig_OngoingVerification

func (*VerifierMockFactory) CreateTektonClient Uses

func (verifier *VerifierMockFactory) CreateTektonClient() *MockFactory_CreateTektonClient_OngoingVerification

func (*VerifierMockFactory) ImpersonateUser Uses

func (verifier *VerifierMockFactory) ImpersonateUser(_param0 string) *MockFactory_ImpersonateUser_OngoingVerification

func (*VerifierMockFactory) KubeConfig Uses

func (verifier *VerifierMockFactory) KubeConfig() *MockFactory_KubeConfig_OngoingVerification

func (*VerifierMockFactory) WithBearerToken Uses

func (verifier *VerifierMockFactory) WithBearerToken(_param0 string) *MockFactory_WithBearerToken_OngoingVerification

Package jxfactory_test imports 9 packages (graph). Updated 2019-11-13. Refresh now. Tools for package owners.