Documentation ¶
Index ¶
- type MockFactory
- func (mock *MockFactory) CreateJXClient() (versioned.Interface, string, error)
- func (mock *MockFactory) CreateKubeClient() (kubernetes.Interface, string, error)
- func (mock *MockFactory) CreateKubeConfig() (*rest.Config, error)
- func (mock *MockFactory) CreateTektonClient() (versioned0.Interface, string, error)
- func (mock *MockFactory) CreateTektonPipelineResourceClient() (versioned1.Interface, string, error)
- func (mock *MockFactory) FailHandler() pegomock.FailHandler
- func (mock *MockFactory) ImpersonateUser(_param0 string) jxfactory.Factory
- func (mock *MockFactory) KubeConfig() kube.Kuber
- func (mock *MockFactory) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockFactory) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockFactory
- func (mock *MockFactory) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockFactory
- func (mock *MockFactory) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockFactory
- func (mock *MockFactory) VerifyWasCalledOnce() *VerifierMockFactory
- func (mock *MockFactory) WithBearerToken(_param0 string) jxfactory.Factory
- type MockFactory_CreateJXClient_OngoingVerification
- type MockFactory_CreateKubeClient_OngoingVerification
- type MockFactory_CreateKubeConfig_OngoingVerification
- type MockFactory_CreateTektonClient_OngoingVerification
- type MockFactory_CreateTektonPipelineResourceClient_OngoingVerification
- type MockFactory_ImpersonateUser_OngoingVerification
- type MockFactory_KubeConfig_OngoingVerification
- type MockFactory_WithBearerToken_OngoingVerification
- type VerifierMockFactory
- func (verifier *VerifierMockFactory) CreateJXClient() *MockFactory_CreateJXClient_OngoingVerification
- func (verifier *VerifierMockFactory) CreateKubeClient() *MockFactory_CreateKubeClient_OngoingVerification
- func (verifier *VerifierMockFactory) CreateKubeConfig() *MockFactory_CreateKubeConfig_OngoingVerification
- func (verifier *VerifierMockFactory) CreateTektonClient() *MockFactory_CreateTektonClient_OngoingVerification
- func (verifier *VerifierMockFactory) CreateTektonPipelineResourceClient() *MockFactory_CreateTektonPipelineResourceClient_OngoingVerification
- func (verifier *VerifierMockFactory) ImpersonateUser(_param0 string) *MockFactory_ImpersonateUser_OngoingVerification
- func (verifier *VerifierMockFactory) KubeConfig() *MockFactory_KubeConfig_OngoingVerification
- func (verifier *VerifierMockFactory) WithBearerToken(_param0 string) *MockFactory_WithBearerToken_OngoingVerification
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) CreateTektonPipelineResourceClient ¶
func (mock *MockFactory) CreateTektonPipelineResourceClient() (versioned1.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_CreateTektonPipelineResourceClient_OngoingVerification ¶
type MockFactory_CreateTektonPipelineResourceClient_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockFactory_CreateTektonPipelineResourceClient_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockFactory_CreateTektonPipelineResourceClient_OngoingVerification) GetAllCapturedArguments()
func (*MockFactory_CreateTektonPipelineResourceClient_OngoingVerification) GetCapturedArguments ¶
func (c *MockFactory_CreateTektonPipelineResourceClient_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 (verifier *VerifierMockFactory) CreateJXClient() *MockFactory_CreateJXClient_OngoingVerification
func (*VerifierMockFactory) CreateKubeClient ¶
func (verifier *VerifierMockFactory) CreateKubeClient() *MockFactory_CreateKubeClient_OngoingVerification
func (*VerifierMockFactory) CreateKubeConfig ¶
func (verifier *VerifierMockFactory) CreateKubeConfig() *MockFactory_CreateKubeConfig_OngoingVerification
func (*VerifierMockFactory) CreateTektonClient ¶
func (verifier *VerifierMockFactory) CreateTektonClient() *MockFactory_CreateTektonClient_OngoingVerification
func (*VerifierMockFactory) CreateTektonPipelineResourceClient ¶
func (verifier *VerifierMockFactory) CreateTektonPipelineResourceClient() *MockFactory_CreateTektonPipelineResourceClient_OngoingVerification
func (*VerifierMockFactory) ImpersonateUser ¶
func (verifier *VerifierMockFactory) ImpersonateUser(_param0 string) *MockFactory_ImpersonateUser_OngoingVerification
func (*VerifierMockFactory) KubeConfig ¶
func (verifier *VerifierMockFactory) KubeConfig() *MockFactory_KubeConfig_OngoingVerification
func (*VerifierMockFactory) WithBearerToken ¶
func (verifier *VerifierMockFactory) WithBearerToken(_param0 string) *MockFactory_WithBearerToken_OngoingVerification
Click to show internal directories.
Click to hide internal directories.