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

package resources_test

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

Index

Package Files

installer.go

type MockInstaller Uses

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

func NewMockInstaller Uses

func NewMockInstaller(options ...pegomock.Option) *MockInstaller

func (*MockInstaller) FailHandler Uses

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

func (*MockInstaller) Install Uses

func (mock *MockInstaller) Install(_param0 string) (string, error)

func (*MockInstaller) InstallDir Uses

func (mock *MockInstaller) InstallDir(_param0 string) (string, error)

func (*MockInstaller) SetFailHandler Uses

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

func (*MockInstaller) VerifyWasCalled Uses

func (mock *MockInstaller) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockInstaller

func (*MockInstaller) VerifyWasCalledEventually Uses

func (mock *MockInstaller) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockInstaller

func (*MockInstaller) VerifyWasCalledInOrder Uses

func (mock *MockInstaller) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockInstaller

func (*MockInstaller) VerifyWasCalledOnce Uses

func (mock *MockInstaller) VerifyWasCalledOnce() *VerifierMockInstaller

type MockInstaller_InstallDir_OngoingVerification Uses

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

func (*MockInstaller_InstallDir_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockInstaller_InstallDir_OngoingVerification) GetCapturedArguments Uses

func (c *MockInstaller_InstallDir_OngoingVerification) GetCapturedArguments() string

type MockInstaller_Install_OngoingVerification Uses

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

func (*MockInstaller_Install_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockInstaller_Install_OngoingVerification) GetCapturedArguments Uses

func (c *MockInstaller_Install_OngoingVerification) GetCapturedArguments() string

type VerifierMockInstaller Uses

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

func (*VerifierMockInstaller) Install Uses

func (verifier *VerifierMockInstaller) Install(_param0 string) *MockInstaller_Install_OngoingVerification

func (*VerifierMockInstaller) InstallDir Uses

func (verifier *VerifierMockInstaller) InstallDir(_param0 string) *MockInstaller_InstallDir_OngoingVerification

Package resources_test imports 3 packages (graph) and is imported by 1 packages. Updated 2019-11-06. Refresh now. Tools for package owners.