mocks

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 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 Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. 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 (*Client) CreateHttpNamespace

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

func (*Client) CreatePrivateDnsNamespace

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

func (*Client) CreatePublicDnsNamespace

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

func (*Client) CreateService

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

func (*Client) DeleteNamespace

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

func (*Client) DeleteService

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

func (*Client) DeregisterInstance

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

func (*Client) DiscoverInstances

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

func (*Client) EXPECT

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) GetInstance

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

func (*Client) GetInstancesHealthStatus

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

func (*Client) GetNamespace

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

func (*Client) GetOperation

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

func (*Client) GetService

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

func (*Client) ListInstances

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

func (*Client) ListNamespaces

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

func (*Client) ListOperations

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

func (*Client) ListServices

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

func (*Client) ListTagsForResource

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

func (*Client) RegisterInstance

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

func (*Client) TagResource

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

func (*Client) UntagResource

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

func (*Client) UpdateHttpNamespace

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

func (*Client) UpdateInstanceCustomHealthStatus

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

func (*Client) UpdatePrivateDnsNamespace

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

func (*Client) UpdatePublicDnsNamespace

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

func (*Client) UpdateService

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

type Client_CreateHttpNamespace_Call

type Client_CreateHttpNamespace_Call struct {
	*mock.Call
}

Client_CreateHttpNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateHttpNamespace'

func (*Client_CreateHttpNamespace_Call) Return

func (*Client_CreateHttpNamespace_Call) Run

type Client_CreatePrivateDnsNamespace_Call

type Client_CreatePrivateDnsNamespace_Call struct {
	*mock.Call
}

Client_CreatePrivateDnsNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePrivateDnsNamespace'

func (*Client_CreatePrivateDnsNamespace_Call) Run

type Client_CreatePublicDnsNamespace_Call

type Client_CreatePublicDnsNamespace_Call struct {
	*mock.Call
}

Client_CreatePublicDnsNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePublicDnsNamespace'

func (*Client_CreatePublicDnsNamespace_Call) Run

type Client_CreateService_Call

type Client_CreateService_Call struct {
	*mock.Call
}

Client_CreateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateService'

func (*Client_CreateService_Call) Return

func (*Client_CreateService_Call) Run

type Client_DeleteNamespace_Call

type Client_DeleteNamespace_Call struct {
	*mock.Call
}

Client_DeleteNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteNamespace'

func (*Client_DeleteNamespace_Call) Return

func (*Client_DeleteNamespace_Call) Run

type Client_DeleteService_Call

type Client_DeleteService_Call struct {
	*mock.Call
}

Client_DeleteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteService'

func (*Client_DeleteService_Call) Return

func (*Client_DeleteService_Call) Run

type Client_DeregisterInstance_Call

type Client_DeregisterInstance_Call struct {
	*mock.Call
}

Client_DeregisterInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeregisterInstance'

func (*Client_DeregisterInstance_Call) Return

func (*Client_DeregisterInstance_Call) Run

type Client_DiscoverInstances_Call

type Client_DiscoverInstances_Call struct {
	*mock.Call
}

Client_DiscoverInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DiscoverInstances'

func (*Client_DiscoverInstances_Call) Return

func (*Client_DiscoverInstances_Call) Run

type Client_Expecter

type Client_Expecter struct {
	// contains filtered or unexported fields
}

func (*Client_Expecter) CreateHttpNamespace

func (_e *Client_Expecter) CreateHttpNamespace(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CreateHttpNamespace_Call

CreateHttpNamespace is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.CreateHttpNamespaceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) CreatePrivateDnsNamespace

func (_e *Client_Expecter) CreatePrivateDnsNamespace(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CreatePrivateDnsNamespace_Call

CreatePrivateDnsNamespace is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.CreatePrivateDnsNamespaceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) CreatePublicDnsNamespace

func (_e *Client_Expecter) CreatePublicDnsNamespace(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CreatePublicDnsNamespace_Call

CreatePublicDnsNamespace is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.CreatePublicDnsNamespaceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) CreateService

func (_e *Client_Expecter) CreateService(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CreateService_Call

CreateService is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.CreateServiceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) DeleteNamespace

func (_e *Client_Expecter) DeleteNamespace(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteNamespace_Call

DeleteNamespace is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.DeleteNamespaceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) DeleteService

func (_e *Client_Expecter) DeleteService(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteService_Call

DeleteService is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.DeleteServiceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) DeregisterInstance

func (_e *Client_Expecter) DeregisterInstance(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeregisterInstance_Call

DeregisterInstance is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.DeregisterInstanceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) DiscoverInstances

func (_e *Client_Expecter) DiscoverInstances(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DiscoverInstances_Call

DiscoverInstances is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.DiscoverInstancesInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) GetInstance

func (_e *Client_Expecter) GetInstance(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetInstance_Call

GetInstance is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.GetInstanceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) GetInstancesHealthStatus

func (_e *Client_Expecter) GetInstancesHealthStatus(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetInstancesHealthStatus_Call

GetInstancesHealthStatus is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.GetInstancesHealthStatusInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) GetNamespace

func (_e *Client_Expecter) GetNamespace(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetNamespace_Call

GetNamespace is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.GetNamespaceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) GetOperation

func (_e *Client_Expecter) GetOperation(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetOperation_Call

GetOperation is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.GetOperationInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) GetService

func (_e *Client_Expecter) GetService(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetService_Call

GetService is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.GetServiceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) ListInstances

func (_e *Client_Expecter) ListInstances(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListInstances_Call

ListInstances is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.ListInstancesInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) ListNamespaces

func (_e *Client_Expecter) ListNamespaces(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListNamespaces_Call

ListNamespaces is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.ListNamespacesInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) ListOperations

func (_e *Client_Expecter) ListOperations(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListOperations_Call

ListOperations is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.ListOperationsInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) ListServices

func (_e *Client_Expecter) ListServices(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListServices_Call

ListServices is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.ListServicesInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) ListTagsForResource

func (_e *Client_Expecter) ListTagsForResource(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ListTagsForResource_Call

ListTagsForResource is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.ListTagsForResourceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) RegisterInstance

func (_e *Client_Expecter) RegisterInstance(ctx interface{}, params interface{}, optFns ...interface{}) *Client_RegisterInstance_Call

RegisterInstance is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.RegisterInstanceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) TagResource

func (_e *Client_Expecter) TagResource(ctx interface{}, params interface{}, optFns ...interface{}) *Client_TagResource_Call

TagResource is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.TagResourceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) UntagResource

func (_e *Client_Expecter) UntagResource(ctx interface{}, params interface{}, optFns ...interface{}) *Client_UntagResource_Call

UntagResource is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.UntagResourceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) UpdateHttpNamespace

func (_e *Client_Expecter) UpdateHttpNamespace(ctx interface{}, params interface{}, optFns ...interface{}) *Client_UpdateHttpNamespace_Call

UpdateHttpNamespace is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.UpdateHttpNamespaceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) UpdateInstanceCustomHealthStatus

func (_e *Client_Expecter) UpdateInstanceCustomHealthStatus(ctx interface{}, params interface{}, optFns ...interface{}) *Client_UpdateInstanceCustomHealthStatus_Call

UpdateInstanceCustomHealthStatus is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.UpdateInstanceCustomHealthStatusInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) UpdatePrivateDnsNamespace

func (_e *Client_Expecter) UpdatePrivateDnsNamespace(ctx interface{}, params interface{}, optFns ...interface{}) *Client_UpdatePrivateDnsNamespace_Call

UpdatePrivateDnsNamespace is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.UpdatePrivateDnsNamespaceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) UpdatePublicDnsNamespace

func (_e *Client_Expecter) UpdatePublicDnsNamespace(ctx interface{}, params interface{}, optFns ...interface{}) *Client_UpdatePublicDnsNamespace_Call

UpdatePublicDnsNamespace is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.UpdatePublicDnsNamespaceInput
  • optFns ...func(*servicediscovery.Options)

func (*Client_Expecter) UpdateService

func (_e *Client_Expecter) UpdateService(ctx interface{}, params interface{}, optFns ...interface{}) *Client_UpdateService_Call

UpdateService is a helper method to define mock.On call

  • ctx context.Context
  • params *servicediscovery.UpdateServiceInput
  • optFns ...func(*servicediscovery.Options)

type Client_GetInstance_Call

type Client_GetInstance_Call struct {
	*mock.Call
}

Client_GetInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstance'

func (*Client_GetInstance_Call) Return

func (*Client_GetInstance_Call) Run

type Client_GetInstancesHealthStatus_Call

type Client_GetInstancesHealthStatus_Call struct {
	*mock.Call
}

Client_GetInstancesHealthStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstancesHealthStatus'

func (*Client_GetInstancesHealthStatus_Call) Run

type Client_GetNamespace_Call

type Client_GetNamespace_Call struct {
	*mock.Call
}

Client_GetNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNamespace'

func (*Client_GetNamespace_Call) Return

func (*Client_GetNamespace_Call) Run

type Client_GetOperation_Call

type Client_GetOperation_Call struct {
	*mock.Call
}

Client_GetOperation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOperation'

func (*Client_GetOperation_Call) Return

func (*Client_GetOperation_Call) Run

type Client_GetService_Call

type Client_GetService_Call struct {
	*mock.Call
}

Client_GetService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetService'

func (*Client_GetService_Call) Return

func (*Client_GetService_Call) Run

type Client_ListInstances_Call

type Client_ListInstances_Call struct {
	*mock.Call
}

Client_ListInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListInstances'

func (*Client_ListInstances_Call) Return

func (*Client_ListInstances_Call) Run

type Client_ListNamespaces_Call

type Client_ListNamespaces_Call struct {
	*mock.Call
}

Client_ListNamespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNamespaces'

func (*Client_ListNamespaces_Call) Return

func (*Client_ListNamespaces_Call) Run

type Client_ListOperations_Call

type Client_ListOperations_Call struct {
	*mock.Call
}

Client_ListOperations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOperations'

func (*Client_ListOperations_Call) Return

func (*Client_ListOperations_Call) Run

type Client_ListServices_Call

type Client_ListServices_Call struct {
	*mock.Call
}

Client_ListServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServices'

func (*Client_ListServices_Call) Return

func (*Client_ListServices_Call) Run

type Client_ListTagsForResource_Call

type Client_ListTagsForResource_Call struct {
	*mock.Call
}

Client_ListTagsForResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsForResource'

func (*Client_ListTagsForResource_Call) Return

func (*Client_ListTagsForResource_Call) Run

type Client_RegisterInstance_Call

type Client_RegisterInstance_Call struct {
	*mock.Call
}

Client_RegisterInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterInstance'

func (*Client_RegisterInstance_Call) Return

func (*Client_RegisterInstance_Call) Run

type Client_TagResource_Call

type Client_TagResource_Call struct {
	*mock.Call
}

Client_TagResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagResource'

func (*Client_TagResource_Call) Return

func (*Client_TagResource_Call) Run

type Client_UntagResource_Call

type Client_UntagResource_Call struct {
	*mock.Call
}

Client_UntagResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagResource'

func (*Client_UntagResource_Call) Return

func (*Client_UntagResource_Call) Run

type Client_UpdateHttpNamespace_Call

type Client_UpdateHttpNamespace_Call struct {
	*mock.Call
}

Client_UpdateHttpNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateHttpNamespace'

func (*Client_UpdateHttpNamespace_Call) Return

func (*Client_UpdateHttpNamespace_Call) Run

type Client_UpdateInstanceCustomHealthStatus_Call

type Client_UpdateInstanceCustomHealthStatus_Call struct {
	*mock.Call
}

Client_UpdateInstanceCustomHealthStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateInstanceCustomHealthStatus'

func (*Client_UpdateInstanceCustomHealthStatus_Call) Run

type Client_UpdatePrivateDnsNamespace_Call

type Client_UpdatePrivateDnsNamespace_Call struct {
	*mock.Call
}

Client_UpdatePrivateDnsNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePrivateDnsNamespace'

func (*Client_UpdatePrivateDnsNamespace_Call) Run

type Client_UpdatePublicDnsNamespace_Call

type Client_UpdatePublicDnsNamespace_Call struct {
	*mock.Call
}

Client_UpdatePublicDnsNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePublicDnsNamespace'

func (*Client_UpdatePublicDnsNamespace_Call) Run

type Client_UpdateService_Call

type Client_UpdateService_Call struct {
	*mock.Call
}

Client_UpdateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateService'

func (*Client_UpdateService_Call) Return

func (*Client_UpdateService_Call) Run

Jump to

Keyboard shortcuts

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