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

package kube_test

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

Index

Package Files

kuber.go sourcerepoer.go

type MockKuber Uses

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

func NewMockKuber Uses

func NewMockKuber(options ...pegomock.Option) *MockKuber

func (*MockKuber) FailHandler Uses

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

func (*MockKuber) LoadConfig Uses

func (mock *MockKuber) LoadConfig() (*api.Config, *clientcmd.PathOptions, error)

func (*MockKuber) SetFailHandler Uses

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

func (*MockKuber) UpdateConfig Uses

func (mock *MockKuber) UpdateConfig(_param0 string, _param1 string, _param2 string, _param3 string, _param4 string) error

func (*MockKuber) VerifyWasCalled Uses

func (mock *MockKuber) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockKuber

func (*MockKuber) VerifyWasCalledEventually Uses

func (mock *MockKuber) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockKuber

func (*MockKuber) VerifyWasCalledInOrder Uses

func (mock *MockKuber) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockKuber

func (*MockKuber) VerifyWasCalledOnce Uses

func (mock *MockKuber) VerifyWasCalledOnce() *VerifierMockKuber

type MockKuber_LoadConfig_OngoingVerification Uses

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

func (*MockKuber_LoadConfig_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockKuber_LoadConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockKuber_LoadConfig_OngoingVerification) GetCapturedArguments Uses

func (c *MockKuber_LoadConfig_OngoingVerification) GetCapturedArguments()

type MockKuber_UpdateConfig_OngoingVerification Uses

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

func (*MockKuber_UpdateConfig_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockKuber_UpdateConfig_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []string, _param4 []string)

func (*MockKuber_UpdateConfig_OngoingVerification) GetCapturedArguments Uses

func (c *MockKuber_UpdateConfig_OngoingVerification) GetCapturedArguments() (string, string, string, string, string)

type MockSourceRepoer Uses

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

func NewMockSourceRepoer Uses

func NewMockSourceRepoer() *MockSourceRepoer

func (*MockSourceRepoer) CreateOrUpdateSourceRepository Uses

func (mock *MockSourceRepoer) CreateOrUpdateSourceRepository(_param0 string, _param1 string, _param2 string) error

func (*MockSourceRepoer) CreateSourceRepository Uses

func (mock *MockSourceRepoer) CreateSourceRepository(_param0 string, _param1 string, _param2 string) error

func (*MockSourceRepoer) DeleteSourceRepository Uses

func (mock *MockSourceRepoer) DeleteSourceRepository(_param0 string) error

func (*MockSourceRepoer) FailHandler Uses

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

func (*MockSourceRepoer) GetSourceRepository Uses

func (mock *MockSourceRepoer) GetSourceRepository(_param0 string) (*v1.SourceRepository, error)

func (*MockSourceRepoer) ListSourceRepositories Uses

func (mock *MockSourceRepoer) ListSourceRepositories() (*v1.SourceRepositoryList, error)

func (*MockSourceRepoer) SetFailHandler Uses

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

func (*MockSourceRepoer) VerifyWasCalled Uses

func (mock *MockSourceRepoer) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierSourceRepoer

func (*MockSourceRepoer) VerifyWasCalledInOrder Uses

func (mock *MockSourceRepoer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierSourceRepoer

func (*MockSourceRepoer) VerifyWasCalledOnce Uses

func (mock *MockSourceRepoer) VerifyWasCalledOnce() *VerifierSourceRepoer

type SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification Uses

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

func (*SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification) GetAllCapturedArguments Uses

func (c *SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string)

func (*SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification) GetCapturedArguments Uses

func (c *SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification) GetCapturedArguments() (string, string, string)

type SourceRepoer_CreateSourceRepository_OngoingVerification Uses

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

func (*SourceRepoer_CreateSourceRepository_OngoingVerification) GetAllCapturedArguments Uses

func (c *SourceRepoer_CreateSourceRepository_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string)

func (*SourceRepoer_CreateSourceRepository_OngoingVerification) GetCapturedArguments Uses

func (c *SourceRepoer_CreateSourceRepository_OngoingVerification) GetCapturedArguments() (string, string, string)

type SourceRepoer_DeleteSourceRepository_OngoingVerification Uses

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

func (*SourceRepoer_DeleteSourceRepository_OngoingVerification) GetAllCapturedArguments Uses

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

func (*SourceRepoer_DeleteSourceRepository_OngoingVerification) GetCapturedArguments Uses

func (c *SourceRepoer_DeleteSourceRepository_OngoingVerification) GetCapturedArguments() string

type SourceRepoer_GetSourceRepository_OngoingVerification Uses

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

func (*SourceRepoer_GetSourceRepository_OngoingVerification) GetAllCapturedArguments Uses

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

func (*SourceRepoer_GetSourceRepository_OngoingVerification) GetCapturedArguments Uses

func (c *SourceRepoer_GetSourceRepository_OngoingVerification) GetCapturedArguments() string

type SourceRepoer_ListSourceRepositories_OngoingVerification Uses

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

func (*SourceRepoer_ListSourceRepositories_OngoingVerification) GetAllCapturedArguments Uses

func (c *SourceRepoer_ListSourceRepositories_OngoingVerification) GetAllCapturedArguments()

func (*SourceRepoer_ListSourceRepositories_OngoingVerification) GetCapturedArguments Uses

func (c *SourceRepoer_ListSourceRepositories_OngoingVerification) GetCapturedArguments()

type VerifierMockKuber Uses

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

func (*VerifierMockKuber) LoadConfig Uses

func (verifier *VerifierMockKuber) LoadConfig() *MockKuber_LoadConfig_OngoingVerification

func (*VerifierMockKuber) UpdateConfig Uses

func (verifier *VerifierMockKuber) UpdateConfig(_param0 string, _param1 string, _param2 string, _param3 string, _param4 string) *MockKuber_UpdateConfig_OngoingVerification

type VerifierSourceRepoer Uses

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

func (*VerifierSourceRepoer) CreateOrUpdateSourceRepository Uses

func (verifier *VerifierSourceRepoer) CreateOrUpdateSourceRepository(_param0 string, _param1 string, _param2 string) *SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification

func (*VerifierSourceRepoer) CreateSourceRepository Uses

func (verifier *VerifierSourceRepoer) CreateSourceRepository(_param0 string, _param1 string, _param2 string) *SourceRepoer_CreateSourceRepository_OngoingVerification

func (*VerifierSourceRepoer) DeleteSourceRepository Uses

func (verifier *VerifierSourceRepoer) DeleteSourceRepository(_param0 string) *SourceRepoer_DeleteSourceRepository_OngoingVerification

func (*VerifierSourceRepoer) GetSourceRepository Uses

func (verifier *VerifierSourceRepoer) GetSourceRepository(_param0 string) *SourceRepoer_GetSourceRepository_OngoingVerification

func (*VerifierSourceRepoer) ListSourceRepositories Uses

func (verifier *VerifierSourceRepoer) ListSourceRepositories() *SourceRepoer_ListSourceRepositories_OngoingVerification

Directories

PathSynopsis
matchersCode generated by pegomock.

Package kube_test imports 6 packages (graph). Updated 2019-05-16. Refresh now. Tools for package owners.