fakes

package
v0.0.0-...-ee2d30e Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFargateClient

type FakeFargateClient struct {
	CreateProfileStub func(context.Context, *v1alpha5.FargateProfile, bool) error

	ListProfilesStub func(context.Context) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeFargateClient) CreateProfile

func (fake *FakeFargateClient) CreateProfile(arg1 context.Context, arg2 *v1alpha5.FargateProfile, arg3 bool) error

func (*FakeFargateClient) CreateProfileArgsForCall

func (fake *FakeFargateClient) CreateProfileArgsForCall(i int) (context.Context, *v1alpha5.FargateProfile, bool)

func (*FakeFargateClient) CreateProfileCallCount

func (fake *FakeFargateClient) CreateProfileCallCount() int

func (*FakeFargateClient) CreateProfileCalls

func (fake *FakeFargateClient) CreateProfileCalls(stub func(context.Context, *v1alpha5.FargateProfile, bool) error)

func (*FakeFargateClient) CreateProfileReturns

func (fake *FakeFargateClient) CreateProfileReturns(result1 error)

func (*FakeFargateClient) CreateProfileReturnsOnCall

func (fake *FakeFargateClient) CreateProfileReturnsOnCall(i int, result1 error)

func (*FakeFargateClient) Invocations

func (fake *FakeFargateClient) Invocations() map[string][][]interface{}

func (*FakeFargateClient) ListProfiles

func (fake *FakeFargateClient) ListProfiles(arg1 context.Context) ([]string, error)

func (*FakeFargateClient) ListProfilesArgsForCall

func (fake *FakeFargateClient) ListProfilesArgsForCall(i int) context.Context

func (*FakeFargateClient) ListProfilesCallCount

func (fake *FakeFargateClient) ListProfilesCallCount() int

func (*FakeFargateClient) ListProfilesCalls

func (fake *FakeFargateClient) ListProfilesCalls(stub func(context.Context) ([]string, error))

func (*FakeFargateClient) ListProfilesReturns

func (fake *FakeFargateClient) ListProfilesReturns(result1 []string, result2 error)

func (*FakeFargateClient) ListProfilesReturnsOnCall

func (fake *FakeFargateClient) ListProfilesReturnsOnCall(i int, result1 []string, result2 error)

type FakeInstanceSelector

type FakeInstanceSelector struct {
	FilterStub func(selector.Filters) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeInstanceSelector) Filter

func (fake *FakeInstanceSelector) Filter(arg1 selector.Filters) ([]string, error)

func (*FakeInstanceSelector) FilterArgsForCall

func (fake *FakeInstanceSelector) FilterArgsForCall(i int) selector.Filters

func (*FakeInstanceSelector) FilterCallCount

func (fake *FakeInstanceSelector) FilterCallCount() int

func (*FakeInstanceSelector) FilterCalls

func (fake *FakeInstanceSelector) FilterCalls(stub func(selector.Filters) ([]string, error))

func (*FakeInstanceSelector) FilterReturns

func (fake *FakeInstanceSelector) FilterReturns(result1 []string, result2 error)

func (*FakeInstanceSelector) FilterReturnsOnCall

func (fake *FakeInstanceSelector) FilterReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeInstanceSelector) Invocations

func (fake *FakeInstanceSelector) Invocations() map[string][][]interface{}

type FakeKubeProvider

type FakeKubeProvider struct {
	NewRawClientStub func(kubeconfig.ClusterInfo) (*kubernetes.RawClient, error)

	NewStdClientSetStub func(kubeconfig.ClusterInfo) (kubernetesa.Interface, error)

	ServerVersionStub func(*kubernetes.RawClient) (string, error)

	WaitForControlPlaneStub func(*v1alpha5.ClusterMeta, *kubernetes.RawClient, time.Duration) error
	// contains filtered or unexported fields
}

func (*FakeKubeProvider) Invocations

func (fake *FakeKubeProvider) Invocations() map[string][][]interface{}

func (*FakeKubeProvider) NewRawClient

func (fake *FakeKubeProvider) NewRawClient(arg1 kubeconfig.ClusterInfo) (*kubernetes.RawClient, error)

func (*FakeKubeProvider) NewRawClientArgsForCall

func (fake *FakeKubeProvider) NewRawClientArgsForCall(i int) kubeconfig.ClusterInfo

func (*FakeKubeProvider) NewRawClientCallCount

func (fake *FakeKubeProvider) NewRawClientCallCount() int

func (*FakeKubeProvider) NewRawClientCalls

func (fake *FakeKubeProvider) NewRawClientCalls(stub func(kubeconfig.ClusterInfo) (*kubernetes.RawClient, error))

func (*FakeKubeProvider) NewRawClientReturns

func (fake *FakeKubeProvider) NewRawClientReturns(result1 *kubernetes.RawClient, result2 error)

func (*FakeKubeProvider) NewRawClientReturnsOnCall

func (fake *FakeKubeProvider) NewRawClientReturnsOnCall(i int, result1 *kubernetes.RawClient, result2 error)

func (*FakeKubeProvider) NewStdClientSet

func (fake *FakeKubeProvider) NewStdClientSet(arg1 kubeconfig.ClusterInfo) (kubernetesa.Interface, error)

func (*FakeKubeProvider) NewStdClientSetArgsForCall

func (fake *FakeKubeProvider) NewStdClientSetArgsForCall(i int) kubeconfig.ClusterInfo

func (*FakeKubeProvider) NewStdClientSetCallCount

func (fake *FakeKubeProvider) NewStdClientSetCallCount() int

func (*FakeKubeProvider) NewStdClientSetCalls

func (fake *FakeKubeProvider) NewStdClientSetCalls(stub func(kubeconfig.ClusterInfo) (kubernetesa.Interface, error))

func (*FakeKubeProvider) NewStdClientSetReturns

func (fake *FakeKubeProvider) NewStdClientSetReturns(result1 kubernetesa.Interface, result2 error)

func (*FakeKubeProvider) NewStdClientSetReturnsOnCall

func (fake *FakeKubeProvider) NewStdClientSetReturnsOnCall(i int, result1 kubernetesa.Interface, result2 error)

func (*FakeKubeProvider) ServerVersion

func (fake *FakeKubeProvider) ServerVersion(arg1 *kubernetes.RawClient) (string, error)

func (*FakeKubeProvider) ServerVersionArgsForCall

func (fake *FakeKubeProvider) ServerVersionArgsForCall(i int) *kubernetes.RawClient

func (*FakeKubeProvider) ServerVersionCallCount

func (fake *FakeKubeProvider) ServerVersionCallCount() int

func (*FakeKubeProvider) ServerVersionCalls

func (fake *FakeKubeProvider) ServerVersionCalls(stub func(*kubernetes.RawClient) (string, error))

func (*FakeKubeProvider) ServerVersionReturns

func (fake *FakeKubeProvider) ServerVersionReturns(result1 string, result2 error)

func (*FakeKubeProvider) ServerVersionReturnsOnCall

func (fake *FakeKubeProvider) ServerVersionReturnsOnCall(i int, result1 string, result2 error)

func (*FakeKubeProvider) WaitForControlPlane

func (fake *FakeKubeProvider) WaitForControlPlane(arg1 *v1alpha5.ClusterMeta, arg2 *kubernetes.RawClient, arg3 time.Duration) error

func (*FakeKubeProvider) WaitForControlPlaneArgsForCall

func (fake *FakeKubeProvider) WaitForControlPlaneArgsForCall(i int) (*v1alpha5.ClusterMeta, *kubernetes.RawClient, time.Duration)

func (*FakeKubeProvider) WaitForControlPlaneCallCount

func (fake *FakeKubeProvider) WaitForControlPlaneCallCount() int

func (*FakeKubeProvider) WaitForControlPlaneCalls

func (fake *FakeKubeProvider) WaitForControlPlaneCalls(stub func(*v1alpha5.ClusterMeta, *kubernetes.RawClient, time.Duration) error)

func (*FakeKubeProvider) WaitForControlPlaneReturns

func (fake *FakeKubeProvider) WaitForControlPlaneReturns(result1 error)

func (*FakeKubeProvider) WaitForControlPlaneReturnsOnCall

func (fake *FakeKubeProvider) WaitForControlPlaneReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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