jxfactory_test

package
v2.1.64 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFactory

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

func NewMockFactory

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

func (*MockFactory) CreateJXClient

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

func (*MockFactory) CreateKubeClient

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

func (*MockFactory) CreateKubeConfig

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

func (*MockFactory) CreateTektonClient

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

func (*MockFactory) FailHandler

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

func (*MockFactory) ImpersonateUser

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

func (*MockFactory) KubeConfig

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

func (*MockFactory) SetFailHandler

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

func (*MockFactory) VerifyWasCalled

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

func (*MockFactory) VerifyWasCalledEventually

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

func (*MockFactory) VerifyWasCalledInOrder

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

func (*MockFactory) VerifyWasCalledOnce

func (mock *MockFactory) VerifyWasCalledOnce() *VerifierMockFactory

func (*MockFactory) WithBearerToken

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

type MockFactory_CreateJXClient_OngoingVerification

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

func (*MockFactory_CreateJXClient_OngoingVerification) GetAllCapturedArguments

func (c *MockFactory_CreateJXClient_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_CreateJXClient_OngoingVerification) GetCapturedArguments

func (c *MockFactory_CreateJXClient_OngoingVerification) GetCapturedArguments()

type MockFactory_CreateKubeClient_OngoingVerification

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

func (*MockFactory_CreateKubeClient_OngoingVerification) GetAllCapturedArguments

func (c *MockFactory_CreateKubeClient_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_CreateKubeClient_OngoingVerification) GetCapturedArguments

func (c *MockFactory_CreateKubeClient_OngoingVerification) GetCapturedArguments()

type MockFactory_CreateKubeConfig_OngoingVerification

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

func (*MockFactory_CreateKubeConfig_OngoingVerification) GetAllCapturedArguments

func (c *MockFactory_CreateKubeConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_CreateKubeConfig_OngoingVerification) GetCapturedArguments

func (c *MockFactory_CreateKubeConfig_OngoingVerification) GetCapturedArguments()

type MockFactory_CreateTektonClient_OngoingVerification

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

func (*MockFactory_CreateTektonClient_OngoingVerification) GetAllCapturedArguments

func (c *MockFactory_CreateTektonClient_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_CreateTektonClient_OngoingVerification) GetCapturedArguments

func (c *MockFactory_CreateTektonClient_OngoingVerification) GetCapturedArguments()

type MockFactory_ImpersonateUser_OngoingVerification

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

func (*MockFactory_ImpersonateUser_OngoingVerification) GetAllCapturedArguments

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

func (*MockFactory_ImpersonateUser_OngoingVerification) GetCapturedArguments

func (c *MockFactory_ImpersonateUser_OngoingVerification) GetCapturedArguments() string

type MockFactory_KubeConfig_OngoingVerification

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

func (*MockFactory_KubeConfig_OngoingVerification) GetAllCapturedArguments

func (c *MockFactory_KubeConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockFactory_KubeConfig_OngoingVerification) GetCapturedArguments

func (c *MockFactory_KubeConfig_OngoingVerification) GetCapturedArguments()

type MockFactory_WithBearerToken_OngoingVerification

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

func (*MockFactory_WithBearerToken_OngoingVerification) GetAllCapturedArguments

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

func (*MockFactory_WithBearerToken_OngoingVerification) GetCapturedArguments

func (c *MockFactory_WithBearerToken_OngoingVerification) GetCapturedArguments() string

type VerifierMockFactory

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

func (*VerifierMockFactory) CreateJXClient

func (*VerifierMockFactory) CreateKubeClient

func (*VerifierMockFactory) CreateKubeConfig

func (*VerifierMockFactory) CreateTektonClient

func (*VerifierMockFactory) ImpersonateUser

func (*VerifierMockFactory) KubeConfig

func (*VerifierMockFactory) WithBearerToken

Jump to

Keyboard shortcuts

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