mocks

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlerterInterface

type AlerterInterface struct {
	mock.Mock
}

AlerterInterface is an autogenerated mock type for the AlerterInterface type

func (*AlerterInterface) SendAlert

func (_m *AlerterInterface) SendAlert(key string, alert alerter.Alert)

SendAlert provides a mock function with given fields: key, alert

type GithubGraphQLClient

type GithubGraphQLClient struct {
	mock.Mock
}

GithubGraphQLClient is an autogenerated mock type for the GithubGraphQLClient type

func (*GithubGraphQLClient) Query

func (_m *GithubGraphQLClient) Query(ctx context.Context, q interface{}, variables map[string]interface{}) error

Query provides a mock function with given fields: ctx, q, variables

type ProviderDownloaderInterface

type ProviderDownloaderInterface struct {
	mock.Mock
}

ProviderDownloaderInterface is an autogenerated mock type for the ProviderDownloaderInterface type

func (*ProviderDownloaderInterface) Download

func (_m *ProviderDownloaderInterface) Download(url string, path string) error

Download provides a mock function with given fields: url, path

func (*ProviderDownloaderInterface) GetProviderUrl

func (_m *ProviderDownloaderInterface) GetProviderUrl(name string, version string) string

GetProviderUrl provides a mock function with given fields: name, version

Jump to

Keyboard shortcuts

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