{"modulePath":"github.com/SovereignCloudStack/cluster-stack-operator","version":"v0.1.0-alpha.5","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package mocks\n\nPackage mocks implement important mocking interface of packer.\n\n## Functions\n\n```go\nfunc NewGitHubFactory(client *Client) githubclient.Factory\n```\nNewGitHubFactory returns a mocked Github client.\n\n## Types\n\n```go\ntype Client struct {\n\tmock.Mock\n}\n```\nClient is an autogenerated mock type for the Client type\n\n```go\nfunc NewClient(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *Client\n```\nNewClient 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.\n\n```go\nfunc (_m *Client) DownloadReleaseAssets(ctx context.Context, release *github.RepositoryRelease, path string, assetlist []string) error\n```\nDownloadReleaseAssets provides a mock function with given fields: ctx, release, path, assetlist\n\n```go\nfunc (_m *Client) GetReleaseByTag(ctx context.Context, tag string) (*github.RepositoryRelease, *github.Response, error)\n```\nGetReleaseByTag provides a mock function with given fields: ctx, tag\n\n```go\nfunc (_m *Client) ListRelease(ctx context.Context) ([]*github.RepositoryRelease, *github.Response, error)\n```\nListRelease provides a mock function with given fields: ctx\n\n```go\ntype Factory struct {\n\tmock.Mock\n}\n```\nFactory is an autogenerated mock type for the Factory type\n\n```go\nfunc NewFactory(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *Factory\n```\nNewFactory creates a new instance of Factory. 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.\n\n```go\nfunc (_m *Factory) NewClient(ctx context.Context) (client.Client, error)\n```\nNewClient provides a mock function with given fields: ctx\n\n","path":"github.com/SovereignCloudStack/cluster-stack-operator/pkg/github/client/mocks","name":"mocks","synopsis":"Package mocks implement important mocking interface of packer.","isRedistributable":true}
