fakes

package
v0.164.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 11 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.

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 FakeAWSConfigurationLoader added in v0.153.0

type FakeAWSConfigurationLoader struct {
	LoadDefaultConfigStub func(context.Context, ...func(*config.LoadOptions) error) (aws.Config, error)
	// contains filtered or unexported fields
}

func (*FakeAWSConfigurationLoader) Invocations added in v0.153.0

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

func (*FakeAWSConfigurationLoader) LoadDefaultConfig added in v0.153.0

func (fake *FakeAWSConfigurationLoader) LoadDefaultConfig(arg1 context.Context, arg2 ...func(*config.LoadOptions) error) (aws.Config, error)

func (*FakeAWSConfigurationLoader) LoadDefaultConfigArgsForCall added in v0.153.0

func (fake *FakeAWSConfigurationLoader) LoadDefaultConfigArgsForCall(i int) (context.Context, []func(*config.LoadOptions) error)

func (*FakeAWSConfigurationLoader) LoadDefaultConfigCallCount added in v0.153.0

func (fake *FakeAWSConfigurationLoader) LoadDefaultConfigCallCount() int

func (*FakeAWSConfigurationLoader) LoadDefaultConfigCalls added in v0.153.0

func (fake *FakeAWSConfigurationLoader) LoadDefaultConfigCalls(stub func(context.Context, ...func(*config.LoadOptions) error) (aws.Config, error))

func (*FakeAWSConfigurationLoader) LoadDefaultConfigReturns added in v0.153.0

func (fake *FakeAWSConfigurationLoader) LoadDefaultConfigReturns(result1 aws.Config, result2 error)

func (*FakeAWSConfigurationLoader) LoadDefaultConfigReturnsOnCall added in v0.153.0

func (fake *FakeAWSConfigurationLoader) LoadDefaultConfigReturnsOnCall(i int, result1 aws.Config, result2 error)

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 added in v0.128.0

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

func (*FakeFargateClient) ListProfilesArgsForCall added in v0.128.0

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

func (*FakeFargateClient) ListProfilesCallCount added in v0.128.0

func (fake *FakeFargateClient) ListProfilesCallCount() int

func (*FakeFargateClient) ListProfilesCalls added in v0.128.0

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

func (*FakeFargateClient) ListProfilesReturns added in v0.128.0

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

func (*FakeFargateClient) ListProfilesReturnsOnCall added in v0.128.0

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

type FakeInstanceSelector added in v0.45.0

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

func (*FakeInstanceSelector) Filter added in v0.45.0

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

func (*FakeInstanceSelector) FilterArgsForCall added in v0.45.0

func (fake *FakeInstanceSelector) FilterArgsForCall(i int) (context.Context, 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(context.Context, 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.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 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.Interface, 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.Interface, error))

func (*FakeKubeProvider) NewStdClientSetReturns added in v0.99.0

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

func (*FakeKubeProvider) NewStdClientSetReturnsOnCall added in v0.99.0

func (fake *FakeKubeProvider) NewStdClientSetReturnsOnCall(i int, result1 kubernetesa.Interface, 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