mocks

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. 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 (*IClient) AssociateAccessPolicy

func (_m *IClient) AssociateAccessPolicy(ctx context.Context, params *eks.AssociateAccessPolicyInput, optFns ...func(*eks.Options)) (*eks.AssociateAccessPolicyOutput, error)

AssociateAccessPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) AssociateEncryptionConfig

func (_m *IClient) AssociateEncryptionConfig(ctx context.Context, params *eks.AssociateEncryptionConfigInput, optFns ...func(*eks.Options)) (*eks.AssociateEncryptionConfigOutput, error)

AssociateEncryptionConfig provides a mock function with given fields: ctx, params, optFns

func (*IClient) AssociateIdentityProviderConfig

func (_m *IClient) AssociateIdentityProviderConfig(ctx context.Context, params *eks.AssociateIdentityProviderConfigInput, optFns ...func(*eks.Options)) (*eks.AssociateIdentityProviderConfigOutput, error)

AssociateIdentityProviderConfig provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateAccessEntry

func (_m *IClient) CreateAccessEntry(ctx context.Context, params *eks.CreateAccessEntryInput, optFns ...func(*eks.Options)) (*eks.CreateAccessEntryOutput, error)

CreateAccessEntry provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateAddon

func (_m *IClient) CreateAddon(ctx context.Context, params *eks.CreateAddonInput, optFns ...func(*eks.Options)) (*eks.CreateAddonOutput, error)

CreateAddon provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateCluster

func (_m *IClient) CreateCluster(ctx context.Context, params *eks.CreateClusterInput, optFns ...func(*eks.Options)) (*eks.CreateClusterOutput, error)

CreateCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateEksAnywhereSubscription

func (_m *IClient) CreateEksAnywhereSubscription(ctx context.Context, params *eks.CreateEksAnywhereSubscriptionInput, optFns ...func(*eks.Options)) (*eks.CreateEksAnywhereSubscriptionOutput, error)

CreateEksAnywhereSubscription provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateFargateProfile

func (_m *IClient) CreateFargateProfile(ctx context.Context, params *eks.CreateFargateProfileInput, optFns ...func(*eks.Options)) (*eks.CreateFargateProfileOutput, error)

CreateFargateProfile provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateNodegroup

func (_m *IClient) CreateNodegroup(ctx context.Context, params *eks.CreateNodegroupInput, optFns ...func(*eks.Options)) (*eks.CreateNodegroupOutput, error)

CreateNodegroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreatePodIdentityAssociation

func (_m *IClient) CreatePodIdentityAssociation(ctx context.Context, params *eks.CreatePodIdentityAssociationInput, optFns ...func(*eks.Options)) (*eks.CreatePodIdentityAssociationOutput, error)

CreatePodIdentityAssociation provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAccessEntry

func (_m *IClient) DeleteAccessEntry(ctx context.Context, params *eks.DeleteAccessEntryInput, optFns ...func(*eks.Options)) (*eks.DeleteAccessEntryOutput, error)

DeleteAccessEntry provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAddon

func (_m *IClient) DeleteAddon(ctx context.Context, params *eks.DeleteAddonInput, optFns ...func(*eks.Options)) (*eks.DeleteAddonOutput, error)

DeleteAddon provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteCluster

func (_m *IClient) DeleteCluster(ctx context.Context, params *eks.DeleteClusterInput, optFns ...func(*eks.Options)) (*eks.DeleteClusterOutput, error)

DeleteCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteEksAnywhereSubscription

func (_m *IClient) DeleteEksAnywhereSubscription(ctx context.Context, params *eks.DeleteEksAnywhereSubscriptionInput, optFns ...func(*eks.Options)) (*eks.DeleteEksAnywhereSubscriptionOutput, error)

DeleteEksAnywhereSubscription provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteFargateProfile

func (_m *IClient) DeleteFargateProfile(ctx context.Context, params *eks.DeleteFargateProfileInput, optFns ...func(*eks.Options)) (*eks.DeleteFargateProfileOutput, error)

DeleteFargateProfile provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteNodegroup

func (_m *IClient) DeleteNodegroup(ctx context.Context, params *eks.DeleteNodegroupInput, optFns ...func(*eks.Options)) (*eks.DeleteNodegroupOutput, error)

DeleteNodegroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeletePodIdentityAssociation

func (_m *IClient) DeletePodIdentityAssociation(ctx context.Context, params *eks.DeletePodIdentityAssociationInput, optFns ...func(*eks.Options)) (*eks.DeletePodIdentityAssociationOutput, error)

DeletePodIdentityAssociation provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeregisterCluster

func (_m *IClient) DeregisterCluster(ctx context.Context, params *eks.DeregisterClusterInput, optFns ...func(*eks.Options)) (*eks.DeregisterClusterOutput, error)

DeregisterCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAccessEntry

func (_m *IClient) DescribeAccessEntry(ctx context.Context, params *eks.DescribeAccessEntryInput, optFns ...func(*eks.Options)) (*eks.DescribeAccessEntryOutput, error)

DescribeAccessEntry provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAddon

func (_m *IClient) DescribeAddon(ctx context.Context, params *eks.DescribeAddonInput, optFns ...func(*eks.Options)) (*eks.DescribeAddonOutput, error)

DescribeAddon provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAddonConfiguration

func (_m *IClient) DescribeAddonConfiguration(ctx context.Context, params *eks.DescribeAddonConfigurationInput, optFns ...func(*eks.Options)) (*eks.DescribeAddonConfigurationOutput, error)

DescribeAddonConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAddonVersions

func (_m *IClient) DescribeAddonVersions(ctx context.Context, params *eks.DescribeAddonVersionsInput, optFns ...func(*eks.Options)) (*eks.DescribeAddonVersionsOutput, error)

DescribeAddonVersions provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeCluster

func (_m *IClient) DescribeCluster(ctx context.Context, params *eks.DescribeClusterInput, optFns ...func(*eks.Options)) (*eks.DescribeClusterOutput, error)

DescribeCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeEksAnywhereSubscription

func (_m *IClient) DescribeEksAnywhereSubscription(ctx context.Context, params *eks.DescribeEksAnywhereSubscriptionInput, optFns ...func(*eks.Options)) (*eks.DescribeEksAnywhereSubscriptionOutput, error)

DescribeEksAnywhereSubscription provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeFargateProfile

func (_m *IClient) DescribeFargateProfile(ctx context.Context, params *eks.DescribeFargateProfileInput, optFns ...func(*eks.Options)) (*eks.DescribeFargateProfileOutput, error)

DescribeFargateProfile provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeIdentityProviderConfig

func (_m *IClient) DescribeIdentityProviderConfig(ctx context.Context, params *eks.DescribeIdentityProviderConfigInput, optFns ...func(*eks.Options)) (*eks.DescribeIdentityProviderConfigOutput, error)

DescribeIdentityProviderConfig provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeInsight

func (_m *IClient) DescribeInsight(ctx context.Context, params *eks.DescribeInsightInput, optFns ...func(*eks.Options)) (*eks.DescribeInsightOutput, error)

DescribeInsight provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeNodegroup

func (_m *IClient) DescribeNodegroup(ctx context.Context, params *eks.DescribeNodegroupInput, optFns ...func(*eks.Options)) (*eks.DescribeNodegroupOutput, error)

DescribeNodegroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribePodIdentityAssociation

func (_m *IClient) DescribePodIdentityAssociation(ctx context.Context, params *eks.DescribePodIdentityAssociationInput, optFns ...func(*eks.Options)) (*eks.DescribePodIdentityAssociationOutput, error)

DescribePodIdentityAssociation provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeUpdate

func (_m *IClient) DescribeUpdate(ctx context.Context, params *eks.DescribeUpdateInput, optFns ...func(*eks.Options)) (*eks.DescribeUpdateOutput, error)

DescribeUpdate provides a mock function with given fields: ctx, params, optFns

func (*IClient) DisassociateAccessPolicy

func (_m *IClient) DisassociateAccessPolicy(ctx context.Context, params *eks.DisassociateAccessPolicyInput, optFns ...func(*eks.Options)) (*eks.DisassociateAccessPolicyOutput, error)

DisassociateAccessPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) DisassociateIdentityProviderConfig

func (_m *IClient) DisassociateIdentityProviderConfig(ctx context.Context, params *eks.DisassociateIdentityProviderConfigInput, optFns ...func(*eks.Options)) (*eks.DisassociateIdentityProviderConfigOutput, error)

DisassociateIdentityProviderConfig provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAccessEntries

func (_m *IClient) ListAccessEntries(ctx context.Context, params *eks.ListAccessEntriesInput, optFns ...func(*eks.Options)) (*eks.ListAccessEntriesOutput, error)

ListAccessEntries provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAccessPolicies

func (_m *IClient) ListAccessPolicies(ctx context.Context, params *eks.ListAccessPoliciesInput, optFns ...func(*eks.Options)) (*eks.ListAccessPoliciesOutput, error)

ListAccessPolicies provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAddons

func (_m *IClient) ListAddons(ctx context.Context, params *eks.ListAddonsInput, optFns ...func(*eks.Options)) (*eks.ListAddonsOutput, error)

ListAddons provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAssociatedAccessPolicies

func (_m *IClient) ListAssociatedAccessPolicies(ctx context.Context, params *eks.ListAssociatedAccessPoliciesInput, optFns ...func(*eks.Options)) (*eks.ListAssociatedAccessPoliciesOutput, error)

ListAssociatedAccessPolicies provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListClusters

func (_m *IClient) ListClusters(ctx context.Context, params *eks.ListClustersInput, optFns ...func(*eks.Options)) (*eks.ListClustersOutput, error)

ListClusters provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListEksAnywhereSubscriptions

func (_m *IClient) ListEksAnywhereSubscriptions(ctx context.Context, params *eks.ListEksAnywhereSubscriptionsInput, optFns ...func(*eks.Options)) (*eks.ListEksAnywhereSubscriptionsOutput, error)

ListEksAnywhereSubscriptions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListFargateProfiles

func (_m *IClient) ListFargateProfiles(ctx context.Context, params *eks.ListFargateProfilesInput, optFns ...func(*eks.Options)) (*eks.ListFargateProfilesOutput, error)

ListFargateProfiles provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListIdentityProviderConfigs

func (_m *IClient) ListIdentityProviderConfigs(ctx context.Context, params *eks.ListIdentityProviderConfigsInput, optFns ...func(*eks.Options)) (*eks.ListIdentityProviderConfigsOutput, error)

ListIdentityProviderConfigs provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListInsights

func (_m *IClient) ListInsights(ctx context.Context, params *eks.ListInsightsInput, optFns ...func(*eks.Options)) (*eks.ListInsightsOutput, error)

ListInsights provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListNodegroups

func (_m *IClient) ListNodegroups(ctx context.Context, params *eks.ListNodegroupsInput, optFns ...func(*eks.Options)) (*eks.ListNodegroupsOutput, error)

ListNodegroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListPodIdentityAssociations

func (_m *IClient) ListPodIdentityAssociations(ctx context.Context, params *eks.ListPodIdentityAssociationsInput, optFns ...func(*eks.Options)) (*eks.ListPodIdentityAssociationsOutput, error)

ListPodIdentityAssociations provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *eks.ListTagsForResourceInput, optFns ...func(*eks.Options)) (*eks.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListUpdates

func (_m *IClient) ListUpdates(ctx context.Context, params *eks.ListUpdatesInput, optFns ...func(*eks.Options)) (*eks.ListUpdatesOutput, error)

ListUpdates provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() eks.Options

Options provides a mock function with given fields:

func (*IClient) RegisterCluster

func (_m *IClient) RegisterCluster(ctx context.Context, params *eks.RegisterClusterInput, optFns ...func(*eks.Options)) (*eks.RegisterClusterOutput, error)

RegisterCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *eks.TagResourceInput, optFns ...func(*eks.Options)) (*eks.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *eks.UntagResourceInput, optFns ...func(*eks.Options)) (*eks.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateAccessEntry

func (_m *IClient) UpdateAccessEntry(ctx context.Context, params *eks.UpdateAccessEntryInput, optFns ...func(*eks.Options)) (*eks.UpdateAccessEntryOutput, error)

UpdateAccessEntry provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateAddon

func (_m *IClient) UpdateAddon(ctx context.Context, params *eks.UpdateAddonInput, optFns ...func(*eks.Options)) (*eks.UpdateAddonOutput, error)

UpdateAddon provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateClusterConfig

func (_m *IClient) UpdateClusterConfig(ctx context.Context, params *eks.UpdateClusterConfigInput, optFns ...func(*eks.Options)) (*eks.UpdateClusterConfigOutput, error)

UpdateClusterConfig provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateClusterVersion

func (_m *IClient) UpdateClusterVersion(ctx context.Context, params *eks.UpdateClusterVersionInput, optFns ...func(*eks.Options)) (*eks.UpdateClusterVersionOutput, error)

UpdateClusterVersion provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateEksAnywhereSubscription

func (_m *IClient) UpdateEksAnywhereSubscription(ctx context.Context, params *eks.UpdateEksAnywhereSubscriptionInput, optFns ...func(*eks.Options)) (*eks.UpdateEksAnywhereSubscriptionOutput, error)

UpdateEksAnywhereSubscription provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateNodegroupConfig

func (_m *IClient) UpdateNodegroupConfig(ctx context.Context, params *eks.UpdateNodegroupConfigInput, optFns ...func(*eks.Options)) (*eks.UpdateNodegroupConfigOutput, error)

UpdateNodegroupConfig provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateNodegroupVersion

func (_m *IClient) UpdateNodegroupVersion(ctx context.Context, params *eks.UpdateNodegroupVersionInput, optFns ...func(*eks.Options)) (*eks.UpdateNodegroupVersionOutput, error)

UpdateNodegroupVersion provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdatePodIdentityAssociation

func (_m *IClient) UpdatePodIdentityAssociation(ctx context.Context, params *eks.UpdatePodIdentityAssociationInput, optFns ...func(*eks.Options)) (*eks.UpdatePodIdentityAssociationOutput, error)

UpdatePodIdentityAssociation provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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