gistfakes

package
v0.0.0-...-a916a98 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGistClient

type FakeGistClient struct {
	GetStub func(context.Context, string) (*github.Gist, *github.Response, error)

	CreateStub func(context.Context, *github.Gist) (*github.Gist, *github.Response, error)

	EditStub func(context.Context, string, *github.Gist) (*github.Gist, *github.Response, error)
	// contains filtered or unexported fields
}

func (*FakeGistClient) Create

func (fake *FakeGistClient) Create(arg1 context.Context, arg2 *github.Gist) (*github.Gist, *github.Response, error)

func (*FakeGistClient) CreateArgsForCall

func (fake *FakeGistClient) CreateArgsForCall(i int) (context.Context, *github.Gist)

func (*FakeGistClient) CreateCallCount

func (fake *FakeGistClient) CreateCallCount() int

func (*FakeGistClient) CreateReturns

func (fake *FakeGistClient) CreateReturns(result1 *github.Gist, result2 *github.Response, result3 error)

func (*FakeGistClient) CreateReturnsOnCall

func (fake *FakeGistClient) CreateReturnsOnCall(i int, result1 *github.Gist, result2 *github.Response, result3 error)

func (*FakeGistClient) Edit

func (fake *FakeGistClient) Edit(arg1 context.Context, arg2 string, arg3 *github.Gist) (*github.Gist, *github.Response, error)

func (*FakeGistClient) EditArgsForCall

func (fake *FakeGistClient) EditArgsForCall(i int) (context.Context, string, *github.Gist)

func (*FakeGistClient) EditCallCount

func (fake *FakeGistClient) EditCallCount() int

func (*FakeGistClient) EditReturns

func (fake *FakeGistClient) EditReturns(result1 *github.Gist, result2 *github.Response, result3 error)

func (*FakeGistClient) EditReturnsOnCall

func (fake *FakeGistClient) EditReturnsOnCall(i int, result1 *github.Gist, result2 *github.Response, result3 error)

func (*FakeGistClient) Get

func (fake *FakeGistClient) Get(arg1 context.Context, arg2 string) (*github.Gist, *github.Response, error)

func (*FakeGistClient) GetArgsForCall

func (fake *FakeGistClient) GetArgsForCall(i int) (context.Context, string)

func (*FakeGistClient) GetCallCount

func (fake *FakeGistClient) GetCallCount() int

func (*FakeGistClient) GetReturns

func (fake *FakeGistClient) GetReturns(result1 *github.Gist, result2 *github.Response, result3 error)

func (*FakeGistClient) GetReturnsOnCall

func (fake *FakeGistClient) GetReturnsOnCall(i int, result1 *github.Gist, result2 *github.Response, result3 error)

func (*FakeGistClient) Invocations

func (fake *FakeGistClient) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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