fakes

package
v0.115.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 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
	// 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{}

type FakeInstanceSelector added in v0.45.0

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

func (*FakeInstanceSelector) Filter added in v0.45.0

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

func (*FakeInstanceSelector) FilterArgsForCall added in v0.45.0

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

func (*FakeInstanceSelector) FilterCallCount added in v0.45.0

func (fake *FakeInstanceSelector) FilterCallCount() int

func (*FakeInstanceSelector) FilterCalls added in v0.45.0

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

func (*FakeInstanceSelector) FilterReturns added in v0.45.0

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

func (*FakeInstanceSelector) FilterReturnsOnCall added in v0.45.0

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

func (*FakeInstanceSelector) Invocations added in v0.45.0

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

type FakeKubeProvider added in v0.53.0

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

	NewStdClientSetStub func(kubeconfig.ClusterInfo) (*kubernetesa.Clientset, error)

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

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

func (*FakeKubeProvider) Invocations added in v0.53.0

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

func (*FakeKubeProvider) NewRawClient added in v0.53.0

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

func (*FakeKubeProvider) NewRawClientArgsForCall added in v0.53.0

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

func (*FakeKubeProvider) NewRawClientCallCount added in v0.53.0

func (fake *FakeKubeProvider) NewRawClientCallCount() int

func (*FakeKubeProvider) NewRawClientCalls added in v0.53.0

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

func (*FakeKubeProvider) NewRawClientReturns added in v0.53.0

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

func (*FakeKubeProvider) NewRawClientReturnsOnCall added in v0.53.0

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

func (*FakeKubeProvider) NewStdClientSet added in v0.99.0

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

func (*FakeKubeProvider) NewStdClientSetArgsForCall added in v0.99.0

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

func (*FakeKubeProvider) NewStdClientSetCallCount added in v0.99.0

func (fake *FakeKubeProvider) NewStdClientSetCallCount() int

func (*FakeKubeProvider) NewStdClientSetCalls added in v0.99.0

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

func (*FakeKubeProvider) NewStdClientSetReturns added in v0.99.0

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

func (*FakeKubeProvider) NewStdClientSetReturnsOnCall added in v0.99.0

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

func (*FakeKubeProvider) ServerVersion added in v0.53.0

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

func (*FakeKubeProvider) ServerVersionArgsForCall added in v0.53.0

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

func (*FakeKubeProvider) ServerVersionCallCount added in v0.53.0

func (fake *FakeKubeProvider) ServerVersionCallCount() int

func (*FakeKubeProvider) ServerVersionCalls added in v0.53.0

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

func (*FakeKubeProvider) ServerVersionReturns added in v0.53.0

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

func (*FakeKubeProvider) ServerVersionReturnsOnCall added in v0.53.0

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

func (*FakeKubeProvider) WaitForControlPlane added in v0.101.0

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

func (*FakeKubeProvider) WaitForControlPlaneArgsForCall added in v0.101.0

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

func (*FakeKubeProvider) WaitForControlPlaneCallCount added in v0.101.0

func (fake *FakeKubeProvider) WaitForControlPlaneCallCount() int

func (*FakeKubeProvider) WaitForControlPlaneCalls added in v0.101.0

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

func (*FakeKubeProvider) WaitForControlPlaneReturns added in v0.101.0

func (fake *FakeKubeProvider) WaitForControlPlaneReturns(result1 error)

func (*FakeKubeProvider) WaitForControlPlaneReturnsOnCall added in v0.101.0

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