mocks

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 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 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) AssociateLicense

func (_m *IClient) AssociateLicense(ctx context.Context, params *grafana.AssociateLicenseInput, optFns ...func(*grafana.Options)) (*grafana.AssociateLicenseOutput, error)

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

func (*IClient) CreateWorkspace

func (_m *IClient) CreateWorkspace(ctx context.Context, params *grafana.CreateWorkspaceInput, optFns ...func(*grafana.Options)) (*grafana.CreateWorkspaceOutput, error)

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

func (*IClient) CreateWorkspaceApiKey

func (_m *IClient) CreateWorkspaceApiKey(ctx context.Context, params *grafana.CreateWorkspaceApiKeyInput, optFns ...func(*grafana.Options)) (*grafana.CreateWorkspaceApiKeyOutput, error)

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

func (*IClient) CreateWorkspaceServiceAccount

func (_m *IClient) CreateWorkspaceServiceAccount(ctx context.Context, params *grafana.CreateWorkspaceServiceAccountInput, optFns ...func(*grafana.Options)) (*grafana.CreateWorkspaceServiceAccountOutput, error)

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

func (*IClient) CreateWorkspaceServiceAccountToken

func (_m *IClient) CreateWorkspaceServiceAccountToken(ctx context.Context, params *grafana.CreateWorkspaceServiceAccountTokenInput, optFns ...func(*grafana.Options)) (*grafana.CreateWorkspaceServiceAccountTokenOutput, error)

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

func (*IClient) DeleteWorkspace

func (_m *IClient) DeleteWorkspace(ctx context.Context, params *grafana.DeleteWorkspaceInput, optFns ...func(*grafana.Options)) (*grafana.DeleteWorkspaceOutput, error)

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

func (*IClient) DeleteWorkspaceApiKey

func (_m *IClient) DeleteWorkspaceApiKey(ctx context.Context, params *grafana.DeleteWorkspaceApiKeyInput, optFns ...func(*grafana.Options)) (*grafana.DeleteWorkspaceApiKeyOutput, error)

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

func (*IClient) DeleteWorkspaceServiceAccount

func (_m *IClient) DeleteWorkspaceServiceAccount(ctx context.Context, params *grafana.DeleteWorkspaceServiceAccountInput, optFns ...func(*grafana.Options)) (*grafana.DeleteWorkspaceServiceAccountOutput, error)

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

func (*IClient) DeleteWorkspaceServiceAccountToken

func (_m *IClient) DeleteWorkspaceServiceAccountToken(ctx context.Context, params *grafana.DeleteWorkspaceServiceAccountTokenInput, optFns ...func(*grafana.Options)) (*grafana.DeleteWorkspaceServiceAccountTokenOutput, error)

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

func (*IClient) DescribeWorkspace

func (_m *IClient) DescribeWorkspace(ctx context.Context, params *grafana.DescribeWorkspaceInput, optFns ...func(*grafana.Options)) (*grafana.DescribeWorkspaceOutput, error)

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

func (*IClient) DescribeWorkspaceAuthentication

func (_m *IClient) DescribeWorkspaceAuthentication(ctx context.Context, params *grafana.DescribeWorkspaceAuthenticationInput, optFns ...func(*grafana.Options)) (*grafana.DescribeWorkspaceAuthenticationOutput, error)

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

func (*IClient) DescribeWorkspaceConfiguration

func (_m *IClient) DescribeWorkspaceConfiguration(ctx context.Context, params *grafana.DescribeWorkspaceConfigurationInput, optFns ...func(*grafana.Options)) (*grafana.DescribeWorkspaceConfigurationOutput, error)

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

func (*IClient) DisassociateLicense

func (_m *IClient) DisassociateLicense(ctx context.Context, params *grafana.DisassociateLicenseInput, optFns ...func(*grafana.Options)) (*grafana.DisassociateLicenseOutput, error)

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

func (*IClient) ListPermissions

func (_m *IClient) ListPermissions(ctx context.Context, params *grafana.ListPermissionsInput, optFns ...func(*grafana.Options)) (*grafana.ListPermissionsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListVersions

func (_m *IClient) ListVersions(ctx context.Context, params *grafana.ListVersionsInput, optFns ...func(*grafana.Options)) (*grafana.ListVersionsOutput, error)

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

func (*IClient) ListWorkspaceServiceAccountTokens

func (_m *IClient) ListWorkspaceServiceAccountTokens(ctx context.Context, params *grafana.ListWorkspaceServiceAccountTokensInput, optFns ...func(*grafana.Options)) (*grafana.ListWorkspaceServiceAccountTokensOutput, error)

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

func (*IClient) ListWorkspaceServiceAccounts

func (_m *IClient) ListWorkspaceServiceAccounts(ctx context.Context, params *grafana.ListWorkspaceServiceAccountsInput, optFns ...func(*grafana.Options)) (*grafana.ListWorkspaceServiceAccountsOutput, error)

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

func (*IClient) ListWorkspaces

func (_m *IClient) ListWorkspaces(ctx context.Context, params *grafana.ListWorkspacesInput, optFns ...func(*grafana.Options)) (*grafana.ListWorkspacesOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdatePermissions

func (_m *IClient) UpdatePermissions(ctx context.Context, params *grafana.UpdatePermissionsInput, optFns ...func(*grafana.Options)) (*grafana.UpdatePermissionsOutput, error)

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

func (*IClient) UpdateWorkspace

func (_m *IClient) UpdateWorkspace(ctx context.Context, params *grafana.UpdateWorkspaceInput, optFns ...func(*grafana.Options)) (*grafana.UpdateWorkspaceOutput, error)

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

func (*IClient) UpdateWorkspaceAuthentication

func (_m *IClient) UpdateWorkspaceAuthentication(ctx context.Context, params *grafana.UpdateWorkspaceAuthenticationInput, optFns ...func(*grafana.Options)) (*grafana.UpdateWorkspaceAuthenticationOutput, error)

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

func (*IClient) UpdateWorkspaceConfiguration

func (_m *IClient) UpdateWorkspaceConfiguration(ctx context.Context, params *grafana.UpdateWorkspaceConfigurationInput, optFns ...func(*grafana.Options)) (*grafana.UpdateWorkspaceConfigurationOutput, error)

UpdateWorkspaceConfiguration 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