kube_test

package
v1.3.1113 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKuber

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

func NewMockKuber

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

func (*MockKuber) FailHandler added in v1.3.1104

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

func (*MockKuber) LoadConfig

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

func (*MockKuber) SetFailHandler added in v1.3.1104

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

func (*MockKuber) UpdateConfig

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

func (*MockKuber) VerifyWasCalled

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

func (*MockKuber) VerifyWasCalledEventually added in v1.3.818

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

func (*MockKuber) VerifyWasCalledInOrder

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

func (*MockKuber) VerifyWasCalledOnce

func (mock *MockKuber) VerifyWasCalledOnce() *VerifierMockKuber

type MockKuber_LoadConfig_OngoingVerification added in v1.3.1104

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

func (*MockKuber_LoadConfig_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

func (c *MockKuber_LoadConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockKuber_LoadConfig_OngoingVerification) GetCapturedArguments added in v1.3.1104

func (c *MockKuber_LoadConfig_OngoingVerification) GetCapturedArguments()

type MockKuber_UpdateConfig_OngoingVerification added in v1.3.1104

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

func (*MockKuber_UpdateConfig_OngoingVerification) GetAllCapturedArguments added in v1.3.1104

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

func (*MockKuber_UpdateConfig_OngoingVerification) GetCapturedArguments added in v1.3.1104

type MockSourceRepoer added in v1.3.814

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

func NewMockSourceRepoer added in v1.3.814

func NewMockSourceRepoer() *MockSourceRepoer

func (*MockSourceRepoer) CreateOrUpdateSourceRepository added in v1.3.814

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

func (*MockSourceRepoer) CreateSourceRepository added in v1.3.814

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

func (*MockSourceRepoer) DeleteSourceRepository added in v1.3.814

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

func (*MockSourceRepoer) FailHandler added in v1.3.1104

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

func (*MockSourceRepoer) GetSourceRepository added in v1.3.814

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

func (*MockSourceRepoer) ListSourceRepositories added in v1.3.814

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

func (*MockSourceRepoer) SetFailHandler added in v1.3.1104

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

func (*MockSourceRepoer) VerifyWasCalled added in v1.3.814

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

func (*MockSourceRepoer) VerifyWasCalledInOrder added in v1.3.814

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

func (*MockSourceRepoer) VerifyWasCalledOnce added in v1.3.814

func (mock *MockSourceRepoer) VerifyWasCalledOnce() *VerifierSourceRepoer

type SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification added in v1.3.814

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

func (*SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification) GetAllCapturedArguments added in v1.3.814

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

func (*SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification) GetCapturedArguments added in v1.3.814

type SourceRepoer_CreateSourceRepository_OngoingVerification added in v1.3.814

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

func (*SourceRepoer_CreateSourceRepository_OngoingVerification) GetAllCapturedArguments added in v1.3.814

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

func (*SourceRepoer_CreateSourceRepository_OngoingVerification) GetCapturedArguments added in v1.3.814

type SourceRepoer_DeleteSourceRepository_OngoingVerification added in v1.3.814

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

func (*SourceRepoer_DeleteSourceRepository_OngoingVerification) GetAllCapturedArguments added in v1.3.814

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

func (*SourceRepoer_DeleteSourceRepository_OngoingVerification) GetCapturedArguments added in v1.3.814

type SourceRepoer_GetSourceRepository_OngoingVerification added in v1.3.814

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

func (*SourceRepoer_GetSourceRepository_OngoingVerification) GetAllCapturedArguments added in v1.3.814

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

func (*SourceRepoer_GetSourceRepository_OngoingVerification) GetCapturedArguments added in v1.3.814

type SourceRepoer_ListSourceRepositories_OngoingVerification added in v1.3.814

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

func (*SourceRepoer_ListSourceRepositories_OngoingVerification) GetAllCapturedArguments added in v1.3.814

func (c *SourceRepoer_ListSourceRepositories_OngoingVerification) GetAllCapturedArguments()

func (*SourceRepoer_ListSourceRepositories_OngoingVerification) GetCapturedArguments added in v1.3.814

type VerifierMockKuber added in v1.3.1104

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

func (*VerifierMockKuber) LoadConfig added in v1.3.1104

func (*VerifierMockKuber) UpdateConfig added in v1.3.1104

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

type VerifierSourceRepoer added in v1.3.814

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

func (*VerifierSourceRepoer) CreateOrUpdateSourceRepository added in v1.3.814

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

func (*VerifierSourceRepoer) CreateSourceRepository added in v1.3.814

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

func (*VerifierSourceRepoer) DeleteSourceRepository added in v1.3.814

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

func (*VerifierSourceRepoer) GetSourceRepository added in v1.3.814

func (*VerifierSourceRepoer) ListSourceRepositories added in v1.3.814

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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