kube_test

package
v2.1.155 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 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

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

func (*MockKuber) LoadConfig

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

func (*MockKuber) SetFailHandler

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

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

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

func (*MockKuber_LoadConfig_OngoingVerification) GetAllCapturedArguments

func (c *MockKuber_LoadConfig_OngoingVerification) GetAllCapturedArguments()

func (*MockKuber_LoadConfig_OngoingVerification) GetCapturedArguments

func (c *MockKuber_LoadConfig_OngoingVerification) GetCapturedArguments()

type MockKuber_UpdateConfig_OngoingVerification

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

func (*MockKuber_UpdateConfig_OngoingVerification) GetAllCapturedArguments

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

func (*MockKuber_UpdateConfig_OngoingVerification) GetCapturedArguments

type MockSourceRepoer

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

func NewMockSourceRepoer

func NewMockSourceRepoer() *MockSourceRepoer

func (*MockSourceRepoer) CreateOrUpdateSourceRepository

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

func (*MockSourceRepoer) CreateSourceRepository

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

func (*MockSourceRepoer) DeleteSourceRepository

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

func (*MockSourceRepoer) FailHandler

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

func (*MockSourceRepoer) GetSourceRepository

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

func (*MockSourceRepoer) ListSourceRepositories

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

func (*MockSourceRepoer) SetFailHandler

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

func (*MockSourceRepoer) VerifyWasCalled

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

func (*MockSourceRepoer) VerifyWasCalledInOrder

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

func (*MockSourceRepoer) VerifyWasCalledOnce

func (mock *MockSourceRepoer) VerifyWasCalledOnce() *VerifierSourceRepoer

type SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification

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

func (*SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification) GetAllCapturedArguments

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

func (*SourceRepoer_CreateOrUpdateSourceRepository_OngoingVerification) GetCapturedArguments

type SourceRepoer_CreateSourceRepository_OngoingVerification

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

func (*SourceRepoer_CreateSourceRepository_OngoingVerification) GetAllCapturedArguments

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

func (*SourceRepoer_CreateSourceRepository_OngoingVerification) GetCapturedArguments

type SourceRepoer_DeleteSourceRepository_OngoingVerification

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

func (*SourceRepoer_DeleteSourceRepository_OngoingVerification) GetAllCapturedArguments

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

func (*SourceRepoer_DeleteSourceRepository_OngoingVerification) GetCapturedArguments

type SourceRepoer_GetSourceRepository_OngoingVerification

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

func (*SourceRepoer_GetSourceRepository_OngoingVerification) GetAllCapturedArguments

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

func (*SourceRepoer_GetSourceRepository_OngoingVerification) GetCapturedArguments

type SourceRepoer_ListSourceRepositories_OngoingVerification

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

func (*SourceRepoer_ListSourceRepositories_OngoingVerification) GetAllCapturedArguments

func (c *SourceRepoer_ListSourceRepositories_OngoingVerification) GetAllCapturedArguments()

func (*SourceRepoer_ListSourceRepositories_OngoingVerification) GetCapturedArguments

type VerifierMockKuber

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

func (*VerifierMockKuber) LoadConfig

func (*VerifierMockKuber) UpdateConfig

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

type VerifierSourceRepoer

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

func (*VerifierSourceRepoer) CreateOrUpdateSourceRepository

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

func (*VerifierSourceRepoer) CreateSourceRepository

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

func (*VerifierSourceRepoer) DeleteSourceRepository

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

func (*VerifierSourceRepoer) GetSourceRepository

func (*VerifierSourceRepoer) ListSourceRepositories

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