Documentation ¶
Index ¶
- type ClusterRoleManager
- type ClusterRoleManager_DeleteAutoModePolicies_Call
- func (_c *ClusterRoleManager_DeleteAutoModePolicies_Call) Return(_a0 error) *ClusterRoleManager_DeleteAutoModePolicies_Call
- func (_c *ClusterRoleManager_DeleteAutoModePolicies_Call) Run(run func(ctx context.Context)) *ClusterRoleManager_DeleteAutoModePolicies_Call
- func (_c *ClusterRoleManager_DeleteAutoModePolicies_Call) RunAndReturn(run func(context.Context) error) *ClusterRoleManager_DeleteAutoModePolicies_Call
- type ClusterRoleManager_Expecter
- type ClusterRoleManager_UpdateRoleForAutoMode_Call
- func (_c *ClusterRoleManager_UpdateRoleForAutoMode_Call) Return(_a0 error) *ClusterRoleManager_UpdateRoleForAutoMode_Call
- func (_c *ClusterRoleManager_UpdateRoleForAutoMode_Call) Run(run func(ctx context.Context)) *ClusterRoleManager_UpdateRoleForAutoMode_Call
- func (_c *ClusterRoleManager_UpdateRoleForAutoMode_Call) RunAndReturn(run func(context.Context) error) *ClusterRoleManager_UpdateRoleForAutoMode_Call
- type ClusterStackDescriber
- type ClusterStackDescriber_ClusterHasDedicatedVPC_Call
- func (_c *ClusterStackDescriber_ClusterHasDedicatedVPC_Call) Return(_a0 bool, _a1 error) *ClusterStackDescriber_ClusterHasDedicatedVPC_Call
- func (_c *ClusterStackDescriber_ClusterHasDedicatedVPC_Call) Run(run func(ctx context.Context)) *ClusterStackDescriber_ClusterHasDedicatedVPC_Call
- func (_c *ClusterStackDescriber_ClusterHasDedicatedVPC_Call) RunAndReturn(run func(context.Context) (bool, error)) *ClusterStackDescriber_ClusterHasDedicatedVPC_Call
- type ClusterStackDescriber_DescribeClusterStack_Call
- func (_c *ClusterStackDescriber_DescribeClusterStack_Call) Return(_a0 *types.Stack, _a1 error) *ClusterStackDescriber_DescribeClusterStack_Call
- func (_c *ClusterStackDescriber_DescribeClusterStack_Call) Run(run func(ctx context.Context)) *ClusterStackDescriber_DescribeClusterStack_Call
- func (_c *ClusterStackDescriber_DescribeClusterStack_Call) RunAndReturn(run func(context.Context) (*types.Stack, error)) *ClusterStackDescriber_DescribeClusterStack_Call
- type ClusterStackDescriber_Expecter
- type NodeGroupDrainer
- type NodeGroupDrainer_Drain_Call
- func (_c *NodeGroupDrainer_Drain_Call) Return(_a0 error) *NodeGroupDrainer_Drain_Call
- func (_c *NodeGroupDrainer_Drain_Call) Run(run func(ctx context.Context)) *NodeGroupDrainer_Drain_Call
- func (_c *NodeGroupDrainer_Drain_Call) RunAndReturn(run func(context.Context) error) *NodeGroupDrainer_Drain_Call
- type NodeGroupDrainer_Expecter
- type RoleManager
- type RoleManager_CreateOrImport_Call
- func (_c *RoleManager_CreateOrImport_Call) Return(_a0 string, _a1 error) *RoleManager_CreateOrImport_Call
- func (_c *RoleManager_CreateOrImport_Call) Run(run func(ctx context.Context, clusterName string)) *RoleManager_CreateOrImport_Call
- func (_c *RoleManager_CreateOrImport_Call) RunAndReturn(run func(context.Context, string) (string, error)) *RoleManager_CreateOrImport_Call
- type RoleManager_DeleteIfRequired_Call
- func (_c *RoleManager_DeleteIfRequired_Call) Return(_a0 error) *RoleManager_DeleteIfRequired_Call
- func (_c *RoleManager_DeleteIfRequired_Call) Run(run func(ctx context.Context)) *RoleManager_DeleteIfRequired_Call
- func (_c *RoleManager_DeleteIfRequired_Call) RunAndReturn(run func(context.Context) error) *RoleManager_DeleteIfRequired_Call
- type RoleManager_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleManager ¶
ClusterRoleManager is an autogenerated mock type for the ClusterRoleManager type
func NewClusterRoleManager ¶
func NewClusterRoleManager(t interface { mock.TestingT Cleanup(func()) }) *ClusterRoleManager
NewClusterRoleManager creates a new instance of ClusterRoleManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClusterRoleManager) DeleteAutoModePolicies ¶
func (_m *ClusterRoleManager) DeleteAutoModePolicies(ctx context.Context) error
DeleteAutoModePolicies provides a mock function with given fields: ctx
func (*ClusterRoleManager) EXPECT ¶
func (_m *ClusterRoleManager) EXPECT() *ClusterRoleManager_Expecter
func (*ClusterRoleManager) UpdateRoleForAutoMode ¶
func (_m *ClusterRoleManager) UpdateRoleForAutoMode(ctx context.Context) error
UpdateRoleForAutoMode provides a mock function with given fields: ctx
type ClusterRoleManager_DeleteAutoModePolicies_Call ¶
ClusterRoleManager_DeleteAutoModePolicies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAutoModePolicies'
func (*ClusterRoleManager_DeleteAutoModePolicies_Call) Return ¶
func (_c *ClusterRoleManager_DeleteAutoModePolicies_Call) Return(_a0 error) *ClusterRoleManager_DeleteAutoModePolicies_Call
func (*ClusterRoleManager_DeleteAutoModePolicies_Call) Run ¶
func (_c *ClusterRoleManager_DeleteAutoModePolicies_Call) Run(run func(ctx context.Context)) *ClusterRoleManager_DeleteAutoModePolicies_Call
func (*ClusterRoleManager_DeleteAutoModePolicies_Call) RunAndReturn ¶
func (_c *ClusterRoleManager_DeleteAutoModePolicies_Call) RunAndReturn(run func(context.Context) error) *ClusterRoleManager_DeleteAutoModePolicies_Call
type ClusterRoleManager_Expecter ¶
type ClusterRoleManager_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterRoleManager_Expecter) DeleteAutoModePolicies ¶
func (_e *ClusterRoleManager_Expecter) DeleteAutoModePolicies(ctx interface{}) *ClusterRoleManager_DeleteAutoModePolicies_Call
DeleteAutoModePolicies is a helper method to define mock.On call
- ctx context.Context
func (*ClusterRoleManager_Expecter) UpdateRoleForAutoMode ¶
func (_e *ClusterRoleManager_Expecter) UpdateRoleForAutoMode(ctx interface{}) *ClusterRoleManager_UpdateRoleForAutoMode_Call
UpdateRoleForAutoMode is a helper method to define mock.On call
- ctx context.Context
type ClusterRoleManager_UpdateRoleForAutoMode_Call ¶
ClusterRoleManager_UpdateRoleForAutoMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRoleForAutoMode'
func (*ClusterRoleManager_UpdateRoleForAutoMode_Call) Return ¶
func (_c *ClusterRoleManager_UpdateRoleForAutoMode_Call) Return(_a0 error) *ClusterRoleManager_UpdateRoleForAutoMode_Call
func (*ClusterRoleManager_UpdateRoleForAutoMode_Call) Run ¶
func (_c *ClusterRoleManager_UpdateRoleForAutoMode_Call) Run(run func(ctx context.Context)) *ClusterRoleManager_UpdateRoleForAutoMode_Call
func (*ClusterRoleManager_UpdateRoleForAutoMode_Call) RunAndReturn ¶
func (_c *ClusterRoleManager_UpdateRoleForAutoMode_Call) RunAndReturn(run func(context.Context) error) *ClusterRoleManager_UpdateRoleForAutoMode_Call
type ClusterStackDescriber ¶
ClusterStackDescriber is an autogenerated mock type for the ClusterStackDescriber type
func NewClusterStackDescriber ¶
func NewClusterStackDescriber(t interface { mock.TestingT Cleanup(func()) }) *ClusterStackDescriber
NewClusterStackDescriber creates a new instance of ClusterStackDescriber. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClusterStackDescriber) ClusterHasDedicatedVPC ¶
func (_m *ClusterStackDescriber) ClusterHasDedicatedVPC(ctx context.Context) (bool, error)
ClusterHasDedicatedVPC provides a mock function with given fields: ctx
func (*ClusterStackDescriber) DescribeClusterStack ¶
DescribeClusterStack provides a mock function with given fields: ctx
func (*ClusterStackDescriber) EXPECT ¶
func (_m *ClusterStackDescriber) EXPECT() *ClusterStackDescriber_Expecter
type ClusterStackDescriber_ClusterHasDedicatedVPC_Call ¶
ClusterStackDescriber_ClusterHasDedicatedVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterHasDedicatedVPC'
func (*ClusterStackDescriber_ClusterHasDedicatedVPC_Call) Return ¶
func (_c *ClusterStackDescriber_ClusterHasDedicatedVPC_Call) Return(_a0 bool, _a1 error) *ClusterStackDescriber_ClusterHasDedicatedVPC_Call
func (*ClusterStackDescriber_ClusterHasDedicatedVPC_Call) Run ¶
func (_c *ClusterStackDescriber_ClusterHasDedicatedVPC_Call) Run(run func(ctx context.Context)) *ClusterStackDescriber_ClusterHasDedicatedVPC_Call
func (*ClusterStackDescriber_ClusterHasDedicatedVPC_Call) RunAndReturn ¶
func (_c *ClusterStackDescriber_ClusterHasDedicatedVPC_Call) RunAndReturn(run func(context.Context) (bool, error)) *ClusterStackDescriber_ClusterHasDedicatedVPC_Call
type ClusterStackDescriber_DescribeClusterStack_Call ¶
ClusterStackDescriber_DescribeClusterStack_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeClusterStack'
func (*ClusterStackDescriber_DescribeClusterStack_Call) Return ¶
func (_c *ClusterStackDescriber_DescribeClusterStack_Call) Return(_a0 *types.Stack, _a1 error) *ClusterStackDescriber_DescribeClusterStack_Call
func (*ClusterStackDescriber_DescribeClusterStack_Call) Run ¶
func (_c *ClusterStackDescriber_DescribeClusterStack_Call) Run(run func(ctx context.Context)) *ClusterStackDescriber_DescribeClusterStack_Call
func (*ClusterStackDescriber_DescribeClusterStack_Call) RunAndReturn ¶
func (_c *ClusterStackDescriber_DescribeClusterStack_Call) RunAndReturn(run func(context.Context) (*types.Stack, error)) *ClusterStackDescriber_DescribeClusterStack_Call
type ClusterStackDescriber_Expecter ¶
type ClusterStackDescriber_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterStackDescriber_Expecter) ClusterHasDedicatedVPC ¶
func (_e *ClusterStackDescriber_Expecter) ClusterHasDedicatedVPC(ctx interface{}) *ClusterStackDescriber_ClusterHasDedicatedVPC_Call
ClusterHasDedicatedVPC is a helper method to define mock.On call
- ctx context.Context
func (*ClusterStackDescriber_Expecter) DescribeClusterStack ¶
func (_e *ClusterStackDescriber_Expecter) DescribeClusterStack(ctx interface{}) *ClusterStackDescriber_DescribeClusterStack_Call
DescribeClusterStack is a helper method to define mock.On call
- ctx context.Context
type NodeGroupDrainer ¶
NodeGroupDrainer is an autogenerated mock type for the NodeGroupDrainer type
func NewNodeGroupDrainer ¶
func NewNodeGroupDrainer(t interface { mock.TestingT Cleanup(func()) }) *NodeGroupDrainer
NewNodeGroupDrainer creates a new instance of NodeGroupDrainer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NodeGroupDrainer) Drain ¶
func (_m *NodeGroupDrainer) Drain(ctx context.Context) error
Drain provides a mock function with given fields: ctx
func (*NodeGroupDrainer) EXPECT ¶
func (_m *NodeGroupDrainer) EXPECT() *NodeGroupDrainer_Expecter
type NodeGroupDrainer_Drain_Call ¶
NodeGroupDrainer_Drain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Drain'
func (*NodeGroupDrainer_Drain_Call) Return ¶
func (_c *NodeGroupDrainer_Drain_Call) Return(_a0 error) *NodeGroupDrainer_Drain_Call
func (*NodeGroupDrainer_Drain_Call) Run ¶
func (_c *NodeGroupDrainer_Drain_Call) Run(run func(ctx context.Context)) *NodeGroupDrainer_Drain_Call
func (*NodeGroupDrainer_Drain_Call) RunAndReturn ¶
func (_c *NodeGroupDrainer_Drain_Call) RunAndReturn(run func(context.Context) error) *NodeGroupDrainer_Drain_Call
type NodeGroupDrainer_Expecter ¶
type NodeGroupDrainer_Expecter struct {
// contains filtered or unexported fields
}
func (*NodeGroupDrainer_Expecter) Drain ¶
func (_e *NodeGroupDrainer_Expecter) Drain(ctx interface{}) *NodeGroupDrainer_Drain_Call
Drain is a helper method to define mock.On call
- ctx context.Context
type RoleManager ¶
RoleManager is an autogenerated mock type for the RoleManager type
func NewRoleManager ¶
func NewRoleManager(t interface { mock.TestingT Cleanup(func()) }) *RoleManager
NewRoleManager creates a new instance of RoleManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RoleManager) CreateOrImport ¶
CreateOrImport provides a mock function with given fields: ctx, clusterName
func (*RoleManager) DeleteIfRequired ¶
func (_m *RoleManager) DeleteIfRequired(ctx context.Context) error
DeleteIfRequired provides a mock function with given fields: ctx
func (*RoleManager) EXPECT ¶
func (_m *RoleManager) EXPECT() *RoleManager_Expecter
type RoleManager_CreateOrImport_Call ¶
RoleManager_CreateOrImport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrImport'
func (*RoleManager_CreateOrImport_Call) Return ¶
func (_c *RoleManager_CreateOrImport_Call) Return(_a0 string, _a1 error) *RoleManager_CreateOrImport_Call
func (*RoleManager_CreateOrImport_Call) Run ¶
func (_c *RoleManager_CreateOrImport_Call) Run(run func(ctx context.Context, clusterName string)) *RoleManager_CreateOrImport_Call
func (*RoleManager_CreateOrImport_Call) RunAndReturn ¶
func (_c *RoleManager_CreateOrImport_Call) RunAndReturn(run func(context.Context, string) (string, error)) *RoleManager_CreateOrImport_Call
type RoleManager_DeleteIfRequired_Call ¶
RoleManager_DeleteIfRequired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIfRequired'
func (*RoleManager_DeleteIfRequired_Call) Return ¶
func (_c *RoleManager_DeleteIfRequired_Call) Return(_a0 error) *RoleManager_DeleteIfRequired_Call
func (*RoleManager_DeleteIfRequired_Call) Run ¶
func (_c *RoleManager_DeleteIfRequired_Call) Run(run func(ctx context.Context)) *RoleManager_DeleteIfRequired_Call
func (*RoleManager_DeleteIfRequired_Call) RunAndReturn ¶
func (_c *RoleManager_DeleteIfRequired_Call) RunAndReturn(run func(context.Context) error) *RoleManager_DeleteIfRequired_Call
type RoleManager_Expecter ¶
type RoleManager_Expecter struct {
// contains filtered or unexported fields
}
func (*RoleManager_Expecter) CreateOrImport ¶
func (_e *RoleManager_Expecter) CreateOrImport(ctx interface{}, clusterName interface{}) *RoleManager_CreateOrImport_Call
CreateOrImport is a helper method to define mock.On call
- ctx context.Context
- clusterName string
func (*RoleManager_Expecter) DeleteIfRequired ¶
func (_e *RoleManager_Expecter) DeleteIfRequired(ctx interface{}) *RoleManager_DeleteIfRequired_Call
DeleteIfRequired is a helper method to define mock.On call
- ctx context.Context