fakes

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 8 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 FakeFargateClient

type FakeFargateClient struct {
	CreateProfileStub func(*v1alpha5.FargateProfile, bool) error
	// contains filtered or unexported fields
}

func (*FakeFargateClient) CreateProfile

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

func (*FakeFargateClient) CreateProfileArgsForCall

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

func (*FakeFargateClient) CreateProfileCallCount

func (fake *FakeFargateClient) CreateProfileCallCount() int

func (*FakeFargateClient) CreateProfileCalls

func (fake *FakeFargateClient) CreateProfileCalls(stub func(*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 {
	LoadClusterIntoSpecFromStackStub func(*v1alpha5.ClusterConfig, manager.StackManager) error

	NewRawClientStub func(*v1alpha5.ClusterConfig) (*kubernetes.RawClient, error)

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

	SupportsManagedNodesStub func(*v1alpha5.ClusterConfig) (bool, error)

	UpdateAuthConfigMapStub func([]*v1alpha5.NodeGroup, kubernetesa.Interface) error

	ValidateClusterForCompatibilityStub func(*v1alpha5.ClusterConfig, manager.StackManager) error

	WaitForNodesStub func(kubernetesa.Interface, eks.KubeNodeGroup) error
	// contains filtered or unexported fields
}

func (*FakeKubeProvider) Invocations added in v0.53.0

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

func (*FakeKubeProvider) LoadClusterIntoSpecFromStack added in v0.53.0

func (fake *FakeKubeProvider) LoadClusterIntoSpecFromStack(arg1 *v1alpha5.ClusterConfig, arg2 manager.StackManager) error

func (*FakeKubeProvider) LoadClusterIntoSpecFromStackArgsForCall added in v0.53.0

func (fake *FakeKubeProvider) LoadClusterIntoSpecFromStackArgsForCall(i int) (*v1alpha5.ClusterConfig, manager.StackManager)

func (*FakeKubeProvider) LoadClusterIntoSpecFromStackCallCount added in v0.53.0

func (fake *FakeKubeProvider) LoadClusterIntoSpecFromStackCallCount() int

func (*FakeKubeProvider) LoadClusterIntoSpecFromStackCalls added in v0.53.0

func (fake *FakeKubeProvider) LoadClusterIntoSpecFromStackCalls(stub func(*v1alpha5.ClusterConfig, manager.StackManager) error)

func (*FakeKubeProvider) LoadClusterIntoSpecFromStackReturns added in v0.53.0

func (fake *FakeKubeProvider) LoadClusterIntoSpecFromStackReturns(result1 error)

func (*FakeKubeProvider) LoadClusterIntoSpecFromStackReturnsOnCall added in v0.53.0

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

func (*FakeKubeProvider) NewRawClient added in v0.53.0

func (fake *FakeKubeProvider) NewRawClient(arg1 *v1alpha5.ClusterConfig) (*kubernetes.RawClient, error)

func (*FakeKubeProvider) NewRawClientArgsForCall added in v0.53.0

func (fake *FakeKubeProvider) NewRawClientArgsForCall(i int) *v1alpha5.ClusterConfig

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(*v1alpha5.ClusterConfig) (*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) 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) SupportsManagedNodes added in v0.53.0

func (fake *FakeKubeProvider) SupportsManagedNodes(arg1 *v1alpha5.ClusterConfig) (bool, error)

func (*FakeKubeProvider) SupportsManagedNodesArgsForCall added in v0.53.0

func (fake *FakeKubeProvider) SupportsManagedNodesArgsForCall(i int) *v1alpha5.ClusterConfig

func (*FakeKubeProvider) SupportsManagedNodesCallCount added in v0.53.0

func (fake *FakeKubeProvider) SupportsManagedNodesCallCount() int

func (*FakeKubeProvider) SupportsManagedNodesCalls added in v0.53.0

func (fake *FakeKubeProvider) SupportsManagedNodesCalls(stub func(*v1alpha5.ClusterConfig) (bool, error))

func (*FakeKubeProvider) SupportsManagedNodesReturns added in v0.53.0

func (fake *FakeKubeProvider) SupportsManagedNodesReturns(result1 bool, result2 error)

func (*FakeKubeProvider) SupportsManagedNodesReturnsOnCall added in v0.53.0

func (fake *FakeKubeProvider) SupportsManagedNodesReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeKubeProvider) UpdateAuthConfigMap added in v0.53.0

func (fake *FakeKubeProvider) UpdateAuthConfigMap(arg1 []*v1alpha5.NodeGroup, arg2 kubernetesa.Interface) error

func (*FakeKubeProvider) UpdateAuthConfigMapArgsForCall added in v0.53.0

func (fake *FakeKubeProvider) UpdateAuthConfigMapArgsForCall(i int) ([]*v1alpha5.NodeGroup, kubernetesa.Interface)

func (*FakeKubeProvider) UpdateAuthConfigMapCallCount added in v0.53.0

func (fake *FakeKubeProvider) UpdateAuthConfigMapCallCount() int

func (*FakeKubeProvider) UpdateAuthConfigMapCalls added in v0.53.0

func (fake *FakeKubeProvider) UpdateAuthConfigMapCalls(stub func([]*v1alpha5.NodeGroup, kubernetesa.Interface) error)

func (*FakeKubeProvider) UpdateAuthConfigMapReturns added in v0.53.0

func (fake *FakeKubeProvider) UpdateAuthConfigMapReturns(result1 error)

func (*FakeKubeProvider) UpdateAuthConfigMapReturnsOnCall added in v0.53.0

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

func (*FakeKubeProvider) ValidateClusterForCompatibility added in v0.53.0

func (fake *FakeKubeProvider) ValidateClusterForCompatibility(arg1 *v1alpha5.ClusterConfig, arg2 manager.StackManager) error

func (*FakeKubeProvider) ValidateClusterForCompatibilityArgsForCall added in v0.53.0

func (fake *FakeKubeProvider) ValidateClusterForCompatibilityArgsForCall(i int) (*v1alpha5.ClusterConfig, manager.StackManager)

func (*FakeKubeProvider) ValidateClusterForCompatibilityCallCount added in v0.53.0

func (fake *FakeKubeProvider) ValidateClusterForCompatibilityCallCount() int

func (*FakeKubeProvider) ValidateClusterForCompatibilityCalls added in v0.53.0

func (fake *FakeKubeProvider) ValidateClusterForCompatibilityCalls(stub func(*v1alpha5.ClusterConfig, manager.StackManager) error)

func (*FakeKubeProvider) ValidateClusterForCompatibilityReturns added in v0.53.0

func (fake *FakeKubeProvider) ValidateClusterForCompatibilityReturns(result1 error)

func (*FakeKubeProvider) ValidateClusterForCompatibilityReturnsOnCall added in v0.53.0

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

func (*FakeKubeProvider) WaitForNodes added in v0.53.0

func (fake *FakeKubeProvider) WaitForNodes(arg1 kubernetesa.Interface, arg2 eks.KubeNodeGroup) error

func (*FakeKubeProvider) WaitForNodesArgsForCall added in v0.53.0

func (fake *FakeKubeProvider) WaitForNodesArgsForCall(i int) (kubernetesa.Interface, eks.KubeNodeGroup)

func (*FakeKubeProvider) WaitForNodesCallCount added in v0.53.0

func (fake *FakeKubeProvider) WaitForNodesCallCount() int

func (*FakeKubeProvider) WaitForNodesCalls added in v0.53.0

func (fake *FakeKubeProvider) WaitForNodesCalls(stub func(kubernetesa.Interface, eks.KubeNodeGroup) error)

func (*FakeKubeProvider) WaitForNodesReturns added in v0.53.0

func (fake *FakeKubeProvider) WaitForNodesReturns(result1 error)

func (*FakeKubeProvider) WaitForNodesReturnsOnCall added in v0.53.0

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

type FakeNodeGroupInitialiser added in v0.53.0

type FakeNodeGroupInitialiser struct {
	DoAllNodegroupStackTasksStub func(*tasks.TaskTree, string, string) error

	DoesAWSNodeUseIRSAStub func(v1alpha5.ClusterProvider, kubernetes.Interface) (bool, error)

	ExpandInstanceSelectorOptionsStub func([]v1alpha5.NodePool, []string) error

	NewAWSSelectorSessionStub func(v1alpha5.ClusterProvider) *selector.Selector

	NormalizeStub func([]v1alpha5.NodePool, *v1alpha5.ClusterMeta) error

	ValidateExistingNodeGroupsForCompatibilityStub func(*v1alpha5.ClusterConfig, manager.StackManager) error

	ValidateLegacySubnetsForNodeGroupsStub func(*v1alpha5.ClusterConfig, v1alpha5.ClusterProvider) error
	// contains filtered or unexported fields
}

func (*FakeNodeGroupInitialiser) DoAllNodegroupStackTasks added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoAllNodegroupStackTasks(arg1 *tasks.TaskTree, arg2 string, arg3 string) error

func (*FakeNodeGroupInitialiser) DoAllNodegroupStackTasksArgsForCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoAllNodegroupStackTasksArgsForCall(i int) (*tasks.TaskTree, string, string)

func (*FakeNodeGroupInitialiser) DoAllNodegroupStackTasksCallCount added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoAllNodegroupStackTasksCallCount() int

func (*FakeNodeGroupInitialiser) DoAllNodegroupStackTasksCalls added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoAllNodegroupStackTasksCalls(stub func(*tasks.TaskTree, string, string) error)

func (*FakeNodeGroupInitialiser) DoAllNodegroupStackTasksReturns added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoAllNodegroupStackTasksReturns(result1 error)

func (*FakeNodeGroupInitialiser) DoAllNodegroupStackTasksReturnsOnCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoAllNodegroupStackTasksReturnsOnCall(i int, result1 error)

func (*FakeNodeGroupInitialiser) DoesAWSNodeUseIRSA added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoesAWSNodeUseIRSA(arg1 v1alpha5.ClusterProvider, arg2 kubernetes.Interface) (bool, error)

func (*FakeNodeGroupInitialiser) DoesAWSNodeUseIRSAArgsForCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoesAWSNodeUseIRSAArgsForCall(i int) (v1alpha5.ClusterProvider, kubernetes.Interface)

func (*FakeNodeGroupInitialiser) DoesAWSNodeUseIRSACallCount added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoesAWSNodeUseIRSACallCount() int

func (*FakeNodeGroupInitialiser) DoesAWSNodeUseIRSACalls added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoesAWSNodeUseIRSACalls(stub func(v1alpha5.ClusterProvider, kubernetes.Interface) (bool, error))

func (*FakeNodeGroupInitialiser) DoesAWSNodeUseIRSAReturns added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoesAWSNodeUseIRSAReturns(result1 bool, result2 error)

func (*FakeNodeGroupInitialiser) DoesAWSNodeUseIRSAReturnsOnCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) DoesAWSNodeUseIRSAReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeNodeGroupInitialiser) ExpandInstanceSelectorOptions added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ExpandInstanceSelectorOptions(arg1 []v1alpha5.NodePool, arg2 []string) error

func (*FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsArgsForCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsArgsForCall(i int) ([]v1alpha5.NodePool, []string)

func (*FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsCallCount added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsCallCount() int

func (*FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsCalls added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsCalls(stub func([]v1alpha5.NodePool, []string) error)

func (*FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsReturns added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsReturns(result1 error)

func (*FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsReturnsOnCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ExpandInstanceSelectorOptionsReturnsOnCall(i int, result1 error)

func (*FakeNodeGroupInitialiser) Invocations added in v0.53.0

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

func (*FakeNodeGroupInitialiser) NewAWSSelectorSession added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NewAWSSelectorSession(arg1 v1alpha5.ClusterProvider) *selector.Selector

func (*FakeNodeGroupInitialiser) NewAWSSelectorSessionArgsForCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NewAWSSelectorSessionArgsForCall(i int) v1alpha5.ClusterProvider

func (*FakeNodeGroupInitialiser) NewAWSSelectorSessionCallCount added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NewAWSSelectorSessionCallCount() int

func (*FakeNodeGroupInitialiser) NewAWSSelectorSessionCalls added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NewAWSSelectorSessionCalls(stub func(v1alpha5.ClusterProvider) *selector.Selector)

func (*FakeNodeGroupInitialiser) NewAWSSelectorSessionReturns added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NewAWSSelectorSessionReturns(result1 *selector.Selector)

func (*FakeNodeGroupInitialiser) NewAWSSelectorSessionReturnsOnCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NewAWSSelectorSessionReturnsOnCall(i int, result1 *selector.Selector)

func (*FakeNodeGroupInitialiser) Normalize added in v0.53.0

func (fake *FakeNodeGroupInitialiser) Normalize(arg1 []v1alpha5.NodePool, arg2 *v1alpha5.ClusterMeta) error

func (*FakeNodeGroupInitialiser) NormalizeArgsForCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NormalizeArgsForCall(i int) ([]v1alpha5.NodePool, *v1alpha5.ClusterMeta)

func (*FakeNodeGroupInitialiser) NormalizeCallCount added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NormalizeCallCount() int

func (*FakeNodeGroupInitialiser) NormalizeCalls added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NormalizeCalls(stub func([]v1alpha5.NodePool, *v1alpha5.ClusterMeta) error)

func (*FakeNodeGroupInitialiser) NormalizeReturns added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NormalizeReturns(result1 error)

func (*FakeNodeGroupInitialiser) NormalizeReturnsOnCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) NormalizeReturnsOnCall(i int, result1 error)

func (*FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibility added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibility(arg1 *v1alpha5.ClusterConfig, arg2 manager.StackManager) error

func (*FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityArgsForCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityArgsForCall(i int) (*v1alpha5.ClusterConfig, manager.StackManager)

func (*FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityCallCount added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityCallCount() int

func (*FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityCalls added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityCalls(stub func(*v1alpha5.ClusterConfig, manager.StackManager) error)

func (*FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityReturns added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityReturns(result1 error)

func (*FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityReturnsOnCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateExistingNodeGroupsForCompatibilityReturnsOnCall(i int, result1 error)

func (*FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroups added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroups(arg1 *v1alpha5.ClusterConfig, arg2 v1alpha5.ClusterProvider) error

func (*FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsArgsForCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsArgsForCall(i int) (*v1alpha5.ClusterConfig, v1alpha5.ClusterProvider)

func (*FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsCallCount added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsCallCount() int

func (*FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsCalls added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsCalls(stub func(*v1alpha5.ClusterConfig, v1alpha5.ClusterProvider) error)

func (*FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsReturns added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsReturns(result1 error)

func (*FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsReturnsOnCall added in v0.53.0

func (fake *FakeNodeGroupInitialiser) ValidateLegacySubnetsForNodeGroupsReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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